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 | 8812318 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "taliesins/talifun-commander",
"max_stars_repo_path": "src/Talifun.Commander.Command.AntiVirus/Command/Request/AntiVirusRequestMessage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131538"
} | starcoder | using Talifun.Commander.Command.AntiVirus.Configuration;
using Talifun.Commander.Command.FileMatcher.Request;
namespace Talifun.Commander.Command.AntiVirus.Command.Request
{
public class AntiVirusRequestMessage : PluginRequestMessageBase<AntiVirusElement>
{
}
}
| 0.88298 | 564222f3ff950869fd17bd12b94b7dc0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812319 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "imarmorat/AgileTools",
"max_stars_repo_path": "AgileTools.CommandLine.Common/Commands/CommandOutput.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131539"
} | starcoder | <filename>AgileTools.CommandLine.Common/Commands/CommandOutput.cs
using AgileTools.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AgileTools.CommandLine.Common.Commands
{
public class CommandOutput
{
/// <summary>
... | 2.8362 | 7b91c831e6fd251d038c4419f16e8416 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812320 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "anastasiia-ria/pierre-vendors",
"max_stars_repo_path": "Bakery/Views/Orders/Delete.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:131540"
} | starcoder | <reponame>anastasiia-ria/pierre-vendors
<h1>This order has been removed</h1>
<div class="navigation">
<a href='/vendors/@Model.Id'>@Model.Name</a>
<a href="/vendors">All Vendors</a>
<a href="/">Home</a>
</div>
@{
Layout = "_Layout";
} | 1.287548 | 5d8ec332943094b321723e4852ff2d5a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812321 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "costica-moldovanu/mygeotab-api-adapter",
"max_stars_repo_path": "MyGeotabAPIAdapter.Database/DataAccess/DbDiagnosticTRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131541"
} | starcoder | <reponame>costica-moldovanu/mygeotab-api-adapter
using MyGeotabAPIAdapter.Database.Models;
namespace MyGeotabAPIAdapter.Database.DataAccess
{
/// <summary>
/// A repository class that handles database CRUD operations for <see cref="DbDiagnosticT"/> entities.
/// </summary>
public class DbDiagnosticTRe... | 1.581641 | 84d0a2e33b45924f91fd42fdd8171ddd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812322 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "abombss/NServiceBus",
"max_stars_repo_path": "src/NServiceBus.AcceptanceTests/PubSub/When_publishing_an_event_with_the_subscriber_scaled_out.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131542"
} | starcoder | <reponame>abombss/NServiceBus
namespace NServiceBus.AcceptanceTests.PubSub
{
using System;
using System.Collections.Generic;
using System.Linq;
using EndpointTemplates;
using AcceptanceTesting;
using Features;
using NUnit.Framework;
using ScenarioDescriptors;
using Unicast... | 2.332642 | b144579d489b84ca3eb3e930128f2a98 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812323 | {
"extension": "c-sharp",
"max_stars_count": "32.0",
"max_stars_repo_name": "restful-routing/restful-routing",
"max_stars_repo_path": "src/RestfulRouting.Documentation/Views/Mappings/Resource/Show.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:131543"
} | starcoder | @{
ViewBag.Title = "Resource";
}
<header id="overview">
<h1>Resource <small> are you a member?</small></h1>
<div class="subnav">
<ul class="nav nav-pills">
<li><a href="#basics">Basics</a></li>
<li><a href="#actions">Actions and Http Methods</a></li>
<li><a href... | 2.934078 | bcd142f500cce0839d45bc6011a4f15d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812324 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Sufflavus/Swallow",
"max_stars_repo_path": "Source/Swallow.BusinessLogic/Interfaces/IQueueSender.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131544"
} | starcoder | <reponame>Sufflavus/Swallow
namespace Swallow.BusinessLogic.Interfaces
{
public interface IQueueSender
{
void Enqueue(Mail mail);
}
} | 1.532768 | 5f0267b7363bdb2c64fb8ca3d3b32bdc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812325 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "KreativJos/csharp-sdk",
"max_stars_repo_path": "PAYNLSDK/Objects/TransactionStartInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131545"
} | starcoder | using System;
using Newtonsoft.Json;
using PAYNLSDK.Enums;
using PAYNLSDK.Converters;
namespace PAYNLSDK.Objects
{
/// <summary>
/// Transaction Start Information object.
/// This object is part of the response returned after a call to start a transaction and contains the
/// transaction ID and payme... | 2.504694 | 56c625397464e8b2fc9437c63a01f221 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812326 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "steroberts89/Merchello",
"max_stars_repo_path": "test/Merchello.Tests.UnitTests/Localization/LocalizationFileTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131546"
} | starcoder | namespace Merchello.Tests.UnitTests.Localization
{
using System;
using System.Collections;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Web.Hosting;
using System.Xml;
using NUnit.Framework;
using Rhino.Mocks;
using Umbraco.Core.IO;
[TestFixtu... | 2.314559 | b12299a7cdd3eb76946f8f0599c3d63d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812327 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "microsoft/jacdac-csharp",
"max_stars_repo_path": "Jacdac/Clients/ModelRunnerClient.g.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131547"
} | starcoder | /** Autogenerated file. Do not edit. */
using Jacdac;
using System;
namespace Jacdac.Clients
{
/// <summary>
/// Runs machine learning models.
///
/// Only models with a single input tensor and a single output tensor are supported at the moment.
/// Input is provided by Sensor Aggregator servi... | 2.226405 | 0790da8eceea956ac3601776f09fb31c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812328 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JimGeersinga/EduNote",
"max_stars_repo_path": "EduNote.API.Shared/ApiModels/AnswerDTO.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131548"
} | starcoder | using System;
namespace EduNote.API.Shared.ApiModels
{
public class AnswerDTO
{
public int Id { get; set; }
public string Body { get; set; }
public DateTime Created { get; set; }
public DateTime? Modified { get; set; }
public int QuestionId { get; set; }
public... | 1.646903 | f4540c923f084abbd140c2eb9ef6ee20 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812329 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "clovisnicolas/Xam.TextFieldEffects",
"max_stars_repo_path": "Xam.TextFieldEffects.Sample/ViewController.designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131549"
} | starcoder | // WARNING
//
// This file has been generated automatically by Xamarin Studio to store outlets and
// actions made in the UI designer. If it is removed, they will be lost.
// Manual changes to this file may not be handled correctly.
//
using Foundation;
using System.CodeDom.Compiler;
namespace Xam.TextFieldEffects.Sam... | 1.612087 | 48bf5824df434ba8e753ebe3f657f7b4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812330 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "polartron/open-netcode",
"max_stars_repo_path": "Packages/com.unity.entities@0.17.0-preview.42/Unity.Entities/SourceGenerators/Source~/AuthoringComponent/AuthoringComponentFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:1315... | starcoder | using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using System;
using System.Linq;
using System.Text;
using Unity.Entities.SourceGen.Common;
namespace Unity.Entities.SourceGen
{
static class AuthoringComponentFactory
{
internal static ClassDeclarationSyntax GenerateBuffer... | 2.459198 | e7eb2642d03aba957e078a39b218601c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812331 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "TeodorVecerdi/saxion_algorithms",
"max_stars_repo_path": "Algorithms/Solution/Dungeon/Utils/RoomDefinition.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131551"
} | starcoder | using System;
using System.Drawing;
namespace application {
public struct RoomDefinition {
public Rect Area;
public int ID;
private static int ids = 0;
/// <summary>
/// Creates a Room Definition containing the room area and room GUID
/// </summary>
/// <pa... | 3.176414 | c72bdd9c7e78bac346010adce8841a3f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812332 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mindleaving/dataapi",
"max_stars_repo_path": "DataAPI.Service/Objects/DocumentAlreadyExistsException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131552"
} | starcoder | <filename>DataAPI.Service/Objects/DocumentAlreadyExistsException.cs
using System;
namespace DataAPI.Service.Objects
{
public class DocumentAlreadyExistsException : Exception
{
public DocumentAlreadyExistsException(string message)
: base(message)
{
}
}
}
| 2.141548 | 8d2af976794e2deb5482db9ab7627d93 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812333 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Phils0/DarwinClient",
"max_stars_repo_path": "DarwinClient/AssemblyInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131553"
} | starcoder | <reponame>Phils0/DarwinClient
using System;
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("DarwinClientTest")] | 1.036685 | 66f5ec9a659c5530b8663a755dcfdd95 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812334 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "steffibreuer/identity",
"max_stars_repo_path": "src/Codeworx.Identity.EntityFrameworkCore.Api/Model/TenantListData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131554"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text.Json.Serialization;
namespace Codeworx.Identity.EntityFrameworkCore.Api.Model
{
public class TenantListData : IExtendableObject
{
public TenantListData()
{
this.Additional... | 1.976516 | 54d228c2754701a8052018bf07669b76 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812335 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "prashantchalise/boggle.angularjs",
"max_stars_repo_path": "BogglePC.UI/Controllers/API/Boggle/HomeAPIController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131555"
} | starcoder | using System.Web.Http;
namespace BogglePC.UI.Controllers.API
{
[RoutePrefix("api/Home")]
public class HomeAPIController : ApiController
{
//initialize service object
/// <summary>
/// Constructor with DI
/// </summary>
public HomeAPIController()
{
}
}
}
| 1.763465 | 3fd217fa2d4b9ee9c0f8d9ffca881113 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812336 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ebu/mcma-libraries-dotnet",
"max_stars_repo_path": "Base/Mcma.Client/Resources/IResourceManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131556"
} | starcoder | using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Mcma.Model;
namespace Mcma.Client.Resources
{
public interface IResourceManager
{
Task InitAsync();
IServiceClient GetServiceClient(Service service);
Task<IResourceEndpointClient> Ge... | 1.798052 | 57b4168cbbfd73c86ce9be0cbbe9fcb7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812337 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "aliyun/rpc-client-csharp",
"max_stars_repo_path": "core/RPCClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131557"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Text.RegularExpressions;
using AlibabaCloud.RPC.Utils;
using System.Linq;
using System.Text;
using System.Threading;
using Tea;
using System.Web;
using System.Security.Cryptography;... | 1.862351 | 66a2a3cae6aaed7e2b31d6e5af5041c7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812338 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MediatedCommunications/Extensions",
"max_stars_repo_path": "System.Extensions/System/IO/TemporaryFileStream.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131558"
} | starcoder | using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
namespace System.IO
{
[DebuggerDisplay(Debugger2.DebuggerDisplay)]
public class TemporaryFileStream : FileStream, IGetDebuggerDisplayBuilder {
private TemporaryFile? Internals { get; set; }
private Action<Tempora... | 2.480612 | f16c961e6c3aa79286c82d26c4aaa767 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812339 | {
"extension": "c-sharp",
"max_stars_count": "185.0",
"max_stars_repo_name": "StevenBonePgh/Tweakster",
"max_stars_repo_path": "src/TweaksterShared/Tweaks/Build/DeleteOutputArtifacts.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131559"
} | starcoder | <filename>src/TweaksterShared/Tweaks/Build/DeleteOutputArtifacts.cs
using System;
using System.Collections.Generic;
using System.ComponentModel.Design;
using System.IO;
using System.Linq;
using EnvDTE;
using EnvDTE80;
using Microsoft;
using Microsoft.VisualStudio;
using Microsoft.VisualStudio.OLE.Interop;
using Micros... | 2.231722 | a84271286e2b74b13103c2387f10bd34 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812340 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NKStupid/dropbox-sdk-dotnet",
"max_stars_repo_path": "dropbox-sdk-dotnet/Dropbox.Api/Generated/TeamLog/TfaConfiguration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131560"
} | starcoder | // <auto-generated>
// Auto-generated by StoneAPI, do not modify.
// </auto-generated>
namespace Dropbox.Api.TeamLog
{
using sys = System;
using col = System.Collections.Generic;
using re = System.Text.RegularExpressions;
using enc = Dropbox.Api.Stone;
/// <summary>
/// <para>Two factor authe... | 2.343081 | 8d75a07f0da3061fb3c178d46d4320b6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812341 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "AzureAD/rms-sdk-ui-for-winphone",
"max_stars_repo_path": "Samples/RMSSampleApp/RMSSampleApp/ProtectedTextConsumptionPage.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131561"
} | starcoder | //-------------------------------------------------------------------------------------------
// Copyright © Microsoft Corporation, All Rights Reserved
// Licensed under MICROSOFT SOFTWARE LICENSE TERMS,
// MICROSOFT RIGHTS MANAGEMENT SERVICE SDK UI LIBRARIES;
// You may not use this file except in compliance with... | 2.105791 | 1ca9d127ff51f32feff2450ba97e6df7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812342 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Aragas/NexusMods.Monitor",
"max_stars_repo_path": "src/NexusMods.Monitor.Scraper.Domain/Events/Issues/IssueContentChangedEvent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131562"
} | starcoder | <gh_stars>0
using MediatR;
namespace NexusMods.Monitor.Scraper.Domain.Events.Issues
{
public sealed record IssueContentChangedEvent(uint Id) : INotification;
} | 0.967778 | a6ab0027e94934343ea92a4d9d88747c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812343 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Roemer/EasyShare",
"max_stars_repo_path": "src/Client/Desktop/EasyShare/EasyShare/Core/IClipboardMonitor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131563"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EasyShare.Core
{
public interface IClipboardMonitor
{
event Action ClipboardUpdated;
void Start();
void Stop();
}
}
| 1.563999 | a7f0d80c0061cc4448ca3ff87d6b6f1f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812344 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "Luxoft/BSSFramework",
"max_stars_repo_path": "src/_DomainDriven/Framework.DomainDriven.NHibernate/Envers/LinqVisitors/Immutable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131564"
} | starcoder | <reponame>Luxoft/BSSFramework
using System;
namespace NHibernate.Linq.Visitors
{
internal class Immutable<T>
where T : class
{
private T source;
public T Value
{
get => this.source;
set
{
if (this.source != nu... | 2.472704 | 0c9b6576ba38aadd16a846f7f8953c56 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812345 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "maochaokuo/planAndTest",
"max_stars_repo_path": "planAndTest/models/ImodelPaging.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131565"
} | starcoder | <reponame>maochaokuo/planAndTest
namespace models
{
public interface ImodelPaging
{
int pageindex { get; set; }
int pagesize { get; set; }
}
} | 1.356512 | 044b3ba3aa9c2ec6ab6196027f061884 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812346 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Bougiefever/SqlWithCosmosDb",
"max_stars_repo_path": "InventoryPoc/Data/Enums/ProcessingType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131566"
} | starcoder | namespace InventoryPoc.Data.Enums
{
public enum ProcessingType
{
FirstType = 0,
}
} | 1.289359 | 1cc69680fb5570897e4fbffb29778695 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812347 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "tocsoft/GraphQLCodeGen",
"max_stars_repo_path": "Tocsoft.GraphQLCodeGen/SchemaIntrospection/JsonIntrospection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131567"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static Tocsoft.GraphQLCodeGen.CodeGeneratorSettingsLoader;
namespace Tocsoft.GraphQLCodeGen.SchemaIntrospection
{
public class JsonIntrospection : IIntrosepctionProvider
{... | 2.528914 | 1097ab10d994df61eac2a97a70369b16 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812348 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tyh24647/Miami1984",
"max_stars_repo_path": "Assets/UFPS/Base/Scripts/Gameplay/Inventory/Attributes/vp_InventoryItemsAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131568"
} | starcoder | /////////////////////////////////////////////////////////////////////////////////
//
// vp_InventoryItemsAttribute.cs
// © Opsive. All Rights Reserved.
// https://twitter.com/Opsive
// http://www.opsive.com
//
// description: inventory item records foldout editor logic and drawing
//
/////////////////////////... | 2.233113 | b21a3b67b6668046a3330215e85eabbb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812349 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "potatoorgylt/Fractals",
"max_stars_repo_path": "Assets/AuidoVisualization/ScaleOnAmplitude.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131569"
} | starcoder | using UnityEngine;
using System.Collections;
public class ScaleOnAmplitude : MonoBehaviour
{
public float _startScale, _maxScale;
public bool _useBuffer;
Material _material;
public float _red, _green, _blue;
void Start()
{
_material = GetComponent<MeshRenderer>().materials[0];
}
... | 1.936373 | 8e631dd891bfc682aed6a49214ddc694 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812350 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Prokleta-Kuja/albumica",
"max_stars_repo_path": "src/Data/AppDbContext.Queries.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131570"
} | starcoder | <filename>src/Data/AppDbContext.Queries.cs<gh_stars>0
using albumica.Models;
using Microsoft.EntityFrameworkCore;
namespace albumica.Data
{
public partial class AppDbContext
{
public DbSet<CountryModel> CountryWithCounts { get; set; } = null!;
public DbSet<PersonModel> PersonWithCounts { get; s... | 2.576704 | e769524d96d69dfbc878b0418de9c0f8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812351 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Nitro1231/GTA-5-Online-Single-Session",
"max_stars_repo_path": "GTA 5 Online Single Session/Main.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131571"
} | starcoder | <reponame>Nitro1231/GTA-5-Online-Single-Session
namespace GTA_5_Online_Single_Session {
partial class Main {
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resou... | 1.857609 | 8b04944d84e315f955a063f486500dde |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812352 | {
"extension": "c-sharp",
"max_stars_count": "63.0",
"max_stars_repo_name": "dallmair/nquery-vnext",
"max_stars_repo_path": "src/NQuery.Authoring.Tests/Classifications/SyntaxClassificationTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131572"
} | starcoder | <reponame>dallmair/nquery-vnext
using System;
using System.Linq;
using NQuery.Authoring.Classifications;
using NQuery.Text;
using Xunit;
namespace NQuery.Authoring.Tests.Classifications
{
public class SyntaxClassificationTests
{
[Fact]
public void SyntaxClassification_Classifies()
{
... | 2.415784 | f7dfeadd3d9993899bd63e2c4d24cc9f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812353 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SVemulapalli/resin",
"max_stars_repo_path": "src/Sir.Store/DocMapWriter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131573"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
namespace Sir.Store
{
/// <summary>
/// Write document maps (key_id/val_id) to the document map stream.
/// </summary>
public class DocMapWriter
{
private readonly Stream _stream;
public... | 2.869539 | 13fbb43390c91a5f0d1fc9a997168eca |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812354 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MorganR/SudokuSpice",
"max_stars_repo_path": "SudokuSpice/Boxes.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131574"
} | starcoder | using System;
using System.Collections.Generic;
namespace SudokuSpice
{
/// <summary>
/// Provides utilities for working with "boxes", i.e. square regions within standard Sudokus.
/// </summary>
public static class Boxes
{
/// <summary>
/// Calculates the square root of a number. On... | 3.448236 | 65c1b509aa60e5648b8124d9dfdb99f3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812355 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "crisdeodates/AI-PathPlanning-DStarLite-CSharp",
"max_stars_repo_path": "DStarLite.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131575"
} | starcoder | using System;
using System.Collections.Generic;
namespace DStarLite
{
public class DStarLite
{
static Heap U;
static State[,] S;
static double km;
static State sgoal;
static State sstart;
// sx and sy are the start coordinates and gx and gy are the goal coordina... | 2.952257 | 08ed3d3b22c350c9caf5f5d72ec4d3b6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812356 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "afrazhm/JustSaying",
"max_stars_repo_path": "tests/JustSaying.UnitTests/Messaging/Channels/SubscriptionGroupTests/WhenThereAreExceptionsInSqsCalling.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131576"
} | starcoder | <filename>tests/JustSaying.UnitTests/Messaging/Channels/SubscriptionGroupTests/WhenThereAreExceptionsInSqsCalling.cs
using System.Collections.Generic;
using Amazon.SQS.Model;
using JustSaying.AwsTools.MessageHandling;
using JustSaying.TestingFramework;
using Shouldly;
using Xunit;
using Xunit.Abstractions;
namespace J... | 2.209993 | 254003a485f753cc35317bb27b5aafaf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812357 | {
"extension": "c-sharp",
"max_stars_count": "184.0",
"max_stars_repo_name": "tuandoi1/simple-assembly-exploror",
"max_stars_repo_path": "ILSpy/ICSharpCode.Decompiler/Ast/Transforms/AddCheckedBlocks.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131577"
} | starcoder | <gh_stars>100-1000
// Copyright (c) 2011 AlphaSierraPapa for the SharpDevelop Team
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this
// software and associated documentation files (the "Software"), to deal in the Software
// without restriction, including without limitatio... | 2.569665 | 34b575943cbca3c575c3af90f0163f40 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812358 | {
"extension": "c-sharp",
"max_stars_count": "208.0",
"max_stars_repo_name": "fundprocess/Etl.Net",
"max_stars_repo_path": "src/Paillave.EntityFrameworkCoreExtension/BulkSave/ObjectDataReader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131578"
} | starcoder | using FastMember;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using System.Linq;
using System.Text;
... | 2.392912 | 0b64163e05d5a042196dd6057e74ed4d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812359 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Aim-Educational/FarmMaster",
"max_stars_repo_path": "CrudModule/Views/CrudModule/_ViewImports.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:131579"
} | starcoder | <reponame>Aim-Educational/FarmMaster
@using DataAccess
@using Microsoft.AspNetCore.Identity
@using FarmMaster.Module.Core.Models
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@addTagHelper *, FarmMaster.Module.TagHelpers | 1.438143 | 29b00af7ca1a5d4d35baf0f9070930dd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812360 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dotnettricks/azure-project",
"max_stars_repo_path": "ePizzaHub.WebUI/Helpers/BaseViewPage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131580"
} | starcoder | using ePizzaHub.Entities;
using ePizzaHub.WebUI.Interfaces;
using Microsoft.AspNetCore.Mvc.Razor;
using Microsoft.AspNetCore.Mvc.Razor.Internal;
namespace ePizzaHub.WebUI.Helpers
{
public abstract class BaseViewPage<TModel> : RazorPage<TModel>
{
[RazorInject]
public IUserAccessor _userAccessor... | 1.971198 | 68b67eb851c21d0d1ba7c913b2753701 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812361 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CDulouard/ProrokTestUnit2",
"max_stars_repo_path": "ProrokUnitTest2V3/Assets/Scripts/MainMenuCamera.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131581"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Serialization;
public class MainMenuCamera : MonoBehaviour
{
public float speed;
public float distance;
public Transform target;
public GameObject cameraObject;
private Transform _cameraTransform;
... | 2.164626 | 87bded0ef6b1ea7d5103be84ece53d18 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812362 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "johanneshanek/metabase",
"max_stars_repo_path": "backend/src/GraphQl/Users/DisableUserTwoFactorAuthenticationPayload.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131582"
} | starcoder | namespace Metabase.GraphQl.Users
{
public sealed class DisableUserTwoFactorAuthenticationPayload
: UserPayload<DisableUserTwoFactorAuthenticationError>
{
public DisableUserTwoFactorAuthenticationPayload(
Data.User user
)
: base(user)
{
}
p... | 1.619857 | aec5ae815ac518f4a0a3394bae80b323 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812363 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Intrigma/Castle.Transactions",
"max_stars_repo_path": "src/Castle.Services.Transaction.Tests/MiscTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131583"
} | starcoder | <filename>src/Castle.Services.Transaction.Tests/MiscTests.cs
namespace Castle.Services.Transaction.Tests
{
#region Using Directives
using System.Threading;
using NUnit.Framework;
#endregion
public class MiscTests
{
[Test]
[Description("As we are working on the same folders, we don't want to r... | 2.441945 | 5f53b8731538a680c3169a9f013c2c83 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812364 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Carlinhao/crud-employee",
"max_stars_repo_path": "src/employers.application/Interfaces/Empregado/IInsertEmployerUseCaseAsync.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131584"
} | starcoder | using employers.domain.Requests;
using System.Threading.Tasks;
namespace employers.application.Interfaces.Empregado
{
public interface IInsertEmployerUseCaseAsync
{
Task<int?> RunAsync(EmployerRequest request);
}
}
| 1.535726 | ebdb3131fb8176ae630631e4240d35fe |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812365 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mirzaadzovic/eApartman",
"max_stars_repo_path": "eApartman/eApartman.Model/KorisnikUloga.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131585"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace eApartman.Model
{
public class KorisnikUloga
{
public int KorisnikId { get; set; }
public int UlogaId { get; set; }
public virtual Korisnik Korisnik { get; set; }
public virtual Uloga Uloga { get; set... | 1.736662 | 12f292cc30d9abadd675b1dd22370d7a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812366 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KodeFoxx-Projects/Wervingsreserve",
"max_stars_repo_path": "Source/Frontend/Wervingsreserve.Website/Features/Kandidaat/Toevoegen.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:131586"
} | starcoder | @using Wervingsreserve.Website.Features.Kandidaat
@model KandidaatToevoegen
<vc:header title="Kandidaat toevoegen"></vc:header>
<div class="container-fluid">
@using (Html.BeginForm("Toevoegen", "Kandidaat", FormMethod.Post))
{
<div style="margin: 8px; padding-top: 8px;">
<h3><i class="fa... | 2.297194 | 9ad8304e26452fbadd808fe076387098 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812367 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Varorbc/alipay-sdk-net-all",
"max_stars_repo_path": "AlipaySDKNet/Response/AlipayDataRiskRtopobtsregQueryResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131587"
} | starcoder | <gh_stars>0
using System;
using System.Xml.Serialization;
namespace Aop.Api.Response
{
/// <summary>
/// AlipayDataRiskRtopobtsregQueryResponse.
/// </summary>
public class AlipayDataRiskRtopobtsregQueryResponse : AopResponse
{
/// <summary>
/// 查询后端ssdataprod应用的返回数据
/// </s... | 0.993421 | 937dc8e7d21c6fd7346d653d54c5d86c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812368 | {
"extension": "c-sharp",
"max_stars_count": "5145.0",
"max_stars_repo_name": "samisuleman10/open-project-1",
"max_stars_repo_path": "UOP1_Project/Assets/Scripts/Characters/StateMachine/Actions/StopAgentSO.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131588"
} | starcoder | <filename>UOP1_Project/Assets/Scripts/Characters/StateMachine/Actions/StopAgentSO.cs
using UnityEngine;
using UnityEngine.AI;
using UOP1.StateMachine;
using UOP1.StateMachine.ScriptableObjects;
[CreateAssetMenu(fileName = "StopAgent", menuName = "State Machines/Actions/Stop NavMesh Agent")]
public class StopAgentSO :... | 2.325379 | 6739986468769ad88d1bae843c5f2cd9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812369 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Pronounced/Revature-P0",
"max_stars_repo_path": "PizzaBox.MVCClient/Controllers/RegisterController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131589"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.AspNetCore.Mvc;
using PizzaBox.Domain.Models;
using PizzaBox.MVCClient.Models;
using pdb = PizzaBox.Data.Entities;
namespace PizzaBox.MVCClient.Controllers
{
public class RegisterController : Controller
{
pub... | 1.651881 | 352143cd680b3332236f3407b697cab1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812370 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MaferYangPointJun/Spring.net",
"max_stars_repo_path": "test/Spring/Spring.Data.NHibernate21.Integration.Tests/Data/NHibernate/Bytecode/InjectableUserTypeFixture.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131590"
} | starcoder | #if NH_2_1
using NHibernate.Bytecode;
using NUnit.Framework;
using Spring.Context;
using Spring.Context.Support;
using Spring.Objects.Factory.Config;
using Spring.Objects.Factory.Support;
namespace Spring.Data.NHibernate.Bytecode
{
[TestFixture, Explicit("requires database")]
public class InjectableUserTypeF... | 1.851293 | a15ed1df7bc005b0d138a2d8bf35e3cf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812371 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "TheMoogle/space-station-14",
"max_stars_repo_path": "Content.IntegrationTests/Tests/Networking/NetworkIdsMatchTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131591"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using NUnit.Framework;
using Robust.Server.Player;
using Robust.Shared.Enums;
using Robust.Shared.GameObjects;
using Robust.Shared.IoC;
using Robust.Shared.Network;
namespace Content.IntegrationTests.Tests.Networking
{
[TestFixture]... | 2.079177 | a5b8dd09021cc2155137d483b1c0478b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812372 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kbmacneal/church_of_the_emporer_as_messiah",
"max_stars_repo_path": "Views/Ambigram/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:131592"
} | starcoder | <reponame>kbmacneal/church_of_the_emporer_as_messiah<filename>Views/Ambigram/Index.cshtml
@{
ViewData["Title"] = "Reading";
}
<div class="container-fluid">
@await Html.PartialAsync("_GalleryMenu")
<div class="d-flex flex-column">
<h3 style="font-weight: bold">Ambigrams</h3>
<table class="table ta... | 2.131878 | 354dc2143e744e6d8f9bf3247b277bdb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812373 | {
"extension": "c-sharp",
"max_stars_count": "17923.0",
"max_stars_repo_name": "frandesc/roslyn",
"max_stars_repo_path": "src/VisualStudio/Core/Def/EditorConfigSettings/CodeStyle/View/ColumnDefinitions/CodeStyleDescriptionColumnDefinition.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131593"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.ComponentModel.Composition;
using Microsoft.CodeAnalysis.Host.Mef;
using Microsoft.Visua... | 1.561732 | 1cfd66314b54185d0948d2ee736fb814 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812374 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "jonmcquade/csharp-snippets",
"max_stars_repo_path": "SmartStoreNET-3.x/src/Plugins/SmartStore.AmazonPay/Events/MessageTokenEventConsumer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131594"
} | starcoder | using System.Linq;
using SmartStore.AmazonPay.Services;
using SmartStore.Core.Domain.Messages;
using SmartStore.Core.Events;
using SmartStore.Core.Plugins;
using SmartStore.Services;
using SmartStore.Services.Messages;
using SmartStore.Services.Orders;
using SmartStore.Web.Framework;
namespace SmartStore.AmazonPay.Ev... | 1.843913 | cddcbdbfe66a139c8fcfdac1dc4b0edd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812375 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "Serviceware/Dibix",
"max_stars_repo_path": "src/Dibix.Sdk/CodeGeneration/Output/CSharp/CSharpRegionEnd.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131595"
} | starcoder | namespace Dibix.Sdk.CodeGeneration.CSharp
{
internal class CSharpRegionEnd : CSharpExpression
{
public override void Write(StringWriter writer) => writer.Write("#endregion");
}
} | 1.602041 | 0842b06e6d1911d9437925a0dc991b50 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812376 | {
"extension": "c-sharp",
"max_stars_count": "45.0",
"max_stars_repo_name": "eric-erki/ERP-CMR-DMS",
"max_stars_repo_path": "ViennaAdvantageWeb/ViennaAdvantageWeb/Areas/VIS/Helpers/LoginHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131596"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Web;
using SecureEngineUtility;
using VAdvantage.DataBase;
using VAdvantage.Model;
using VAdvantage.Utility;
using VIS.Models;
namespace VIS.Helpers
{
... | 2.359046 | aaea42bba7528808eded230a8d32d7db |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812377 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Xaer033/novaprime",
"max_stars_repo_path": "NovaUnity/Assets/Src/Game/GameFoundations/Networking/Messages/NetFrameSnapshot.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131597"
} | starcoder | using System;
using System.Collections.Generic;
using Mirror;
[Serializable]
public struct NetFrameSnapshot : NetworkMessage
{
public NetChannelHeader header;
public GameState.Snapshot snapshot;
}
| 1.157346 | 5613b48e47b10904a40bf3a8ef740ffd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812378 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "niuxyz/sc5875_codelab1_wk1hw",
"max_stars_repo_path": "CodeLab1-2017/Assets/scripts/Followscript.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131598"
} | starcoder | <reponame>niuxyz/sc5875_codelab1_wk1hw<filename>CodeLab1-2017/Assets/scripts/Followscript.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Followscript : MonoBehaviour {
public Transform playerpos;
// Use this for initialization
void Start () {
}
// Update is ca... | 1.675389 | 09600ecd6e46bf04f107ef388662c99a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812379 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "itoledo/Birdie.Tesseract",
"max_stars_repo_path": "tvn-cosine.ai/tvn-cosine.ai.test/unit/logic/fol/inference/FOLOTTERLikeTheoremProverTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131599"
} | starcoder | using Microsoft.VisualStudio.TestTools.UnitTesting;
using tvn.cosine.collections;
using tvn.cosine.collections.api;
using tvn.cosine.ai.logic.fol;
using tvn.cosine.ai.logic.fol.domain;
using tvn.cosine.ai.logic.fol.inference;
using tvn.cosine.ai.logic.fol.inference.otter.defaultimpl;
using tvn.cosine.ai.logic.fol.kb;
... | 2.224734 | 992f22cbcd4e41412acccd6d6892c35b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812380 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ADefWebserver/EventHorizon.Blazor.TypeScript.Interop.Generator",
"max_stars_repo_path": "Source/EventHorizon.Blazor.TypeScript.Interop.Generator/Model/TypeStatementTemplates.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131600"
} | starcoder | namespace EventHorizon.Blazor.TypeScript.Interop.Generator.Model
{
public static class TypeStatementTemplates
{
public static string StandardTemplate { get; set; } = "[[NAME]]";
public static string ActionVoidTemplate { get; set; } = "ActionCallback";
public static string ActionTemplate ... | 1.513013 | f8615cbaea8ac7408f768b3724c4e156 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812381 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "DotNetRevolution/DotNetRevolution-Framework",
"max_stars_repo_path": "src/DotNetRevolution.ShuttleESB/Properties/AssemblyInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131601"
} | starcoder | <reponame>DotNetRevolution/DotNetRevolution-Framework<filename>src/DotNetRevolution.ShuttleESB/Properties/AssemblyInfo.cs
using System.Reflection;
[assembly: AssemblyTitle("DotNetRevolution.ShuttleESB")]
| 1.249677 | e2108a8d89f9ecd1ff9a181905e70dda |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812382 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Coryf65/GrassyTowers",
"max_stars_repo_path": "Assets/Scripts/Combat/DestroyAfterDuration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131602"
} | starcoder | <filename>Assets/Scripts/Combat/DestroyAfterDuration.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Cory.TowerGame.Combat
{
public class DestroyAfterDuration : MonoBehaviour
{
[Header("Destroy after duration elapsed")]
[Tooltip("How long in seconds ... | 2.515095 | 9d2f1430ca97d518a2f963e8b3efa2df |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812383 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "iskiselev/JSIL.NetFramework",
"max_stars_repo_path": "System/security/system/security/cryptography/x509/x509certificate2collection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131603"
} | starcoder | <gh_stars>0
// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
//
// X509Certificate2Collection.cs
//
namespace System.Security.Cryptography.X509Certificates {
using System;
using System.Collections;
using System.Globalization;
using System.IO;
using System... | 2.017192 | ef28c69be9da6f1b8de37dfc90c23a95 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812384 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ronnysuero/InventoryApp",
"max_stars_repo_path": "backend/Inventory.Service/LocationService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131604"
} | starcoder | using System;
using System.Collections;
using System.Linq;
using System.Linq.Expressions;
using Inventory.Entity;
using Inventory.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using UtilsCore.EFCore;
using UtilsCore.Filter.Json;
using UtilsCore.Helper;
using UtilsCore.Interfaces;
using UtilsCore.Pagination;... | 2.467645 | 69d56c7a6945a77bdbd183ee7cde20b3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812385 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TsvetanKT/TelerikHomeworks",
"max_stars_repo_path": "DataStructuresAndAlgorithms/06.DataStructuresEfficiency/03.CustomBiDictionary/CustomBiDictionary.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131605"
} | starcoder | <reponame>TsvetanKT/TelerikHomeworks
namespace CustomBiDictionary
{
using System.Collections.Generic;
using System.Linq;
using Wintellect.PowerCollections;
public class BiDictionary<K1, K2, T>
{
private MultiDictionary<K1, T> valuesByKey1;
private MultiDictionary<K2, T> valuesByKe... | 2.941641 | c0aaab5cd87282ebf3e62334879dec42 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812386 | {
"extension": "c-sharp",
"max_stars_count": "624.0",
"max_stars_repo_name": "bbqchickenrobot/NCache",
"max_stars_repo_path": "Src/NCCache/Caching/Topologies/CacheSyncWrapper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131606"
} | starcoder | // Copyright (c) 2021 Alachisoft
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or... | 1.692777 | 643ce22115ac4eeb474f82f158d62760 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812387 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DimitarIvanov8/software-university",
"max_stars_repo_path": "DB_Advanced_Entity_Framework/Advanced Querying/Author Search StartUp/StartUp.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131607"
} | starcoder | namespace BookShop
{
using BookShop.Data;
using BookShop.Models;
using BookShop.Initializer;
using System.Linq;
using System;
using System.Collections.Generic;
using System.Text;
public class StartUp
{
static void Main()
{
var input = Console.ReadLine();... | 3.345251 | bdcd9309ff7ef01661887064e85c4d7e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812388 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Kamonya/SaccoBook-SQL",
"max_stars_repo_path": "SaccoBook/Modules/Loans/LoanDisbursement.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131608"
} | starcoder | <reponame>Kamonya/SaccoBook-SQL<filename>SaccoBook/Modules/Loans/LoanDisbursement.Designer.cs<gh_stars>0
namespace SaccoBook.Modules.Loans
{
partial class LoanDisbursement
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer com... | 1.537084 | 4d47b42842b4564c3918704211bcfffc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812389 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "IsmoilovMaks/hseevent",
"max_stars_repo_path": "HSE Event/HSE_Event/Views/CommunityPage.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131609"
} | starcoder | <gh_stars>0
using HSE_Event.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace HSE_Event.Views
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class CommunityPage : C... | 1.869611 | b99446cbbe0cf931c59134c899c20b85 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812390 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "reyou/Ggg.Autofac",
"max_stars_repo_path": "apps/app-docs-demo/Registration Concepts/Types/MyComponent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131610"
} | starcoder | using RegistrationConcepts.Interfaces;
using System;
namespace RegistrationConcepts.Types
{
public class MyComponent
{
public MyComponent()
{
Console.WriteLine("MyComponent default constructor.");
}
public MyComponent(ILogger logger)
{
Console.W... | 2.311723 | 575e11487d6aa5fb176b75c144e10f12 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812391 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "swpuzhang/CleanGameArchitecture",
"max_stars_repo_path": "Commons/Tools/Encryption/UserToken.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131611"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Text;
using Commons.Enums;
using Commons.Tools.Time;
using System.Security.Cryptography;
using Newtonsoft.Json;
namespace Commons.Tools.Encryption
{
public class UserToken
{
public long Id { get; set; }
pu... | 2.660128 | 43f6862f0f4a17904b682200f2c39367 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812392 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stefer/Chester",
"max_stars_repo_path": "Chester/Parsers/MoveTextReader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131612"
} | starcoder | using Chester.Models;
using Chester.Models.Pgn;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Chester.Parsers;
/// <summary>
/// Parse a movetext where moves are represented using SAN (Standard Algebraic Notation)
/// </summary>
public class MoveTextReader
{
private readonly ReadOn... | 3.183939 | 1548f4c0c00e650a8b6d18a05cf3f2ff |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812393 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MizaN13/CSharpAbc",
"max_stars_repo_path": "freeCodeCamp.org/freeCodeCamp.org/Arrays/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131613"
} | starcoder | <reponame>MizaN13/CSharpAbc
using System;
namespace Arrays
{
class Program
{
static void Main(string[] args)
{
int[] luckyNumbers = {4, 8, 15, 16, 23, 42};
string[] friends = { "Piyal", "Rifat", "Mahmud", "Tofazzal", "Nabila" };
Console.WriteLin... | 3.561676 | 4194eba7d70ee50d62368f58bab29443 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812394 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "netdrones/ml-agents",
"max_stars_repo_path": "com.unity.ml-agents/Runtime/SideChannels/TrainingAnalyticsSideChannel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131614"
} | starcoder | <filename>com.unity.ml-agents/Runtime/SideChannels/TrainingAnalyticsSideChannel.cs
using System;
using UnityEngine;
using Unity.MLAgents.Analytics;
using Unity.MLAgents.CommunicatorObjects;
namespace Unity.MLAgents.SideChannels
{
public class TrainingAnalyticsSideChannel : SideChannel
{
const string k_... | 2.257216 | 91f4054e7ea52c5122db278ff5bd666d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812395 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lvermeulen/JenkinsClient.Net",
"max_stars_repo_path": "src/JenkinsClient.Net/Common/Converters/StringConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131615"
} | starcoder | using System;
using System.Collections.Generic;
namespace JenkinsClient.Net.Common.Converters
{
public abstract class StringConverter<TEnum> : IStringConverter<TEnum>
{
public abstract Dictionary<TEnum, string> Map { get; }
public abstract string Description { get; }
public virtual string ConvertToString(TE... | 2.844269 | 4e8a78dc0d6f64c0073234109c4bea09 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812396 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BalthazzarCorr/GameMVS",
"max_stars_repo_path": "MyGameStoreApp/Services/UserService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131616"
} | starcoder | namespace MyGameStoreApp.Services
{
using System;
using System.Linq;
using Contracts;
using Data;
using Data.EntityModels;
public class UserService : IUserService
{
public bool Create(string email, string password, string name)
{
using (var db = new GameStoreDbContext())
... | 2.941583 | 41dbf4f960eeea688a51a7684a3af693 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812397 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bobo4aces/07.SoftUni-CSharpDBFundamentals",
"max_stars_repo_path": "02. Databases Advanced - Entity Framework - 05. Entity Relations/Exercises/EntityRelationsExercises/P01_StudentSystem/Configuration.cs",
"provenance": "train-00027-of... | starcoder | <filename>02. Databases Advanced - Entity Framework - 05. Entity Relations/Exercises/EntityRelationsExercises/P01_StudentSystem/Configuration.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace P01_StudentSystem
{
public class Configuration
{
public const string ConnectionS... | 1.938019 | 66116c5d6e8041466aa9f2c15f515b7d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812398 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "JTOne123/LambdaSql",
"max_stars_repo_path": "LambdaSql/MsSqlServerExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131618"
} | starcoder | namespace LambdaSql
{
public static class MsSqlServerExtensions
{
public static SqlSelect<T> Top<T>(this SqlSelect<T> sqlSelect, int top)
=> sqlSelect.Extend(builder => builder.ModifySelectFields(fields => $"TOP {top} {fields}"));
public static SqlSelect Top(this SqlSelect sqlSelec... | 2.599859 | eed4cfec807da2808b9570e3af25f1af |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812399 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Poket-Jony/Win10Theme",
"max_stars_repo_path": "Win10Theme/MenuStyle.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131619"
} | starcoder | <filename>Win10Theme/MenuStyle.Designer.cs
namespace Win10Theme
{
partial class MenuStyle
{
/// <summary>
/// Erforderliche Designervariable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Verwendete Ressourcen berei... | 1.939271 | e7ce851445c1af258b58101b3d7fe136 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812400 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Worble/reference-project",
"max_stars_repo_path": "Server/Forum.Application/Abstractions/Serialization/IByteSerializer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131620"
} | starcoder | namespace Forum.Application.Abstractions.Serialization
{
public interface IByteSerializer
{
T Deserialize<T>(byte[] bytes);
byte[] Serialize<T>(T obj);
}
}
| 1.894506 | 36e0d20a680f248a8989917a2253ed1d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812401 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "brandonrobb/itse1430",
"max_stars_repo_path": "classwork/MovieLibrary/InheritanceDemo/Class1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131621"
} | starcoder | <gh_stars>0
using System;
namespace InheritanceDemo
{
public abstract class Shape
{
public Point Origin { get; set; }
public abstract void Draw ();
public virtual void DisplayText ()
{
Console.WriteLine("Shape");
}
}
public class DrawingList
{... | 3.197203 | 00af9bab9596f0b3dc23f3305ca83d23 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812402 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "petejohanson/banshee",
"max_stars_repo_path": "src/Core/Banshee.WebBrowser/Banshee.WebBrowser/OssiferWebView.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131622"
} | starcoder | //
// OssiferWebView.cs
//
// Author:
// <NAME> <<EMAIL>>
//
// Copyright 2010 Novell, Inc.
//
// 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.873883 | ee4692df9f6c999dc78097d5fc6efdba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812403 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "akamsteeg/AtleX.Data",
"max_stars_repo_path": "src/AtleX.Data.Tests/Entity/Mocks/TestDbContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131623"
} | starcoder | <filename>src/AtleX.Data.Tests/Entity/Mocks/TestDbContext.cs
using AtleX.Data.Entity;
using Moq;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AtleX.Data.Tests.Entity.Mock... | 2.599309 | 1cbc9c2d843827e0e677b0ab0f3e8255 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812404 | {
"extension": "c-sharp",
"max_stars_count": "1018.0",
"max_stars_repo_name": "trungnt2910/iced",
"max_stars_repo_path": "src/csharp/Intel/Iced/Intel/FormatterInternal/FormatterStringsTable.g.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131624"
} | starcoder | <gh_stars>1000+
// SPDX-License-Identifier: MIT
// Copyright (C) 2018-present iced project and contributors
// ⚠️This file was generated by GENERATOR!🦹♂️
#nullable enable
#if GAS || INTEL || MASM || NASM || FAST_FMT
namespace Iced.Intel.FormatterInternal {
static partial class FormatterStringsTable {
const int ... | 1.780833 | 51b0fca7dc0841043de0b4414b9c2c49 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812405 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "VincentSCW/idserver4-sample-with-mongodb",
"max_stars_repo_path": "src/Sample.IdentityServer.MongoDb/LoginService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131625"
} | starcoder | <reponame>VincentSCW/idserver4-sample-with-mongodb<gh_stars>1-10
using Sample.IdentityServer.MongoDb.Models;
using System;
using System.Collections.Generic;
using System.Text;
namespace Sample.IdentityServer.MongoDb
{
public interface ILoginService
{
bool ValidateCredentials(string username, string pa... | 2.398047 | 798ec0623ad77830894fe9ef4529e524 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812406 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "advdotnet/AdventuresDotNet",
"max_stars_repo_path": "src/Tools/ContentAnalyzer/BuildActions/CopyBuildAction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131626"
} | starcoder | namespace ContentAnalyzer.BuildActions
{
public class CopyBuildAction : IBuildAction
{
public string CreateBuildCommand(string fileName, string targetDirectory, string fileNameWithoutExtension)
{
return "copy \"" + fileName + "\" \"" + targetDirectory + "\\" + fileName + "\"";
... | 2.465602 | 2ce433b4282d3401d281b87a7622325c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812407 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RaFFofDoom/RaFFsEnchantedLands",
"max_stars_repo_path": "Engine/Factories/TraderFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131627"
} | starcoder | <filename>Engine/Factories/TraderFactory.cs
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Xml;
using Engine.Models;
using Engine.Shared;
namespace Engine.Factories
{
public static class TraderFactory
{
private const string GAME_DATA_FILENAME = ".\\GameData\\Traders... | 3.12393 | 41cfefc0a8161cf1a7cc09b62be7ca72 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812408 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "Ultz/Spirit",
"max_stars_repo_path": "src/Ultz.Spirit.Core/IHttpRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131628"
} | starcoder | //
// IHttpRequest.cs
//
// Copyright (C) 2019 Ultz Limited
//
// This software may be modified and distributed under the terms
// of the MIT license. See the LICENSE file for details.
//
#region
using System;
#endregion
namespace Ultz.Spirit.Core
{
public interface IHttpRequest
{
IHttpHeaders H... | 1.692046 | 3fe80e5c474b4f92b900818ff117c6c4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812409 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "raulchall/annotation-events",
"max_stars_repo_path": "system-events/src/Utils/MonitoredClientBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131629"
} | starcoder | <reponame>raulchall/annotation-events<filename>system-events/src/Utils/MonitoredClientBase.cs
using System;
using System.Diagnostics;
using Microsoft.Extensions.Logging;
using Prometheus;
namespace SystemEvents.Utils
{
public class MonitoredClientBase
{
protected readonly ILogger _logger;
... | 2.50785 | 66a1cdee08d1f22edcf354ac45d275e0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812410 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ZhiquanW/CGT516-Collaborative-Virtual-And-Augmented-Environments",
"max_stars_repo_path": "GroupAssignment01/Assets/Scripts/HandDetector.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131630"
} | starcoder | <reponame>ZhiquanW/CGT516-Collaborative-Virtual-And-Augmented-Environments<filename>GroupAssignment01/Assets/Scripts/HandDetector.cs<gh_stars>0
using UnityEngine;
public class HandDetector : MonoBehaviour {
public bool isAttachCargo;
public GameObject targetCargo;
private void OnTriggerEnter(Collider ot... | 2.124288 | a8634c8538809bf8f333f4fd0329d986 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812411 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "niklaslundberg/Activout.RestClient",
"max_stars_repo_path": "Activout.RestClient.Test/JsonDeserializerTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131631"
} | starcoder | using System;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Net.Http;
using System.Text;
using Activout.RestClient.Serialization.Implementation;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
using RichardSzalay.MockHttp;
using Xunit;
namespace Activout.RestClient.Test
{
[Supp... | 2.121397 | 9cbd2d98f054cd1af0088c5b676a9638 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812412 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JaydenB14/YandereSimulatorDecompiled",
"max_stars_repo_path": "Assembly-CSharp/SmokeBombScript.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131632"
} | starcoder | // Decompiled with JetBrains decompiler
// Type: SmokeBombScript
// Assembly: Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: 5F8D6662-C74B-4D30-A4EA-D74F7A9A95B9
// Assembly location: C:\YandereSimulator\YandereSimulator_Data\Managed\Assembly-CSharp.dll
using UnityEngine;
public clas... | 1.730842 | 7c237a816bd5732076ef76d3e0fb86a0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812413 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Floogen/CosmeticRings",
"max_stars_repo_path": "CosmeticRings/Framework/Critters/BatFollower.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131633"
} | starcoder | using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using StardewValley;
using StardewValley.BellsAndWhistles;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CosmeticRings.Framework.Critters
{
internal class BatFollo... | 2.345946 | d4a3ce9103fa3ebf965bbc56de317008 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812414 | {
"extension": "c-sharp",
"max_stars_count": "807.0",
"max_stars_repo_name": "sanmen359/abp-samples",
"max_stars_repo_path": "DevExtreme-Mvc/src/DevExtremeSample.Domain/Settings/DevExtremeSampleSettingDefinitionProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131634"
} | starcoder | using Volo.Abp.Settings;
namespace DevExtremeSample.Settings
{
public class DevExtremeSampleSettingDefinitionProvider : SettingDefinitionProvider
{
public override void Define(ISettingDefinitionContext context)
{
//Define your own settings here. Example:
//context.Add(n... | 1.926517 | d2c4d9f53a30cc84ef8a7e828ccaf3d9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812415 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kroschelino/inqasso",
"max_stars_repo_path": "DesktopClient/inqasso.import/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131635"
} | starcoder | <reponame>kroschelino/inqasso<filename>DesktopClient/inqasso.import/Program.cs
using System.ComponentModel.DataAnnotations;
using System.Reflection;
using Inqasso.Core;
using Inqasso.Core.Interfaces;
using Inqasso.Import;
using Inqasso.Import.Interfaces;
using McMaster.Extensions.CommandLineUtils;
using Microsoft.Exte... | 2.385126 | 7413b969ac1a641c8b96bc7dd44d6437 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812416 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MFrpurdy/simple-binary-encoding",
"max_stars_repo_path": "csharp/sbe-dll/DirectBuffer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131636"
} | starcoder | <gh_stars>0
using System;
using System.Runtime.InteropServices;
using System.Text;
namespace Org.SbeTool.Sbe.Dll
{
/// <summary>
/// Provides access to read and write simple data types to and from a byte array in the SBE format.
/// </summary>
public sealed unsafe class DirectBuffer : IDisposable
... | 2.707943 | a843b2b5321039dee0cf8a41bcef58f1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812417 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "danmaq/GameOOP",
"max_stars_repo_path": "Sample1_15/state/chr/StateCharacter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131637"
} | starcoder | using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Sample1_15.core;
using Sample1_15.task.entity;
using Sample1_15.task.entity.chr;
namespace Sample1_15.state.chr
{
/// <summary>キャラクタの基底状態。</summary>
abstract class StateCharacter
: IState
{
/// <summary>
/// <para>状... | 2.768763 | 473203fb824ae41aefe0ce4174a6f677 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.