added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8533 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "WildGums/Orc.SkiaCanvas",
"max_stars_repo_path": "src/Orc.Skia.Example.NET/Models/PerformanceTestResult.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8534"
} | starcoder | namespace Orc.Skia.Example
{
using System;
using System.Collections.Generic;
using System.Linq;
using Catel.Data;
public class PerformanceTestResult : ModelBase
{
private readonly List<int> _registeredFrames = new List<int>();
public int? Slowest
{
get
... | 2.571732 | 26f0979c4cdac8c5fa0bc1b5ab0639f2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8534 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "SuperMap/iClient-for-Win8",
"max_stars_repo_path": "iClient60ForWP8/SuperMap.WindowsPhone/Core/Styles/TextStyle.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8535"
} | starcoder | using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
namespace SuperMap.WindowsPhone.Core
{
/// <summary>
/// <para>${WP_core_TextStyle_Title}</para>
/// <para>${WP_core_TextStyle_Description}</para>
/// </summary>
public sealed class TextStyle : MarkerStyle
{
... | 2.501004 | 2db612210e36a5e8d304ae1857b28bef |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8535 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "krzychuwr1/metin-go",
"max_stars_repo_path": "MetinGo/MetinGo/MetinGo/Infrastructure/RestApi/RestApiHeadersService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8536"
} | starcoder | using System.Net.Http;
using MetinGo.ApiModel;
using MetinGo.Infrastructure.Session;
namespace MetinGo.Infrastructure.RestApi
{
public class RestApiHeadersService : IRestApiHeadersService
{
private readonly ISessionManager _sessionManager;
public RestApiHeadersService(ISessionManager sessionM... | 2.245189 | 452f905385cbad8c60ea25ead7ebcbac |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8536 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aignas/omnisharp-roslyn",
"max_stars_repo_path": "src/OmniSharp.Abstractions/Services/IProjectSystem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8537"
} | starcoder | using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.Extensions.Configuration;
using OmniSharp.Models.v1;
namespace OmniSharp.Services
{
public interface IProjectSystem
{
string Key { get; }
string Language { get; }
IEnumerable<string> Extensions { get; }
... | 2.237871 | 55e4b23e2d485dab1435bf81147ab07d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8537 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "e-scooter-2077/customer-frontend",
"max_stars_repo_path": "EScooter.CustomerFrontend/Data/CustomerViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8538"
} | starcoder | <filename>EScooter.CustomerFrontend/Data/CustomerViewModel.cs
using System;
namespace EScooter.CustomerFrontend.Data
{
public record CustomerViewModel(Guid Id);
}
| 1.521084 | 627857e697939efdf13da0ceb74ab4b1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8538 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "alanstevens/CommandQueryExample",
"max_stars_repo_path": "src/CommandQueryExample.Common/Extensions/ObjectExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8539"
} | starcoder | using System;
using System.Diagnostics;
using CommandQueryExample.Common.JetBrains.Annotations;
namespace CommandQueryExample.Common.Extensions
{
public static class ObjectExtensions
{
[DebuggerStepThrough]
public static bool IsTypeOf<T>(this object value)
{
return value.Get... | 2.745212 | 4e45d854bb1068e540a293fd837ca742 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8539 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "Kinecting-for-Windows/GIK-KinectingARDrone",
"max_stars_repo_path": "src/K4W.KinectDrone.Client/Enums/Voice/DroneVoiceCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8540"
} | starcoder | using System.ComponentModel;
namespace K4W.KinectDrone.Client.Enums.Voice
{
public enum DroneVoiceCommand
{
[Description("Unknown")]
Unknown = 0,
[Description("Takeoff")]
TakeOff = 1,
[Description("Land")]
Land = 2,
[Description("Emergency Landing")]
... | 2.164802 | 3018d47516bdea5dd18b7d34a8499ede |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8540 | {
"extension": "c-sharp",
"max_stars_count": "313.0",
"max_stars_repo_name": "jtschuster/linker",
"max_stars_repo_path": "test/Mono.Linker.Tests.Cases/Advanced/DeadCodeElimination1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8541"
} | starcoder | <gh_stars>100-1000
using Mono.Linker.Tests.Cases.Expectations.Assertions;
namespace Mono.Linker.Tests.Cases.Advanced
{
[IgnoreTestCase ("We cannot do this yet")]
class DeadCodeElimination1
{
public static void Main ()
{
object o = null;
if (o is B)
((B) o).Method ();
}
class B
{
public void... | 1.668176 | 333639670a301866c397e656c32365b9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8541 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "radiy/FluentFTP",
"max_stars_repo_path": "FluentFTP.Examples/Main.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8542"
} | starcoder | using System;
using System.Diagnostics;
using System.Threading.Tasks;
namespace Examples {
class MainClass {
public static async Task Main(string[] args) {
Debug.Listeners.Add(new ConsoleTraceListener());
try {
// await AsyncConnectExample.AsyncConnectAsync();
... | 2.26584 | 376149b945e932dc4bce46bc5bb67d86 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8542 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "johnpisg/dotnet-standard-sdk",
"max_stars_repo_path": "src/IBM.WatsonDeveloperCloud.Discovery.v1/Model/SourceStatus.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8543"
} | starcoder | /**
* Copyright 2018 IBM Corp. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law o... | 1.736391 | fb290f89e7351280c12a72e098ffbd6a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8543 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "glitchedmob/TodoistSync",
"max_stars_repo_path": "TodoistSync/Models/Clickup/ChecklistItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8544"
} | starcoder | <gh_stars>0
using System.Collections.Generic;
using Newtonsoft.Json;
namespace TodoistSync.Models.Clickup
{
public class ChecklistItem
{
[JsonProperty("id")]
public string Id { get; set; }
[JsonProperty("name")]
public string Name { get; set; }
[JsonProperty("orderinde... | 1.538844 | 084b2706c5117820c2fbba8cb6c49d60 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8544 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TechNobre/PowerUtils.AspNetCore.ErrorHandler",
"max_stars_repo_path": "src/Handlers/ModelStateMiddleware.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8545"
} | starcoder | using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using PowerUtils.Net.Constants;
namespace PowerUtils.AspNetCore.ErrorHandler.Handlers
{
internal static class ModelStateMiddleware
{
internal static IServiceCollection AddModelStateMiddl... | 1.803203 | 795f0297b1b8102f6279b79b904deb46 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8545 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Kale-Eos/ACGS_SOS-Jam_Kale",
"max_stars_repo_path": "ACGS_GameJam2019/Assets/Scripts/UI Scripts/ScoreManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8546"
} | starcoder | <reponame>Kale-Eos/ACGS_SOS-Jam_Kale
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ScoreM : MonoBehaviour
{
public static int orbTotal = 0;
public static float timeTotal = 0;
}
public class ScoreManager : MonoBehaviour
{
void Start()
{
}
... | 1.691718 | ba7b51e4b8b400de9b47b1ce2b2c4bac |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8546 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ardonyx/Bender",
"max_stars_repo_path": "Bender.Core/Layouts/Element.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8547"
} | starcoder | <reponame>ardonyx/Bender
// ReSharper disable UnusedAutoPropertyAccessor.Global - This is a serialized type, all setters be global
namespace Bender.Core.Layouts
{
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
... | 2.524496 | 6c1acca55347478aa0a96132b4b2d707 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8547 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "karl-/simple_modeler",
"max_stars_repo_path": "Assets/Modeler/Code/Scripts/VisualizeNormals.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8548"
} | starcoder | using UnityEngine;
using UMesh = UnityEngine.Mesh;
using System.Collections;
namespace Modeler
{
public class VisualizeNormals : MonoBehaviour
{
public static Material unlitVertexColor { get { return ResourceUtility.Load<Material>("Material/UnlitVertexColor"); } }
private UMesh _visualizeMesh = null;
public... | 2.241303 | 53cc7cca2ccce473e018972458e04552 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8548 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Hazy87/aws-sdk-net",
"max_stars_repo_path": "sdk/src/Services/Keyspaces/Generated/_bcl45/IAmazonKeyspaces.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8549"
} | starcoder | <gh_stars>0
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the ... | 1.588181 | 0ef1f8707e2fe3e576ab45451f396843 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8549 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NickPolyder/FreeParkingSystem",
"max_stars_repo_path": "src/Parking/FreeParkingSystem.Parking/Commands/DeleteParkingSpotHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8550"
} | starcoder | <reponame>NickPolyder/FreeParkingSystem
using System.Threading;
using System.Threading.Tasks;
using FreeParkingSystem.Common.Authorization;
using FreeParkingSystem.Common.ExtensionMethods;
using FreeParkingSystem.Common.Messages;
using FreeParkingSystem.Parking.Contract;
using FreeParkingSystem.Parking.Contract.Comman... | 1.969292 | 1085b728c509b7d2f7ee1ebabdac3ada |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8550 | {
"extension": "c-sharp",
"max_stars_count": "2197.0",
"max_stars_repo_name": "joseocampo/samples",
"max_stars_repo_path": "framework/wcf/Extensibility/Instancing/Durable/CS/extensions/ContextManagers.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8551"
} | starcoder | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Text;
using System.ServiceModel;
using System.ServiceModel.Channels;
using System.Net;
using System.IO;
using System.Threading;
using System.Security.AccessControl;
namespace Microsoft.ServiceModel.Samples
{
public enum Conte... | 2.577307 | c53284ec7d9454e71a624d83d3685234 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8551 | {
"extension": "c-sharp",
"max_stars_count": "446.0",
"max_stars_repo_name": "VladimirUAZ/CsgoMusic",
"max_stars_repo_path": "TreeView/Tree/NodeControls/LabelEventArgs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8552"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace Aga.Controls.Tree.NodeControls
{
public class LabelEventArgs : EventArgs
{
private object _subject;
public object Subject
{
get { return _subject; }
}
private string _oldLabel;
public string OldLabel
{
... | 2.367079 | ae309342df81a40cbc0648dd664748e1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8552 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BorisPenev/TelerikAcademy",
"max_stars_repo_path": "CSharp-part1/Loops/10.OddAndEvenProduct/OddAndEvenProduct.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8553"
} | starcoder | <filename>CSharp-part1/Loops/10.OddAndEvenProduct/OddAndEvenProduct.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _10.OddAndEvenProduct
{
class OddAndEvenProduct
{
static void Main... | 4.223133 | 4efd145b77a729c4b19b9ac52fc83b1b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8553 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "sheepit/sheepit",
"max_stars_repo_path": "source/SheepIt.Api/Infrastructure/ErrorHandling/ErrorHandlingSettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8554"
} | starcoder | using Microsoft.Extensions.Configuration;
using SheepIt.Api.Infrastructure.Utils;
namespace SheepIt.Api.Infrastructure.ErrorHandling
{
public class ErrorHandlingSettings
{
public bool DeveloperDetails { get; }
public ErrorHandlingSettings(IConfiguration configuration)
{
va... | 2.025371 | 54acbdff5a4d675f46dea244420ff70e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8554 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "llukanov/eSchool",
"max_stars_repo_path": "Services/ESchool.Services.Data/QuizzesService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8555"
} | starcoder | <gh_stars>0
using ESchool.Data.Common.Repositories;
using ESchool.Data.Models;
using ESchool.Services.Data.Contracts;
using ESchool.Services.Mapping;
using ESchool.Web.ViewModels.Quiz;
using ESchool.Web.ViewModels.SolvedQuiz;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using Sy... | 1.945241 | ba9d9027fb69cb2e4e9feaebe613a77f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8555 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "OlegRa/alpaca-trade-api-csharp",
"max_stars_repo_path": "Alpaca.Markets.Extensions/Cache/AlpacaTradingClientExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8556"
} | starcoder | namespace Alpaca.Markets.Extensions;
public static partial class AlpacaTradingClientExtensions
{
private static SpinLock _lock = new (false);
private static IClock? _clock;
/// <summary>
/// Gets the <see cref="IClock.IsOpen"/> state from cached API result call.
/// </summary>
/// <param nam... | 2.555504 | 547c5fec32423ba99fea6cd586eeb6eb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8556 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mstevenson/ConsoleUI",
"max_stars_repo_path": "ConsoleUI/Justification.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8557"
} | starcoder | <filename>ConsoleUI/Justification.cs
namespace ConsoleUI
{
public enum Justification
{
Left,
Center,
Right
}
}
| 1.566023 | 1732fcb2793075e6d361a33ba3459524 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8557 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "TestCentric/tc-lite",
"max_stars_repo_path": "src/tclite.tests/TestUtilities/ExpectedResultAttributes.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8558"
} | starcoder | <filename>src/tclite.tests/TestUtilities/ExpectedResultAttributes.cs
// ***********************************************************************
// Copyright (c) <NAME> and TestCentric contributors.
// Licensed under the MIT License. See LICENSE.txt in root directory.
// *************************************************... | 2.338184 | 2d158d7288e61fd6006949552285ce46 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8558 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "allista/GroundConstruction",
"max_stars_repo_path": "Workshops/SingleVesselAssemblyWorkshop.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8559"
} | starcoder | // SingleVesselAssemblyWorkshop.cs
//
// Author:
// <NAME> <<EMAIL>>
//
// Copyright (c) 2018 <NAME>
using System.Collections.Generic;
using System.Linq;
namespace GroundConstruction
{
public class SingleVesselAssemblyWorkshop : AssemblyWorkshop
{
protected override List<IAssemblySpace> get_... | 1.967104 | 4fed134190818b9a062502ef84048a71 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8559 | {
"extension": "c-sharp",
"max_stars_count": "547.0",
"max_stars_repo_name": "sandreenko/performance",
"max_stars_repo_path": "src/scenarios/weblarge3.0/src/ClassLib097/Class034.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8560"
} | starcoder | <reponame>sandreenko/performance
namespace ClassLib097
{
public class Class034
{
public static string Property => "ClassLib097";
}
}
| 1.148249 | 5f3cf0a418cc9d261781b5fdb67dce9b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8560 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VenelinKadankov/Personal-Coaches-Angular",
"max_stars_repo_path": "ServerApp/FitBit.API.ServerApp/FitBit.API.ServerApp/Models/InputModels/UserInputModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8561"
} | starcoder | namespace FitBit.API.ServerApp.Models.InputModels;
using System.Text.Json.Serialization;
public class UserInputModel
{
[JsonPropertyName("name")]
public string Name { get; set; } = null!;
[JsonPropertyName("password")]
public string Password { get; set; } = null!;
[JsonPropertyName("email")]
... | 2.121039 | 6dc814187f766174e13c5fc5398f5ece |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8561 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "beam41/Tuk-Kai",
"max_stars_repo_path": "Assets/Scripts/PickedUpBall.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8562"
} | starcoder | <gh_stars>0
using UnityEngine;
public class PickedUpBall : MonoBehaviour
{
private Vector3 velocity;
private Vector3 velocity2;
private Vector3 backupPosition;
private Rigidbody select;
private void OnEnable()
{
select = GameManager.Instance.currSelectBall.GetComponent<Rigidbody>();
... | 1.805597 | 989fd0e01d8cb42d7942c9b6117c7be9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8562 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "take4blue/PrintControler",
"max_stars_repo_path": "MFilamentLoad/ViewModels/FilamentLoadViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8563"
} | starcoder | using System;
using Take4.Common;
namespace PrintControler.MFilamentLoad.ViewModels {
/// <summary>
/// フィラメントの挿入・抜去とノズル清掃に関するViewModel
/// </summary>
internal class FilamentLoadViewModel : ViewBase<ControlData>, System.IDisposable, Prism.IActiveAware {
/// <summary>
/// タブに表示される文字(バインド)
/// </summary>
pu... | 2.342482 | 38d512af6722756f9d309338a6a84aa5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8563 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "mbialecka/azure-sdk-for-net",
"max_stars_repo_path": "sdk/identity/Azure.Identity/tests/samples/CustomCredentialSnippets.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8564"
} | starcoder | <gh_stars>1-10
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Threading;
using System.Threading.Tasks;
using Azure.Core;
using Azure.Security.KeyVault.Secrets;
using Azure.Storage.Blobs;
using Microsoft.Identity.Client;
using NUnit.Framework;... | 2.160551 | 6809c3f75272d29d0dbadb83d8e4579b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8564 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "strobel1ght/StardewValleyMods",
"max_stars_repo_path": "CustomBuildings/BuildingData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8565"
} | starcoder | using System;
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Newtonsoft.Json;
using StardewValley;
namespace CustomBuildings
{
public class BuildingData
{
[JsonIgnore]
public Texture2D texture;
[JsonIgnore]
public... | 2.175647 | de3a2b8dd79fd93d530da40810fe3329 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8565 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cqjinkong/component",
"max_stars_repo_path": "src/Jinkong.JsonPatch.ModelBinder/PatchUpdateBinder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8566"
} | starcoder | using System;
using System.Text.Json;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc.ModelBinding;
using Newtonsoft.Json;
using Shashlik.Utils.Extensions;
namespace Jinkong.JsonPatch.ModelBinder
{
public class PatchUpdateBinder : IModelBinder
{
public Task BindModelAsync(ModelBindingCont... | 2.484962 | 90c094438459244bd4a96f2cea7ed051 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8566 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "unic/NitroNet",
"max_stars_repo_path": "NitroNet.Mvc/MvcRenderingContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8567"
} | starcoder | <reponame>unic/NitroNet<gh_stars>10-100
using System.IO;
using System.Web.Mvc;
using Veil;
namespace NitroNet.Mvc
{
public class MvcRenderingContext : RenderingContext
{
private const string ContextKey = "_mvcrenderingcontext";
public ViewContext ViewContext { get; private set; }
public IVie... | 1.994004 | 7648ebb995151632dd6da899c7ef7da4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8567 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "rgfaber/m5x-sdk",
"max_stars_repo_path": "src/M5x.DEC.TestKit/Integration/Cmd/EmitterTests_old.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8568"
} | starcoder | <gh_stars>1-10
using M5x.DEC.Schema;
using M5x.Testing;
using Microsoft.Extensions.Hosting;
using Xunit;
using Xunit.Abstractions;
namespace M5x.DEC.TestKit.Integration.Cmd
{
[Obsolete("Please use EmitterTests instead. Will be removed as of v1.11.0")]
public abstract class Emitter<TEmitter, TSubscriber, TAggre... | 1.730181 | 5550ac9b6b1abdec0a6564b2e7d4433c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8568 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MoimHossain/linkerd-demo",
"max_stars_repo_path": "src/Octolamp.BackendService/Services/CovidService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8569"
} | starcoder | <gh_stars>1-10
using Grpc.Core;
using Microsoft.Extensions.Logging;
using Octolamp.BackendService.Data;
using Octolamp.Contracts.Protos;
using System;
using System.Threading.Tasks;
namespace Octolamp.BackendService.Services
{
public class CovidService : Covid.CovidBase
{
private readonly CovidRepos... | 1.816685 | 6db9369c008484550edebac29b8add13 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8569 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "natebakescakes/fopcs",
"max_stars_repo_path": "fopcs-day4/WorkshopSectionG.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8570"
} | starcoder | <reponame>natebakescakes/fopcs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace fopcs_day4
{
public class WorkshopSectionG
{
public static void Question1()
{
double[] sales = new double[12]
{
... | 2.985524 | 54a7b6107f5eaff06b8f0d87bb191462 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8570 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "ualehosaini/Beef",
"max_stars_repo_path": "templates/Beef.Template.Solution/content/Company.AppName.Test/Validators/PersonValidatorTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8571"
} | starcoder | using Beef.Test.NUnit;
using Beef.Validation;
using Company.AppName.Business;
using Company.AppName.Business.Validation;
using Company.AppName.Common.Agents;
using Company.AppName.Common.Entities;
using Moq;
using NUnit.Framework;
using System;
using System.Threading.Tasks;
namespace Company.AppName.Test.Validators
{... | 2.239674 | 22c819da2d02d9f85cb7f7b3028b2f38 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8571 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lunalabsltd/Bridge.Newtonsoft.Json",
"max_stars_repo_path": "Newtonsoft.Json/Json/JsonConvert.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8572"
} | starcoder | <gh_stars>0
using System;
using Bridge;
namespace Newtonsoft.Json
{
/// <summary>
/// Provides methods for converting between .NET types and JSON types.
/// </summary>
[External]
public static class JsonConvert
{
/// <summary>
/// Serializes the specified object to a JSON strin... | 2.364646 | e4dc11739a4352265d1ffa858611f403 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8572 | {
"extension": "c-sharp",
"max_stars_count": "379.0",
"max_stars_repo_name": "didalqb/MsSystem-BPM-ServiceAndWebApps",
"max_stars_repo_path": "src/Services/WorkFlow/MsSystem.WF.Repository/WfWorkflowTransitionHistoryRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8573"
} | starcoder | <filename>src/Services/WorkFlow/MsSystem.WF.Repository/WfWorkflowTransitionHistoryRepository.cs
using System.Data;
using JadeFramework.Dapper;
using JadeFramework.Dapper.SqlGenerator;
using MsSystem.WF.IRepository;
using MsSystem.WF.Model;
namespace MsSystem.WF.Repository
{
public class WfWorkflowTransitionHistor... | 1.65466 | afb52d187d2bcff8b433f484656c5033 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8573 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "CapnRat/github-for-unity",
"max_stars_repo_path": "src/GitHub.Api/Metrics/IMetricsService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8574"
} | starcoder | using System.Collections.Generic;
using System.Threading.Tasks;
namespace GitHub.Unity
{
interface IMetricsService
{
/// <summary>
/// Posts the provided usage model.
/// </summary>
Task PostUsage(List<Usage> model);
}
}
| 1.757617 | a22170d87b3d41f9b3accc5561dfb109 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8574 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ryanheath/ravendb",
"max_stars_repo_path": "ToMigrate/Raven.Tests.FileSystem/Storage/StorageOperationsTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8575"
} | starcoder | using Raven.Abstractions.FileSystem;
using Raven.Database.FileSystem.Extensions;
using Raven.Database.FileSystem.Storage;
using Raven.Database.FileSystem.Util;
using Raven.Json.Linq;
using Raven.Tests.FileSystem.Synchronization;
using Raven.Tests.FileSystem.Synchronization.IO;
using System;
using System.Collect... | 2.024454 | 9c64c6621ec9989944eff62ceb59d736 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8575 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chris-weekes/atrium",
"max_stars_repo_path": "atLogic/BEManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8576"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
using System.IO.Compression;
using atDAL;
namespace atLogic
{
public class WarningEventArgs : EventArgs
{
public WarningLevel Level= WarningLevel.D... | 2.237795 | 172af667c49f8d23b2c1f276e22715cf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8576 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "jessicaqu1/MASA.EShop",
"max_stars_repo_path": "src/Web/MASA.EShop.Web.Client/Data/Catalog/CatalogService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8577"
} | starcoder | namespace MASA.EShop.Web.Client.Data.Catalog;
public class CatalogService : ICatalogService
{
private readonly HttpClient _httpClient;
private readonly ILogger<CatalogService> _logger;
private readonly string getCatalogItemsUrl;
private readonly string getAllBrandsUrl;
private readonly string get... | 2.302623 | d68a7b9796e5c3ce94faca2a891ff46f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8577 | {
"extension": "c-sharp",
"max_stars_count": "231.0",
"max_stars_repo_name": "brandhuf/ArchUnitNET",
"max_stars_repo_path": "TestAssembly/Domain/Marker/IEntity.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8578"
} | starcoder | // Copyright 2019 <NAME> <<EMAIL>>
// Copyright 2019 <NAME> <<EMAIL>>
// Copyright 2019 <NAME> <<EMAIL>>
//
// SPDX-License-Identifier: Apache-2.0
namespace TestAssembly.Domain.Marker
{
public interface IEntity
{
}
} | 0.766876 | 022f7cb6b8818f1b960545a87019130f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8578 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "atiq-cs/wordpress-export",
"max_stars_repo_path": "Goodbye.WordPress/ConnectionFailedException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8579"
} | starcoder | <filename>Goodbye.WordPress/ConnectionFailedException.cs
// https://github.com/abock/goodbye-wordpress
// Copyright 2020 <NAME>.
// Licensed under the MIT License.
using System;
namespace Goodbye.WordPress
{
public sealed class ConnectionFailedException : Exception
{
internal ConnectionFailedException... | 2.08431 | f9428858fa4d73c571037a8a3237295c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8579 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "sudoudaisuke/aws-sdk-net",
"max_stars_repo_path": "sdk/src/Services/SSOOIDC/Generated/_bcl35/IAmazonSSOOIDC.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8580"
} | starcoder | /*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | 1.815473 | b59e035d744b86b97a485734115d22d3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8580 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "veler/BaZic",
"max_stars_repo_path": "Sources/BaZic.Runtime/BaZic/Code/Lexer/SymbolHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8581"
} | starcoder | using System.Collections.Generic;
namespace BaZic.Runtime.BaZic.Code.Lexer
{
/// <summary>
/// Provides a set of list of separators required by the Lexer.
/// </summary>
internal static class SymbolHelper
{
#region Fields & Constants
/// <summary>
/// Gets a list of specia... | 2.552916 | 9a98915f8109e99a8dfcd92364b9fb42 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8581 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "100prznt/FlowCalc",
"max_stars_repo_path": "FlowCalc/PipeLengthCalcView.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8582"
} | starcoder | namespace FlowCalc
{
partial class PipeLengthCalcView
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/... | 2.089089 | d9ef386a9dc82caffb38a4a35120d728 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8582 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DSilence/RiderRoslyn",
"max_stars_repo_path": "src/RoslynResharper/RoslynResharper/Service/RoslynDaemonStageProcess.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8583"
} | starcoder | using System;
using JetBrains.ReSharper.Feature.Services.Daemon;
namespace RoslynResharper.Service
{
public class RoslynDaemonStageProcess : IDaemonStageProcess
{
public RoslynDaemonStageProcess(IDaemonProcess daemonProcess)
{
DaemonProcess = daemonProcess;
}
publi... | 1.628441 | eabe8a10225217da2a3fb8734fd0cd02 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8583 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zhangyaxing12/AElf",
"max_stars_repo_path": "test/AElf.Kernel.ChainController.Tests/ChainControllerTestAElfModule.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8584"
} | starcoder | <filename>test/AElf.Kernel.ChainController.Tests/ChainControllerTestAElfModule.cs
using System.Threading.Tasks;
using AElf.Kernel.ChainController.Application;
using AElf.Kernel.FeeCalculation;
using AElf.Kernel.FeeCalculation.Application;
using AElf.Kernel.SmartContract.Application;
using AElf.Kernel.SmartContract;
usi... | 1.603734 | 69dbf720c96cacf289f3404191816ab4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8584 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lotosbin/MongoSimpleMembership",
"max_stars_repo_path": "src/LyphTEC.MongoSimpleMembership/Helpers/Util.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8585"
} | starcoder | <reponame>lotosbin/MongoSimpleMembership
using System;
using System.Collections.Specialized;
using System.Configuration;
using System.Configuration.Provider;
using System.Security.Cryptography;
using System.Web;
using System.Web.Hosting;
namespace LyphTEC.MongoSimpleMembership.Helpers
{
internal static class Util... | 2.138261 | d20de76f5cdf83db92bbc45641ba1f5b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8585 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Nova-Scotia-Digital-Service/Simple-Form-Service",
"max_stars_repo_path": "SimpleFormsService.Services/Application/FormTemplateSecurityService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8586"
} | starcoder | using Microsoft.AspNetCore.Http;
using Microsoft.EntityFrameworkCore;
using SimpleFormsService.Domain.Exceptions;
using SimpleFormsService.Domain.Repositories;
using SimpleFormsService.Services.Abstractions.Application;
namespace SimpleFormsService.Services.Application;
public class FormTemplateSecurityService : Ser... | 2.343556 | d2d0eee96a17484a4c4f87577c0a0cbc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8586 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "uffebjorklund/Crosser.Modules",
"max_stars_repo_path": "Kafka/Consumer/Module/KafkaConsumerModuleSettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8587"
} | starcoder | namespace Crosser.EdgeNode.Modules.Kafka.Consumer
{
using Crosser.EdgeNode.Flows.Abstractions;
public class KafkaConsumerModuleSettings : FlowModuleSettings
{
}
} | 0.8033 | ed428c469f0ffcf9f005ef7b98464dca |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8587 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "selassid/itten",
"max_stars_repo_path": "itten/Assets/Scripts/GameFlowLogic.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8588"
} | starcoder | <reponame>selassid/itten<filename>itten/Assets/Scripts/GameFlowLogic.cs
using UnityEngine;
using System.Collections;
[RequireComponent(typeof(AudioSource))]
public class GameFlowLogic : MonoBehaviour {
public AudioSource LoadLevelAudioSource;
void Start () {
DontDestroyOnLoad(gameObject);
// Start off by adva... | 2.260358 | dc35f7d28538f66a1da4eafe9cedeaa8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8588 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "guilinhd/JesseTalkAbp",
"max_stars_repo_path": "src/LoanSample/LoanSample.Domain/LoanSampleCustomerDomainModule.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8589"
} | starcoder | <filename>src/LoanSample/LoanSample.Domain/LoanSampleCustomerDomainModule.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Modularity;
namespace LoanSample.Customer.Domain
{
public class LoanSampleCustomerDomainModule : AbpModule... | 1.278999 | 47f6efb6147b6399ff63cddf8a962b9b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8589 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "partment/GahongTestProgram",
"max_stars_repo_path": "Patcher/download.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8590"
} | starcoder | <reponame>partment/GahongTestProgram
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using ICSharpCode.SharpZipLib.Zip;
using ICSharpCode.SharpZipLib.Zip.Compression.Streams;
using Sy... | 2.584216 | 093b44babe1943e8fe1f16f56c674710 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8590 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "juniorgasparotto/spent-book",
"max_stars_repo_path": "src_old/SpentBook.Web/TransactionCSVRepository/TransactionCSVRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8591"
} | starcoder | <reponame>juniorgasparotto/spent-book<filename>src_old/SpentBook.Web/TransactionCSVRepository/TransactionCSVRepository.cs
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using SpentBook.Domain;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Linq.Expressions;
using S... | 2.169289 | a5a266a249db9a0ba66f4a8028133316 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8591 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SunburstApps/WixVSExtensions",
"max_stars_repo_path": "src/WixVSExtension/WixBuildMacroCollection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8592"
} | starcoder | <gh_stars>0
// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.
namespace WixToolset.VisualStudioExtension
{
using System;
using System.Collections;
using System.Colle... | 2.091803 | 590994639304ccf7c334761a7bb644c3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8592 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "georghinkel/ttc2017smartGrids",
"max_stars_repo_path": "generator/61850/Dataclasses/IDPC.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8593"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:4.0.30319.42000
//
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
// der Code erneut generi... | 1.169802 | 584b9b3bcf67dab907ba3e32dc9077ad |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8593 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "erangasandaruwan/Mediatr-FluentValidation-StructureMap-ASP.NET-Core-Boilerplate",
"max_stars_repo_path": "src/CQRSBoilerPlate.Domain/Handler/PlanGetAllQueryHandlerAsync.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8594"
} | starcoder | <gh_stars>10-100
using AutoMapper;
using AutoMapper.QueryableExtensions;
using MediatR;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using CQRSBoilerPlate.Domain.Query;
using CQRSBoilerPlate.Ent... | 2.082949 | 827e9edef3aaeee5dec18de408968959 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8594 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "moscrif/ide",
"max_stars_repo_path": "actions/ShowProject.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8595"
} | starcoder | using System;
namespace Moscrif.IDE.Actions
{
public class ShowProject:Gtk.Action
{
public ShowProject(): base("showprojectpopup", MainClass.Languages.Translate("menu_show"), MainClass.Languages.Translate("menu_title_show"),null)
{
}
protected override void OnActivated ()
{
base.OnActivated();
MainC... | 1.848985 | eda202fb5cf2b303bac2f9f47bd7f733 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8595 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "lsolano/blog.solid.demo",
"max_stars_repo_path": "csharp/SocialNetworksHub/Entry.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8596"
} | starcoder | using System;
using System.Collections.Generic;
namespace Malpeza.Solid.Demo.OCP
{
public class Entry
{
private readonly string hash;
private readonly string text;
private readonly Contact author;
private readonly DateTime date;
private readonly IEnumerable<String> tags... | 2.714422 | 9ba2e2468f6e9bc11c35e6f34cb5b165 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8596 | {
"extension": "c-sharp",
"max_stars_count": "676.0",
"max_stars_repo_name": "AzureAdvocateBit/Hanselman.Forms-1",
"max_stars_repo_path": "src/Android/MainApplication.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8597"
} | starcoder | using System;
using Android.App;
using Android.Runtime;
using Hanselman;
namespace HanselmanAndroid
{
[Application]
public class MainApplication : Application
{
public MainApplication(IntPtr handle, JniHandleOwnership transfer) : base(handle, transfer)
{
}
pu... | 1.437545 | 6dc3ce35dad29d60c5a768ff76790aeb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8597 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SCHOTTNorthAmerica/SCHOTT.CVLS",
"max_stars_repo_path": "SCHOTT/CVLS/Communications/SettingsObject.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8598"
} | starcoder | using SCHOTT.CVLS.Enums;
namespace SCHOTT.CVLS.Communications
{
/// <summary>
/// Object to hold current system settings
/// </summary>
public class SettingsObject
{
/// <summary>
/// Enable login timeouts
/// </summary>
public bool GeneralLoginTimeoutEnable { get; ... | 2.283333 | b85f2fdafbe3f568794aa505015b0064 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8598 | {
"extension": "c-sharp",
"max_stars_count": "643.0",
"max_stars_repo_name": "spring-operator/Samples",
"max_stars_repo_path": "FreddysBBQ/src/OrderService/Models/SampleData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8599"
} | starcoder | <reponame>spring-operator/Samples
using Microsoft.Extensions.DependencyInjection;
using System;
namespace OrderService.Models
{
public static class SampleData
{
public static void InitializeOrderDatabase(IServiceProvider serviceProvider)
{
if (ShouldDropCreateDatabase())
... | 2.425526 | b8e5b559ad0614069380d8dd9cc9a200 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8599 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "wagnerhsu/sample-Prism4.1-WPF",
"max_stars_repo_path": "PrismLibrary/Desktop/Prism/Regions/RegionNavigationFailedEventArgs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8600"
} | starcoder | //===================================================================================
// Microsoft patterns & practices
// Composite Application Guidance for Windows Presentation Foundation and Silverlight
//===================================================================================
// Copyright (c) Microso... | 2.293465 | 08601dd519424cbce44314bfc7128218 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8600 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jmsandy/sharepoint-transaction",
"max_stars_repo_path": "src/Polimorfismo.SharePoint.Transaction.Core/SharePointListItemTracking.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8601"
} | starcoder | // Copyright 2020 Polimorfismo - <NAME>
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or... | 2.430595 | a950cdd2f1fb78dc75401edbc6edd0bc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8601 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kekchpek/UnityAuxiliaryTools",
"max_stars_repo_path": "UnityAuxiliaryTools/Trigger/RegularTrigger.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8602"
} | starcoder | <gh_stars>0
using System;
using UnityAuxiliaryTools.Trigger.Factory;
namespace UnityAuxiliaryTools.Trigger
{
public class RegularTrigger : IRegularTrigger
{
public event Action OnTriggered;
public void Trigger()
{
OnTriggered?.Invoke();
}
}
} | 1.612655 | 68e45a0cfbd0139ac3839381dacd5e99 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8602 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "daem0nc0re/SharpWnfSuite",
"max_stars_repo_path": "SharpWnfSuite/SharpWnfDump/Interop/Win32Api.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8603"
} | starcoder | <reponame>daem0nc0re/SharpWnfSuite
using System;
using System.Runtime.InteropServices;
using System.Text;
namespace SharpWnfDump.Interop
{
class Win32Api
{
/*
* advapi32.dll
*/
[DllImport("advapi32.dll", SetLastError = true, CharSet = CharSet.Unicode)]
public static e... | 1.79661 | b5993b2e6b077e7751bddd16b574a579 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8603 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "slimabob/Didwyf",
"max_stars_repo_path": "Assets/Scripts/Networking/ChangeLevel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8604"
} | starcoder | <filename>Assets/Scripts/Networking/ChangeLevel.cs
using UnityEngine;
using UnityEngine.Networking;
using System.Collections;
public class ChangeLevel : NetworkBehaviour {
public string nextScene = "TestBossFight";
GameObject networkManagerGO;
// Use this for initialization
void Start () {
network... | 2.078245 | 9fc19477880163ba603206a54aa3b2c6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8604 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Ownezx/QuikGraph",
"max_stars_repo_path": "src/QuikGraph/Interfaces/Graphs/IMutableIncidenceGraph.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8605"
} | starcoder | <reponame>Ownezx/QuikGraph<gh_stars>1-10
using JetBrains.Annotations;
namespace QuikGraph
{
/// <summary>
/// A mutable incidence graph with vertices of type <typeparamref name="TVertex"/>
/// and edges of type <typeparamref name="TEdge"/>.
/// </summary>
/// <typeparam name="TVertex">Vertex type.<... | 2.302594 | 406b4507ef10a345185ee6942f07c03f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8605 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "manicken/FanController",
"max_stars_repo_path": "OpenHardwareMonitorControl/GUI/StartupManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8606"
} | starcoder | /*
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
Copyright (C) 2009-2010 <NAME> <<EMAIL>>
*/
using System;
using System.Collections.Generic;
using System.IO;... | 2.212765 | bff3f1aa9eaf383fd7adabc272a62c91 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8606 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Steffkn/SoftUni",
"max_stars_repo_path": "01.ProgrammingBasicsC#/Exams/01.Coding101Exam-6March2016/05.DrawFort/DrawFort.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8607"
} | starcoder | namespace _05.DrawFort
{
using System;
public class DrawFort
{
static void Main()
{
int N = int.Parse(Console.ReadLine());
var top = string.Format("{0}{1}{2}", "/", new string('^', N / 2), "\\");
var bottom = string.Format("{0}{1}{2}", "\\", new string(... | 3.475427 | 6a60b15077971e394ae11cd5210a9565 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8607 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "g-child/azureblob-sample",
"max_stars_repo_path": "KNK.Sample.StorageBlob.WebAPI/Controllers/FilesController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8608"
} | starcoder | using System.Threading.Tasks;
using KNK.Sample.StorageBlob.WebAPI.Services;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
namespace KNK.Sample.StorageBlob.WebAPI.Controllers
{
[Route("api/[controller]")]
[ApiController]
public c... | 2.277482 | c6f66e12da7d3b93534d641f75a8b63c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8608 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "kyriewxcode/UIFramework",
"max_stars_repo_path": "Assets/UIFramework/Scripts/DemoStart.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8609"
} | starcoder | <reponame>kyriewxcode/UIFramework
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DemoStart : MonoBehaviour
{
void Start()
{
GameUIManager.GetInstance().OpenUI(typeof(MainCityScreen));
GameUIManager.GetInstance().OpenUI(typeof(MoneyScreen));
}
}
| 0.400573 | 62571a5cbb0a4716c9cb9353bc5c54b2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8609 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MIXVII/MASA.BuildingBlocks",
"max_stars_repo_path": "src/Data/MASA.BuildingBlocks.Data.UoW/IUnitOfWork.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8610"
} | starcoder | <reponame>MIXVII/MASA.BuildingBlocks
namespace MASA.BuildingBlocks.Data.UoW;
public interface IUnitOfWork : IAsyncDisposable
{
DbTransaction Transaction { get; }
bool TransactionHasBegun { get; }
bool DisableRollbackOnFailure { get; set; }
Task SaveChangesAsync(CancellationToken cancellationToken = ... | 1.626334 | 1a283c8c656fa4b30912ffaabcb0d433 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8610 | {
"extension": "c-sharp",
"max_stars_count": "285.0",
"max_stars_repo_name": "Rishabh-V/google-cloud-dotnet",
"max_stars_repo_path": "apis/Google.Cloud.Monitoring.V3/Google.Cloud.Monitoring.V3.Tests/ServiceMonitoringServiceClientTest.g.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8611"
} | starcoder | <filename>apis/Google.Cloud.Monitoring.V3/Google.Cloud.Monitoring.V3.Tests/ServiceMonitoringServiceClientTest.g.cs<gh_stars>100-1000
// Copyright 2022 Google LLC
//
// 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 ... | 1.377697 | 00bb4a2ee9b713d0c213035c69329e62 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8611 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "NicolasJeannette/PikminRunner",
"max_stars_repo_path": "Delivery Guy/Assets/GleyPlugins/About/Editor/AssetState.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8612"
} | starcoder | <reponame>NicolasJeannette/PikminRunner
namespace Gley.About
{
public enum AssetState
{
InProject,
UpdateAvailable,
ComingSoon,
NotDownloaded
}
}
| 1.340411 | 86a86ba0ce0b486a6a936f0eabef5941 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8612 | {
"extension": "c-sharp",
"max_stars_count": "40.0",
"max_stars_repo_name": "pranshaggarwal/HotReloading",
"max_stars_repo_path": "Core/HotReloading.Core/CodeChangeMessage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8613"
} | starcoder | namespace HotReloading.Core
{
public class CodeChangeMessage
{
public Error Error { get; set; }
public CodeChange CodeChange { get; set; }
}
} | 1.500081 | 866c1527c10c1aacfa783392d3551644 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8613 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kevingosse/AdventOfCode",
"max_stars_repo_path": "src/2021/Day16.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8614"
} | starcoder | <filename>src/2021/Day16.cs
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace AdventOfCode._2021
{
internal class Day16 : Problem
{
public override void Solve()
... | 3.115619 | 2fa941d7f4b4368ae3447944dee42a9d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8614 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "quocitspkt/TestvsDuc",
"max_stars_repo_path": "MarketPlace.Data/Entities/OrderDetail.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8615"
} | starcoder | <gh_stars>0
using MarketPlace.Infrastructure.SharedKernel;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
namespace MarketPlace.Data.Entities
{
[Table("OrderDetails")]
public class OrderDetail:DomainEntity<int>
{
public int Or... | 1.898245 | 1eb1dee13459baee855867596fb62bab |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8615 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nguyenppt/tfinance0115",
"max_stars_repo_path": "DesktopModules/TrainingCoreBanking/BankProject/OpenDepositAcctForTF.ascx.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8616"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Telerik.Web.UI;
using System.Data;
using BankProject.DBRespository;
using BankProject.Common;
using bc = BankProject.Controls;
namespace BankProject
{
publ... | 1.660869 | 8baed203c5baaff42c9fac04f69aa901 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8616 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "codedbycurtis/Instaview",
"max_stars_repo_path": "src/Instaview/Views/Dialogs/ExceptionDialogView.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8617"
} | starcoder | using System.Windows.Controls;
namespace Instaview.Views.Dialogs
{
/// <summary>
/// Interaction logic for ExceptionDialogView.xaml
/// </summary>
public partial class ExceptionDialogView : UserControl
{
/// <summary>
/// Initializes a new instance of the <see cref="ExceptionDialog... | 1.591691 | d73cc01f73ab952c0c94bc57f9a963e6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8617 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "samdivaio/Discord.Net",
"max_stars_repo_path": "src/Discord.Net/API/Client/VoiceSocket/Commands/SetSpeaking.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8618"
} | starcoder | <gh_stars>1-10
using Newtonsoft.Json;
namespace Discord.API.Client.VoiceSocket
{
public class SetSpeakingCommand : IWebSocketMessage
{
int IWebSocketMessage.OpCode => (int)OpCodes.Speaking;
object IWebSocketMessage.Payload => this;
bool IWebSocketMessage.IsPrivate => false;
[J... | 2.09954 | 29356d34edb07d0216d4e77fcdbcb7f6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8618 | {
"extension": "c-sharp",
"max_stars_count": "74.0",
"max_stars_repo_name": "thaer899/AlloyDemoKit",
"max_stars_repo_path": "src/AlloyDemoKit/Views/Shared/Blocks/FormBlock.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:8619"
} | starcoder | <reponame>thaer899/AlloyDemoKit
@model FormBlock
<h2 @Html.EditAttributes(m => m.Heading)>@Model.Heading</h2>
@Html.PropertyFor(x => x.Form)
| 1.753694 | 1f8106a3e212ee942e57d56a74a9e843 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8619 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "ZertoPublic/Zerto.Unity.Interception",
"max_stars_repo_path": "src/ContainerIntegration/ObjectBuilder/FixedTypeInterceptionPolicy.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8620"
} | starcoder |
using System;
using Unity.Builder;
using Unity.Interception.Interceptors.TypeInterceptors;
namespace Unity.Interception.ContainerIntegration.ObjectBuilder
{
/// <summary>
/// Implementation of <see cref="ITypeInterceptionPolicy"/> that returns a pre-created
/// interceptor object.
/// </summary>
... | 2.322885 | 303cf2b41c77462b565d51c68b2b1292 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8620 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Rikshy/DangerZone",
"max_stars_repo_path": "DangerZone/Models/Category.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8621"
} | starcoder | using Newtonsoft.Json;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Runtime.CompilerServices;
namespace DangerZone.Models
{
public class Category : INotifyPropertyChanged
{
public event PropertyChangedEventHandler PropertyChanged;
public Category()
... | 2.72199 | b9dbe27c567b86cb37eca2c59fe3d8db |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8621 | {
"extension": "c-sharp",
"max_stars_count": "84.0",
"max_stars_repo_name": "rbtech/uno",
"max_stars_repo_path": "src/compiler/backend/unodoc/ViewModels/MetaData/TableOfContentsEntryGroupViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8622"
} | starcoder | using System.Collections.Generic;
namespace Uno.Compiler.Backends.UnoDoc.ViewModels.MetaData
{
public class TableOfContentsEntryGroupViewModel
{
public DocumentReferenceViewModel DeclaredIn { get; private set; }
public List<TableOfContentsEntryViewModel> Items { get; private set; }
pu... | 1.858999 | 79271d522d1650f786f7bc54caa85311 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8622 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "SuperSocket/SuperSocket.MQTT",
"max_stars_repo_path": "src/SuperSocket.MQTT.Server/Command/PUBREL.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8623"
} | starcoder | using System.Threading.Tasks;
using SuperSocket.Command;
using SuperSocket.MQTT.Packets;
namespace SuperSocket.MQTT.Server.Command
{
[Command(Key = ControlPacketType.PUBREL)]
public class PUBREL : IAsyncCommand<MQTTPacket>
{
public async ValueTask ExecuteAsync(IAppSession session, MQTTPacket pack... | 2.020925 | d26b45d20e9e21024e0dd33c3426fa55 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8623 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "TetradogOther/SharpDevelop",
"max_stars_repo_path": "src/Libraries/WpfDesigner/WpfDesign/Project/Extensions/SelectionExtensionServer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8624"
} | starcoder | <reponame>TetradogOther/SharpDevelop<gh_stars>1-10
// Copyright (c) 2014 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,... | 1.843491 | 9311f76d134e9daca63096fc175a779b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8624 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "Markeli/Monitor",
"max_stars_repo_path": "src/FreeDiskSpaceAlert/Alerts/IAlertChannel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8625"
} | starcoder | <filename>src/FreeDiskSpaceAlert/Alerts/IAlertChannel.cs
using System.IO;
using System.Threading;
using System.Threading.Tasks;
namespace FreeDiskSpaceAlert.Alerts
{
public interface IAlertChannel
{
string ChannelName { get; }
bool IsEnabled { get; }
Task N... | 2.036443 | 5cf613ae49873a7d115b2852e64b4914 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8625 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "intuiface/UDPCommunicationIA",
"max_stars_repo_path": "source/UDPCommunication/UDPCommunication/Events/MessageEventArgs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8626"
} | starcoder | <gh_stars>0
// ****************************************************************************
// <copyright file="MessageEventArgs.cs" company="Intuilab SAS">
// INTUILAB SAS
//_____________________
// [2002] - [2020] Intuilab SAS
// All Rights Reserved.
// NOTICE: All information contained herein is, and remains
// the... | 1.887651 | e751a7cfc3532b896af595a2af92dbad |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8626 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alex-kulakov/dataobjects-net",
"max_stars_repo_path": "Orm/Xtensive.Orm.Tests/Storage/OverrideMetadata.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8627"
} | starcoder | // Copyright (C) 2011 Xtensive LLC.
// All rights reserved.
// For conditions of distribution and use, see license.
// Created by: <NAME>
// Created: 2011.10.28
using System.Linq;
using NUnit.Framework;
using Xtensive.Orm;
using Xtensive.Orm.Configuration;
using Xtensive.Orm.Model;
using Xtensive.Orm.Te... | 1.549116 | e25a9477968c808325f204d7402b822a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8627 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Stevo0225/PuzzleGame",
"max_stars_repo_path": "Assets/SO Architecture/Editor/Drawers/GenericPropertyDrawer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8628"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
public static class GenericPropertyDrawer
{
public static void DrawPropertyDrawer(System.Type type, SerializedProperty property, GUIContent errorLabel)
{
if (SOArchitecture_EditorUtility.HasPropertyDrawer... | 2.434284 | b7ca8167133a6659111c6b6b08ee4d58 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8628 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LykkeCity/Lykke.Common.Validation",
"max_stars_repo_path": "tests/Lykke.Common.Validation.Tests/ValidationResult/TestErrorCode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8629"
} | starcoder | <filename>tests/Lykke.Common.Validation.Tests/ValidationResult/TestErrorCode.cs
namespace Lykke.Common.Validation.Tests.ValidationResult
{
internal enum TestErrorCode
{
TestError1,
TestError2
}
} | 1.117145 | e31de997e19b440c9632e555bab57c30 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8629 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "EminentTechnology/CodeTorch",
"max_stars_repo_path": "src/core/CodeTorch.Core/ScreenRelated/PickerScreenActionLink.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8630"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
namespace CodeTorch.Core
{
[Serializable]
[TypeConverter(typeof(ExpandableObjectConverter))]
public class PickerScreenActionLink
{
PermissionCheck _Permission = new PermissionChec... | 2.590786 | 8261f939fd1e5495ea33c8acde64c76c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8630 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "miljanrajkovic/Bitfinex.Net",
"max_stars_repo_path": "Bitfinex.Net/Objects/RestV1Objects/BitfinexResult.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8631"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace Bitfinex.Net.Objects.RestV1Objects
{
public class BitfinexResult
{
public string Result { get; set; }
}
}
| 1.145836 | 9e017673e2007de2c2b28d41fc9954bd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8631 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "agolaszewski/realworld-starter-kit",
"max_stars_repo_path": "src/RealWorld.RabbitMq/CommandConsumer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8632"
} | starcoder | using System;
using System.Threading.Tasks;
using MassTransit;
using Microsoft.Extensions.Logging;
using RealWorld.Common.Cqrs.Responses;
using RealWorld.Core.Aggregates;
using RealWorld.Core.Commands;
using RealWorld.Core.Events;
using RealWorld.Core.Exceptions;
using RealWorld.Core.Helpers;
namespace RealWorld.Rabb... | 2.217039 | fd4ba8fcacd54acbf98d8a728a00204e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8632 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "npocmaka/Windows-Server-2003",
"max_stars_repo_path": "com/netfx/src/clr/bcl/system/runtime/remoting/lifetimeservices.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8633"
} | starcoder | <reponame>npocmaka/Windows-Server-2003<filename>com/netfx/src/clr/bcl/system/runtime/remoting/lifetimeservices.cs
// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
//+----------------------------------------------------------------------------
//
// Microsoft Windows
//... | 2.112109 | 6878889cb5e98bc097b9a6ada6cecfc5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.