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 | 4937 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ZeroX-V/HandyControl",
"max_stars_repo_path": "HandyControlDemo/UserControl/Styles/ListBoxDemoCtl.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4938"
} | starcoder | // ReSharper disable once CheckNamespace
namespace HandyControlDemo.UserControl
{
public partial class ListBoxDemoCtl
{
public ListBoxDemoCtl()
{
InitializeComponent();
}
}
}
| 1.459139 | 6a894a34f8ad7086281c9212f385f802 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4938 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Pisc0/CoDN",
"max_stars_repo_path": "CoDN/Assets/Scripts/Game/UI/CompileButtons/PlayButton.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4939"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
//Clase encargada de comenzar la simulación del código
public class PlayButton : MonoBehaviour
{
[SerializeField] private CodeObject code;
[SerializeField] private GameHandler gameHandler;
private TaskSyst... | 2.426228 | b9c212ced3a1af5fa3d26356378e6078 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4939 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nikneem/CQRSDemo",
"max_stars_repo_path": "HexMaster.Transactions.AspNetCore/DataTransferObjects/CreateTransactionDto.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4940"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace HexMaster.Transactions.AspNetCore.DataTransferObjects
{
public sealed class CreateTransactionDto
{
public string FromAccountNumber { get; set; }
public string FromAccountHold... | 1.490633 | 7f4e3d90e5abe42cc92c2dafb21e5e24 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4940 | {
"extension": "c-sharp",
"max_stars_count": "90.0",
"max_stars_repo_name": "Testato/VirtualRouter",
"max_stars_repo_path": "Source/VirtualRouterClient/DeviceIcon/DeviceIconEnum.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4941"
} | starcoder | /*
* Virtual Router v1.0 - http://virtualrouter.codeplex.com
* Wifi Hot Spot for Windows 8, 7 and 2008 R2
* Copyright (c) 2013 <NAME> (http://pietschsoft.com)
* Licensed under the Microsoft Public License (Ms-PL)
* http://virtualrouter.codeplex.com/license
*/
using System;
using System.ComponentModel;
nam... | 2.602573 | d9a406580b6cf8d3194c2b5bc8a3e556 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4941 | {
"extension": "c-sharp",
"max_stars_count": "269.0",
"max_stars_repo_name": "raver99/SFTreeView_Binding_Issue",
"max_stars_repo_path": "iOS/SampleBrowser/Samples/ImageEditor/ImageEditorCustomization.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4942"
} | starcoder | #region Copyright Syncfusion Inc. 2001-2021.
// Copyright Syncfusion Inc. 2001-2021. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// <EMAIL>. Any infringement will be prosecuted under
// applicable laws.
#endr... | 1.804139 | ebe01467cc57d318f6ef154a724902f6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4942 | {
"extension": "c-sharp",
"max_stars_count": "3215.0",
"max_stars_repo_name": "jamiehankins/docfx",
"max_stars_repo_path": "src/Microsoft.DocAsCode.Build.ResourceFiles/ResourceDocumentProcessor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4943"
} | starcoder | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.DocAsCode.Build.ResourceFiles
{
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Composition;
... | 1.757344 | a80277ba3cabfcc46593635bbeb8b18f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4943 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "CarlCochet/Symbioz",
"max_stars_repo_path": "Symbioz.Protocol/Messages/Messages/game/context/roleplay/party/companion/PartyCompanionUpdateLightMessage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4944"
} | starcoder | <reponame>CarlCochet/Symbioz
// Generated on 06/04/2015 18:44:38
using System;
using System.Collections.Generic;
using System.Linq;
using Symbioz.DofusProtocol.Types;
using Symbioz.Utils;
namespace Symbioz.DofusProtocol.Messages
{
public class PartyCompanionUpdateLightMessage : PartyUpdateLightMess... | 2.090973 | 6f4f4126e84182566b7c6f6d9c259f16 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4944 | {
"extension": "c-sharp",
"max_stars_count": "56.0",
"max_stars_repo_name": "LwServices/nanoFramework.IoT.Device",
"max_stars_repo_path": "devices/Bh1750fvi/samples/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4945"
} | starcoder | <filename>devices/Bh1750fvi/samples/Program.cs
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Device.I2c;
using System.Diagnostics;
using System.Threading;
using Iot.Device.Bh1750fvi;
/////////////////... | 2.308825 | 371de7e755368c187fcab786b51732f8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4945 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nikistoianov/CSharp-Fundamentals-Homeworks",
"max_stars_repo_path": "CSharp-OOP-Advanced/UnitTesting/10.TirePressureMonitoringSystem/ISensor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4946"
} | starcoder | <filename>CSharp-OOP-Advanced/UnitTesting/10.TirePressureMonitoringSystem/ISensor.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
namespace _10.TirePressureMonitoringSystem
{
public interface ISensor
{
double PopNextPressurePsiValue();
}
}
| 2.029623 | 53275356d3fd654e6aad634ec1fa5c25 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4946 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ibebbs/JsonKnownTypes",
"max_stars_repo_path": "src/JsonKnownTypes/JsonDiscriminatorAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4947"
} | starcoder | using System;
namespace JsonKnownTypes
{
/// <summary>
/// Manage discriminator settings
/// </summary>
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface)]
public class JsonDiscriminatorAttribute : Attribute
{
/// <summary>
/// Discriminator field name in json... | 2.751301 | d34107584966387972a1066549f4c487 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4947 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Aevitas/bluerain",
"max_stars_repo_path": "src/BlueRain/NativeMemory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4948"
} | starcoder | <gh_stars>0
// Copyright (C) 2013-2022 aevitas
// See the file LICENSE for copying permission.
using System;
using System.Diagnostics;
using System.Diagnostics.Contracts;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
us... | 2.367965 | fe718159b93acba3766b0ebaada2f0fc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4948 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "ackhack/osu",
"max_stars_repo_path": "osu.Game/Online/Chat/MessageFormatter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4949"
} | starcoder | // Copyright (c) ppy <NAME> <<EMAIL>>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
#nullable enable
namespace osu.Game.Online.Chat
{
publ... | 2.426162 | b3c24362759833e4ff27b66e18733f5d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4949 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "bartoszkp/dotrl",
"max_stars_repo_path": "Application/ExperimentTemplates/BatchExperimentTemplate.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4950"
} | starcoder | using System.Collections.Generic;
using System.Linq;
namespace Application.ExperimentTemplates
{
public class BatchExperimentTemplate
{
public static BatchExperimentTemplate Create(BatchMode batchMode)
{
return new BatchExperimentTemplate()
{
... | 2.817264 | e011ba9f7f4d1efd003ddb5ef483ef4b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4950 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EvilMindz/mongo-csharp-driver",
"max_stars_repo_path": "MongoDB.Driver/Communication/Security/X509AuthenticationProtocol.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4951"
} | starcoder | /* Copyright 2010-2014 MongoDB 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writi... | 2.010012 | 23b664b58da596b820caca33708632a5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4951 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dalinui/TizenFX",
"max_stars_repo_path": "src/Tizen.NUI/src/internal/Interop/Interop.Ruler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4952"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Text;
namespace Tizen.NUI
{
internal static partial class Interop
{
internal static partial class Ruler
{
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Rule... | 1.721789 | e9ae732c18deb04403a28844b7031916 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4952 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "end1220/BehaviourTree",
"max_stars_repo_path": "Assets/BehaviourTree/BehaviourTree/Core/BevClasses.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4953"
} | starcoder | <gh_stars>1-10
using System.Collections.Generic;
namespace BevTree
{
using NodeStack = Stack<BehaviourNode>;
public interface IAgent
{
}
/// <summary>
/// Runtime context data shared among different behavior trees
/// </summary>
public class Context
{
public IAgent _agent;
public IAgent agent { g... | 2.328933 | 4f766048015de677a7aedbeb7154a86d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4953 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JTOne123/DgraphNet",
"max_stars_repo_path": "Tests/DgraphNet.Client.NetCore.Tests/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4954"
} | starcoder | <reponame>JTOne123/DgraphNet
using NUnitLite;
using System.Reflection;
namespace CK.StObj.Engine.Tests.NetCore
{
public static class Program
{
public static int Main(string[] args)
{
return new AutoRun(Assembly.GetEntryAssembly()).Execute(args);
}
}
}
| 1.127281 | d871f3b10ebfaca75cb3dac18caa17a1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4954 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "snowsylar/waterwheel-frontend",
"max_stars_repo_path": "Xky.Core/UserControl/Lib/BooleanToVisibility.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4955"
} | starcoder | using System;
using System.Globalization;
using System.Windows;
using System.Windows.Data;
using System.Windows.Markup;
namespace Xky.Core.UserControl.Lib
{
public class BooleanToVisibility : MarkupExtension, IValueConverter
{
public object Convert(object value, Type targetType, object parameter, Cult... | 2.354997 | a9cfd1129b80cf4e4ba81e220d7ae305 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4955 | {
"extension": "c-sharp",
"max_stars_count": "35.0",
"max_stars_repo_name": "egges/csharpgames",
"max_stars_repo_path": "Code and Assets/21_FinishingGame/Engine/IGameLoopObject.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4956"
} | starcoder | <filename>Code and Assets/21_FinishingGame/Engine/IGameLoopObject.cs
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace Engine
{
public interface IGameLoopObject
{
void HandleInput(InputHelper inputHelper);
void Update(GameTime gameTime);
void Draw(GameT... | 2.141115 | 07b98975c8425f103983e4d817e06d0c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4956 | {
"extension": "c-sharp",
"max_stars_count": "24.0",
"max_stars_repo_name": "colawwj/AI-Video-Intelligence-Solution-Accelerator",
"max_stars_repo_path": "edge-device/AIVideoEdgeDevice/EdgeDevice/modules/VideoProcessorModule/IProcessImage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4957"
} | starcoder | <filename>edge-device/AIVideoEdgeDevice/EdgeDevice/modules/VideoProcessorModule/IProcessImage.cs<gh_stars>10-100
using Google.Protobuf;
using System;
using System.Collections.Generic;
using System.Text;
namespace VideoProcessorModule
{
/// <summary>
/// ImageFeature defines a feature that ML recognized
/... | 2.457197 | f09735b79c759a5ff9bf5ea0eb15f2a3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4957 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "niklaslundberg/Arbor.App.Extensions",
"max_stars_repo_path": "src/Arbor.App.Extensions/Messaging/IQuery.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4958"
} | starcoder | <reponame>niklaslundberg/Arbor.App.Extensions
using MediatR;
namespace Arbor.App.Extensions.Messaging
{
public interface IQuery<out T> : IRequest<T> where T : IQueryResult
{
}
} | 1.136959 | e95fa5b5b411e60c6f667d8552308576 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4958 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "undersoft-org/NET.Undersoft.Dors",
"max_stars_repo_path": "Undersoft.Doors.Fwk/Data/Structures/Space/Trellises/DataTrellis.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4959"
} | starcoder | using System;
using System.IO;
using System.Linq;
using System.Collections;
using System.ComponentModel;
using System.Collections.Generic;
using System.Collections.Concurrent;
using System.Runtime.InteropServices;
using System.Doors;
using System.Doors.Drive;
namespace System.Doors.Data
{
[JsonObject]
[Serial... | 1.494302 | 5bb653f2813641dc85faad7a9e784494 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4959 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zeppu/shipbot",
"max_stars_repo_path": "src/Shipbot.ArgoSupport/Workflows/Model/ArgoWorkflowTemplateList.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4960"
} | starcoder | /*
* Argo
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: v2.4.0
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotati... | 1.891042 | bdd7193f134f2f8d208e4439d9b48488 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4960 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "CodeForCSharp/iV2ex",
"max_stars_repo_path": "iV2EX/Views/PeopleNotificationView.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4961"
} | starcoder | using System;
using System.Linq;
using System.Reactive.Linq;
using Windows.UI.Xaml.Controls;
using iV2EX.GetData;
using iV2EX.Model;
using iV2EX.TupleModel;
using iV2EX.Util;
using AngleSharp.Html.Parser;
using System.Collections.Generic;
namespace iV2EX.Views
{
public partial class PeopleNotificationView
{
... | 2.038032 | 30edac8d0178be21a1c11b0f60223d07 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4961 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "octavian-h/npanday",
"max_stars_repo_path": "dotnet/assemblies/NPanday.Artifact/src/main/csharp/ArtifactContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4962"
} | starcoder | #region Apache License, Version 2.0
//
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, ... | 2.055035 | b36a08a773b7bb3af51d5db61a336f52 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4962 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SkillsFundingAgency/DC-ESF",
"max_stars_repo_path": "src/ESFA.DC.ESF.ValidationService/Commands/BusinessRules/ReferenceTypeRule01.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4963"
} | starcoder | using System.Collections.Generic;
using ESFA.DC.ESF.Interfaces.Validation;
using ESFA.DC.ESF.Models;
namespace ESFA.DC.ESF.ValidationService.Commands.BusinessRules
{
public class ReferenceTypeRule01 : IBusinessRuleValidator
{
private List<string> _validReferenceTypes = new List<string>
{
... | 2.105752 | e79e12fe315a22110396dbf59f9e9583 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4963 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dimaswift/Decal2D",
"max_stars_repo_path": "Editor/BrushSetEditor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4964"
} | starcoder | using UnityEngine;
using System.Collections;
using UnityEditor;
using HandyUtilities;
using System.Collections.Generic;
namespace Decal2D
{
public abstract class BrushSetEditor<T> : ReordableList<IBrushBinding> where T : IBrushBinding
{
public abstract BrushSet<T> brushSet { get; }
protected ... | 2.222822 | 9a48d26aff0cae57d09ee6f28b9192f9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4964 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "maxwmaher/ordercloud-dotnet-catalyst",
"max_stars_repo_path": "library/OrderCloud.Catalyst/Startup/CatalystConfigureWebApiServices.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4965"
} | starcoder | <filename>library/OrderCloud.Catalyst/Startup/CatalystConfigureWebApiServices.cs
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.DependencyInjection;
using Newtonsoft.Json.Converters;
using System;
namespace OrderCloud.Catalyst
{
public static class CatalystConfigureWebApiServices
{
public static IServi... | 2.248686 | d70f413e8efbdc4a5ab7c490d36f15c6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4965 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "loremipsumdonec/remote-photographer",
"max_stars_repo_path": "src/RemotePhotographer/Features/Gphoto2/Queries/GetApertureHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4966"
} | starcoder | <gh_stars>0
using System.Runtime.InteropServices;
using Boilerplate.Features.Core;
using Boilerplate.Features.Core.Queries;
using RemotePhotographer.Features.Gphoto2.Services;
using RemotePhotographer.Features.Gphoto2.Services.Interop;
using RemotePhotographer.Features.Photographer.Models;
using RemotePhotographer.Feat... | 2.104648 | b2470f3fe6c807c3ecb7f9ef49f925ed |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4966 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alexcu/super-ie",
"max_stars_repo_path": "src/World.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4967"
} | starcoder | using SplashKitSDK;
using System.Collections.Generic;
///
/// The world encapsulates all data that exists for interaction between
/// different sprites.
///
class World : IRenderable
{
// Declare the player and target. Target is set to null until such conditions
// are satisified such that it should be created.
... | 3.167162 | 47c68533bafc27d25ecda33b2cf66e7b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4967 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LongoMatch/couchbase-lite-net",
"max_stars_repo_path": "src/Couchbase.Lite.Shared/Replication/Batcher.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4968"
} | starcoder | //
// Batcher.cs
//
// Author:
// <NAME> <<EMAIL>>
//
// Copyright (c) 2014 Xamarin Inc
// Copyright (c) 2014 .NET Foundation
//
// 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 withou... | 2.077348 | 01ead0d7d49f85a80986e841e1e1e0c2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4968 | {
"extension": "c-sharp",
"max_stars_count": "131.0",
"max_stars_repo_name": "Grom-Li/WindowsProtocolTestSuites",
"max_stars_repo_path": "TestSuites/ADFamily/src/TestSuite/MS-NRPC/BVT_Test_MaintainSecureChannel_NetrServerPasswordSet.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4969"
} | starcoder | <reponame>Grom-Li/WindowsProtocolTestSuites<gh_stars>100-1000
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.Protocols.TestSuites.ActiveDirectory.Nrpc
{
using System;
using System.Collect... | 1.732335 | 5c949a3edf601b6b41747e995f438fb3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4969 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GuoQqizz/SmartChinese",
"max_stars_repo_path": "AbhsChinese.Admin/Views/ResourceGroup/SubjectView.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:4970"
} | starcoder | <reponame>GuoQqizz/SmartChinese
@using AbhsChinese.Code.Common
@using AbhsChinese.Domain.Enum
@using AbhsChinese.Admin.Models.Resource
@model ResourceIdAndType
@{
ViewBag.Title = "SubjectView";
Layout = "~/Views/Shared/_Forms.cshtml";
}
@section Styles {
<style>
.ibox-content {
borde... | 1.938079 | abef756e736503b3376ef8b355fa64a5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4970 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "andriybuday/hakaton-wp7-mobile",
"max_stars_repo_path": "SS-Mobile-One/WCEmergency/WCEmergency/Navigation/BackchainingManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4971"
} | starcoder | using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Navigation;
using System.Windows.Shapes;
using Mic... | 2.202671 | f44568dd431b714e7d94fbbf1586e5f5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4971 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "linolino/RestauranteOn",
"max_stars_repo_path": "Repositories/GestaoCookies.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4972"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Services;
namespace RestauranteOnline.Repositórios
{
public class GestaoCookies
{
public static bool ApagarCookie()
{
var usuario = HttpContext.Current.Request.Cookies["CookieUsua... | 2.569722 | c9f112a6bed67d1df5e56d766314202c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4972 | {
"extension": "c-sharp",
"max_stars_count": "116.0",
"max_stars_repo_name": "renu5682/Module-Zero",
"max_stars_repo_path": "sample/ModuleZeroSampleProject.Application/Questions/Dto/VoteChangeOutput.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4973"
} | starcoder | namespace ModuleZeroSampleProject.Questions.Dto
{
public class VoteChangeOutput
{
public int VoteCount { get; set; }
public VoteChangeOutput()
{
}
public VoteChangeOutput(int voteCount)
{
VoteCount = voteCount;
}
}
} | 2.054245 | ce68c2970c7236597934175c5ebb138e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4973 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "frankycrm14/azure-sdk-for-net",
"max_stars_repo_path": "src/SDKs/Media/Management.Media/Generated/Models/CbcsDrmConfiguration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4974"
} | starcoder | // <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// re... | 1.974989 | cf27fff06947542ba11ece6698773772 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4974 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "zbecknell/azure-sdk-for-net",
"max_stars_repo_path": "sdk/eventhub/Azure.Management.EventHub/tests/EventHubManagementTestEnvironment.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4975"
} | starcoder | <gh_stars>1-10
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using Azure.Core.TestFramework;
namespace Azure.Management.EventHub.Tests
{
public class EventHubManagementTestEnvironment : TestEnvironment
{
public EventHubManagementTestEnvironment() : bas... | 0.845621 | 8c41ff2fc88e2c190c2b2ca10f2a4da9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4975 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "aneoconsulting/ArmoniK.Samples",
"max_stars_repo_path": "Samples/HtcMockSymphony/ArmoniK.Samples.HtcMockSymphonyPackage/ServiceContainer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4976"
} | starcoder | <filename>Samples/HtcMockSymphony/ArmoniK.Samples.HtcMockSymphonyPackage/ServiceContainer.cs
// This file is part of the ArmoniK project
//
// Copyright (C) ANEO, 2021-2022.
// <NAME> <<EMAIL>>
// <NAME> <<EMAIL>>
// <NAME> <<EMAIL>>
// <NAME> <<EMAIL>>
// <NAME> <<EMAIL>>
// <NA... | 1.813977 | 2cee894a4aec9d520c0fbbb0093c9c23 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4976 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rdnlsmith/iPhotoExtractor",
"max_stars_repo_path": "src/Commands/PreviewCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4977"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Microsoft.Extensions.CommandLineUtils;
namespace iPhotoExtractor.Commands
{
public class PreviewCommand : ICommand
{
private const char TEE = '\u251c';
private const char ELBOW = '\u2514';
... | 2.6079 | 5b4e13d7452555623f3c43ba940df0c0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4977 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SNBnani/NLog",
"max_stars_repo_path": "tests/NLog.UnitTests/Targets/NetworkTargetTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4978"
} | starcoder | <gh_stars>1-10
//
// Copyright (c) 2004-2011 <NAME> <<EMAIL>>
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
//
// * Redistributions of source code must retain the above copyright... | 2.011682 | 1032a418dedde06110da94dd484428b2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4978 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "belav/runtime",
"max_stars_repo_path": "src/libraries/System.Reflection.MetadataLoadContext/tests/src/Tests/Type/TypeTests.GetInterface.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4979"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Xunit;
namespace System.Reflection.Tests
{
public static class TypeTests_GetInterface
{
[Fact]
public static void Test_GetInterface_NoMatchReturnsNull(... | 2.291722 | 9cd875950501a303e0542378e5d16d12 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4979 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Mouaijin/PPDownload",
"max_stars_repo_path": "PPDownload.Tests/LibraryScraperTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4980"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using PPDownload.Models;
using PPDownload.Scraping;
using Xunit;
namespace PPDownload.Tests
{
public class LibraryScraperTests
{
[Fact]
public async void News39SearchTest()
{
LibraryScraper lib = new LibraryS... | 2.548411 | 3b0a757b44474692ce0918b3ea4cef98 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4980 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "raegu14/True-Love-s-Kiss",
"max_stars_repo_path": "Assets/Scripts/Enemies/ProjectileEnemy.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4981"
} | starcoder | <reponame>raegu14/True-Love-s-Kiss
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ProjectileEnemy : Enemy {
private Vector3 direction; //left is true, right is false
private float fireCoolDown; //time between shooting projectiles
private float fir... | 2.291965 | ba1b7306e59267068c9a532c7ec58e3d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4981 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ChanyaVRC/OscCore",
"max_stars_repo_path": "src/BuildSoft.OscCore/UnityObjects/Vector2.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4982"
} | starcoder | <filename>src/BuildSoft.OscCore/UnityObjects/Vector2.cs
namespace BuildSoft.OscCore.UnityObjects;
public struct Vector2
{
public float x;
public float y;
public Vector2(float x, float y) => (this.x, this.y) = (x, y);
public override int GetHashCode() => x.GetHashCode() ^ (y.GetHashCode() << 2);
p... | 3.228689 | 0784cc68badf3b9ed29451cf701dec84 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4982 | {
"extension": "c-sharp",
"max_stars_count": "474.0",
"max_stars_repo_name": "boxstack/google-cloud-dotnet",
"max_stars_repo_path": "apis/Google.Cloud.Memcache.V1Beta2/Google.Cloud.Memcache.V1Beta2/CloudMemcacheClient.g.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4983"
} | starcoder | <reponame>boxstack/google-cloud-dotnet<filename>apis/Google.Cloud.Memcache.V1Beta2/Google.Cloud.Memcache.V1Beta2/CloudMemcacheClient.g.cs
// Copyright 2021 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 obta... | 1.452078 | 01dd8d026f82c82db52e534835b62165 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4983 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VVoev/Telerik-Academy",
"max_stars_repo_path": "14.Design-Patterns/04. Structural-Design-Patterns/demos/StructuralsDP/4.Proxy/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4984"
} | starcoder | <reponame>VVoev/Telerik-Academy
using System;
namespace _4.Proxy
{
class Program
{
static void Main(string[] args)
{
IBankAccount account = new BankAccountProxy("BankAccount", "Interface");
DisplayBalance(account);
Deposit(50, account);
Withdraw... | 3.095464 | 79daa97e8dd142ff27f46a328e9f7855 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4984 | {
"extension": "c-sharp",
"max_stars_count": "3375.0",
"max_stars_repo_name": "nul800sebastiaan/Umbraco-CMS",
"max_stars_repo_path": "src/Umbraco.Infrastructure/Migrations/Expressions/Rename/Expressions/RenameTableExpression.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4985"
} | starcoder | namespace Umbraco.Cms.Infrastructure.Migrations.Expressions.Rename.Expressions
{
/// <summary>
/// Represents a Rename Table expression.
/// </summary>
public class RenameTableExpression : MigrationExpressionBase
{
public RenameTableExpression(IMigrationContext context)
: base(c... | 2.513389 | 923c987344b90910f6a2401888994593 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4985 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DAcKeyy/Mini-Tennis",
"max_stars_repo_path": "Assets/Plugins/Appodeal/Common/ConsentManager/IConsentInfoUpdateListener.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4986"
} | starcoder | using System.Diagnostics.CodeAnalysis;
namespace ConsentManager.Common
{
[SuppressMessage("ReSharper", "InconsistentNaming")]
[SuppressMessage("ReSharper", "UnusedMemberInSuper.Global")]
public interface IConsentInfoUpdateListener
{
void onConsentInfoUpdated(Consent consent);
void onFai... | 1.774097 | f9dbd1d409a9cb41a814966b56823507 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4986 | {
"extension": "c-sharp",
"max_stars_count": "110.0",
"max_stars_repo_name": "warriorone/DevCamp",
"max_stars_repo_path": "HOL/dotnet/06-appinsights/end/DevCamp.WebApp/Models/MailMessage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4987"
} | starcoder | <reponame>warriorone/DevCamp<filename>HOL/dotnet/06-appinsights/end/DevCamp.WebApp/Models/MailMessage.cs
using System;
using System.Collections.Generic;
namespace DevCamp.WebApp.Models
{
public class Body
{
public string contentType { get; set; }
public string content { get; set; }
}
public class EmailAddres... | 2.110868 | 8173489046478a4dce2f1e23576a0ef2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4987 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Cavcode/WOD_NWN",
"max_stars_repo_path": "WOD.Game.Server/Core/NWScript/Enum/Item/Property/ImmunityMisc.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4988"
} | starcoder | <reponame>Cavcode/WOD_NWN<filename>WOD.Game.Server/Core/NWScript/Enum/Item/Property/ImmunityMisc.cs
namespace WOD.Game.Server.Core.NWScript.Enum.Item.Property
{
public enum ImmunityMisc
{
Backstab = 0,
LevelAbilityDrain = 1,
Mindspells = 2,
Poison = 3,
Disease = 4,
... | 1.353391 | 24c5f5d694bf57de6f4f5f857fe6a395 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4988 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "echalone/winforms",
"max_stars_repo_path": "src/System.Windows.Forms.Primitives/tests/TestUtilities/Metafiles/EmfRecord.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4989"
} | starcoder | <gh_stars>0
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using static Interop;
namespace System.Windows.Forms.Metafiles
{
internal unsafe readonly ref stru... | 1.494487 | 16c272bbe361d49469febff730de999d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4989 | {
"extension": "c-sharp",
"max_stars_count": "129.0",
"max_stars_repo_name": "kiranvsr/KinderChat",
"max_stars_repo_path": "Android/Controls/CircleImageView.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4990"
} | starcoder | using System;
using Android.Widget;
using Android.Content;
using Android.Util;
using Android.Graphics.Drawables;
using Android.Runtime;
namespace KinderChat
{
public class CircleImageView : ImageView
{
public CircleImageView(Context context, IAttributeSet attrs)
: base(context, attrs)
{
}
public CircleI... | 2.29795 | ad5c14993d2cd2dbacefdfe976d3956f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4990 | {
"extension": "c-sharp",
"max_stars_count": "105.0",
"max_stars_repo_name": "govert/Triangle.NET",
"max_stars_repo_path": "Triangle.NET/Triangle.Rendering/Text/EpsImage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4991"
} | starcoder | <gh_stars>100-1000
// -----------------------------------------------------------------------
// <copyright file="EpsImage.cs" company="">
// <NAME>, Triangle.NET, http://triangle.codeplex.com/
// Original Matlab code by <NAME>, Florida State University
// </copyright>
// -----------------------------------------... | 2.746005 | dfcabe1474738e05e78b319992973f44 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4991 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "AkagitsuneYuki/CodBurglar",
"max_stars_repo_path": "Assets/MikeAssets/MikeScripts/Enemies/JoJo/MeleeCatAnimations.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4992"
} | starcoder | <reponame>AkagitsuneYuki/CodBurglar<gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MeleeCatAnimations : MonoBehaviour
{
[SerializeField] private MeleeCat meleeCatReference;
[SerializeField] private Animator anime;
// Start is called before the f... | 1.805535 | 42ceb06f1603ba66af80ea6d08f6e20c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4992 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "javenschuetz/Character",
"max_stars_repo_path": "Assets/WizardsCode/Character/Scripts/Actor/Behaviours/GenericBuildingAIBehaviour.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4993"
} | starcoder | <filename>Assets/WizardsCode/Character/Scripts/Actor/Behaviours/GenericBuildingAIBehaviour.cs
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using WizardsCode.Character;
using WizardsCode.Utility;
namespace WizardsCode.Character
{
/// <summary>
/// This generic AI build... | 2.762554 | 85f27ab52e2b00d2b9dacc8b043eda37 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4993 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Mattlk13/EntityFramework",
"max_stars_repo_path": "src/Microsoft.EntityFrameworkCore.Relational/Migrations/IMigrationsSqlGenerator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4994"
} | starcoder | <reponame>Mattlk13/EntityFramework
// 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.Collections.Generic;
using JetBrains.Annotations;
using Microsoft.EntityFrameworkCore.Metadata;
using Mi... | 1.373245 | c628f37f2f7a314085122538f405cd02 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4994 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Zammy/7DRL_2016",
"max_stars_repo_path": "Assets/UI/ButtonHoverEffect.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4995"
} | starcoder | using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class ButtonHoverEffect : MonoBehaviour
{
public Button Button;
public void OnPointerEnter()
{
this.Button.image.color = Button.colors.highlightedColor;
}
public void OnPointerExit()
{
this.Button.imag... | 1.854904 | a137a49b649e2f4c276c27f4a16cc860 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4995 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "seanofw/joy",
"max_stars_repo_path": "BetterControls/Scrollbar/ScrollbarClickKind.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4996"
} | starcoder | <gh_stars>0
namespace BetterControls.Scrollbar
{
internal enum ScrollbarClickKind
{
Nowhere = 0,
Thumb,
PrevArrow,
NextArrow,
PrevPageArrow,
NextPageArrow,
StartArrow,
EndArrow,
}
}
| 1.430257 | 7aca5c80fe9de6553f6682542c937fe1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4996 | {
"extension": "c-sharp",
"max_stars_count": "1022.0",
"max_stars_repo_name": "augustoproiete-forks/NuGet--NuGetGallery",
"max_stars_repo_path": "src/NuGetGallery/ViewModels/AccountViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4997"
} | starcoder | <reponame>augustoproiete-forks/NuGet--NuGetGallery
// 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 NuGet.Services.Entities;
namespace NuGetGallery
{
public abstract class AccountViewModel<... | 1.787494 | 3994df67e34a065bff73d6c7f8a51bde |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4997 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "oliverxchen/text-help",
"max_stars_repo_path": "ConversationProcessor/IODWrapper/Contracts/IODStatus.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4998"
} | starcoder |
namespace IODWrapper
{
public enum IODStatus
{
queued,
inProgress,
finished,
failed
}
}
| 1.22689 | 09800981292585c29e7483c92068eefc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4998 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "payshares-labs/dotnet-stellar-sdk",
"max_stars_repo_path": "stellar-dotnet-sdk-xdr/generated/TimeBounds.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4999"
} | starcoder | // Automatically generated by xdrgen
// DO NOT EDIT or your changes may be overwritten
using System;
namespace stellar_dotnet_sdk.xdr
{
// === xdr source ============================================================
// struct TimeBounds
// {
// TimePoint minTime;
// TimePoint maxTime; //... | 2.299772 | 5458eeddc3e41514bb109f8f9b70be2d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4999 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "Ravadre/Stacks",
"max_stars_repo_path": "Stacks.Actors/Remote/CodeGen/ServerActorTypeBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5000"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Reflection;
using System.Reflection.Emit;
using System.Text;
using System.Threading.Tasks;
using Stacks.Actors.CodeGen;
using Stacks.Actors.Proto;
using Stacks.Tcp;
namespace Stacks.Actors.Remote.CodeGen... | 2.084358 | 238b8260118a74d5aea446a7fcf1906c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5000 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Marsik424/Flappy_Bird",
"max_stars_repo_path": "Library/PackageCache/com.unity.mobile.notifications@1.4.2/Runtime/iOS/AuthorizationRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5001"
} | starcoder | <reponame>Marsik424/Flappy_Bird
using System;
using System.Runtime.InteropServices;
using UnityEngine;
namespace Unity.Notifications.iOS
{
/// <summary>
/// Enum for requesting authorization to interact with the user.
/// </summary>
[Flags]
public enum AuthorizationOption
{
/// <summary... | 2.336654 | a6560db16ef69799034dfa8f5a35c770 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5001 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "kristapsk/WalletWasabi",
"max_stars_repo_path": "WalletWasabi/Tor/Socks5/Pool/TorHttpPool.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5002"
} | starcoder | <gh_stars>1-10
using Nito.AsyncEx;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Sockets;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using WalletWasabi.Helpers;
using WalletWasabi.Logging;
using... | 2.219844 | f264392c1919b007a48d157734093a48 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5002 | {
"extension": "c-sharp",
"max_stars_count": "65.0",
"max_stars_repo_name": "kwsorensen/ecs-dotnet",
"max_stars_repo_path": "src/Elastic.CommonSchema.BenchmarkDotNetExporter/Domain/Domain.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5003"
} | starcoder | <reponame>kwsorensen/ecs-dotnet
// 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.Runtime.Serialization;
using BenchmarkDotNet.Mathematics;
namespace ... | 1.675561 | 8c339f02a88871a75a31bf6bad1e48c1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5003 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "liza-i/Iris-Flower-Classifier",
"max_stars_repo_path": "MLApi/ModelTrainer/ModelTrainer.v2ML.Model/ModelInput.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5004"
} | starcoder | <reponame>liza-i/Iris-Flower-Classifier<filename>MLApi/ModelTrainer/ModelTrainer.v2ML.Model/ModelInput.cs
// This file was auto-generated by ML.NET Model Builder.
using Microsoft.ML.Data;
namespace ModelTrainer_v2ML.Model
{
public class ModelInput
{
[ColumnName("SepalLength"), LoadColumn(0)]
... | 1.815953 | 7c055182592446e2a4cda0f6b33a744e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5004 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "teast/ffxivapp-plugin-parse",
"max_stars_repo_path": "FFXIVAPP.Plugin.Parse/Converters/OpacityToColorConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5005"
} | starcoder | <reponame>teast/ffxivapp-plugin-parse
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="OpacityToColorConverter.cs" company="Teast">
// Copyright(c) 2020 <NAME>.
// Licensed under the MIT license. See LICENSE.md in the solutio... | 2.525432 | 981544a3e000574af25eaaef2e069e07 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5005 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "shmartel/azure-sdk-for-net",
"max_stars_repo_path": "sdk/digitaltwins/Azure.DigitalTwins.Core/tests/ModelsTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5006"
} | starcoder | <gh_stars>0
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using Azure.Core.TestFramework;
using FluentAssertions;
using NUnit.Framework;
namespace Azure... | 2.178571 | e0973f85304015b2dcfb22381f38cdf6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5006 | {
"extension": "c-sharp",
"max_stars_count": "1311.0",
"max_stars_repo_name": "dorisoy/LiveCharts",
"max_stars_repo_path": "samples/XamarinSample/XamarinSample/XamarinSample/Bars/Race/View.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5007"
} | starcoder | using System.Threading.Tasks;
using ViewModelsSamples.Bars.Race;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace XamarinSample.Bars.Race;
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class View : ContentPage
{
public View()
{
InitializeComponent();
Update();
}... | 2.138221 | eb167e012ea47ded0fabcb117939339b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5007 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wavefrontHQ/wavefront-appmetrics-csharp-sdk",
"max_stars_repo_path": "src/Wavefront.AppMetrics.SDK.CSharp/App.Metrics.Histogram/WavefrontHistogramOptions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5008"
} | starcoder | using System;
using App.Metrics.ReservoirSampling;
using App.Metrics.ReservoirSampling.Wavefront;
namespace App.Metrics.Histogram
{
public class WavefrontHistogramOptions : HistogramOptions
{
private static readonly string WavefrontMetricTypeTagValue = "wavefrontHistogram";
public class Bu... | 2.566298 | b0621fdcf12e5dcf0c4dec3969f1312b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5008 | {
"extension": "c-sharp",
"max_stars_count": "33.0",
"max_stars_repo_name": "rdev0/PadAnalyzer",
"max_stars_repo_path": "Source/CsDebugScript.UI/Drawing/Ellipse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5009"
} | starcoder | using CsDebugScript.Drawing.Interfaces;
using System;
namespace CsDebugScript.UI.Drawing
{
/// <summary>
/// Implements ellipse as drawing object.
/// </summary>
internal class Ellipse : Drawing, IEllipse
{
/// <summary>
/// Initializes a new instance of the <see cref="Ellipse" /> ... | 2.858068 | 4f50ce9b2ac44af2459666ce1494429f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5009 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "taliesins/talifun-commander",
"max_stars_repo_path": "src/Talifun.Commander.Command.Video/CommandTester/VideoConversionConfigurationTesterSaga.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5010"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using Magnum.StateMachine;
using MassTransit;
using MassTransit.Saga;
using Talifun.Commander.Command.Configuration;
using Talifun.Commander.Command.Video.CommandTester.Request;
using Talifun.Commander.Command.Video.CommandTester.Response;
using Talifun.... | 1.855198 | 0dd7864720ee08ee9bb34affe848e42d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5010 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sourabhtewari/MVC6.Template",
"max_stars_repo_path": "test/FMG.NRT.Tests/Unit/Components/Mvc/TagHelpers/ReadonlyTagHelperTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5011"
} | starcoder | <filename>test/FMG.NRT.Tests/Unit/Components/Mvc/TagHelpers/ReadonlyTagHelperTests.cs<gh_stars>0
using Microsoft.AspNetCore.Mvc.ModelBinding;
using Microsoft.AspNetCore.Mvc.ModelBinding.Metadata;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
using Microsoft.AspNetCore.Razor.TagHelpers;
using FMG.NRT.Components.Mvc;
usi... | 1.863954 | acf633184732be12b9269e7b3e43a4b6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5011 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bfren/strongid",
"max_stars_repo_path": "tests/Tests.StrongId.Newtonsoft.Json/Functions/StrongIdJsonConverter/WriteJson_Tests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5012"
} | starcoder | // StrongId: Unit Tests
// Copyright (c) bfren - licensed under https://mit.bfren.dev/2022
using Newtonsoft.Json;
using static StrongId.Testing.Generator;
namespace StrongId.Newtonsoft.Json.StrongIdJsonConverter_Tests;
public class WriteJson_Tests
{
[Fact]
public void Serialise_Value_Returns_Json_Value()
{
// A... | 2.341588 | bbf2ceeeb8ca104f6428c0443dd5d8f0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5012 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "vip32/Naos.Core",
"max_stars_repo_path": "src/Operations.Application.Web/Controllers/NaosOperationsLogTracesController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5013"
} | starcoder | <reponame>vip32/Naos.Core
namespace Naos.Operations.Application.Web
{
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using EnsureThat;
using Humanizer;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions... | 1.870107 | 58d9908397a962903154f80b11f679cf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5013 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "DeyanDanailov/SoftUni-OOP",
"max_stars_repo_path": "SnakeConsoleGame-master/src/SimpleSnakeNoBorders/GameObjects/Point.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5014"
} | starcoder | <reponame>DeyanDanailov/SoftUni-OOP
namespace SimpleSnakeNoBorders.GameObjects
{
using System;
using System.Collections.Generic;
using System.Linq;
public class Point
{
private int leftX;
private int topY;
private readonly Random random;
public Point()
{
... | 3.506645 | 825196e01580a394d60e206a921b86e0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5014 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "FS-Frost/Asu.Utilidades",
"max_stars_repo_path": "Core/Tags/TagColor2.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5015"
} | starcoder | <reponame>FS-Frost/Asu.Utilidades
using Asu.Utils.Constants;
using System.Text.RegularExpressions;
namespace Asu.Utils.Core {
/// <summary>
/// Representa un tag de color secundario del formato ASS.
/// </summary>
public class TagColor2 : TagTypeColor {
public override string Name => "2c";
... | 2.857905 | 43e84afebdb0f1cec24d4f1516597af1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5015 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "aflathmann/unity-game",
"max_stars_repo_path": "Library/PackageCache/com.unity.ads@3.4.4/Tests/Runtime/Advertisement/UnityAdsTestListener.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5016"
} | starcoder | <filename>Library/PackageCache/com.unity.ads@3.4.4/Tests/Runtime/Advertisement/UnityAdsTestListener.cs
using UnityEngine.Events;
namespace UnityEngine.Advertisements.Tests
{
public class UnityAdsTestListener : IUnityAdsListener
{
public bool HasBeenCalled;
private UnityAction<string> m_U... | 2.14021 | 8f64ce03c55e61e5f52c8fe04025252e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5016 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zedr0n/DotnetFrameworkDllExporter.Core",
"max_stars_repo_path": "DotNetFrameworkExampleDll/ExampleClass1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5017"
} | starcoder | <filename>DotNetFrameworkExampleDll/ExampleClass1.cs
namespace DotNetFrameworkExampleDll
{
using System;
using System.Collections.Generic;
/// <summary>
/// Example Class for testing purpose.
/// </summary>
public class ExampleClass1
{
/// <summary>
/// Example variable for... | 2.79522 | 25f5f4ec8e6429ca3b3956868f527a45 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5017 | {
"extension": "c-sharp",
"max_stars_count": "3268.0",
"max_stars_repo_name": "gjy5885/azure-sdk-for-net",
"max_stars_repo_path": "sdk/keyvault/samples/sharelink/Generated/Models/DeletedSasDefinitionItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5018"
} | starcoder | <reponame>gjy5885/azure-sdk-for-net
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections.Generic;
namespace Azure.Security.KeyVault.Storage.Models
{
/// <summary> The deleted SAS definition i... | 1.975866 | ea5d3800d8f63128930e546c16c8d132 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5018 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Jerajo/Murk.DesignPatterns",
"max_stars_repo_path": "Source/Design Patterns/Command/Murk.Command.BaseClasses/Parameterless/BaseCommandReversible.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5019"
} | starcoder | <gh_stars>1-10
using Murk.Common;
namespace Murk.Command.Parameterless
{
/// <summary>
/// Base class for reversible commands.
/// </summary>
public abstract class BaseCommandReversible :
BaseDisposable,
ICommandReversible
{
/// <inheritdoc/>
public abstract void Execute();
/// <inheritdoc/>
public ... | 1.811891 | a27aedbb16638b57c037baa5fe014a0a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5019 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "shelllee/AssetsTools.NET",
"max_stars_repo_path": "AssetsView/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5020"
} | starcoder | using AssetsTools.NET;
using AssetsTools.NET.Extra;
using AssetsView.Winforms;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace AssetsView
{
static class Program
{
/// <summary>
/// The main... | 2.099568 | a5d50640f998c9331a402d7094d0dcea |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5020 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PKxD/RPGStatSystem",
"max_stars_repo_path": "Assets/Scripts/Accumulators/Subtract.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5021"
} | starcoder | public class SubtractFloat : IAccumulator<float>
{
public float Accumulate(float left, float right)
{
return left - right;
}
}
public class SubtractInt : IAccumulator<int>
{
public int Accumulate(int left, int right)
{
return left - right;
}
}
| 2.720487 | ca9c012e7ab89f674711493f40028f83 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5021 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "qsd-clausfriis/Fido",
"max_stars_repo_path": "Fido_Support/Objects/Protectwise/Object_Protectwise_Threat_ConfigClass.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5022"
} | starcoder | /*
*
* Copyright 2015 Netflix, 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 1.526779 | b78e86f5196340b276f42c897b3a8265 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5022 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ferno-ms/azure-sdk-for-net",
"max_stars_repo_path": "sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample4_RecognizeEntitiesBatchConvenience.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5023"
} | starcoder | <gh_stars>0
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using Azure.Core;
using Azure.Core.Testing;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
namespace Azure.AI.TextAnalytics.Samples
{
[L... | 2.440244 | cda629280347700ccb72f608b7b79892 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5023 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "codeno47/efc",
"max_stars_repo_path": "trunk/dev/samples/EFC.Samples.WPhoneApp/EFC.Samples.WPhoneApp/src/EFC.Samples.WPhoneApp.Client/Constants/TransferMode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5024"
} | starcoder | <reponame>codeno47/efc
// //----------------------------------------------------------------------------
// // <copyright company="Experion Global P Ltd" file ="TransferMode.cs">
// // All rights reserved Copyright 2012-2013 Experion Global
// // This computer program may not be used, copied, distributed, corrected, m... | 1.854809 | 57945e24960938552f204a38ac3a8594 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5024 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TcavalcantiDesenv/RepasseApcd",
"max_stars_repo_path": "src/APCD/src/PlatinDashboard.Domain.Farmacia/Interfaces/Repositories/IFunCabRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5025"
} | starcoder | <filename>src/APCD/src/PlatinDashboard.Domain.Farmacia/Interfaces/Repositories/IFunCabRepository.cs<gh_stars>0
using PlatinDashboard.Domain.Farmacia.Entities;
namespace PlatinDashboard.Domain.Farmacia.Interfaces.Repositories
{
public interface IFunCabRepository : IRepositoryBase<FunCab>
{
}
}
| 1.400878 | 5eb1ca12f7df23cebf0a76e0180b1c33 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5025 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "tech-sketch/VirtualCollaboBase",
"max_stars_repo_path": "Assets/_VirtualCollaboBase/SimpleDrawingForVRWS/Scripts/SimpleDrawingSharingInitializer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5026"
} | starcoder | <reponame>tech-sketch/VirtualCollaboBase
using UnityEngine;
using Photon.Pun;
using VRTK;
using SimpleDrawing.Sharing;
using UniRx;
using System;
namespace VRWS.SimpleDrawing.Sharing
{
public class SimpleDrawingSharingInitializer : MonoBehaviourPunCallbacks
{
[SerializeField]
GameObject Remote... | 1.824802 | 1890df38ceabd43eeb5777650d11c9b8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5026 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zhenyaracheva/Chess",
"max_stars_repo_path": "Chess/Chess/Figures/Rook.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5027"
} | starcoder | namespace Chess.Figures
{
using System.Collections.Generic;
using Chess.Figures.Common;
using Chess.Helpers;
using Chess.Movements.Common;
public class Rook : Figure, IFigure
{
public Rook(FigureColor color)
: base(color, FigureType.Rook)
{
}
}
}
| 2.087837 | 3832574850f581613cfa0d6fda18e519 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5027 | {
"extension": "c-sharp",
"max_stars_count": "608.0",
"max_stars_repo_name": "aTiKhan/MessagePipe",
"max_stars_repo_path": "tests/MessagePipe.Tests/PubSubKeyedASync.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5028"
} | starcoder | <gh_stars>100-1000
#pragma warning disable CS1998
using FluentAssertions;
using MessagePipe;
using MessagePipe.Tests;
using Microsoft.Extensions.DependencyInjection;
using System.Collections.Generic;
using Xunit;
// for check diagnostics, modify namespace.
namespace __MessagePipe.Tests
{
public class PubsubKeyed... | 2.289561 | 1e2192526ec33fddc5cdce95b4bc2542 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5028 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Its-Ace/Blog-based-App-using-DDD",
"max_stars_repo_path": "BlogBasic.Core/Models/Thread.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5029"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace BlogBasic.Core.Models
{
public class Thread : Entity
{
public int Id { get; set; }
[Display(Name = "Thread Title")]
... | 2.558575 | e8886fbdcd88109c24a2aaa9b62bd4c3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5029 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "abock/msbuild",
"max_stars_repo_path": "src/Shared/UnitTests/AssemblyNameEx_Tests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5030"
} | starcoder | <filename>src/Shared/UnitTests/AssemblyNameEx_Tests.cs
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.IO;
using System.Reflection;
using System.Globalization;
using System.Resource... | 2.312221 | 061a9b8432b52db6f8706eee67d63e99 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5030 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "peitschie/ngineer",
"max_stars_repo_path": "NGineer/Internal/BuilderStatEntry.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5031"
} | starcoder | <reponame>peitschie/ngineer
using System;
namespace NGineer.Internal
{
public sealed class BuilderStatEntry : IEquatable<BuilderStatEntry>
{
private readonly Type _type;
private readonly int _count;
public BuilderStatEntry(Type type, int count)
{
_type = ... | 2.800246 | 622d57e2b4c7eb4c88594a058978f279 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5031 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "balaji-dabbara/samples",
"max_stars_repo_path": "snippets/csharp/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.EncDec/CS/encdec.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5032"
} | starcoder | // The following code example uses an encoder and a decoder to encode a string into an array of bytes,
// and then decode the bytes into an array of characters.
// <Snippet1>
using System;
using System.Text;
public class SamplesUnicodeEncoding {
public static void Main() {
// Get an encoder and a decoder... | 3.585865 | c912ff52c2b4abf8105c0868a7ef0dfe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5032 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "kidagine/Darklings-FightingGame",
"max_stars_repo_path": "Assets/_Project/Scripts/UIScripts/IntroUI.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5033"
} | starcoder | <reponame>kidagine/Darklings-FightingGame
using Demonics.Sounds;
using System.Text.RegularExpressions;
using TMPro;
using UnityEngine;
public class IntroUI : MonoBehaviour
{
[SerializeField] private PlayerDialogue _playerOneDialogue = default;
[SerializeField] private TextMeshProUGUI _playerOneName = default;
[Seri... | 2.146926 | 0b1a0e030ac08ea1a71c762786d49e0e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5033 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aguandstrika/sillyHacksSimulator",
"max_stars_repo_path": "Assets/Scripts/UIController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5034"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
using UnityEngine.UIElements;
public class UIController : MonoBehaviour
{
// Start is called before the first frame update
public GameObject hourBar;
public GameObject hourText;
public float hours = 48;
pub... | 2.248381 | ddedfb83028b0ce49049599c9b7367d4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5034 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Alaanor/udh-gamejam",
"max_stars_repo_path": "Assets/Plugins/GoKit/enums/ShakeType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5035"
} | starcoder | using UnityEngine;
using System.Collections;
[System.Flags]
public enum ShakeType
{
Position = ( 1 << 0 ),
Scale = ( 1 << 1 ),
Eulers = ( 1 << 2 )
} | 1.577505 | 97174abc5f6373bba4c4d445b68aef08 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5035 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "luffy-yu/DMMap",
"max_stars_repo_path": "Assets/DMMap/Editor/DMMapPointEditor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5036"
} | starcoder | <filename>Assets/DMMap/Editor/DMMapPointEditor.cs
using UnityEngine;
using System.Collections;
using UnityEditor;
namespace DMM {
[CustomEditor(typeof(DMMapPoint))]
public class DMMapPointEditor : Editor {
public override void OnInspectorGUI() {
base.OnInspectorGUI();
... | 2.154978 | e22b46009e9306a354fbc5b2777126ac |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5036 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PiotrWachulec/modular-monolith-with-ddd",
"max_stars_repo_path": "src/Modules/Meetings/Domain/MeetingComments/MeetingComment.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5037"
} | starcoder | using System;
using System.Collections.Generic;
using CompanyName.MyMeetings.BuildingBlocks.Domain;
using CompanyName.MyMeetings.Modules.Meetings.Domain.Comments;
using CompanyName.MyMeetings.Modules.Meetings.Domain.Comments.Events;
using CompanyName.MyMeetings.Modules.Meetings.Domain.MeetingComments.Rules;
using Comp... | 2.229593 | edf8a1812ef94b54f20ba3849448a6b0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.