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 | 4737 | {
"extension": "c-sharp",
"max_stars_count": "83.0",
"max_stars_repo_name": "Codingale/EliteAPI",
"max_stars_repo_path": "EliteAPI.Dashboard/Logging/File/FileLoggerProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4738"
} | starcoder | <reponame>Codingale/EliteAPI<gh_stars>10-100
using System.IO;
using EliteAPI.Dashboard.Logging.File.Formats.Abstractions;
using Microsoft.Extensions.Logging;
namespace EliteAPI.Dashboard.Logging.File
{
public class FileLoggerProvider : ILoggerProvider
{
private readonly string _name;
private r... | 2.454141 | 3f05645ce4b8c55d6eb1604477b6943e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4738 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "gimlichael/cuemoncore",
"max_stars_repo_path": "test/Cuemon.Runtime.Caching.Tests/SlimMemoryCacheTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4739"
} | starcoder | using System;
using System.Collections.Concurrent;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Cuemon.Extensions.Xunit.Hosting;
using Cuemon.Runtime.Caching.Assets;
using Microsoft.Extensions.DependencyInjection;
using Xunit;
using Xunit.Abstractions;
using Xunit.Priority;
namespace... | 2.262303 | 3761d1ddd5e4f2aaf76524d9a56b769a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4739 | {
"extension": "c-sharp",
"max_stars_count": "282.0",
"max_stars_repo_name": "DPS2004/quest",
"max_stars_repo_path": "EditorControls/FileControl.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4740"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
using MessageBox = System.Windows.Forms.MessageBox;
namespace TextAdventures.Quest.EditorControls
{
[ControlType("file")]
public partial class FileControl : UserC... | 2.1434 | 2fab4a0f645c2d89ce2580699a0614ea |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4740 | {
"extension": "c-sharp",
"max_stars_count": "30.0",
"max_stars_repo_name": "iAJTin/iInternetInformationServices",
"max_stars_repo_path": "src/lib/iTin.Core/iTin.Core/Extensions/ReadOnlyCollectionExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4741"
} | starcoder | <gh_stars>10-100
namespace iTin.Core
{
using System;
using System.Collections.ObjectModel;
using System.Linq;
using Helpers;
/// <summary>
/// Static class than contains extension methods for objects <see cref="T:System.Collections.ObjectModel.ReadOnlyCollection{T}" /> of type <see cref="T:S... | 3.10831 | 693da13e1a71580ca3692fcee56c4440 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4741 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "maruhe/iChronoMe.Apps",
"max_stars_repo_path": "iChronoMe.Android/Source/ShortCutActivity.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4742"
} | starcoder | using Android.App;
using Android.Content;
using Android.Content.PM;
using Android.OS;
using Android.Support.V7.App;
using iChronoMe.Droid.GUI.Calendar;
namespace iChronoMe.Droid
{
[Activity(Label = "ShortCutActivity", Name = "me.ichrono.droid.ShortCutActivity", Theme = "@style/TransparentTheme", LaunchMode = Lau... | 2.007725 | 9ed6f7081ab9d69e657414e1acadd4b1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4742 | {
"extension": "c-sharp",
"max_stars_count": "86.0",
"max_stars_repo_name": "agnicore/nfx",
"max_stars_repo_path": "src/NFX/ApplicationModel/Pile/Exceptions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4743"
} | starcoder | /*<FILE_LICENSE>
* NFX (.NET Framework Extension) Unistack Library
* Copyright 2003-2018 Agnicore Inc. portions ITAdapter Corp. Inc.
*
* 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:/... | 2.087023 | fedfd0157eed579eaebd3d3d3623dcc2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4743 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "Genocs/clean-architecture-template",
"max_stars_repo_path": "src/template/src/Genocs.MicroserviceLight.Template.Application/UseCases/Transfer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4744"
} | starcoder | <filename>src/template/src/Genocs.MicroserviceLight.Template.Application/UseCases/Transfer.cs
namespace Genocs.MicroserviceLight.Template.Application.UseCases
{
using Application.Boundaries.Transfer;
using Application.Repositories;
using Application.Services;
using Domain;
using Domain.Accounts;
... | 2.624671 | b1303e801d31d25f06d1c22c331aad3e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4744 | {
"extension": "c-sharp",
"max_stars_count": "3399.0",
"max_stars_repo_name": "Drakkonite/hotchocolate",
"max_stars_repo_path": "src/HotChocolate/Core/src/Types/Types/Descriptors/Definitions/OutputFieldDefinitionBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4745"
} | starcoder | <filename>src/HotChocolate/Core/src/Types/Types/Descriptors/Definitions/OutputFieldDefinitionBase.cs<gh_stars>1000+
using System;
using System.Collections.Generic;
using System.Linq;
using HotChocolate.Language;
#nullable enable
namespace HotChocolate.Types.Descriptors.Definitions
{
public class OutputFieldDefini... | 2.374705 | 07fab2a3094a0615aeb04fd802ab3898 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4745 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "v-am/Interop-MailSim-am",
"max_stars_repo_path": "MailSim/ProviderFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4746"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MailSim.Contracts;
using MailSim.ProvidersOM;
namespace MailSim
{
class ProviderFactory
{
public static IMailStore CreateMailStore(string mailboxName)
{
return... | 1.634522 | 64d5ce9bd01e4e3da423503b04eed58f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4746 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "AegisSpatial/aegis-origin",
"max_stars_repo_path": "AEGIS.Operations.Spectral/Spectral/Enhancement/MorphologicalDilationOperation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4747"
} | starcoder | /// <copyright file="MorphologicalDilationOperation.cs" company="Eötvös Loránd University (ELTE)">
/// Copyright (c) 2011-2019 <NAME>. Licensed under the
/// Educational Community License, Version 2.0 (the "License"); you may
/// not use this file except in compliance with the License. You may
/// obta... | 2.396678 | de8bb046b15af1adddf76df650ffd35c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4747 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Blitzkweiz/Diploma",
"max_stars_repo_path": "Assets/Scripts/PoolObject/PoolScriptableObject.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4748"
} | starcoder | <reponame>Blitzkweiz/Diploma<filename>Assets/Scripts/PoolObject/PoolScriptableObject.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(fileName = "PoolData", menuName = "Pool Data", order = 51)]
public class PoolScriptableObject : ScriptableObject
{
public int size... | 1.480288 | 122d8f5772a42314c287f9a495cb8027 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4748 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ivankaurov/ligthweight-scheduler",
"max_stars_repo_path": "src/Lightweight.Scheduler.Abstractions/ISingleJobProcessor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4749"
} | starcoder | namespace Lightweight.Scheduler.Abstractions
{
using System.Threading;
using System.Threading.Tasks;
public interface ISingleJobProcessor<TSchedulerKey, TJobKey>
{
Task<JobExecutionResult> ProcessSingleJob(
TJobKey jobId,
IJobMetadata jobMetadata,
TScheduler... | 1.710641 | 89edf1ced15deb9cebd5297f28029648 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4749 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SimonCropp/elasticsearch-net",
"max_stars_repo_path": "tests/Tests/Document/Multiple/BulkAll/BulkAllForEachAsyncApiTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4750"
} | starcoder | // Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V 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.Reactive.Linq;
using System.Threading;
using System.Threading.Tasks;
using Tests.Core.... | 1.742049 | 750b57da56720acebd8cc89707914f21 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4750 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "xiakexiaoyi/xky",
"max_stars_repo_path": "Xky.Platform/UserControl/MyModuleItem.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4751"
} | starcoder | using System.Windows;
using System.Windows.Media;
namespace Xky.Platform.UserControl
{
/// <summary>
/// MyModuleItem.xaml 的交互逻辑
/// </summary>
public partial class MyModuleItem
{
/// <summary>
/// 是否正在执行
/// </summary>
public static readonly DependencyPrope... | 2.328497 | d8550b0d13b9888e2d1daab6030bdbe5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4751 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "DavidRutten/Eto",
"max_stars_repo_path": "Source/Eto.iOS/Forms/IosView.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4752"
} | starcoder | using System;
using Eto.Drawing;
using Eto.Forms;
using Eto.iOS.Drawing;
using SD = System.Drawing;
using MonoTouch.Foundation;
using MonoTouch.UIKit;
using Eto.Mac.Forms;
using System.Collections.Generic;
using System.Linq;
namespace Eto.iOS.Forms
{
public interface IIosViewControllerSource
{
UIViewController Co... | 2.021375 | 1ae23b85aa7f9429305b7b824f2053e8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4752 | {
"extension": "c-sharp",
"max_stars_count": "95.0",
"max_stars_repo_name": "yurifarion/LawnMower-Android-Unity3D-",
"max_stars_repo_path": "Project/Lawn Mower/Assets/GameAnalytics/Editor/GameAnalyticsInspector.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4753"
} | starcoder | <filename>Project/Lawn Mower/Assets/GameAnalytics/Editor/GameAnalyticsInspector.cs<gh_stars>10-100
/// <summary>
/// The inspector for the GA prefab.
/// </summary>
using UnityEngine;
using UnityEditor;
using System.Collections.Generic;
using System.Reflection.Emit;
using System.Reflection;
using System;
using GameAna... | 2.147367 | 09b17c2a990c0156fe358001d768b761 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4753 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "weinre/Trill",
"max_stars_repo_path": "Sources/Core/Microsoft.StreamProcessing/Aggregates/AverageSquareAggregateTemplate.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4754"
} | starcoder | <reponame>weinre/Trill
// *********************************************************************
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License
// *********************************************************************
using System;
using System.Linq.Expressions;
using Sys... | 2.490427 | 363896bf1e245429c7622163f52e6f85 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4754 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jeanklann/M3PlusMicrocontrollerSimulator",
"max_stars_repo_path": "SimuladorM3Mais/Function.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4755"
} | starcoder | <filename>SimuladorM3Mais/Function.cs
namespace M3PlusMicrocontroller
{
public delegate int Function(Simulator simulator, Direction from, Direction to, Instruction instruction);
} | 1.675004 | 0955f9b4617ad6ea0404067773f626db |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4755 | {
"extension": "c-sharp",
"max_stars_count": "37.0",
"max_stars_repo_name": "biproberkay/SdvCodeWebsite",
"max_stars_repo_path": "SdvCode/SdvCode/Areas/Administration/Services/Shop/ShopDbUsage/ShopDbUsageService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4756"
} | starcoder | <filename>SdvCode/SdvCode/Areas/Administration/Services/Shop/ShopDbUsage/ShopDbUsageService.cs
// Copyright (c) SDV Code Project. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace SdvCode.Areas.Administration.Services.Shop.ShopDbUsage
... | 2.28562 | 81f6953561d40301af078b1fe163d88e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4756 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Hochfrequenz/BO4E-dotnet",
"max_stars_repo_path": "BO4E/ENUM/Verbrauchsmengetyp.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4757"
} | starcoder | namespace BO4E.ENUM
{
/// <summary>type von Verbrauchsmenge</summary>
public enum Verbrauchsmengetyp
{
/// <summary>Arbeitleistungtagesparameterabhmalo</summary>
ARBEITLEISTUNGTAGESPARAMETERABHMALO,
/// <summary>Veranschlagtejahresmenge</summary>
VERANSCHLAGTEJAHRES... | 2.07264 | 6690fcee4b6f110254186c77ad280ff4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4757 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "RisulKarimWG/GameX",
"max_stars_repo_path": "Assets/SpaceCombatKit/Scripts/AllVehicles/Triggerables/Menu/TriggerGroupsMenuLabelItemController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4758"
} | starcoder | <reponame>RisulKarimWG/GameX
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
namespace VSX.UniversalVehicleCombat
{
/// <summary>
/// Manages a label for a triggerable module in the trigger groups menu.
/// </summary>
public class TriggerGroupsMenuLabelItemController : MonoBehaviour
... | 2.308976 | b290f473af684de905f56db8bbb4eea2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4758 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pil0t/Castle.Windsor",
"max_stars_repo_path": "src/Castle.Windsor.Tests/ClassInheritanceTestCase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4759"
} | starcoder | <gh_stars>0
// Copyright 2004-2011 Castle Project - http://www.castleproject.org/
//
// 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-... | 1.662973 | 77d1b32799071de70abe769359b6020c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4759 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "tcs-devel/UCWA2.0-CS",
"max_stars_repo_path": "UCWASDK/UCWASDK/Models/FailedDeliveryParticipant.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4760"
} | starcoder | namespace Microsoft.Skype.UCWA.Models
{
/// <summary>
/// Represents a participant that failed to receive an instant message sent by the user.
/// An application can choose to present this information to the user for a reliable messaging experience.
/// </summary>
public class FailedDeliveryPartic... | 2.082432 | 5886eae3256b4ab5d02c4de50455e0d0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4760 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Dmitry-Bychenko/SimpleGames.TicTacToe",
"max_stars_repo_path": "SimpleGames.TicTacToe.Tests/SimpleGames.TicTacToe.Position.Test.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4761"
} | starcoder |
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace SimpleGames.TicTacToe.Tests {
[TestClass]
public sealed class PositionTests {
[TestMethod]
public void OutcomeTest() {
TicTacToePosition board = TicTacToePosition.Build(
"a1", "a2", "a3", "b2", "b1", "c1", "b3", "c3", "c2");
... | 2.571452 | 74a242ba1d95029135522caaef67e365 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4761 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "T-rav/ZooKeeper",
"max_stars_repo_path": "Animals/Elephant.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4762"
} | starcoder | using System;
namespace ZooKeeper.Animals
{
public class Elephant : Critter
{
public Elephant(int age, string color) : base(age, color)
{
}
public override void Eats()
{
Console.WriteLine("grass with trunk");
}
public override void Movement... | 2.835681 | 399d6e843bb7d6ffff51d6c2c8aa607d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4762 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BlauhausTechnology/Blauhaus.Sync",
"max_stars_repo_path": "src/Blauhaus.Sync.Tests/Client/SyncDtoCacheTests/HandleAsyncTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4763"
} | starcoder | <reponame>BlauhausTechnology/Blauhaus.Sync<filename>src/Blauhaus.Sync.Tests/Client/SyncDtoCacheTests/HandleAsyncTests.cs
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Blauhaus.Sync.Tests.Client.SyncDtoCacheTests.Base;
using Blauhaus.Sync.Tests.TestObjects;
using NUnit.Framewo... | 2.445477 | 1e9870964fc10bc76127e802ae74bc3c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4763 | {
"extension": "c-sharp",
"max_stars_count": "32.0",
"max_stars_repo_name": "johnmbaughman/InplaceEditBoxLib",
"max_stars_repo_path": "source/Services/ExplorerLib/IExplorerMultiFileResult.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4764"
} | starcoder | using System.Collections.Generic;
namespace ExplorerLib
{
/// <summary>
/// Implements a simple result structure that is returned when the
/// user selected multiple files in a dialog.
/// </summary>
public interface IExplorerMultiFileResult
{
/// <summary>
/// Gets the full fi... | 2.30396 | 4b104728c1c9d6a039e1e9227c7f8210 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4764 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bseker/EES",
"max_stars_repo_path": "EES.MvcUI/Views/Home/EvaluateDepartmentalWorkers.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:4765"
} | starcoder | <reponame>bseker/EES<gh_stars>0
@model EES.MvcUI.Models.EvaluateViewModel
@{
ViewBag.Title = "EvaluateDepartmentalWorkers";
Layout = "~/Views/Shared/_PublicLayout.cshtml";
}
<h2 class="alert-info">Evaluate Department Employees</h2>
<div class="container">
<div class="row-border">
<h4>Evaluated Em... | 2.345364 | 282fd18b7a0639ba8554acd3e10146e3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4765 | {
"extension": "c-sharp",
"max_stars_count": "3268.0",
"max_stars_repo_name": "gjy5885/azure-sdk-for-net",
"max_stars_repo_path": "sdk/containerregistry/Azure.Containers.ContainerRegistry/src/Generated/Models/ContainerRepositoryProperties.Serialization.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4766"
} | starcoder | <filename>sdk/containerregistry/Azure.Containers.ContainerRegistry/src/Generated/Models/ContainerRepositoryProperties.Serialization.cs
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Text.Json;
using Azu... | 1.89117 | 1ecf6f10c528d8ea9f7fa4ddaec0e3d3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4766 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "snakefoot/google-cloud-dotnet",
"max_stars_repo_path": "apis/Google.Cloud.BigQuery.Storage.V1/Google.Cloud.BigQuery.Storage.V1/Storage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4767"
} | starcoder | // <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/bigquery/storage/v1/storage.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021
#region Designer generated code
using pb = global::Google.Protobuf;
using pbc = global::Google.Protobuf.Collect... | 1.745828 | cecfefe4c3e58c46a5c682dbc26cb55a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4767 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "UWAGLE/pharmacy-stability-quality-control-system",
"max_stars_repo_path": "StabilityQualityControlSystem/Projects/StabilityBAL/bStabilityCheck.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4768"
} | starcoder | using StabilityDAL;
using StabilityInterface;
using System;
using System.Collections.Generic;
using System.Data;
namespace StabilityBAL
{
public partial class BAL
{
public List<StabilityCheck> bGetStabilityCheck(int id)
{
List<StabilityCheck> objListStabilityCheck = new List<Stabi... | 2.344602 | 3a809af87b2a01ef9fc19da62fd7c6bf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4768 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chenrensong/T4",
"max_stars_repo_path": "src/Coding4Fun.VisualStudio.Telemetry/Coding4Fun.VisualStudio.ApplicationInsights.Channel/MacStorageBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4769"
} | starcoder | <reponame>chenrensong/T4
namespace Coding4Fun.VisualStudio.ApplicationInsights.Channel
{
internal sealed class MacStorageBuilder : IStorageBuilder
{
public StorageBase Create(string persistenceFolderName)
{
return new MacStorage(persistenceFolderName);
}
}
}
| 1.196752 | 1ab5cb19805f99efda108e9b80560ccb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4769 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LordMike/SimpleS3",
"max_stars_repo_path": "src/SimpleS3.Core/Internal/Marshal/Response/ListMultipartUploadsResponseMarshal.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4770"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Xml;
using System.Xml.Serialization;
using EnumsNET;
using Genbox.SimpleS3.Abstracts.Marshal;
using Genbox.SimpleS3.Core.Enums;
using Genbox.SimpleS3.Core.Requests.Buckets;
using Genbox.SimpleS3.Core.Responses.Buckets;
using Genbox.... | 1.767051 | 1ed6221359fea694bcf75d8caa9c16b1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4770 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jimbo8098/devchatterbot",
"max_stars_repo_path": "src/DevChatter.Bot.Core/BotModules/VotingModule/EndVoteOperation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4771"
} | starcoder | using DevChatter.Bot.Core.Commands.Operations;
using DevChatter.Bot.Core.Data.Model;
using DevChatter.Bot.Core.Events.Args;
using System.Collections.Generic;
namespace DevChatter.Bot.Core.BotModules.VotingModule
{
public class EndVoteOperation : BaseCommandOperation
{
private readonly VotingSystem _vot... | 2.557745 | 06654e0cef6cdad2a93c66cacde8b59e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4771 | {
"extension": "c-sharp",
"max_stars_count": "24.0",
"max_stars_repo_name": "MrWindows/MrWindows",
"max_stars_repo_path": "MrWindows/WindowsPInvoke.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4772"
} | starcoder | using System.Runtime.InteropServices;
namespace Dear {
public static class WindowsPInvoke {
[DllImport("user32")]
public static extern void LockWorkStation();
}
} | 1.524589 | 8526eb5772da5512996f7433b2878855 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4772 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "sbebrys/ZipkinTracer",
"max_stars_repo_path": "src/ZipkinTracer/Models/Serialization/Json/JsonAnnotation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4773"
} | starcoder | <filename>src/ZipkinTracer/Models/Serialization/Json/JsonAnnotation.cs
using System;
using Newtonsoft.Json;
using ZipkinTracer.Extensions;
namespace ZipkinTracer.Models.Serialization.Json
{
internal class JsonAnnotation
{
private readonly Annotation _annotation;
[JsonProperty("endpo... | 2.468707 | 9b60ef31c4682ceff8afc7a7c91b87be |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4773 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "brgishy/Lost",
"max_stars_repo_path": "Lost/Lost.WeakReference/Runtime/GuidManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4774"
} | starcoder | <reponame>brgishy/Lost<gh_stars>10-100
//-----------------------------------------------------------------------
// <copyright file="GuidManager.cs" company="Lost Signal LLC">
// Copyright (c) Lost Signal LLC. All rights reserved.
// </copyright>
//------------------------------------------------------------------... | 2.414948 | cd770e1fd8e3260c376a0258258059aa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4774 | {
"extension": "c-sharp",
"max_stars_count": "40.0",
"max_stars_repo_name": "pranshaggarwal/HotReloading",
"max_stars_repo_path": "Core/StatementConverter.Test/TestCodes/UsingTestClass.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4775"
} | starcoder | <filename>Core/StatementConverter.Test/TestCodes/UsingTestClass.cs
namespace StatementConverter.Test
{
public class UsingTestClass
{
public static void TestUsing1()
{
using (new TestDisposable())
{
System.Diagnostics.Debug.WriteLine("hello");
... | 2.659912 | 83837d6c53af0b6028ba0c79bf381641 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4775 | {
"extension": "c-sharp",
"max_stars_count": "23.0",
"max_stars_repo_name": "glitch100/Halo-API",
"max_stars_repo_path": "HaloEzAPI/Model/Response/Stats/Halo5/Player.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4776"
} | starcoder | <gh_stars>10-100
namespace HaloEzAPI.Model.Response.Stats.Halo5
{
public class Player
{
public string Gamertag { get; set; }
public string Xuid { get; set; }
}
} | 1.336662 | 8c2acd6ca93e4b5caa73d4e8aa29d6fe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4776 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "nosinovacao/Extensions",
"max_stars_repo_path": "src/JSInterop/Microsoft.JSInterop/src/DotNetObjectRef.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4777"
} | starcoder | // 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.
namespace Microsoft.JSInterop
{
/// <summary>
/// Provides convenience methods to produce a <see cref="DotNetObjectRef{TValue}" />.
/// </su... | 2.697167 | 5bffeb60733543d3f34b9519d499a4e2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4777 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "julielerman/ProgrammingEntityFrameworkBook",
"max_stars_repo_path": "Programing EF DbContext/AfterCompletingChapter6/BreakAwayConsole/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4778"
} | starcoder | using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using System.Linq;
using System.Text;
using DataAccess;
using Model;
using System.Data.Objects.DataClasses;
using System.Data;
using System.Data.Entity.Validation;
namespace BreakAwayConsole
{
class Pr... | 2.785564 | 0592dee0b9f56d69d1e54b450faad213 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4778 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "mzjensen/camber",
"max_stars_repo_path": "Camber/Civil/Styles/Labels/Profile/ProfileCurveLabelStyle.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4779"
} | starcoder | <reponame>mzjensen/camber
#region references
using acDb = Autodesk.AutoCAD.DatabaseServices;
using AeccLabelStyle = Autodesk.Civil.DatabaseServices.Styles.LabelStyle;
#endregion
namespace Camber.Civil.Styles.Labels.Profile
{
public sealed class ProfileCurveLabelStyle : LabelStyle
{
#region properties
... | 2.357644 | 8fdba9a494c9a8320199a7e2d6c83976 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4779 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "vladisa385/SurviveOnSotka",
"max_stars_repo_path": "SurviveOnSotka.ViewModel/RateReviews/UpdateRateReviewRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4780"
} | starcoder | using SurviveOnSotka.ViewModell.Requests;
using System;
using System.ComponentModel.DataAnnotations;
namespace SurviveOnSotka.ViewModel.Implementanion.RateReviews
{
public class UpdateRateReviewRequest : Request
{
[Required]
public Guid Id { get; set; }
[Required]
public bool ... | 1.55036 | 9de0e03a5112e91009ba2e761eb80156 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4780 | {
"extension": "c-sharp",
"max_stars_count": "241.0",
"max_stars_repo_name": "mahgo/CSM",
"max_stars_repo_path": "src/Networking/MultiplayerManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4781"
} | starcoder | using ColossalFramework.Threading;
using ColossalFramework.UI;
using CSM.Networking.Config;
using CSM.Panels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using CSM.Networking.Status;
namespace CSM.Networking
{
public class MultiplayerManager
{
/// <summar... | 2.490586 | f54893fe4e07cc069c9d841b1e6cfd96 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4781 | {
"extension": "c-sharp",
"max_stars_count": "269.0",
"max_stars_repo_name": "DavidArno/SuccincT",
"max_stars_repo_path": "src/SuccincT/Unions/PatternMatchers/UnionPatternCaseHandler{TM,T,TR}.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4782"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using SuccincT.Functional;
using SuccincT.PatternMatchers;
namespace SuccincT.Unions.PatternMatchers
{
internal sealed class UnionPatternCaseHandler<TMatcher, T, TResult> :
IUnionFuncPatternCaseHandler<TMatcher, T, TResult>,
IUnion... | 2.464729 | 688f924bb13b383f2b7a2ad693665622 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4782 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lilDarwinlil/Facts",
"max_stars_repo_path": "src/Facts/Facts.Web/ViewModels/FactUpdateViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4783"
} | starcoder | <reponame>lilDarwinlil/Facts
using System;
using System.Collections.Generic;
namespace Facts.Web.ViewModels
{
public class FactUpdateViewModel
{
public Guid Id { get; set; }
public string Content { get; set; }
public IEnumerable<string> Tags { get; set; }
}
}
| 1.202719 | 47950e46615cae7304c51d4e1a703a08 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4783 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "orangelight/DSLOG-Reader",
"max_stars_repo_path": "DSLOG-Reader 2/DSLOG-Reader 2/MainForm.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4784"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace DSLOG_Reader_2
{
public partial class MainForm : Form
{
public enum MainMode
... | 2.086011 | dc48019d6055af8c9a82fc9cbaef77d2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4784 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "opopve/QSProjects",
"max_stars_repo_path": "QS.Project/Project.Services/UserService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4785"
} | starcoder | using System;
using QS.DomainModel.UoW;
using QS.Project.Domain;
using QS.Project.Repositories;
namespace QS.Services
{
public class UserService : IUserService
{
public UserService()
{
CurrentUserId = UserRepository.GetCurrentUserId();
}
public int CurrentUserId { get; }
public UserBase GetCurrentUs... | 2.043939 | b4315f3d4ad9210e64023cada00234e4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4785 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "KHCmaster/PPD",
"max_stars_repo_path": "Win/FlowScriptEngineBasic/FlowSourceObjects/DateTime/SubtractTimeSpanFlowSourceObject.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4786"
} | starcoder | <gh_stars>10-100
using FlowScriptEngine;
namespace FlowScriptEngineBasic.FlowSourceObjects.DateTime
{
[ToolTipText("DateTime_SubtractTimeSpan_Summary")]
public partial class SubtractTimeSpanFlowSourceObject : FlowSourceObjectBase
{
public override string Name
{
get { return "Da... | 2.404022 | 8ecf5681cdbae99abe5f8494f9362639 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4786 | {
"extension": "c-sharp",
"max_stars_count": "51.0",
"max_stars_repo_name": "keyzf/IEManageSystem",
"max_stars_repo_path": "src/IEManageSystem.JwtAuthentication/IEJwtAuthenticationModule.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4787"
} | starcoder | using Abp.Modules;
using Abp.Reflection.Extensions;
using System;
using System.Collections.Generic;
using System.Text;
namespace IEManageSystem.JwtAuthentication
{
[DependsOn()]
public class IEJwtAuthenticationModule : AbpModule
{
public override void Initialize()
{
IocManager.... | 1.540713 | b5d8e97b6507e09ff910aed49749e6ef |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4787 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Code-Ponys/MixedUpTales-2.0",
"max_stars_repo_path": "Assets/Resources/Animations/spine-csharp/src/AnimationStateData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4788"
} | starcoder | /******************************************************************************
* Spine Runtimes Software License v2.5
*
* Copyright (c) 2013-2016, Esoteric Software
* All rights reserved.
*
* You are granted a perpetual, non-exclusive, non-sublicensable, and
* non-transferable license to use, install, execute, ... | 2.257626 | c954b4cc0b0e56d3731626f95c6f541a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4788 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "agnelovaz/TizenFX",
"max_stars_repo_path": "src/Tizen.NUI/src/public/Property.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4789"
} | starcoder | <reponame>agnelovaz/TizenFX<filename>src/Tizen.NUI/src/public/Property.cs
/*
* Copyright(c) 2017 Samsung Electronics Co., Ltd.
*
* 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:... | 2.221498 | 4115b73d1cafa93ad5489db387cba784 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4789 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Polystream/AppMetrics",
"max_stars_repo_path": "src/AspNetCoreHealth/src/App.Metrics.AspNetCore.Health.Core/Internal/Extensions/StringExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4790"
} | starcoder | // <copyright file="StringExtensions.cs" company="App Metrics Contributors">
// Copyright (c) App Metrics Contributors. All rights reserved.
// </copyright>
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
// ReSharper disable CheckNamespace
namespace System
// ReSharper restore CheckNamespace
{
... | 2.692898 | 2a43f90b1d9f28874d0a88730d75570e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4790 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "zzgchina888/msdn-code-gallery-microsoft",
"max_stars_repo_path": "Microsoft Office Developer Documentation Team/SharePoint 2010 101 Code Samples/[C#]-SharePoint 2010 101 Code Samples/SharePoint 2010 Performing Searches from Silverlight/... | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.1
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------... | 1.398957 | dee65ca5103cd34ae83aa01cf62fa3be |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4791 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "shukhrat-dev/DevTestProject",
"max_stars_repo_path": "DevTestProject/DevTestProject/ViewModel/HomeVm.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4792"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace DevTestProject.ViewModel
{
public class HomeVm
{
public string ErrorMsg { get; set; }
}
} | 1.062355 | e14eb913f0cc369306d94da40d79d5d4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4792 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "improvedk/libgit2sharp",
"max_stars_repo_path": "LibGit2Sharp.Tests/DiffBlobToBlobFixture.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4793"
} | starcoder | using System.IO;
using System.Linq;
using System.Text;
using LibGit2Sharp.Tests.TestHelpers;
using Xunit;
namespace LibGit2Sharp.Tests
{
public class DiffBlobToBlobFixture : BaseFixture
{
[Fact]
public void ComparingABlobAgainstItselfReturnsNoDifference()
{
using (var repo ... | 2.57374 | 76606adee3e402e19ad97eca4c4c9abb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4793 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "enrilos/Internify",
"max_stars_repo_path": "Internify/Services/Internify.Services.Data/Comment/CommentService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4794"
} | starcoder | namespace Internify.Services.Data.Comment
{
using Ganss.XSS;
using Internify.Data;
using Internify.Data.Models;
using Internify.Models.InputModels.Comment;
using Internify.Models.ViewModels.Comment;
public class CommentService : ICommentService
{
private readonly InternifyDbContext... | 2.628156 | e6de69f908b02f390e7b14bf5458238a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4794 | {
"extension": "c-sharp",
"max_stars_count": "343.0",
"max_stars_repo_name": "UWPCommunity/Quarrel",
"max_stars_repo_path": "old/Discord UWP/Markdown/Parse/Blocks/LinkReferenceBlock.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4795"
} | starcoder | // ******************************************************************
// Copyright (c) Microsoft. All rights reserved.
// This code is licensed under the MIT License (MIT).
// THE CODE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
// INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILI... | 2.871272 | 934dcd8a686e94b8642596f16057914b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4795 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "torgge/baltastore",
"max_stars_repo_path": "BaltaStore.Tests/Commands/CreateCustomerCommandTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4796"
} | starcoder | <filename>BaltaStore.Tests/Commands/CreateCustomerCommandTests.cs
using BaltaStore.Domain.StoreContext.Commands.CustomerCommands.Inputs;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace BaltaStore.Tests.Commands
{
[TestClass]
public class CreateCustomerCommandTests
{
[TestMethod]
... | 2.352653 | dedb12e9db685bc99e20b029edc032b6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4796 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DimitarGaydardzhiev/TelerikAcademy",
"max_stars_repo_path": "01. C# Part 1/03. Operators-Expressions-and-Statements/14.ModifyBit/ModifyBit.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4797"
} | starcoder |
//Problem 14. Modify a Bit at Given Position
//We are given an integer number n , a bit value v (v=0 or 1) and a position p .
//Write a sequence of operators (a few lines of C# code) that modifies n to hold the value v at the position p from the binary representation of n while preserving all other bits ... | 4.11192 | 07d21f6777f8501caebdcb1013bbf841 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4797 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JISyed/CommonUnityExtras",
"max_stars_repo_path": "CommonUnityExtrasProject/Assets/CommonUnityExtras/Code/Objects/DestroyAfterTime.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4798"
} | starcoder | using UnityEngine;
namespace CUE
{
namespace Objects
{
public class DestroyAfterTime : MonoBehaviour
{
public float timeInSeconds = 10.0f;
// Use this for initialization
void Start ()
{
if(timeInSeconds < 0.0f)
{
timeInSeconds = 0.0f;
}
Destroy(gameObject, timeInSeconds);
... | 2.526665 | 63154babdeacc1ff56cb4ec1a5ebe465 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4798 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "illia-okonskyi/PostCore",
"max_stars_repo_path": "src/PostCore/PostCore.MainApp/ViewModels/Users/Users.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4799"
} | starcoder | <reponame>illia-okonskyi/PostCore
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Microsoft.AspNetCore.Mvc.ModelBinding;
using PostCore.Core.Users;
using PostCore.Utils;
using PostCore.ViewUtils;
namespace PostCore.MainApp.ViewModels.Users
{
public class IndexViewModel
{
... | 1.844037 | 77f2bf9ecf2af10aab089d6efe61462b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4799 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "SaladbowlCreative/Akka.Interfaced.SlimSocket",
"max_stars_repo_path": "core/Akka.Interfaced.SlimSocket.Base/AutoSurrogate.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4800"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using ProtoBuf.Meta;
// This file is a copy of Akka.Interfaced.ProtobufSerializer.AutoSurrogate
namespace Akka.Interfaced.SlimSocket
{
public static class AutoSurrogate
{
public static void Register(RuntimeType... | 2.262445 | 04696ff257178563886c1daed5691985 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4800 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Demetrioz/KLog",
"max_stars_repo_path": "KLog.DataModel.Migrations/Releases/Release_001/Release_001.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4801"
} | starcoder | <reponame>Demetrioz/KLog
using FluentMigrator;
namespace KLog.DataModel.Migrations.Releases.Release_001
{
[Migration(001)]
public class Release_001 : Migration
{
public override void Up()
{
Create.Table("Application")
.WithId("ApplicationId")
.Wi... | 1.718803 | 516ce9579b1ecb3e8e8130d502cb1125 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4801 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "pigmonchu-personal/Parse-SDK-dotNET",
"max_stars_repo_path": "ParseCore/Internal/Utilities/ParseUserExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4802"
} | starcoder | // Copyright (c) 2015-present, Parse, LLC. All rights reserved. This source code is licensed under the BSD-style license found in the LICENSE file in the root directory of this source tree. An additional grant of patent rights can be found in the PATENTS file in the same directory.
using System;
using System.Collec... | 2.345273 | e53bd3cd9967769374e0bd962509c0ae |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4802 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "dongdapeng110/SharpDevelopTest",
"max_stars_repo_path": "src/AddIns/Debugger/Debugger.AddIn/Visualizers/Graph/Layout/Tree/TreeLayout.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4803"
} | starcoder | // Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
// This code is distributed under the BSD license (for details please see \src\AddIns\Debugger\Debugger.AddIn\license.txt)
using System;
using System.Collections.Generic;
using System.Windows;
using Debugger.AddIn.V... | 2.331523 | 1bfc715359ca9f52d87a15b3fb103184 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4803 | {
"extension": "c-sharp",
"max_stars_count": "1711.0",
"max_stars_repo_name": "dnikolaidis2/optick",
"max_stars_repo_path": "gui/Profiler.Data/EventTree.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4804"
} | starcoder | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
using System.Windows;
using System.Threading;
using System.Windows.Media;
using System.ComponentModel;
namespace Profiler.Data
{
public struct FilterMode
{
public bool HideNotRelative { get; set; }
public bool... | 2.338752 | b1faeffccb07d9ab9675218ab3274513 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4804 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jftuga/deidentify-gui",
"max_stars_repo_path": "MainWindow.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4805"
} | starcoder | <filename>MainWindow.xaml.cs<gh_stars>1-10
using HtmlAgilityPack;
using Microsoft.Extensions.PlatformAbstractions;
using Microsoft.Win32;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.T... | 2.218102 | ceddd4a7f5098d0fe7618663e86908ed |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4805 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "PJChamley/das-payments-V2",
"max_stars_repo_path": "src/SFA.DAS.Payments.ConfigUpdater/SFA.DAS.Payments.ConfigUpdater/ConfigUpdater.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4806"
} | starcoder | <gh_stars>1-10
namespace SFA.DAS.Payments.ConfigUpdater
{
partial class ConfigUpdater
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
... | 1.701262 | 70d9cf8ff3aca0fd188a688f82697f3b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4806 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "isfarca/Terrain_Generation_Unity_Csharp",
"max_stars_repo_path": "V2/CanvasManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4807"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CanvasManager : MonoBehaviour
{
public TMPro.TextMeshProUGUI cLbWood;
private void Update()
{
cLbWood.text = ResourceManager.Instance.nWood.ToString();
}
}
| 1.773679 | c1d7fd92072b2375ed15cfff96b231f5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4807 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "tormaroe/mist",
"max_stars_repo_path": "test/Evaluation/LoadSpec.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4808"
} | starcoder | using NUnit.Framework;
using Marosoft.Mist;
using test.Evaluation.Common;
namespace test.Evaluation
{
public class LoadSpec : EvaluationTests
{
[Test]
public void Test()
{
// See the embedded file for details..
Evaluate("(load \"Evaluation\\load_test.mist\")");
... | 2.298061 | e55611b54b9fc004a832e3f1d9b51e57 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4808 | {
"extension": "c-sharp",
"max_stars_count": "3399.0",
"max_stars_repo_name": "cjstevenson/hotchocolate",
"max_stars_repo_path": "src/HotChocolate/Core/src/Abstractions/Execution/IQueryRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4809"
} | starcoder | <filename>src/HotChocolate/Core/src/Abstractions/Execution/IQueryRequest.cs
using System;
using System.Collections.Generic;
using HotChocolate.Language;
#nullable enable
namespace HotChocolate.Execution
{
public interface IQueryRequest
{
IQuery? Query { get; }
string? QueryId { get; }
... | 1.528377 | 6d5b2dfce9c71cfc6fd53e93b9390836 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4809 | {
"extension": "c-sharp",
"max_stars_count": "498.0",
"max_stars_repo_name": "D31m05z/VelcroPhysics",
"max_stars_repo_path": "src/VelcroPhysics/Dynamics/FixtureProxy.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4810"
} | starcoder | using Genbox.VelcroPhysics.Collision.Broadphase;
using Genbox.VelcroPhysics.Shared;
namespace Genbox.VelcroPhysics.Dynamics
{
/// <summary>This proxy is used internally to connect fixtures to the broad-phase.</summary>
public struct FixtureProxy
{
public AABB AABB;
public int Child... | 1.602953 | db2751cc220b99b79debe2064e4c7286 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4810 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "developitkris/bandTracker",
"max_stars_repo_path": "BandTracker/Controllers/VenueController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4811"
} | starcoder | <filename>BandTracker/Controllers/VenueController.cs
using System;
using System.Collections.Generic;
using Microsoft.AspNetCore.Mvc;
using BandTracker.Models;
namespace BandTracker.Controllers
{
public class VenueController : Controller
{
[HttpGet("/view-add-venue")]
public ActionResult AddVenue()... | 2.651842 | a1e93fe0dd2571341e34135d48fcb319 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4811 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Microsoft/enterprise-library-common-infrastructure",
"max_stars_repo_path": "source/Src/Configuration/Design/DesignTimeReadOnly.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4812"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
namespace Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Design
{
... | 2.72664 | 063b886d4c1b230642506706833b9418 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4812 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lordvlads77/Fighting-Game",
"max_stars_repo_path": "Assets/JMO Assets/Cartoon FX Remaster/CFXR Assets/Scripts/CFXR_Effect.CameraShake.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4813"
} | starcoder | <gh_stars>0
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Rendering;
#if UNITY_EDITOR
using UnityEditor;
#endif
namespace CartoonFX
{
public partial class CFXR_Effect : MonoBehaviour
{
[System.Serializable]
public class CameraShake
{
public enum ShakeSpace
{
Screen,
Worl... | 1.733948 | bc83b3ed7cc6eb31e9653f9020a3249d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4813 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "quocbaouit/PrintingManagerment",
"max_stars_repo_path": "Printing.Data/Infrastructure/UnitOfWork.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4814"
} | starcoder | <filename>Printing.Data/Infrastructure/UnitOfWork.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PrintingManager.Data.Infrastructure
{
public class UnitOfWork : IUnitOfWork
{
private readonly IDbFactory dbFactory;
... | 2.561496 | 4320884eb46961a4874460217996080d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4814 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SamLino/Reportr",
"max_stars_repo_path": "src/Reportr.Registration/RegisteredReportGenerator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4815"
} | starcoder | <gh_stars>0
namespace Reportr.Registration
{
using Nito.AsyncEx.Synchronous;
using Reportr.Data.Querying;
using Reportr.Filtering;
using Reportr.Registration.Authorization;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Thre... | 1.738132 | 2a00e9aebb3a4fcad62fc09ae01fce0c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4815 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "khoale/CodeSmell",
"max_stars_repo_path": "src/CodeSmell.Testing/Test/SampleBLLTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4816"
} | starcoder | namespace CodeSmell.Testing.Test
{
using CodeSmell.Testing.NonSingleResponsibility;
using Moq;
using Xunit;
public class SampleBLLTest
{
[Fact]
public void DoSomething()
{
var sampleEntity = new SampleEntity();
var mocking = new Mock<ISampleDAL>()... | 2.025178 | a2a22d130ec4f4b703e898028b75076b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4816 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Hermer29/extended-pointer-input",
"max_stars_repo_path": "sources/PointerPositions/PointerPositions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4817"
} | starcoder | <filename>sources/PointerPositions/PointerPositions.cs
using Rubicks.Extensions;
using Rubicks.Extensions.Disposing;
using System;
using System.Collections.Generic;
using UnityEngine;
namespace Rubicks.ExtendedPointerInput
{
[RequireComponent(typeof(HoldPullSensor))]
public abstract class PointerPositions : M... | 2.539576 | ccbd1c3402d4d901c60b46267ad43ea3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4817 | {
"extension": "c-sharp",
"max_stars_count": "17318.0",
"max_stars_repo_name": "woozhijun/cat",
"max_stars_repo_path": "lib/csharp/test/CatClientTest/PerfCounterReaderTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4818"
} | starcoder | <filename>lib/csharp/test/CatClientTest/PerfCounterReaderTest.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Org.Unidal.Cat.Message.Spi.Internals;
namespace CatClientTest
{
public class PerfCounterReaderTest
{
public static void Test()
{
... | 1.682398 | a5ad7bb38fb6a33732e8a790c16a9737 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4818 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "megafetis/MediatR.RequestAuthorization",
"max_stars_repo_path": "MediatR.RequestAuthorization/IUserContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4819"
} | starcoder | using System;
using System.Collections.Generic;
using System.Security.Claims;
using System.Text;
namespace MediatR.RequestAuthorization
{
public interface IUserContext
{
/// <summary>
/// Access to user principal
/// </summary>
ClaimsPrincipal User { get; }
/// <summar... | 2.58868 | 16a923ed344b0d91862de101454e1da7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4819 | {
"extension": "c-sharp",
"max_stars_count": "481.0",
"max_stars_repo_name": "yangchongyuan/NewLife.Cube",
"max_stars_repo_path": "NewLife.Cube.Metronic/Views/Metronic3/_List_Data_Item.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:4820"
} | starcoder | @using NewLife;
@using Microsoft.AspNetCore.Routing
@using XCode;
@using XCode.Configuration;
@{
var pair = (ValueTuple<IEntity, DataField>)Model;
var entity = pair.Item1;
var item = pair.Item2;
var factory = entity.GetType().AsFactory();
var value = entity[item.Name];
var provider = ManagePro... | 2.388729 | 90072f292c0540222ba06064e68a7576 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4820 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "cg-h4voK/db-nostalgia-csharp",
"max_stars_repo_path": "DBNostalgia.Test/Shared.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4821"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
namespace DBNostalgia.Test
{
public static class Shared
{
public static string ConnectionString => Configurati... | 2.157397 | 003175b755109d4aa6633e02269fa622 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4821 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "weyert/Hangfire.Atoms",
"max_stars_repo_path": "tests/Hangfire.Atoms.Tests.Web/TestSuite.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4822"
} | starcoder | <filename>tests/Hangfire.Atoms.Tests.Web/TestSuite.cs
using System;
using System.Threading;
using System.Threading.Tasks;
namespace Hangfire.Atoms.Tests.Web
{
public static class TestSuite
{
public static void AtomTest()
{
var client = new BackgroundJobClient(JobStorage.Current);
... | 2.721592 | 39a452e7a32bdd70f1cebf82e8361966 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4822 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "CaptainCow95/Database",
"max_stars_repo_path": "DatabaseConsole/CommandParser.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4823"
} | starcoder | <reponame>CaptainCow95/Database
using System;
using System.Collections.Generic;
namespace Database.Console
{
/// <summary>
/// Helps in parsing and executing commands.
/// </summary>
public class CommandParser
{
/// <summary>
/// A list of the valid commands.
/// </summary>... | 3.507786 | 757cc7b9c24b7de9d0046d3e52489dbd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4823 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tinoji/Roslynator",
"max_stars_repo_path": "src/CSharp/CSharp/SyntaxInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4824"
} | starcoder | <filename>src/CSharp/CSharp/SyntaxInfo.cs<gh_stars>1-10
// Copyright (c) <NAME>. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Ros... | 2.391422 | c64f1abee690afd9c6d1800a38caab3c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4824 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "towhidulmannanuae/frapid",
"max_stars_repo_path": "src/Frapid.Web/Areas/Frapid.WebsiteBuilder/DTO/Contact.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4825"
} | starcoder | using System;
using Frapid.DataAccess;
using Frapid.Mapper.Decorators;
namespace Frapid.WebsiteBuilder.DTO
{
[TableName("website.contacts")]
[PrimaryKey("contact_id", AutoIncrement = true)]
public sealed class Contact : IPoco
{
public int ContactId { get; set; }
public string Title { ge... | 1.832396 | d810ed5e01eb2226a50881687d04d13e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4825 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bendetat/chvart",
"max_stars_repo_path": "src/Giger/Filters/ColorMatrixFilterEffect.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4826"
} | starcoder | using System.Xml;
using Giger.Plumbing;
namespace Giger.Filters
{
public class ColorMatrixFilterEffect : FilterEffect<ColorMatrixFilterEffect>
{
public ColorMatrixFilterEffect(double[] matrix, string filterInput, string resultName)
: base(filterInput, resultName)
{
SetAt... | 2.398306 | 1174b5c0e036d73159ab2b5a0c4dc0ec |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4826 | {
"extension": "c-sharp",
"max_stars_count": "96.0",
"max_stars_repo_name": "barrychampion/Quicksilver-Promotions",
"max_stars_repo_path": "Sources/EPiServer.Reference.Commerce.Site/Features/Cart/Controllers/CartController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4827"
} | starcoder | using EPiServer.Commerce.Order;
using EPiServer.Reference.Commerce.Site.Features.Cart.Services;
using EPiServer.Reference.Commerce.Site.Features.Cart.ViewModelFactories;
using EPiServer.Reference.Commerce.Site.Features.Cart.ViewModels;
using EPiServer.Reference.Commerce.Site.Features.Recommendations.Services;
using EPi... | 1.944854 | fa28acf983c077c6d08d51424e1e50c0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4827 | {
"extension": "c-sharp",
"max_stars_count": "183.0",
"max_stars_repo_name": "Hitsounds/ShokoServer",
"max_stars_repo_path": "Shoko.Server/Commands/QueueStateEventArgs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4828"
} | starcoder | <reponame>Hitsounds/ShokoServer<filename>Shoko.Server/Commands/QueueStateEventArgs.cs
using System;
using Shoko.Commons.Queue;
namespace Shoko.Server.Commands
{
public class QueueStateEventArgs : EventArgs
{
public readonly QueueStateStruct QueueState;
public QueueStateEventArgs(QueueStateStr... | 1.705524 | 521b3b6ef1f1385797f7fd6f7792f74c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4828 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "belav/AspNetWebStack",
"max_stars_repo_path": "src/Microsoft.Web.Mvc/ReaderWriterCache.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4829"
} | starcoder | <filename>src/Microsoft.Web.Mvc/ReaderWriterCache.cs
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using Syste... | 2.730055 | 432e5b113c83fbe023ba4cf0e2b89b91 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4829 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "fate4gle/MirrorLabs",
"max_stars_repo_path": "Networking/Mirror-Networking_encrypted MP/Assets/Mirror/Editor/Weaver/Processors/SyncEventProcessor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4830"
} | starcoder | <gh_stars>1-10
// all the SyncEvent code from NetworkBehaviourProcessor in one place
using System.Collections.Generic;
using Mono.CecilX;
using Mono.CecilX.Cil;
namespace Mirror.Weaver
{
public static class SyncEventProcessor
{
public static MethodDefinition ProcessEventInvoke(TypeDefinition td, EventD... | 2.108466 | 0ecc6a485600112a4ef20da6260dfdf5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4830 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PaulMonnier75/AkkaPOC",
"max_stars_repo_path": "Core/Actors/LightActor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4831"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using Akka.Actor;
using Core.Models;
namespace Core.Actors
{
public class LightActor : ReceiveActor
{
public LightActor()
{
Receive<ChangeLightStatusCommand>(command => HandleChangeLightStatusCommand(command));
... | 2.652278 | de59e16aca187366cf69b6609275801d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4831 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ben-gibbons-github/DuelBots",
"max_stars_repo_path": "Code/Menu/MenuManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4832"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Graphics;
namespace DuelBots
{
public class MenuManager
{
public static List<MenuBasic> Curren... | 1.982594 | 032e468aff1b4b5f0e268186046afc25 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4832 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "inMobile/inMobile-.NET-API-Client",
"max_stars_repo_path": "InMobile.Sms.ApiClient/Json/InMobileJsonSerializerSettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4833"
} | starcoder | using Newtonsoft.Json;
namespace InMobile.Sms.ApiClient
{
/// <summary>
/// Serializer created by https://gist.github.com/alexeyzimarev
/// Repo: https://gist.github.com/alexeyzimarev/c00b79c11c8cce6f6208454f7933ad24
/// </summary>
public class InMobileJsonSerializerSettings : JsonSerializerSettin... | 2.298612 | 566026313afa1a631387f8bf0840c50d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4833 | {
"extension": "c-sharp",
"max_stars_count": "30.0",
"max_stars_repo_name": "devoyster/IntXLib",
"max_stars_repo_path": "IntXLib/Multipliers/MultiplyManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4834"
} | starcoder | <reponame>devoyster/IntXLib
using System;
namespace IntXLib
{
/// <summary>
/// Used to retrieve needed multiplier.
/// </summary>
static internal class MultiplyManager
{
#region Fields
/// <summary>
/// Classic multiplier instance.
/// </summary>
static readonly public IMultiplier Classi... | 2.389029 | 8c0a7bb6f2d35f6dbe60cfe8265d3267 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4834 | {
"extension": "c-sharp",
"max_stars_count": "119.0",
"max_stars_repo_name": "DeneshPohar/Seq2SeqSharp",
"max_stars_repo_path": "TensorSharp.CUDA/ApplyUtils.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4835"
} | starcoder | <gh_stars>100-1000
using ManagedCuda;
using ManagedCuda.BasicTypes;
using ManagedCuda.VectorTypes;
using System;
using System.Linq;
namespace TensorSharp.CUDA
{
public struct TensorInfo
{
public long[] sizes;
public long[] strides;
public CUdeviceptr buffer;
}
public static cl... | 2.691534 | 5331aa3e11d63dc0f31e10ba91e8005c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4835 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "PrimePenguin/PrimePenguin.StarwebSharp",
"max_stars_repo_path": "StarwebSharp/Entities/ProductCategoryLanguagesModelCollection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4836"
} | starcoder | <reponame>PrimePenguin/PrimePenguin.StarwebSharp
using System.Collections.Generic;
using System.Collections.ObjectModel;
using Newtonsoft.Json;
namespace StarwebSharp.Entities
{
public class ProductCategoryLanguagesModelCollection
{
/// <summary>A collection of category languages</summary>
[Jso... | 2.02395 | 4c277b9be8ada4e18f042cbf04e72afd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4836 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gundersondev/Sertifi",
"max_stars_repo_path": "Sertifi/Application/APIClient.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4837"
} | starcoder | <reponame>gundersondev/Sertifi
using System;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Collections.Generic;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Sertifi.Models;
namespace Sertifi.Application
{
public class APIClient : IDisposable
... | 2.895355 | f636d0069f05560ae8a752123aa369b6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.