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 | 8810218 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "nhurman/avalon",
"max_stars_repo_path": "Modelisation/Modelisation/TransformElement.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129438"
} | starcoder | <filename>Modelisation/Modelisation/TransformElement.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
using System.Collections;
namespace Modelisation
{
//does not handle rotations ... yet.
public class TransformElement : Element
{
//do no... | 2.591815 | 70da44ab34fe47efc35c6aa3e4dfc990 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810219 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NurseHack4Health/BSButton",
"max_stars_repo_path": "BsButtonApi/src/BsButtonApi/BsButtonApi/Controllers/BsController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129439"
} | starcoder | using System;
using System.Threading.Tasks;
using BsButtonApi.Service;
using BsButtonApi.Service.ViewModels;
using Microsoft.AspNetCore.Cors;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using Swashbuckle.AspNetCore.Annotations;
namespace BsButtonApi.Controllers... | 2.091852 | 228a8c2e1847429550f8348702e62dff |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810220 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "alexperovich/AspNetCore",
"max_stars_repo_path": "src/Servers/Kestrel/Core/src/Internal/Infrastructure/KestrelConnection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129440"
} | starcoder | <reponame>alexperovich/AspNetCore
// 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 System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.... | 2.066047 | 83d3ffbcfca389759b59b5cfc21b75c0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810221 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ReillyBrogan/Memoria",
"max_stars_repo_path": "Assembly-CSharp/Global/btlseq.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129441"
} | starcoder | <reponame>ReillyBrogan/Memoria<gh_stars>0
using System;
using System.IO;
using System.Linq;
using Assets.Sources.Scripts.UI.Common;
using FF9;
using Memoria;
using Memoria.Data;
using Memoria.Prime;
using UnityEngine;
using Object = System.Object;
public class btlseq
{
public btlseq()
{
btlseq.enemy = FF9StateSyst... | 1.961719 | 69891c837faa14787c363249a25aa4b9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810222 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "reflectsoftware/Plato.NET",
"max_stars_repo_path": "src/Plato.Cache/Interfaces/ICacheKeyLock.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129442"
} | starcoder | // Plato.NET
// Copyright (c) 2017 ReflectSoftware Inc.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Threading.Tasks;
namespace Plato.Cache.Interfaces
{
public interface ICacheKeyLock : IDisposable
{
bool D... | 1.819642 | b36994e5fd508a34c8c1d3dbecae270d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810223 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "DFID/aid-management-platform",
"max_stars_repo_path": "AMP/Models/WorkflowTask.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129443"
} | starcoder | <filename>AMP/Models/WorkflowTask.cs
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will ... | 1.821218 | 2be8dbb792074bc6c3e1489b7a21df57 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810224 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "mlidbom/Composable",
"max_stars_repo_path": "src/framework/Composable.CQRS.UnitTests/Linq/HierarchyTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129444"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using Composable.GenericAbstractions.Hierarchies;
using Composable.SystemCE.LinqCE;
using NUnit.Framework;
namespace Composable.Tests.Linq
{
[TestFixture]
public class HierarchyTests
{
class Hierarchical
{
... | 3.163803 | 53ea841bb48f8888e530d2cda959b778 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810225 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DanielOaks/PoniGame",
"max_stars_repo_path": "PonyGame/Assets/Scripts/UI/LockIcon.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129445"
} | starcoder | <gh_stars>0
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class LockIcon : MonoBehaviour
{
[Tooltip("The speed at which the lock image rotates (Degrees / Second)")]
[SerializeField]
[Range(-720, 720)]
private float m_lockRotateSpeed = 0.0f;
private RectTransform m_tran... | 1.925421 | 8386d4674b2342b4d2a4bf1f98f0883d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810226 | {
"extension": "c-sharp",
"max_stars_count": "219.0",
"max_stars_repo_name": "kevin-montrose/LinqAF",
"max_stars_repo_path": "LinqAF/Impl/CommonImplementation.Cast.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129446"
} | starcoder | using System;
namespace LinqAF.Impl
{
static partial class CommonImplementation
{
public static CastEnumerable<TInItem, TOutItem, TEnumerable, TEnumerator> Cast<TInItem, TOutItem, TEnumerable, TEnumerator>(ref TEnumerable source)
where TEnumerable : struct, IStructEnumerable<TInItem, TEnum... | 2.233439 | 1a012b488e023a17ab2fe1495f7144a2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810227 | {
"extension": "c-sharp",
"max_stars_count": "84.0",
"max_stars_repo_name": "aliostad/deep-learning-lang-detection",
"max_stars_repo_path": "data/test/csharp/9cc2c96a85a5d70cec36211001d2c70758bfe45aDispatcher.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129447"
} | starcoder | <filename>data/test/csharp/9cc2c96a85a5d70cec36211001d2c70758bfe45aDispatcher.cs<gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Windows_Ad_Plugin
{
public static class Dispatcher
{
// needs to be set via the app so we can invoke onto App... | 2.601668 | 9ac0512e4150779a71a312acca3c494e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810228 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "omikolaj/the-p-league-api",
"max_stars_repo_path": "ThePLeagueAPI/Services/EmailService/Templates/PreOrderTemplate.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129448"
} | starcoder | <gh_stars>0
using System;
using Microsoft.Extensions.Configuration;
using ThePLeagueDomain.Models;
using ThePLeagueDomain.Models.Merchandise;
using ThePLeagueDomain.ViewModels.Merchandise;
namespace Services.EmailService.Templates
{
public class PreOrderTemplate
{
#region Constructor
public PreOrderTemplat... | 2.342507 | d0b6f9124f939ec8b3ac92623fc73703 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810229 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "KevinRansom/interactive",
"max_stars_repo_path": "src/Microsoft.DotNet.Interactive.Tests/KernelRoutingTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129449"
} | starcoder | <reponame>KevinRansom/interactive<gh_stars>1-10
// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.IO;
using System.Threading.Tasks;
using FluentAssertions;
using Fluen... | 1.866782 | e9218ce50bf9f01eb5b033f7e4bcb246 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810230 | {
"extension": "c-sharp",
"max_stars_count": "247.0",
"max_stars_repo_name": "diev/DotNet-ORM-Cookbook",
"max_stars_repo_path": "ORM Cookbook/Recipes.Dapper/MultipleCrud/MultipleCrudScenarioContrib.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129450"
} | starcoder | using Dapper.Contrib.Extensions;
using Recipes.Dapper.Models;
using System;
using System.Collections.Generic;
namespace Recipes.Dapper.MultipleCrud
{
public class MultipleCrudScenarioContrib : MultipleCrudScenario
{
public MultipleCrudScenarioContrib(string connectionString) : base(connectionString)
... | 2.707452 | 35515ad241049c8cb9eec6c5e7eae794 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810231 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mganitombalak/cubic",
"max_stars_repo_path": "LandingCoordinator.Engine/LandingContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129451"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using LandingCoordinator.Abstractions.Interfaces;
namespace LandingCoordinator.Engine
{
public class LandingContext
{
protected internal static LandingArea LandingArea;
protected... | 2.121177 | 35fab180f9d0fabe57261d7f0db4c174 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810232 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "horker/pscntk",
"max_stars_repo_path": "source/Horker.PSCNTK/Cmdlets/TrainingSessionCmdlets.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129452"
} | starcoder | using System;
using System.Management.Automation;
using System.Collections.Generic;
using System.Linq;
using System.Collections;
using System.Reflection;
using CNTK;
using System.IO;
using System.Text;
namespace Horker.PSCNTK
{
[Cmdlet("Start", "CNTKTraining")]
[Alias("cntk.startTraining")]
[OutputType(t... | 2.097564 | bc9993f8909ce6f5f4fdc3f51d41cc12 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810233 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "sucrose0413/TSheets-V1-DotNET-SDK",
"max_stars_repo_path": "Intuit.TSheets/Client/RequestFlow/PipelineElements/CreateContextValidator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129453"
} | starcoder | <reponame>sucrose0413/TSheets-V1-DotNET-SDK
// *******************************************************************************
// <copyright file="CreateContextValidator.cs" company="Intuit">
// Copyright (c) 2019 Intuit
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file... | 2.056865 | 5070fb5e5667eb02134afeca1ef52e97 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810234 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "20chan/OrigamiSimulator",
"max_stars_repo_path": "Origami/CyclicArray.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129454"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections;
using System.Collections.Generic;
namespace Origami {
public class CyclicArray<T> : IEnumerable<T> {
public int Length => _size;
private readonly T[] _array;
private readonly int _size;
private int _index;
public Cycl... | 3.541891 | b680915d502c10dd1a1ab2c8277213c8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810235 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nagasudhirpulla/wrldc_mis_webhook_api",
"max_stars_repo_path": "WrldcMISWebhookAPI/WrldcMISWebhookAPI/Areas/Identity/Pages/Account/Manage/_ViewImports.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:129455"
} | starcoder | <gh_stars>0
@using WrldcMISWebhookAPI.Areas.Identity.Pages.Account.Manage
| 1.033432 | f17dbb063f6a4230b2d83e924ab61127 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810236 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "tomFlidr/desharp",
"max_stars_repo_path": "Panels/SystemInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129456"
} | starcoder | <reponame>tomFlidr/desharp
using Desharp.Core;
using System;
using System.Diagnostics;
using System.Globalization;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Text;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
namespace Desharp.Panels {
[ComVisible(true)]
publ... | 2.133736 | 7b32ae32e454b81805032e2ff01c0e84 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810237 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ryanheath/ravendb",
"max_stars_repo_path": "ToMigrate/Raven.Database/Smuggler/SmugglerAbstractOperation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129457"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Raven.Abstractions.Database.Smuggler;
namespace Raven.Smuggler
{
public abstract class SmugglerAbstractOperation<T> : IDisposable where T : SmugglerOptions
{
protected ... | 2.211171 | 77ec0261728b49940dad8919e265d46e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810238 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "ProtocolCash/BCHSocket",
"max_stars_repo_path": "BCHSocket/Websocket/Handlers/Draft76Handler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129458"
} | starcoder | <filename>BCHSocket/Websocket/Handlers/Draft76Handler.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
namespace BCHSocket.Websocket.Handlers
{
public static class Draft76Handler
{
private const byte End = 255;
private... | 2.891515 | f7dc1ea0ce40f04852a35363f4bcd336 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810239 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "launchdarkly/dotnet-sdk-internal",
"max_stars_repo_path": "src/LaunchDarkly.InternalSdk/Events/EventSummarizer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129459"
} | starcoder | using System;
using System.Collections.Generic;
namespace LaunchDarkly.Sdk.Internal.Events
{
internal sealed class EventSummarizer
{
private EventSummary _eventsState;
public EventSummarizer()
{
_eventsState = new EventSummary();
}
// Adds this event to ou... | 2.913469 | 283964c979ff2fcffb1face6f41b1156 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810240 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "swaroop-sridhar/runtime",
"max_stars_repo_path": "src/libraries/System.Private.Xml.Linq/src/System/Xml/Linq/XProcessingInstruction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129460"
} | starcoder | <reponame>swaroop-sridhar/runtime
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Threading;
using System.Threading.Tasks;
namespace System.Xml.Linq
{
/// <summary>
/// Represents an XML processing instructio... | 2.54607 | f2d50cc22052fe5a7fbea626269fb022 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810241 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "wdesgardin/twitter-clone",
"max_stars_repo_path": "src/Infrastructure/Persistence/Migrations/20210520192010_AddRePosts.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129461"
} | starcoder | using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace TwitterClone.Infrastructure.Persistence.Migrations
{
public partial class AddRePosts : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
n... | 2.108519 | 32f66fa21ed6859699d942446c20a6aa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810242 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mpostol/PO.Common",
"max_stars_repo_path": "CommServer.CommonBusUnitTests/DataProviderIDUnitTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129462"
} | starcoder | <reponame>mpostol/PO.Common
//___________________________________________________________________________________
//
// Copyright (C) 2020, <NAME>.
//
// To be in touch join the community at GITTER: https://gitter.im/mpostol/OPC-UA-OOI
//__________________________________________________________________________... | 1.589362 | 1d0302fe4cdd2d502d45ae0ceadd99b7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810243 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Dysn-Entertainment/DysnEntertainmentProto",
"max_stars_repo_path": "src/DysonEntertainment/DysonEntertainment.Api/Controllers/GameTablesController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129463"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using DysonEntertainment.Api.Db;
using DysonEntertainment.Api.Db.Models;
namespace DysonEntertainment.Api.Controllers
{
[Route("api/[controller]")]
... | 2.702314 | 4d2054feff85d57cbfe4c83d092e6d49 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810244 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gustavogmoraes/Mega.AsterNet.Server",
"max_stars_repo_path": "Asterisk.2013/Asterisk.NET/Manager/Event/BridgeEvent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129464"
} | starcoder | using System;
using System.Collections.Generic;
namespace AsterNET.Manager.Event
{
/// <summary>
/// A BridgeEvent is triggered when a link between two voice
/// channels is established ("Link") or discontinued ("Unlink").
/// As of Asterisk 1.6 the Bridge event is reported directly by Asterisk.
/// Asterisk vers... | 2.680064 | b77d83f1d1be113dacb1feea80ce8b07 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810245 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Kassout/unityProject_SoulsLight_Scripts",
"max_stars_repo_path": "SoulsLight/Assets/Scripts/Managers/CameraHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129465"
} | starcoder | <gh_stars>0
using System.Collections.Generic;
using System.Numerics;
using UnityEngine;
using Quaternion = UnityEngine.Quaternion;
using Vector3 = UnityEngine.Vector3;
/// <summary>
/// Class <c>CameraHandler</c> is a Unity component script used to manage the camera behaviour.
/// </summary>
public class CameraHandler... | 2.257591 | e982d96ebc78320ea476800695ba2e2e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810246 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "terencefan/azure-signalr",
"max_stars_repo_path": "src/Microsoft.Azure.SignalR.Management/ServiceHubContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129466"
} | 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.Threading;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http.Connections;
using Microsoft.AspNetCore.SignalR;
namespace Microso... | 2.016769 | dcc9ed78bc533633b24f72c9582c3121 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810247 | {
"extension": "c-sharp",
"max_stars_count": "16061.0",
"max_stars_repo_name": "abod1944/maui",
"max_stars_repo_path": "src/Compatibility/ControlGallery/src/Issues.Shared/Issue9326.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129467"
} | starcoder | <filename>src/Compatibility/ControlGallery/src/Issues.Shared/Issue9326.xaml.cs
using Microsoft.Maui.Controls.CustomAttributes;
using Microsoft.Maui.Controls.Internals;
/*
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Collections.ObjectModel;
using System.Reactive;
using ReactiveUI;
*/
#... | 2.113579 | 248fe3c617116354d3ece4dd3ccf4f07 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810248 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "renerichter/UC2-AR-RECOGNITION",
"max_stars_repo_path": "Assets/Scripts/GridManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129468"
} | starcoder | <reponame>renerichter/UC2-AR-RECOGNITION
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class GridManager : MonoBehaviour
{
[SerializeField]
private float gridWidth;
[SerializeField]
private float gridHeight;
[SerializeField]
privat... | 2.253582 | a22f23e2df8da2e91d091723f5b8917f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810249 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "molinch/crank",
"max_stars_repo_path": "src/Microsoft.Crank.Controller/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129469"
} | starcoder | <reponame>molinch/crank<filename>src/Microsoft.Crank.Controller/Program.cs
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.C... | 1.783663 | 46a134cccadf3359a005f480637b83f6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810250 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Lixfeld/VSCodeSnippetCreator",
"max_stars_repo_path": "src/VSCodeSnippetCreator.Core/Schema/Header.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129470"
} | starcoder | using System;
using System.Collections.Generic;
namespace VSCodeSnippetCreator.Core.Schema
{
[Serializable]
public class Header
{
public string Title { get; set; }
public string Shortcut { get; set; }
public string Description { get; set; }
public string Author { get; set; ... | 2.261685 | baf0d716f3b632135864f0c9c911dadc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810251 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "junjanjon/GameTextConverter",
"max_stars_repo_path": "Source/ExcelDataLoader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129471"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using Extensions;
using OfficeOpenXml;
namespace GameTextConverter
{
public static class ExcelDataLoader
{
/// <summary> シート名一覧読み込み(.xlsx) </summary>
public static string[... | 2.379586 | 4c36b5aa0778fb49be404d9f01f35328 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810252 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "derelictcomputer/PulseSequencer",
"max_stars_repo_path": "Assets/PulseSequencer/Source/Editor/Core/PatternInspector.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129472"
} | starcoder | <reponame>derelictcomputer/PulseSequencer<gh_stars>1-10
using UnityEditor;
using UnityEngine;
namespace DerelictComputer
{
[CustomEditor(typeof(Pattern)), CanEditMultipleObjects]
public class PatternInspector : Editor
{
private const int StepsPerRow = 8;
private int _numSteps;
pu... | 2.594714 | ce5b8ec5dba9766f1b4fd8f72bf212cd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810253 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "GuOrg/Gu.Wpf.ValidationScope",
"max_stars_repo_path": "Gu.Wpf.ValidationScope.Tests/Helpers/ObservableCollectionArgsComparer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129473"
} | starcoder | namespace Gu.Wpf.ValidationScope.Tests
{
using System.Collections;
public sealed class ObservableCollectionArgsComparer : IComparer
{
public static readonly ObservableCollectionArgsComparer Default = new ObservableCollectionArgsComparer();
public int Compare(object? x, object? y)
... | 2.365274 | c07efe49a0bec4f6426bb4f80b0adb42 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810254 | {
"extension": "c-sharp",
"max_stars_count": "32.0",
"max_stars_repo_name": "adams85/bundles",
"max_stars_repo_path": "source/Bundling.NUglify/NUglifyBundlingConfigurerExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129474"
} | starcoder | <filename>source/Bundling.NUglify/NUglifyBundlingConfigurerExtensions.cs
using System;
using Karambolo.AspNetCore.Bundling.Css;
using Karambolo.AspNetCore.Bundling.Js;
using Karambolo.AspNetCore.Bundling.NUglify;
using Microsoft.Extensions.DependencyInjection.Extensions;
using Microsoft.Extensions.Logging;
using NUgli... | 2.109496 | 62c958de244ce056b3b19d72324a1279 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810255 | {
"extension": "c-sharp",
"max_stars_count": "78.0",
"max_stars_repo_name": "Yiwei-Ding/sarif-sdk",
"max_stars_repo_path": "src/Sarif/VersionOne/Autogenerated/AnnotationVersionOne.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129475"
} | starcoder | <gh_stars>10-100
// 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.CodeDom.Compiler;
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace Microsoft.CodeAnalysis.Sa... | 2.33933 | 169454cc8f1c6d69e00b55b452114544 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810256 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "launchdarkly/dotnet-server-sdk",
"max_stars_repo_path": "test/LaunchDarkly.ServerSdk.Tests/Integrations/TestDataTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129476"
} | starcoder | using System;
using System.Collections.Generic;
using LaunchDarkly.Sdk.Server.Interfaces;
using Xunit;
using Xunit.Abstractions;
using static LaunchDarkly.Sdk.Server.Interfaces.DataStoreTypes;
using static LaunchDarkly.TestHelpers.JsonAssertions;
namespace LaunchDarkly.Sdk.Server.Integrations
{
public class Test... | 2.07342 | 1ee19db82c17c90f8c47e85af1d4f436 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810257 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RadicalConcepts/.NET-Exception-Advisor",
"max_stars_repo_path": "ExceptionInterceptor/ExceptionInterceptor/Controllers/ExceptionController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129477"
} | starcoder | <reponame>RadicalConcepts/.NET-Exception-Advisor
using System;
using System.Collections;
using System.Collections.Specialized;
using System.Collections.Generic;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Diagnostics.SymbolStore;
using System.Data;
using System.Text;
using Sys... | 2.230867 | 05ebb08b793c0cf36e5ed3396f8b6105 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810258 | {
"extension": "c-sharp",
"max_stars_count": "30.0",
"max_stars_repo_name": "jeneaux/Leprechaun",
"max_stars_repo_path": "src/Leprechaun.InputProviders.Rainbow.Tests/Filters/StandardTemplateFilterTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129478"
} | starcoder | <filename>src/Leprechaun.InputProviders.Rainbow.Tests/Filters/StandardTemplateFilterTests.cs
using System;
using System.IO;
using System.Reflection;
using System.Xml;
using FluentAssertions;
using Leprechaun.InputProviders.Rainbow.Filters;
using Leprechaun.Model;
using Xunit;
namespace Leprechaun.InputProviders.Rainb... | 2.256934 | b9c61b9a1df0ea8b4d3a8c6a4bc71f5d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810259 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "12142020-dotnet-uta/DanielGeiserRepo1",
"max_stars_repo_path": "Project_1/ModelLayer/Models/Orders.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129479"
} | starcoder | <reponame>12142020-dotnet-uta/DanielGeiserRepo1<filename>Project_1/ModelLayer/Models/Orders.cs
using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel.DataAnnotations;
namespace ModelLayer
{
public class Orders
{
[Key]
public int orderID { get; set; }
... | 2.447648 | 02581a191daa0c79ed31e6b0979d6d31 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810260 | {
"extension": "c-sharp",
"max_stars_count": "606.0",
"max_stars_repo_name": "jenzy-forks/flubu.core",
"max_stars_repo_path": "src/FlubuCore.WebApi/Controllers/Attributes/ValidateRequestModelAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129480"
} | starcoder | <filename>src/FlubuCore.WebApi/Controllers/Attributes/ValidateRequestModelAttribute.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Reflection;
using System.Threading.Tasks;
using FlubuCore.WebApi.Controllers.Exceptions;
using FlubuCore.WebApi.Model;
using FluentVal... | 2.434822 | 5d69b3f77c11ef2a167db4a6053a28d3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810261 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Thraxs/SSII-Verin",
"max_stars_repo_path": "Verin/DataClasses/TaskManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129481"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Verin
{
class TaskManager
{
public void start()
{
while (Threads.tasks.Count != 0)
{
if (Threads.activeThreads < Threads.paralle... | 2.182618 | 48dcd049ab72be717d136d3b076b2c6a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810262 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Youssef1313/diagnostics",
"max_stars_repo_path": "src/Microsoft.Diagnostics.Monitoring/DiagnosticsEventPipeProcessor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129482"
} | starcoder | <reponame>Youssef1313/diagnostics
// 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 Graphs;
using Microsoft.Diagnostics.NETCore.Client;
using Microsoft.Diagnos... | 1.604648 | 2342d874fd4d8a9560bc33c66bb482ef |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810263 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bojanpisic/WebApp-Microservice-Arhitecture",
"max_stars_repo_path": "Web2-Microservices/RACSMicroservice/Models/Address.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129483"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace RACSMicroservice.Models
{
public class Address
{
public Address()
{
}
public int AddressId { get; set; }
public string City { get; set; }
public string St... | 1.966519 | 65909414c6ae741dad48522260889435 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810264 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "devinleighsmith/PSP",
"max_stars_repo_path": "backend/entities/ef/PimsPropertyType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129484"
} | starcoder | <filename>backend/entities/ef/PimsPropertyType.cs
using System;
using System.Collections.Generic;
#nullable disable
namespace Pims.Dal.Entities
{
public partial class PimsPropertyType
{
public PimsPropertyType()
{
PimsProperties = new HashSet<PimsProperty>();
}
pu... | 1.924864 | cdf50d9d925904119c24339f459573f4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810265 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ruipgil/MapNoReduce",
"max_stars_repo_path": "PADIMapNoReduce/PuppetMaster/Controller.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129485"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Diagnostics;
using System.Threading;
namespace PADIMapNoReduce
{
public class Controller
{
Dictionary<int, string> workerIds = new Dictionary<int, string>();
privat... | 2.56114 | ad11e1d2b860de681e3aa16958107827 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810266 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Silcoish/Scriptable-Object-Loader",
"max_stars_repo_path": "Runtime/StorageBuildProcessor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129486"
} | starcoder | #if UNITY_EDITOR
using System.Linq;
using UnityEditor;
using UnityEditor.Build;
using UnityEditor.Build.Reporting;
using UnityEngine;
namespace ToolBox.Loader
{
public class StorageBuildProcessor : IPreprocessBuildWithReport, IPostprocessBuildWithReport
{
private ScriptableObject[] _loadables = null;
public in... | 1.986289 | 3379d184068a52afa48f45db8714a33c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810267 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "maalik0786/brightwire",
"max_stars_repo_path": "BrightWire/TabularData/Helper/DataTableProjector.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129487"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace BrightWire.TabularData.Helper
{
/// <summary>
/// Projects a subset of data table rows into a new data table
/// </summary>
class DataTableProjector : IRowProcessor
{
readonly IRowProcessor _destination;
readonly IR... | 2.888015 | d4f1db4557fb8b0680ec627b1dc0c650 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810268 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "qbasko/AJTaskManager",
"max_stars_repo_path": "AJTaskManagerService/AJTaskManagerMobile/ViewModel/MainViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129488"
} | starcoder | <reponame>qbasko/AJTaskManager<filename>AJTaskManagerService/AJTaskManagerMobile/ViewModel/MainViewModel.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Windows.UI.Xaml;
using AJTaskManag... | 1.739574 | 268133b8714c4ad99d4b6a7782c08dc2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810269 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "YandongZhao/AbpDemoOne",
"max_stars_repo_path": "aspnet-core/src/AbpDemoOne.Web.Mvc/Views/Shared/Components/NotificationMisc/Default.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:129489"
} | starcoder | <reponame>YandongZhao/AbpDemoOne<filename>aspnet-core/src/AbpDemoOne.Web.Mvc/Views/Shared/Components/NotificationMisc/Default.cshtml
@using Abp.Collections.Extensions
@using AbpDemoOne.Web.Views.Shared.Components.NotificationMisc
@model NotificationMiscViewModel
@{
//TODO: Get current virtual path
var Applicat... | 2.032218 | 75fa60d5dfe9c3f0e58bb61dd9400bd2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810270 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "hueyh/AccountRight_Live_API_.Net_SDK",
"max_stars_repo_path": "MYOB.API.SDK/SDK/Contracts/Version2/Purchase/MiscellaneousBill.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129490"
} | starcoder | namespace MYOB.AccountRight.SDK.Contracts.Version2.Purchase
{
/// <summary>
/// Describe the Purchase/Bill/Miscellaneous resource
/// </summary>
public class MiscellaneousBill : BillWithLines<MiscellaneousBillLine>
{
}
} | 1.361803 | f5ae703ed3e53df43c4bac29119ee56a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810271 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jasoncastellano/ClosedXML",
"max_stars_repo_path": "ClosedXML_Examples/Ranges/TransposeRangesPlus.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129491"
} | starcoder | using System.IO;
using ClosedXML.Excel;
namespace ClosedXML_Examples
{
public class TransposeRangesPlus : IXLExample
{
public void Create(string filePath)
{
string tempFile = ExampleHelper.GetTempFilePath(filePath);
try
{
new Basi... | 2.727051 | e938678ab2811eaaef2652bcdfe30553 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810272 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "lucas1619/TPC-BACKEND",
"max_stars_repo_path": "TPC-UPC/Domain/Models/Notification.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129492"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace TPC_UPC.Domain.Models
{
public class Notification
{
public int Id { get; set; }
public string Link { get; set; }
public DateTime SendDate { get; set; }
public int Notifica... | 1.717898 | e4de4daaba453187f7060e7f3bb40a1c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810273 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "feiyun0112/runtime",
"max_stars_repo_path": "src/tests/BuildWasmApps/Wasm.Build.Tests/SatelliteAssembliesTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129493"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Xunit;
using Xunit.Abstractions;
#nullable enable
namespace Wasm.Build.Tests
{
public ... | 1.71343 | c36c54f1cf61e89d976f7a757498c814 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810274 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SC-Poc/CommonDotNetLibraries",
"max_stars_repo_path": "tests/Common.Tests/Log/LogContextConversionTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129494"
} | starcoder | <filename>tests/Common.Tests/Log/LogContextConversionTests.cs
using Lykke.Common.Log;
using Xunit;
namespace Common.Tests.Log
{
public class LogContextConversionTests
{
[Fact]
public void Conversion_to_string_works_correctly()
{
// Act
var str1 = LogContextConv... | 2.51965 | e33c831532f062b8ddbe60b4739dbb83 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810275 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "frankhaugen/Frank.Extensions",
"max_stars_repo_path": "src/Frank.Libraries.Brreg/Models/Company/Company.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129495"
} | starcoder | using System;
using Newtonsoft.Json;
namespace Frank.Libraries.Brreg.Models.Company
{
public class Company
{
[JsonProperty("organisasjonsnummer")] public long RegistrationNumber { get; set; }
[JsonProperty("antallAnsatte")] public long Employees { get; set; }
[JsonProperty("navn")] p... | 1.808384 | c3e62d20f3a5be6919a9cd739c8b485e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810276 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Davidblkx/LiteDB",
"max_stars_repo_path": "LiteDB.Tests/Tests/ShrinkTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129496"
} | starcoder | using System;
using System.IO;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace LiteDB.Tests
{
[TestClass]
public class ShrinkTest : TestBase
{
private const int Iterations = 10;
private readonly string _customerName;
private readonly string _productName;
publ... | 3.195755 | 73ac708d757eccbaaec18564f80f502f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810277 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ryanwersal/reactive",
"max_stars_repo_path": "Ix.NET/Source/System.Interactive.Async.Tests/AsyncTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129497"
} | starcoder | <reponame>ryanwersal/reactive
// 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;
using System.Collections;
using System.Collections.Generic;
usi... | 2.503765 | f1e620b026de7941dfa202eea0d7534e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810278 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "pablocastilla/NServiceBus.Kafka",
"max_stars_repo_path": "src/NServiceBus.Kafka.AcceptanceTests/App_Packages/NSB.AcceptanceTests.6.1.3/Routing/MessageDrivenSubscriptions/When_publishing_to_scaled_out_subscribers.cs",
"provenance": "t... | starcoder | namespace NServiceBus.AcceptanceTests.Routing.MessageDrivenSubscriptions
{
using System.Threading;
using System.Threading.Tasks;
using AcceptanceTesting;
using EndpointTemplates;
using NUnit.Framework;
using ScenarioDescriptors;
public class When_publishing_to_scaled_out_subscribers : NSer... | 2.411873 | 5e83b373c493900f3a1539213adfedcb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810279 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Nick0108/Exhibition",
"max_stars_repo_path": "Application/3.Controllers/StartUpCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129499"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
class StartUpCommand : Controller
{
public override void Execute(object data)
{
GameModel gameModel = new GameModel();
//注册模型 Model
RegisterModel(gameModel);
//注册命令 Cont... | 1.755688 | 9f3e23f6244384559446a7155ee4112e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810280 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "Dominaezzz/sqlite-helper",
"max_stars_repo_path": "SQLite.Net/Translation/AggregateSimplifier.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129500"
} | starcoder | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using SQLite.Net.Expressions;
using SQLite.Net.Helpers;
namespace SQLite.Net.Translation
{
internal class AggregateSimplifier : DbExpressionVisitor
{
... | 2.390783 | fa491ba5c638f17c6412aaeea21af2db |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810281 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Ampla/Ampla-Data",
"max_stars_repo_path": "src/AmplaData.Tests/Modules/Production/ProductionRecordsUnitTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129501"
} | starcoder | <gh_stars>0
using System.Linq;
using AmplaData.Records;
using NUnit.Framework;
namespace AmplaData.Modules.Production
{
public class ProductionRecordUnitTests : TestFixture
{
private const string module = "Production";
private const string location = "Enterprise.Site.Area.Production";
... | 1.81816 | 39736cda2881e746870d29677a4a6bbc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810282 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pherbel/togglersample",
"max_stars_repo_path": "src/TogglerService/Constants/RequestControllerRoute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129502"
} | starcoder | namespace TogglerService.Constants
{
public static class RequestControllerRoute
{
public const string GetTogglesList = ControllerName.Toggle + nameof(GetTogglesList);
public const string HeadTogglesList = ControllerName.Toggle + nameof(HeadTogglesList);
}
}
| 1.235124 | bf402ffa4dbd0afb897f4fb639cff1be |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810283 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "opcaic/server",
"max_stars_repo_path": "test/OPCAIC.Messaging.Test/SimpleConnectorTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129503"
} | starcoder | <filename>test/OPCAIC.Messaging.Test/SimpleConnectorTest.cs
using System.Threading;
using OPCAIC.Messaging.Test.Messages;
using OPCAIC.TestUtils;
using Xunit;
using Xunit.Abstractions;
namespace OPCAIC.Messaging.Test
{
public class SimpleConnectorTest : BrokerWorkerConnectorTestBase
{
public SimpleConnectorTest(IT... | 2.175155 | cba2fe652fdc3ab347772e216af9ea11 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810284 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MasterScott/CP77Tools",
"max_stars_repo_path": "CP77.CR2W/Types/cp77/scnWorkspotData_ExternalWorkspotResource.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129504"
} | starcoder | <gh_stars>1-10
using System.IO;
using CP77.CR2W.Reflection;
using FastMember;
using static CP77.CR2W.Types.Enums;
namespace CP77.CR2W.Types
{
[REDMeta]
public class scnWorkspotData_ExternalWorkspotResource : scnWorkspotData
{
[Ordinal(0)] [RED("workspotResource")] public rRef<workWorkspotResource> Work... | 0.858806 | 5d7f3f6829fd598a1828443515e0c477 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810285 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "anon54914/VRCMods",
"max_stars_repo_path": "FavCat/Database/LocalStoreDatabase.World.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129505"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using FavCat.Database.Stored;
using MelonLoader;
using VRC.Core;
namespace FavCat.Database
{
public partial class LocalStoreDatabase
{
internal void RunBackgroundWorldSearch(string text, Action<IEnumerable<... | 2.422238 | a2a8f1885f49a361884f05eb433e8c77 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810286 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "terevea/design-patterns",
"max_stars_repo_path": "02-Observer/Weather/HeadIndexDisplay.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129506"
} | starcoder | <reponame>terevea/design-patterns
using System;
using System.Linq;
namespace _02_Observer.Weather
{
public class HeatIndexDisplay : IDisplay, IObserver
{
private double _HeatIndex;
private ISubject WeatherData;
public HeatIndexDisplay(ISubject weatherData)
{
this.W... | 3.005517 | 1acf552ebc45df1f60efb8e977b80962 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810287 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "taspeotis/GameBoySharp",
"max_stars_repo_path": "GameBoySharp.Domain/Contracts/IWriteableMemory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129507"
} | starcoder | <gh_stars>1-10
namespace GameBoySharp.Domain.Contracts
{
public interface IWriteableMemory
{
void WriteByte(ushort address, byte value, ushort offset = 0);
// TODO: Extension method for WriteShort
ushort WriteableFrom { get; }
ushort WriteableTo { get; }
}
} | 2.138552 | 8e2e8aa9172aa2e5055dd5683e0771b9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810288 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "UmbHost/CloudFlare.Client",
"max_stars_repo_path": "CloudFlare.Client/Api/Authentication/IAuthentication.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129508"
} | starcoder | using System.Net.Http;
namespace CloudFlare.Client.Api.Authentication
{
public interface IAuthentication
{
/// <summary>
/// Adds authentication to the HTTP headers
/// </summary>
/// <param name="client">Http client</param>
void AddToHeaders(HttpClient client);
}
} | 2.023711 | dcc8ea2cad504352e43307a046b73050 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810289 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "UltimateCodeMonkeys/CodeMonkeys",
"max_stars_repo_path": "src/MVVM/PropertyChanged/BindingBase/BindingBase.propertyChanged.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129509"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Windows.Input;
using CodeMonkeys.MVVM.Attributes;
using CodeMonkeys.MVVM.PropertyChanged.Events;
namespace CodeMonkeys.MVVM.PropertyChanged
{
... | 2.420398 | db2c089481765612bb60de27f6617ed0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810290 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "matsprea/AspNetIdentity_U2F",
"max_stars_repo_path": "U2F/Client/IU2FClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129510"
} | starcoder | <gh_stars>1-10
using System;
namespace U2F.Client
{
public interface IU2FClient {
void Register(String origin, String accountName) ;
void Authenticate(String origin, String accountName) ;
}
} | 1.646339 | fe90653e898c948c8a5ff060007d04ca |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810291 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "ChrisPJohn/SolastaCommunityExpansion",
"max_stars_repo_path": "SolastaCommunityExpansion/Level20/Features/PowerPaladinAuraOfCourage18Builder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129511"
} | starcoder | <reponame>ChrisPJohn/SolastaCommunityExpansion
using SolastaCommunityExpansion.Api.Extensions;
using SolastaCommunityExpansion.Builders.Features;
using static SolastaCommunityExpansion.Api.DatabaseHelper.FeatureDefinitionPowers;
namespace SolastaCommunityExpansion.Level20.Features;
internal sealed class PowerPaladin... | 1.781431 | f408aaa24d463c376a0f712b1d6ac443 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810292 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "jaenudin86/PointBlank",
"max_stars_repo_path": "server/Game/Network/ClientPacket/CLAN/PROTOCOL_CLAN_CREATE_REQ.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129512"
} | starcoder | /*
* C# Server Emulator Project Blackout / PointBlank
* Authors: the__all
* Copyright (C) 2015 | OZ-Network
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Game.Network.ServerPacket;
using Core.Model;
using Core.Managers;
using Core.Database.Tables;
namespace Game.Ne... | 2.1374 | eeb8c2680a391b5e75a35502c2353ce8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810293 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ejordan1/BootsOntheGroundClient",
"max_stars_repo_path": "Assets/Scripts/Services/Buffs/Buffs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129513"
} | starcoder | <reponame>ejordan1/BootsOntheGroundClient
using System;
using FixMath.NET;
namespace Services.Buffs
{
public static class Buffs
{
public static readonly IBuff MaxHpBuff = new WrapperBuff( //these are of type IBuff: are passed as parameter in factory
//PARAMETER 1
data => {data.receiver.maxHp.addedValue... | 2.103072 | 667d9cd88cb86c4f0bc8cccd870123c8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810294 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Remaderrg/GenshinLauncher",
"max_stars_repo_path": "GenshinLauncher/ViewModels/MainWindowViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129514"
} | starcoder | <gh_stars>1-10
using System;
using System.ComponentModel;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using CliWrap;
using GenshinLauncher.Models;
using Microsoft.Win32;
using ModernWpf.Controls;
using Stylet;
using System.Windows;
using System.Windows.Input;
namespace GenshinLauncher.ViewModels... | 2.241194 | bdbdbb50e63e74a5ddfcdebd9fa7a041 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810295 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Vilksar/NetControl4BioMed",
"max_stars_repo_path": "NetControl4BioMed/Data/Interfaces/IUserDependent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129515"
} | starcoder | using NetControl4BioMed.Data.Models;
namespace NetControl4BioMed.Data.Interfaces
{
/// <summary>
/// Provides an abstraction for a model depending on a user.
/// </summary>
public interface IUserDependent
{
/// <summary>
/// Represents the user ID of the model.
/// </summar... | 2.323325 | 55efd710e8eb165fce9238e3b314ad12 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810296 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kailinishihira/GummiBearKingdom",
"max_stars_repo_path": "GummiBearKingdom/Controllers/CountriesController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129516"
} | starcoder | <filename>GummiBearKingdom/Controllers/CountriesController.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using GummiBearKingdom.Models;
using Microsoft.EntityFrameworkCore;
namespace GummiBearKingdom.Controllers
{
public class C... | 2.755156 | e7322fdc92be0a5d3d95d2074c00fba9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810297 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "buritto/TagCloud",
"max_stars_repo_path": "TagCloud/TagCloud/Interfaces/IWordFilter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129517"
} | starcoder | namespace TagCloud
{
/// <summary>
/// Check if word match filtering rules
/// </summary>
public interface IWordFilter
{
int MinLenght { get; }
IWordFilter AddBoringWord(string word);
IWordFilter SetMinCountSymbolInWord(int lenght);
bool IsWordValid(string word);
... | 2.299701 | 2f21db65f7721be60df8cbcd0c56afa7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810298 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KittyDotNet/SharpIpp",
"max_stars_repo_path": "SharpIpp/SharpIppClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129518"
} | starcoder | using System;
using System.IO;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using SharpIpp.Exceptions;
using SharpIpp.Model;
using SharpIpp.Protocol;
namespace SharpIpp
{
public class SharpIppClient : ISharpIppClient
{
private readonly bool _disposeHttpClient;
private... | 2.448496 | 5d3390947c41ef65785336fd1e6f4474 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810299 | {
"extension": "c-sharp",
"max_stars_count": "133.0",
"max_stars_repo_name": "allisterb/nledger",
"max_stars_repo_path": "Source/NLedger.Tests/Filters/AnonymizePostsTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129519"
} | starcoder | // **********************************************************************************
// Copyright (c) 2015-2021, <NAME>. All rights reserved.
// Licensed under the FreeBSD Public License. See LICENSE file included with the distribution for details and disclaimer.
//
// This file is part of NLedger that is a .Ne... | 2.324578 | 477a1bd1fb2afcf67457edea3367fd46 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810300 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "AndriyVeremyeyev/ZineClient.Solution",
"max_stars_repo_path": "ZineClient/Models/ApplicationUser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129520"
} | starcoder | <gh_stars>1-10
using Microsoft.AspNetCore.Identity;
using System.Collections.Generic;
namespace ZineClient.Models
{
public class ApplicationUser : IdentityUser
{
// public int ApplicationUserId { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
public virtual I... | 1.882657 | 2c31619e96a8646ae63a0916c004aba8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810301 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "val-ugs/UDevMe.Cryptography",
"max_stars_repo_path": "Cryptography.Domain/Models/DesData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129521"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cryptography.Domain.Models
{
public class DesData
{
public uint[] Values { get; set; }
public uint[] Key { get; set; }
public uint[][] InitialIP { get; set; }
... | 1.844606 | cc12df5f5d6572c4280eb3ff100393fc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810302 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "artem-metliakov/Plugin.CloudFirestore",
"max_stars_repo_path": "Plugin.CloudFirestore/iOS/QueryWrapper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129522"
} | starcoder | using System;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using System.Threading.Tasks;
using Firebase.CloudFirestore;
using System.Collections.Generic;
using System.Linq;
namespace Plugin.CloudFirestore
{
public class QueryWrapper : IQuery, IEquatable<QueryWrapper>
{
public IFirest... | 2.305775 | b9ec8614bf9d3e0f193c77690dd01256 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810303 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cinder14/escape",
"max_stars_repo_path": "source/Escape.Native/Escape.iOS/Core/IOSViewPlatform.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129523"
} | starcoder | using System;
using Foundation;
namespace Escape.iOS
{
public class IOSViewPlatform : BaseClass, IViewPlatform
{
public IOSViewPlatform()
: base("IOSViewPlatform")
{
NSString version = new NSString("CFBundleShortVersionString");
if(NSBundle.MainBundle.InfoDi... | 2.201866 | e5ce8d7f13766e792aad94666458dc66 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810304 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rywem/LightningVoid",
"max_stars_repo_path": "LightningStrike/LightningLibrary/Objects/ExplorerUnspent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129524"
} | starcoder | using System;
using NBitcoin;
using Newtonsoft.Json;
namespace LightningLibrary.Objects
{
public class ExplorerUnspent
{
[JsonProperty("address")]
public string sAddress
{
set
{
_sAddress = value;
}
}
[JsonIgnore]
... | 2.231759 | 39f76cfa2404f1f0ebfbff3fd41d027d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810305 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "brianmains/Nucleo.NET",
"max_stars_repo_path": "src_wip/Orm/4.0/Nucleo.Orm/Orm/Configuration/UnitOfWorkSection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129525"
} | starcoder | using System;
using System.Configuration;
using Nucleo.Configuration;
namespace Nucleo.Orm.Configuration
{
/// <summary>
/// Represents the section for unit of work entries.
/// </summary>
public class UnitOfWorkSection : ConfigurationSectionBase
{
#region " Properties "
/// <summary>
/// Gets or sets t... | 2.511245 | b981d24c99dc18e72135e32b562b45f3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810306 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Silvenga/Yals",
"max_stars_repo_path": "tests/Yals.JsonRpc.Tests/Converters/RpcIdJsonConverterFacts.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129526"
} | starcoder | using FluentAssertions;
using Newtonsoft.Json;
using Ploeh.AutoFixture;
using Xunit;
using Yals.JsonRpc.Models;
namespace Yals.JsonRpc.Tests.Converters
{
public class RpcIdJsonConverterFacts
{
private static readonly Fixture Autofixture = new Fixture();
[Fact]
public void When_rea... | 2.581134 | 5db8a61f837d8fbc68046fdde91526fe |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810307 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "TechnologyEnhancedLearning/DLSV2",
"max_stars_repo_path": "DigitalLearningSolutions.Web/Views/Supervisor/EnrolDelegateSummary.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:129527"
} | starcoder | @using DigitalLearningSolutions.Web.ViewModels.Supervisor;
@model EnrolDelegateSummaryViewModel;
@{
var errorHasOccurred = !ViewData.ModelState.IsValid;
ViewData["Title"] = "Enrol on Profile Assessment";
ViewData["Application"] = "Supervisor";
}
<link rel="stylesheet" href="@Url.Content("~/css/frameworks/framewo... | 2.045513 | addb512fd733ebc5549a64a93960175b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810308 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "shanselman/precode-openlivewriter",
"max_stars_repo_path": "source/appwpf/AboutWindow.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129528"
} | starcoder | /************************************************************************************
' Copyright (C) 2009 <NAME> (http://www.58bits.com) under the terms of the
' Microsoft Public License (Ms-PL http://www.codeplex.com/precode/license)
'********************************************************************************... | 2.71737 | f36f31756ab4ce5ea967077d4d32c3f1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810309 | {
"extension": "c-sharp",
"max_stars_count": "522.0",
"max_stars_repo_name": "essensoft/paymen",
"max_stars_repo_path": "src/Essensoft.Paylink.Alipay/Domain/YLBTransDetailInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129529"
} | starcoder | using System.Text.Json.Serialization;
namespace Essensoft.Paylink.Alipay.Domain
{
/// <summary>
/// YLBTransDetailInfo Data Structure.
/// </summary>
public class YLBTransDetailInfo : AlipayObject
{
/// <summary>
/// 余利宝交易金额,单位为元
/// </summary>
[JsonPropertyName("am... | 1.709656 | 8fd2709b8b2e3e980668029bae457d1a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810310 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "AntonC9018/hopper.cs",
"max_stars_repo_path": "TestContent/EntityTypes/RealBarrier.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129530"
} | starcoder | using Hopper.Core;
using Hopper.Core.WorldNS;
using Hopper.Shared.Attributes;
namespace Hopper.TestContent
{
[EntityType]
public static class RealBarrier
{
public static EntityFactory Factory;
public static void AddComponents(Entity subject)
{
Transform.AddTo(su... | 1.661912 | db941583d2e46da5d89bb8418a7e9e89 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810311 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "staafl/dotnet-bclext",
"max_stars_repo_path": "to-integrate/libcs_staaflutil/Business/Classes/Records_Access.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129531"
} | starcoder | <reponame>staafl/dotnet-bclext
using System.Collections.Generic;
using Fairweather.Service;
namespace Common
{
static public class Records_Access
{
static readonly Dictionary<Record_Type, Records_Cursor>
m_cursors = new Dictionary<Record_Type, Records_Cursor>();
static... | 2.444496 | 8f544384b26f29e599e89e3dabdb9469 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810312 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "NGL321/aws-mobile-analytics-manager-net",
"max_stars_repo_path": "src/Model/Event.Extensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129532"
} | starcoder | <reponame>NGL321/aws-mobile-analytics-manager-net
using System;
using Amazon.Runtime;
using Amazon.Util;
using ThirdParty.Json.LitJson;
using System.IO;
using Amazon.MobileAnalytics.Model.Internal.MarshallTransformations;
using Amazon.Runtime.Internal.Transform;
using System.Net;
using System.Globalization;
namespace... | 1.961847 | e4919eb186e07682559be37df8949490 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810313 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "yy1985710/ecsrx",
"max_stars_repo_path": "src/Assets/Plugins/UIWidgets/Standart Assets/SlideBlock/SlideBlock.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129533"
} | starcoder | using UnityEngine;
using UnityEngine.UI;
using UnityEngine.Events;
using UnityEngine.EventSystems;
using System.Collections;
namespace UIWidgets {
/// <summary>
/// SlideBlock axis.
/// </summary>
public enum SlideBlockAxis
{
LeftToRight = 0,
TopToBottom = 1,
RightToLeft = 2,
BottomToTop = 3,
}
/// <... | 2.28814 | 20fab47ede161e32aec7ec28725c41d8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810314 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lukemuszynski/spnt-2015",
"max_stars_repo_path": "SpontimeCluster/SpontimePictures/SpontimePictures/Models/ResultModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129534"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace SpontimePictures.Models
{
public class resultStatus
{
public Boolean success { get; set; }
public string actionRes { get; set; }
}
} | 1.474171 | 51dd0ed21cf6748b4b01918026533005 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810315 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "AndreiMisiukevich/GalleyFramework",
"max_stars_repo_path": "GalleyFramework/ViewModels/Flow/IGalleySignalHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129535"
} | starcoder |
namespace GalleyFramework.ViewModels.Flow
{
public interface IGalleySignalHandler
{
void HandleSignal(GalleyBaseSignal signal);
}
}
| 1.402357 | 9f6fb4cbbc2dbb0efea6b105763988c7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810316 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "debasis-saha/.Net_Core_Basics",
"max_stars_repo_path": "Day 2/DemoSample_CodeFirst/DataContextLayer/Migrations/20181013123541_migrate1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129536"
} | starcoder | using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
namespace DataContextLayer.Migrations
{
public partial class migrate1 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.EnsureSchema(
... | 2.314498 | bc31ef51b450c9c28115ac210d72c9c1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810317 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bamby084/OpenSilver",
"max_stars_repo_path": "src/Runtime/Controls.Data/DataGrid/DataGridRowHeader.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129537"
} | starcoder | <gh_stars>0
// (c) Copyright Microsoft Corporation.
// This source is subject to the Microsoft Public License (Ms-PL).
// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details.
// All other rights reserved.
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
#if MIGRATION
using System.Wi... | 1.639414 | 2366185687d6eb522b245c4e0c722769 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.