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 | 4837 | {
"extension": "c-sharp",
"max_stars_count": "60.0",
"max_stars_repo_name": "siroky/FuncSharp",
"max_stars_repo_path": "src/FuncSharp.Tests/Try/TryTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4838"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using Xunit;
namespace FuncSharp.Tests
{
public class TryTests
{
private static readonly Exception Exception = new NotImplementedException();
private static readonly ITry<int, NotImplementedException> S1 = Try.Catch<int, NotImp... | 2.590744 | 2d4d8d35c9b4932a584e401b47544101 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4838 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "datapathltd/ByteArray",
"max_stars_repo_path": "src/ByteArray/Types/StringW.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4839"
} | starcoder | using System;
namespace Soly.Utils
{
public partial class ByteArray
{
public string ReadStringW(int length)
{
string result = this.ReadStringW(length, this.position);
if (length == -1)
{
this.position += (result.Length * 2);
}
... | 3.187316 | a5ba91eb8ca002b42a3625aae7c3103e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4839 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Timur-Zinnatulin/Homework",
"max_stars_repo_path": "Semester-2/TestGame/TestGame/Game.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4840"
} | starcoder | <reponame>Timur-Zinnatulin/Homework
using System;
using System.Windows.Forms;
namespace TestGame
{
/// <summary>
/// Game form class
/// </summary>
public partial class Game : Form
{
public Game()
{
InitializeComponent();
GameWinner.Enabled = false;
... | 2.925448 | 964833988449a90380da582ec83831e6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4840 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "CaptainMuscles/RW_FacialStuff",
"max_stars_repo_path": "Source/RW_FacialStuff/ITab_Pawn_Weapons.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4841"
} | starcoder | using FacialStuff.AnimatorWindows;
using JetBrains.Annotations;
using RimWorld;
using UnityEngine;
using Verse;
using static FacialStuff.Offsets;
namespace FacialStuff
{
public class ITab_Pawn_Weapons : ITab
{
#region Public Fields
public static bool IgnoreRenderer;
#endregion Publi... | 1.879975 | 6605f066b67e412184783d0c921e0048 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4841 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "hediet/ext-vs-ProjectAsCustomTool",
"max_stars_repo_path": "src/ProjectInSolution.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4842"
} | starcoder | <reponame>hediet/ext-vs-ProjectAsCustomTool<gh_stars>1-10
using System;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using EnvDTE;
using EnvDTE80;
using Microsoft.VisualStudio.Shell;
using Microsoft.VisualStudio.Shel... | 1.846622 | 6f80d81396b32f076fe461fcb32455bf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4842 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "metalmilitia069/DesignPatterns4.0",
"max_stars_repo_path": "Assets/Spawn.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4843"
} | starcoder | <filename>Assets/Spawn.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Spawn : MonoBehaviour
{
public GameObject asteroid;
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame... | 2.455619 | 1baba28a508313f2a7518adc18331618 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4843 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "KristiyanSevov/SoftUni-Programming-Fundamentals",
"max_stars_repo_path": "Old exams/String exercises with Regex/Winning Ticket/Winning Ticket.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4844"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
namespace Winning_Ticket
{
class Program
{
static void Main(string[] args)
{
string[] tickets = Console.ReadLine().Split(new char[] { ' ', ','... | 3.512038 | 495d8ec68b776fb1b624f4556ac77dc5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4844 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "circlesabound/LogicGateSimulator",
"max_stars_repo_path": "Assets/Scripts/UI/MessageBoxes/PlayChallengeScrollViewItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4845"
} | starcoder | <reponame>circlesabound/LogicGateSimulator<filename>Assets/Scripts/UI/MessageBoxes/PlayChallengeScrollViewItem.cs
using UnityEngine.Assertions;
using UnityEngine.EventSystems;
namespace Assets.Scripts.UI.MessageBoxes
{
public class PlayChallengeScrollViewItem : MessageBoxScrollViewItem
{
public PlayCh... | 1.512796 | 0924be80d029fef8ebf83c45a84023b3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4845 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Nik4321/OneBitTask",
"max_stars_repo_path": "OneBitTask.Web/Views/Shared/_Scripts.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:4846"
} | starcoder | <environment include="Development">
<script src="~/lib/jquery/dist/jquery.js"></script>
<script src="~/lib/bootstrap/dist/js/bootstrap.bundle.js"></script>
</environment>
<environment exclude="Development">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"
asp-fall... | 1.547261 | 31658eba8c854994953417badf5242c5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4846 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Berreip/QuadrantsImageComparer",
"max_stars_repo_path": "QuadrantsImageComparerLib/Models/QuadrantDelta.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4847"
} | starcoder | using System;
using System.Collections.Generic;
using System.Drawing;
using QuadrantsImageComparerLib.Dto;
namespace QuadrantsImageComparerLib.Models
{
/// <summary>
/// The quadrant computation result for 2 images:
/// the image 2 is computed by quadrant (split for instance in 10x12 quadrants) and then ... | 3.244612 | 9e49db81fba2239e8f354b77b7ec8a73 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4847 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hach-que/NuGetGallery",
"max_stars_repo_path": "src/NuGetGallery/Infrastructure/CookieTempDataProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4848"
} | 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.
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Web;
using System.Web.Mvc;
namespace NuGetGallery
{
public... | 2.181796 | c68ffe4dad0110e1a9311c2ffcc3b911 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4848 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jcbeck37/fi-retorch",
"max_stars_repo_path": "fi.retorch.com/fi.retorch.com/Areas/Dashboard/Views/Transactions/_Delete.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:4849"
} | starcoder | @model fi.retorch.com.Areas.Dashboard.Models.TransactionModel
<div class="modal-header hide">
<button type="button" class="close" data-dismiss="modal">×</button>
<h4 class="modal-title">Delete Transaction</h4>
</div>
<div class="modal-body">
<dl>
<dt>
@Html.DisplayNameFor(model ... | 1.96069 | bc9de4d3dc11474dd6f6ff987b39318c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4849 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "shmartel/azure-sdk-for-net",
"max_stars_repo_path": "sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobSchedule.Serialization.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4850"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Text.Json;
using Azure.Core;
namespace Azure.ResourceManager.Sql.Models
{
public partial class JobSchedule : IUtf8JsonSerializable
{
void ... | 1.996686 | 75903af3d10f1ce717e802606f72bcc4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4850 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "profan/stride",
"max_stars_repo_path": "sources/engine/Stride.Shaders.Parser/ShaderNavigation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4851"
} | starcoder | <reponame>profan/stride<filename>sources/engine/Stride.Shaders.Parser/ShaderNavigation.cs
// Copyright (c) Stride contributors (https://stride3d.net) and Silicon Studio Corp. (https://www.siliconstudio.co.jp)
// Distributed under the MIT license. See the LICENSE.md file in the project root for more information.
using ... | 2.053162 | 49d8270aabda158ace9eb3ccd1514a46 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4851 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "RendercodeGames/UMA",
"max_stars_repo_path": "UMAProject/Assets/UMA/Core/Editor/Scripts/UMAMaterialInspector.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4852"
} | starcoder | using UnityEngine;
using UnityEditor;
using System.Collections;
using System.Collections.Generic;
namespace UMA.Editors
{
[CustomEditor(typeof(UMAMaterial))]
public class UMAMaterialInspector : Editor
{
private Shader _lastSelectedShader;
private string[] _shaderProperties;
privat... | 2.272422 | ac27a5ebbe151df32f11c8e70945270d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4852 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "shestakov/wordroller",
"max_stars_repo_path": "Wordroller.Tests/DocumentBodyTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4853"
} | starcoder | <gh_stars>10-100
using System.Linq;
using Wordroller.Content.HeadersAndFooters;
using Wordroller.Content.Properties.Sections;
using Wordroller.Content.Properties.Sections.PageSizes;
using Xunit;
using Xunit.Abstractions;
namespace Wordroller.Tests
{
public class DocumentBodyTests : TestsBase
{
public DocumentBody... | 2.328456 | af9c263e8922e2423cc03f2ca73b8d90 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4853 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AxelMarquez/Ed-Fi-ODS",
"max_stars_repo_path": "Application/EdFi.Ods.Api/Infrastructure/Pipelines/Get/GetPipeline.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4854"
} | starcoder | // SPDX-License-Identifier: Apache-2.0
// Licensed to the Ed-Fi Alliance under one or more agreements.
// The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0.
// See the LICENSE and NOTICES files in the project root for more information.
using EdFi.Ods.Common;
using EdFi.Ods.Common.Infr... | 1.456311 | 831fd2b4a5e1b5f6b46ca56ce56c25e8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4854 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "jfmc/FPSSample",
"max_stars_repo_path": "Assets/Scripts/Audio/SoundTimelineMixerBehaviour.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4855"
} | starcoder | <gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Playables;
using UnityEngine.Profiling;
public class SoundTimelineMixerBehaviour : PlayableBehaviour
{
public override void ProcessFrame(Playable playable, FrameData info, object playerData)
{
... | 2.184878 | cff25fa4fb0c709aba06e90e202aa889 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4855 | {
"extension": "c-sharp",
"max_stars_count": "134.0",
"max_stars_repo_name": "Interactml/iml_framework",
"max_stars_repo_path": "Assets/ART/Malbers Animations/Common/Scripts/Animal/FollowTarget.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4856"
} | starcoder | using UnityEngine;
namespace MalbersAnimations
{
/// <summary>
/// Simple follow target for the animal
/// </summary>
public class FollowTarget : MonoBehaviour
{
public Transform target;
public float stopDistance = 3;
Animal animal;
// Use this for initialization
... | 2.811346 | ca81e16609666ec48217f11f8c729af2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4856 | {
"extension": "c-sharp",
"max_stars_count": "94.0",
"max_stars_repo_name": "zkweb-framework/ZKWeb.MVVMDemo",
"max_stars_repo_path": "src/ZKWeb.MVVMPlugins/MVVM.Common.Organization/src/Domain/Extensions/UserExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4857"
} | starcoder | <reponame>zkweb-framework/ZKWeb.MVVMDemo
using System;
using System.Collections;
using System.Collections.Generic;
using System.FastReflection;
using System.Linq;
using System.Reflection;
using ZKWeb.MVVMPlugins.MVVM.Common.Organization.src.Domain.Entities;
using ZKWeb.MVVMPlugins.MVVM.Common.Organization.src.D... | 2.362774 | 9084453594342e619f797edf03491bb8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4857 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "nickc01/ViridianCore",
"max_stars_repo_path": "Hollow Knight/TextMesh Pro/TextMesh Pro/Plugins/TMPro/TMP_InputValidator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4858"
} | starcoder | using System;
using UnityEngine;
namespace TMPro
{
[Serializable]
public abstract class TMP_InputValidator : ScriptableObject
{
public abstract char Validate(ref string text, ref int pos, char ch);
}
}
| 1.894673 | 65c5685c3823d3a9050892c7b97a395e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4858 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vaginessa/pretzel",
"max_stars_repo_path": "src/Pretzel.Logic/Templating/Razor/RazorSiteEngine.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4859"
} | starcoder | using Pretzel.Logic.Extensions;
using Pretzel.Logic.Templating.Context;
using RazorEngine;
using RazorEngine.Configuration;
using RazorEngine.Templating;
using System;
using System.ComponentModel.Composition;
using System.IO;
using System.Text.RegularExpressions;
using System.Linq;
using Pretzel.Logic.Extensibility;
u... | 1.98701 | dd83bfd59d5211582762456c168ae254 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4859 | {
"extension": "c-sharp",
"max_stars_count": "27.0",
"max_stars_repo_name": "ItayLast/osu",
"max_stars_repo_path": "osu.Game.Rulesets.Catch/Objects/CatchHitObject.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4860"
} | starcoder | // Copyright (c) p<NAME> <<EMAIL>>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Bindables;
using osu.Game.Beatmaps;
using osu.Game.Beatmaps.ControlPoints;
using osu.Game.Rulesets.Catch.UI;
using osu.Game.Rulesets.Objects;
using osu.... | 1.929219 | b70022195f8d33a026d5ee52c003ae05 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4860 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "risadams/ImageSharp",
"max_stars_repo_path": "src/ImageSharp/MetaData/Profiles/ICC/Various/IccProfileSequenceIdentifier.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4861"
} | starcoder | // Copyright (c) <NAME> and contributors.
// Licensed under the Apache License, Version 2.0.
using System;
using System.Linq;
namespace SixLabors.ImageSharp.MetaData.Profiles.Icc
{
/// <summary>
/// Description of a profile within a sequence.
/// </summary>
internal readonly struct IccProfileSequence... | 2.691852 | 71bdc8805af49bd9afa75310e4604e62 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4861 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sven-n/OpenMU",
"max_stars_repo_path": "src/ConnectServer/ConnectServer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4862"
} | starcoder | // <copyright file="ConnectServer.cs" company="MUnique">
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
// </copyright>
namespace MUnique.OpenMU.ConnectServer
{
using System;
using System.Collections.Generic;
using System.ComponentModel;
using Sys... | 2.194985 | 823c99518d92a7f8bbbdd220be2955f9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4862 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "v-kaifazhang/azure-sdk-for-net",
"max_stars_repo_path": "sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Integration.Tests/TestFramework/MockTransmitter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4863"
} | starcoder | <filename>sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Integration.Tests/TestFramework/MockTransmitter.cs
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Thr... | 1.835389 | c99018609c6efaacab0ab0de855e8ed3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4863 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "18142552937/Adnc",
"max_stars_repo_path": "src/ServerApi/Services/Adnc.Whse/Adnc.Whse.Application.Contracts/Dtos/ProductPutOffSaleDto.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4864"
} | starcoder | <reponame>18142552937/Adnc<filename>src/ServerApi/Services/Adnc.Whse/Adnc.Whse.Application.Contracts/Dtos/ProductPutOffSaleDto.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
using Adnc.Application.Shared.Dtos;
namespace Adnc.Whse.Applic... | 1.10248 | d3a4b80bb831adb7832376f907a50125 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4864 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "majacQ/Refriender",
"max_stars_repo_path": "RefrienderCore/StreamCompression.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4865"
} | starcoder | using System;
using System.IO;
using Microsoft.Toolkit.HighPerformance;
namespace RefrienderCore {
abstract class StreamCompression : ICompressionAlgo {
public abstract CompressionAlgorithm Algorithm { get; }
public byte[] Decompress(byte[] data, int offset, int compressedSize, int decompressedSize) {
var bd... | 2.850218 | f2baf12766a3818edbaff1830a6afbbf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4865 | {
"extension": "c-sharp",
"max_stars_count": "953.0",
"max_stars_repo_name": "SeanKilleen/SpecFlow",
"max_stars_repo_path": "TechTalk.SpecFlow/Infrastructure/ISpecFlowOutputHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4866"
} | starcoder | namespace TechTalk.SpecFlow.Infrastructure
{
public interface ISpecFlowOutputHelper
{
void WriteLine(string message);
void WriteLine(string format, params object[] args);
void AddAttachment(string filePath);
}
} | 1.744183 | 8d44aa14d6cacb1bd98e481b846e6379 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4866 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ArcturusZhang/autorest.go",
"max_stars_repo_path": "src/Model/MethodGo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4867"
} | starcoder | <gh_stars>0
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using AutoRest.Go.Properties;
using AutoRest.Core.Utilities;
using AutoRest.Core.Model;
using AutoRest.Extensions;
using AutoRest.Ex... | 1.891708 | 1346fe4615389dd5bd82e0a3c9bc189d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4867 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aj-m/Rant",
"max_stars_repo_path": "Rant/RNG.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4868"
} | starcoder | <reponame>aj-m/Rant<gh_stars>0
#region License
// https://github.com/TheBerkin/Rant
//
// Copyright (c) 2017 <NAME>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to deal in the
// Software without restricti... | 2.063072 | 64b5c947405a55ff2c845b5e387f3b85 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4868 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "blockchainsolutionshi/btcpayserver",
"max_stars_repo_path": "BTCPayServer/Controllers/GreenField/GreenfieldStoreUsersController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4869"
} | starcoder | <reponame>blockchainsolutionshi/btcpayserver<filename>BTCPayServer/Controllers/GreenField/GreenfieldStoreUsersController.cs
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using BTCPayServer.Abstractions.Constants;
using BTCPayServer.Client;
using BTCPayServer.Client.Models;
using BTC... | 2.177759 | ea20523e0e03452feaa2692f24c5eb34 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4869 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "wisnuwh22/XamarinExplorer-SampleCode",
"max_stars_repo_path": "samplecode.iOS/CustomRenderers/CustomPickerRenderer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4870"
} | starcoder | using System;
using Foundation;
using samplecode.CustomPickerFolder;
using samplecode.iOS.CustomRenderers;
using UIKit;
using Xamarin.Forms;
using Xamarin.Forms.Platform.iOS;
[assembly: ExportRenderer(typeof(CustomPicker), typeof(CustomPickerRenderer))]
namespace samplecode.iOS.CustomRenderers
{
public class Cust... | 2.125187 | 2c8479cab32067e99e5bb308ecbecf65 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4870 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "lammichael/EnvCrypt",
"max_stars_repo_path": "src/EnvCrypt.Core/Verb/AddEntry/EncryptWorkflow.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4871"
} | starcoder | <reponame>lammichael/EnvCrypt
using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using EnvCrypt.Core.EncrypedData.UserStringConverter;
using EnvCrypt.Core.EncryptionAlgo;
using EnvCrypt.Core.Key;
using EnvCrypt.Core.Verb.LoadKey;
namespace EnvCrypt.Core.Verb.AddEntry
{
public clas... | 2.329848 | 128864454f5f75b5799a29721dcae781 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4871 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "robsongjunior/totvs-robson-test",
"max_stars_repo_path": "src/Robson Totvs Test.Domain/Interfaces/Repositories/IProfileObjectRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4872"
} | starcoder | using Robson_Totvs_Test.Domain.Entities;
namespace Robson_Totvs_Test.Domain.Interfaces.Repositories
{
public interface IProfileObjectRepository : IBaseRepository<ProfileObject>
{
}
}
| 1.322185 | c1684c150d197b4f6370a0e5f35a78e0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4872 | {
"extension": "c-sharp",
"max_stars_count": "133.0",
"max_stars_repo_name": "h0730303779/WebQQWeChat",
"max_stars_repo_path": "src/WebWeChat/Im/Actions/WebwxInitAction.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4873"
} | starcoder | using System.ComponentModel;
using System.Threading.Tasks;
using FclEx.Extensions;
using HttpAction.Core;
using HttpAction.Event;
using Newtonsoft.Json.Linq;
using WebWeChat.Im.Core;
namespace WebWeChat.Im.Actions
{
/// <summary>
/// 微信初始化
/// 获取初始化信息(账号头像信息、聊天好友、阅读等)
/// </summary>
[Description("... | 1.99436 | a0a324bcc3507be32ad07241588ccb18 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4873 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "brendes333/KeePassNFCPlugin",
"max_stars_repo_path": "NfcMyKeePass/NfcPrompt.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4874"
} | starcoder | <filename>NfcMyKeePass/NfcPrompt.cs
using NdefLibrary.Ndef;
using PCSC;
using System;
using System.Text;
using System.Threading;
using System.Windows.Forms;
namespace NfcMyKeePass
{
public partial class NfcPrompt : Form
{
private ACR122U _acr122U;
private SynchronizationContext _syncContext;
... | 2.572302 | 9ae710266691689e828473d48a66f5f1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4874 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ApmeM/FloodItBot",
"max_stars_repo_path": "MyONez/ECS/Scene.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4875"
} | starcoder | <gh_stars>0
namespace MyONez.ECS
{
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using LocomotorECS;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using MyONez.Debug;
using MyONez.ECS.EntitySystems;
using MyONez.Grap... | 1.548427 | 217bc8ef05cf9518c30b6b11caa45e3d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4875 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bbarry/roslyn",
"max_stars_repo_path": "src/Workspaces/CoreTest/CodeStyle/EditorConfigCodeStyleParserTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4876"
} | starcoder | using Microsoft.CodeAnalysis.CodeStyle;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace Microsoft.CodeAnalysis.UnitTests.CodeStyle
{
public class EditorConfigCodeStyleParserTests
{
[Theory]
[InlineData("... | 2.270651 | 287f27ba3ba2bb91a0c540da81540222 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4876 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wajeehanwar/Startrek-Catan-Console-Build",
"max_stars_repo_path": "Player.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4877"
} | starcoder | using System;
using System.Collections.Generic;
namespace CatanConsoleBuild
{
public class Player
{
readonly int order;
readonly string name;
private int points;
private bool longestSupplyRoute;
private bool largestStarfleet;
private bool active;
private... | 2.705309 | b8f6d6db834c3327f6af6dbfb9130e67 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4877 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bhabesh7/bhabeshgitprojects",
"max_stars_repo_path": "ImageFastLoader/LuceneServices/Inte/IFilesScanner.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4878"
} | starcoder | <reponame>bhabesh7/bhabeshgitprojects<filename>ImageFastLoader/LuceneServices/Inte/IFilesScanner.cs
using ImageFastLoader.DataModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ImageFastLoader.LuceneServices.Inte
{
public interface ... | 1.594828 | 7190af0f1451b4716f0510858c8a3e2a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4878 | {
"extension": "c-sharp",
"max_stars_count": "127.0",
"max_stars_repo_name": "RakhithJK/CyberCAT",
"max_stars_repo_path": "CyberCAT.Core/Enums/Dumped Enums/gameprojectileELaunchMode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4879"
} | starcoder | namespace CyberCAT.Core.DumpedEnums
{
public enum gameprojectileELaunchMode
{
Default = 0,
FromLogic = 1,
FromVisuals = 2
}
}
| 0.811444 | 8e0f5d3fd649597986a6a87c66c4f1cd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4879 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Excalib88/itext7-dotnet",
"max_stars_repo_path": "itext/itext.forms/itext/forms/fields/PdfTextFormField.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4880"
} | starcoder | /*
This file is part of the iText (R) project.
Copyright (c) 1998-2019 iText Group NV
Authors: <NAME>, <NAME>, et al.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License version 3
as published by the Free Software Foundation with the additio... | 2.002644 | d85ef13671f8026c2e1ff12b60bc9e4d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4880 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MoyTW/MTW_AncestorSpirits",
"max_stars_repo_path": "Source/MTW_AncestorSpirits/IncidentWorker_CleanseSkies.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4881"
} | starcoder | <filename>Source/MTW_AncestorSpirits/IncidentWorker_CleanseSkies.cs
using RimWorld;
using Verse;
using System.Collections.Generic;
using System.Linq;
namespace MTW_AncestorSpirits
{
class IncidentWorker_CleanseSkies : IncidentWorker
{
public override bool TryExecute(IncidentParms parms)
{
... | 2.451544 | bdc8ac70fdc90da912cd5ef84345c265 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4881 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ibrahim1912/GameProject",
"max_stars_repo_path": "ConsoleUI/Gamer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4882"
} | starcoder | <reponame>ibrahim1912/GameProject
using System;
using System.Collections.Generic;
using System.Text;
namespace GamerProject
{
class Gamer
{
public int Id { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
public int BirthYear { get; set; }
... | 1.767728 | e0ade6b5f97b735ac40c842c906ec91e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4882 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Hwangjonggyun/PowerShell",
"max_stars_repo_path": "src/Microsoft.PowerShell.Commands.Management/commands/management/SetContentCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4883"
} | starcoder | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
namespace Microsoft.PowerShell.Commands
{
/// <summary>
/// A command to set the content of an item at a specified path.
/// </summary>
[Cmdlet(VerbsCommon.Set, "Content", DefaultParameterSetName = "Path", SupportsShouldProcess ... | 2.611388 | 2c5d96a9617f7d01296671727d81e2bc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4883 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "cihatfurkaneken/school-management",
"max_stars_repo_path": "WebObs.MVC/Views/Security/Register.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:4884"
} | starcoder | <filename>WebObs.MVC/Views/Security/Register.cshtml<gh_stars>1-10
@model WebObs.MVC.Models.Security.RegisterViewModel
@{
ViewData["Title"] = "Register";
Layout = "~/Views/Shared/_LayoutSecurity.cshtml";
}
<div class="account-pages"></div>
<div class="clearfix"></div>
<div class="wrapper-page">
<div class="... | 2.156148 | e32a18601d1c2fe43ca73ecc36124dfc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4884 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ashishpatelcs/uno",
"max_stars_repo_path": "src/Uno.UWP/Generated/3.0.0.0/Windows.Media.Core/MediaBinder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4885"
} | starcoder | <reponame>ashishpatelcs/uno
#pragma warning disable 108 // new keyword hiding
#pragma warning disable 114 // new keyword hiding
namespace Windows.Media.Core
{
#if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __MACOS__
[global::Uno.NotImplemented]
#endif
public partial class MediaBinder
{
#if __ANDROID__ || ... | 1.73028 | e1ecb04a20dde5c011021b3a68651572 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4885 | {
"extension": "c-sharp",
"max_stars_count": "911.0",
"max_stars_repo_name": "cnork/referencesource",
"max_stars_repo_path": "System.Web/Configuration/TransformerInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4886"
} | starcoder | <gh_stars>100-1000
//------------------------------------------------------------------------------
// <copyright file="TransformerInfo.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//---------------------------------------------------------------------------... | 2.152454 | 053417c3a8bf865f1959e019f7e759b4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4886 | {
"extension": "c-sharp",
"max_stars_count": "66.0",
"max_stars_repo_name": "MarcoMarchitelli/GGJ_2020",
"max_stars_repo_path": "Assets/ShaderForge/Editor/Code/_Nodes/SFN_VertexColor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4887"
} | starcoder | using UnityEngine;
using UnityEditor;
using System.Collections;
namespace ShaderForge {
[System.Serializable]
public class SFN_VertexColor : SF_Node {
public SFN_VertexColor() {
}
public override void Initialize() {
base.Initialize( "Vertex Color", InitialPreviewRenderMode.BlitSphere );
base.showCol... | 1.883709 | ccaf2e6faf37f112bccf3f74fe51425e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4887 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alefranz/MessagePack-CSharp",
"max_stars_repo_path": "src/MessagePack/ExtensionHeader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4888"
} | starcoder | namespace MessagePack
{
public struct ExtensionHeader
{
public sbyte TypeCode { get; private set; }
public uint Length { get; private set; }
public ExtensionHeader(sbyte typeCode, uint length)
{
TypeCode = typeCode;
Length = length;
}
pu... | 2.381776 | 50910bfef3e874b65c86722bb84507a9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4888 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "kallebelins/mvp24hours-netcore",
"max_stars_repo_path": "src/Mvp24Hours.Infrastructure.Pipe/Operations/Custom/OperationMapper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4889"
} | starcoder | //=====================================================================================
// Developed by <NAME> (https://github.com/kallebelins)
//=====================================================================================
// Reproduction or sharing is free! Contribute to a better world!
//====================... | 2.444808 | 2321ee15d1dc79bae8ebee706306579d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4889 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "toolgood/ToolGood.CodeAuthorScan",
"max_stars_repo_path": "ToolGood.CodeAuthor/ExceptionExtension.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4890"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Collections.Concurrent;
using ToolGood.CodeAuthor.Datas;
using System.Diagnostics;
using System.Reflection;
using System.Linq;
namespace ToolGood.CodeAuthor
{
public static class ExceptionExtension
{
private static CodeAuth... | 2.757111 | 312557702d54ec90928578f9911f6b56 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4890 | {
"extension": "c-sharp",
"max_stars_count": "31.0",
"max_stars_repo_name": "TKKChina/Raindrops.UI.WebView",
"max_stars_repo_path": "Raindrops.UI.WebView.TestWPF/Browser.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4891"
} | starcoder | using Raindrops.UI.WebView.Miniblink;
using Raindrops.UI.WebView.Miniblink.Event;
using Raindrops.UI.WebView.Miniblink.PInvoke;
using Raindrops.UI.WebView.Miniblink.PInvoke.Handle;
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windo... | 1.680907 | 5ec65919205c8e6bf7f42c1e73c81f8b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4891 | {
"extension": "c-sharp",
"max_stars_count": "1372.0",
"max_stars_repo_name": "icalvo/Cocona",
"max_stars_repo_path": "test/Cocona.Lite.Test/CoconaLiteServiceCollectionTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4892"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using FluentAssertions;
using Xunit;
namespace Cocona.Lite.Test
{
public class CoconaLiteServiceCollectionTest
{
[Fact]
public void AddTransient_Factory()
{
var services = new CoconaLi... | 2.370927 | 00a8ba5c55190cf4fa356d93c1ac6f8e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4892 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Foxify52/OpenViva",
"max_stars_repo_path": "Assets/Scripts/Loli/Behaviors/Passive.Handhold.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4893"
} | starcoder | using UnityEngine;
namespace viva
{
public partial class HandholdBehavior : PassiveBehaviors.PassiveTask
{
private int rightLimbGrabs = 0;
private int leftLimbGrabs = 0;
private float slowHandholdTimer = 0.0f;
private Tools.EaseBlend matchWalkEase = new Tools.EaseBlend();
... | 2.077915 | 2f8917961bced6e685c7d790641a1329 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4893 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "john-hartley/GoCardless.Api",
"max_stars_repo_path": "src/GoCardless.Api/CustomerNotifications/CustomerNotification.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4894"
} | starcoder | <gh_stars>1-10
using System;
namespace GoCardlessApi.CustomerNotifications
{
public class CustomerNotification
{
public string Id { get; set; }
/// <summary>
/// See <see cref="CustomerNotifications.ActionTaken"/> for possible values.
/// </summary>
public string Actio... | 1.681435 | b0cb5f89c69f63e78ef0ab8060208a8f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4894 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FourHyphen/MyMinesweeper",
"max_stars_repo_path": "TestMyMinesweeper/MainWindowDriver.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4895"
} | starcoder | <filename>TestMyMinesweeper/MainWindowDriver.cs
using Codeer.Friendly.Windows.Grasp;
using RM.Friendly.WPFStandardControls;
namespace TestMyMinesweeper
{
class MainWindowDriver
{
private dynamic MainWindow { get; }
private IWPFDependencyObjectCollection<System.Windows.DependencyObject> Tree {... | 2.642507 | 978beca0d31250b55012d5d3cc50a202 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4895 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "belav/roslyn",
"max_stars_repo_path": "src/Analyzers/Core/Analyzers/UseIsNullCheck/AbstractUseIsNullForReferenceEqualsDiagnosticAnalyzer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4896"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Immutable;
using System.Linq;
using System.Threading;
using Microsoft.CodeAnalysis.CodeSty... | 1.886206 | 265cc1cab7a4737f78af9b4dc9fdd638 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4896 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "didaskein/HikuBackend",
"max_stars_repo_path": "Hiku.Services/Service/BlobStorage/BlobStorage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4897"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO.Compression;
using Azure.Storage.Blobs.Models;
using Azure.Storage.Blobs;
using Azure.Storage.Blobs.Specialized;
using Azure;
using Azure.Storage.Sas;
using S... | 1.945599 | e07cda92dd0ad6cbbc1eb5b4847ca567 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4897 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "schulzy/TrafficSimulation",
"max_stars_repo_path": "Schulzy.TrafficSimulation.Model/Road/Segment.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4898"
} | starcoder | <filename>Schulzy.TrafficSimulation.Model/Road/Segment.cs
namespace Schulzy.TrafficSimulation.Model.Road
{
internal class Segment
{
public Segment(Point startPoint, Point endPoint)
{
StartPoint = startPoint;
EndPoint = endPoint;
}
public Point StartPoint... | 2.374368 | fc8cebd47a7472ef9a8f25fe89ea601f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4898 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Gamee-Studio/common",
"max_stars_repo_path": "Assets/_Root/Runtime/BaseInterpret.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4899"
} | starcoder | using System.Collections;
using UnityEngine;
namespace Pancake.Common
{
public abstract class BaseInterpret : MonoBehaviour
{
[SerializeField] protected string interpretName = string.Empty;
public float startGoal;
public float minimumDelta = 0.01f;
public C.ETimeScale timeType;... | 2.122296 | 1143a142e4dec268edba5fb71a83e3a4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4899 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CoolsJoris/NBi",
"max_stars_repo_path": "NBi.Core/Etl/IPackageEvents.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4900"
} | starcoder | <filename>NBi.Core/Etl/IPackageEvents.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NBi.Core.Etl
{
public interface IPackageEvents
{
string Message { get; set; }
TimeSpan ExecutionTime { get; set; }
}
}
| 1.67754 | 5ac9dd10f1341f0b04ee9f6f584c5d02 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4900 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "luizfbicalho/Camunda.NET",
"max_stars_repo_path": "camunda-bpm-platform-net/engine/src/main/java/org/camunda/bpm/engine/impl/migration/instance/MigratingProcessElementInstance.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4901"
} | starcoder | /*
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
* under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. Camunda licenses this file to you under the Apache License,
* Version 2.0; ... | 1.816299 | 4d3646ed52dc1a2e28136fc2253a678c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4901 | {
"extension": "c-sharp",
"max_stars_count": "420.0",
"max_stars_repo_name": "p-org/PSharp",
"max_stars_repo_path": "Tests/Core.Tests/Machines/ReceiveEventIntegrationTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4902"
} | starcoder | // ------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// --------------------------------------------------------... | 2.253122 | 5e28f42dea69dae582547283de87b8d5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4902 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "alexddhuang/QFramework",
"max_stars_repo_path": "Assets/QFramework/Framework/6.EditorToolKit/Editor/UnityEditorRushTools/VarCodeGenerationTools.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4903"
} | starcoder | /****************************************************************************
* Copyright (c) 2017 ~ 2018.7 Karsion
*
* http://qframework.io
* https://github.com/liangxiegame/QFramework
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documenta... | 1.949959 | 9c8c615579822bdbd05c1975a09bd502 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4903 | {
"extension": "c-sharp",
"max_stars_count": "1730.0",
"max_stars_repo_name": "utpilla/opentelemetry-dotnet",
"max_stars_repo_path": "src/OpenTelemetry.Api/Internal/Guard.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4904"
} | starcoder | // <copyright file="Guard.cs" company="OpenTelemetry Authors">
// Copyright The OpenTelemetry Authors
//
// 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/licen... | 2.585739 | af4ae6dd7ac1ab8d59113feee294604c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4904 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "Genbox/SimpleS3-Ext",
"max_stars_repo_path": "src/SimpleS3.Core/Extensions/StreamExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4905"
} | starcoder | <filename>src/SimpleS3.Core/Extensions/StreamExtensions.cs<gh_stars>10-100
using System.IO;
using System.Text;
using System.Threading.Tasks;
using Genbox.SimpleS3.Core.Common.Constants;
namespace Genbox.SimpleS3.Core.Extensions
{
public static class StreamExtensions
{
public static async Task... | 2.960187 | e9dd001c7d869668632f01118d01ceeb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4905 | {
"extension": "c-sharp",
"max_stars_count": "77.0",
"max_stars_repo_name": "hartviglarsen/OurUmbraco",
"max_stars_repo_path": "OurUmbraco/NotificationsWeb/EventHandlers/Test.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4906"
} | starcoder | <filename>OurUmbraco/NotificationsWeb/EventHandlers/Test.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using umbraco.BusinessLogic;
using umbraco.cms.businesslogic.web;
using NotificationsCore;
namespace NotificationsWeb.EventHandlers
{
public class Test: ApplicationBase
... | 1.768213 | eded52e23d1a0ff1a1cd3e2d879e2ce5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4906 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NikolaySpasov/Softuni",
"max_stars_repo_path": "Programming Fundamentals/02.ProgramFundamDataTypesAndVariables-Exer/3. Practice Characters and Strings/PracticeCharactersAndStrings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4907... | starcoder | //Create a new C# project and create a program that assigns character and string values to variables.
//Be sure that each value is stored in the correct variable.
//Finally, you need to print all variables to the console.
namespace PracticeCharactersAndStrings
{
using System;
public class PracticeCharactersAn... | 4.198654 | 392638d31b9a979f2f62b963bbda7300 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4907 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "chishige1217200/mycrane",
"max_stars_repo_path": "Assets/Scripts/ArmNail.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4908"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ArmNail : MonoBehaviour
{
CraneManager craneManager;
BaseLifter lifter;
void OnTriggerEnter(Collider collider)
{
if (collider.tag == "Floor")
{
switch (craneManager.GetCType())
... | 2.084766 | e0fbc98b4d6d087c86349be924f40b2c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4908 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Lea-0821/CodeLab1",
"max_stars_repo_path": "InClass/3DMath/Assets/Scenes/CamreaLook.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4909"
} | starcoder | <filename>InClass/3DMath/Assets/Scenes/CamreaLook.cs<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CamreaLook : MonoBehaviour
{
public float sphereRadius = 0.1f;
// The offset of grabed object
[SerializeField]private float zOffset =3f;
[Serializ... | 2.323724 | 49be0727c75af262c6c13a3ba41f26d0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4909 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tintoy/wamp-akkadotnet",
"max_stars_repo_path": "src/Akka.Wamp/Actors/WampSubscriber.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4910"
} | starcoder | using Akka.Actor;
using Akka.Event;
using System;
using System.Collections.Immutable;
using WampSharp.V2;
namespace Akka.Wamp.Actors
{
using Messages;
/// <summary>
/// Actor that represents a specific subscription to a WAMP topic, forwarding messages to the owning actor.
/// </summary>
/// <r... | 2.363529 | 138a734c00c77dbe692e695711800374 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4910 | {
"extension": "c-sharp",
"max_stars_count": "37.0",
"max_stars_repo_name": "Sonlanggtu/DemoGetStartedIdentityServer4",
"max_stars_repo_path": "CLientProjects/WebClient/Views/Home/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:4911"
} | starcoder | @{
ViewData["Title"] = "Home Page";
}
<div class="text-center">
<h1 class="display-4">Welcome</h1>
<p>Learn about <a href="https://docs.microsoft.com/aspnet/core">building Web apps with ASP.NET Core</a>.</p>
</div>
@using Microsoft.AspNetCore.Authentication
<h2>Claims</h2>
<dl>
@foreach (var claim i... | 2.582826 | 9cf2f366d83398ab3f609419a7230551 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4911 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "khanhdrag9/FallGuyClone",
"max_stars_repo_path": "Assets/Game/Scripts/CreationHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4912"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public static class CreationHelper
{
public static void SetLayer(Transform source, int layer, bool excluseParent)
{
if(!excluseParent)
source.gameObject.layer = layer;
foreach (Transform trans in sourc... | 2.388943 | cf2026c02ab90e98bdb57922c4f62cd3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4912 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "natividadejoao/eShopOnWeb",
"max_stars_repo_path": "Web/Validation/ValidationBasket/DeleteBasketValidator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4913"
} | starcoder | using FluentValidation;
using Web.Response.ResponseBasket;
namespace Web.Validation.ValidationBasket
{
public class DeleteBasketValidator : AbstractValidator<DeleteBasketById>
{
public DeleteBasketValidator()
{
RuleFor(x => x.id).NotEmpty();
RuleFor(x => x.catalog).Not... | 1.854346 | 75c77d3e54cac49d73061a916659e7c8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4913 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "jayroblack/GTDToDo",
"max_stars_repo_path": "Code/ScooterBear.GTD.Application/Users/New/SendNewUserEmailContract.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4914"
} | starcoder | using System;
using System.Threading.Tasks;
using ScooterBear.GTD.Application.Services.Email;
using ScooterBear.GTD.Patterns.CQRS;
namespace ScooterBear.GTD.Application.Users.New
{
public class SendNewUserEmailResult : IServiceResult
{
}
public class SendNewUserEmailArg : IServiceArgs<SendNewUserEmai... | 2.157691 | 0b0fdf9e2e5b579046cf80ba8f7115fb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4914 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "FinchYang/test",
"max_stars_repo_path": "AecPrivateCloud.ALL/Core/AecCloud.Data/EfRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4915"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.Entity;
using System.Data.Entity.Validation;
using System.Web;
using AecCloud.Core;
namespace AecCloud.Data
{
/// <summary>
/// From NopCommerce
/// </summar... | 2.541723 | df4a533f8061210d66fd910f1f247271 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4915 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jacobduijzer/SolidPrinciplesApp",
"max_stars_repo_path": "Solid/Solid/SolidPrinciples/Principle.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4916"
} | starcoder | using System.Collections.Generic;
namespace Solid.Models
{
public class Principle
{
public int Id { get; set; }
public string Name { get; set; }
public string ShortDescription { get; set; }
public string Description { get; set; }
public string Recognize { get; set; }
... | 1.969929 | 81fe0a2baeaa23dbc4aa2a683306ffc8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4916 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "Eimaen/MusixmatchClientLib",
"max_stars_repo_path": "MusixmatchClientLib/API/Model/Types/Lyrics.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4917"
} | starcoder | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
namespace MusixmatchClientLib.API.Model.Types
{
public class LyricsUser
{
[JsonProperty("user")]
public User User;
}
public class LyricsVerifiedBy
{
[JsonProperty("user")]
public User User;
... | 1.610722 | cafcb5b6b42ce6c75c614acd5ae8e4ac |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4917 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "soshimozi/MagicK.Net",
"max_stars_repo_path": "Source/Magick.NET/Core/Drawables/DrawableCircle.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4918"
} | starcoder | <reponame>soshimozi/MagicK.Net
//=================================================================================================
// Copyright 2013-2017 <NAME> <https://magick.codeplex.com/>
//
// Licensed under the ImageMagick License (the "License"); you may not use this file except in
// compliance with the License... | 2.764392 | c943c6a58a09ed5b6d5de46c5b01e3a0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4918 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "shawnweisfeld/CompressionTester",
"max_stars_repo_path": "zCompressionWorker/FileService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4919"
} | starcoder | <filename>zCompressionWorker/FileService.cs
using Microsoft.ApplicationInsights;
using Microsoft.ApplicationInsights.DataContracts;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
namespace z... | 2.598373 | 52e4f63cbdf1df67bc0bd4aeed6ff554 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4919 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Lanselotto/Anamnesis",
"max_stars_repo_path": "Anamnesis/Core/Memory/AddressService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4920"
} | starcoder | // © Anamnesis.
// Developed by <NAME> <NAME>.
// Licensed under the MIT license.
namespace Anamnesis.Core.Memory
{
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading.Tasks;
using Anamnesis.Memory;
#pragma warning disable SA1027, SA1025
public class AddressService... | 1.763688 | f2ee94a4cf1b2eb0760dee6da3123f6d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4920 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "jpdillingham/Functal",
"max_stars_repo_path": "src/FnFunction_Cycle_Single.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4921"
} | starcoder | // Decompiled with JetBrains decompiler
// Type: Functal.FnFunction_Cycle_Single
// Assembly: Functal, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: 47DC2DAE-D56F-4FC5-A0C3-CC69F2DF9A1F
// Assembly location: \\WSE\Folder Redirection\JP\Downloads\Functal-1_0_0\Functal.dll
namespace Functal
{
interna... | 2.235597 | 94f22437e86d11e2b19ad366cf104c09 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4921 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "xtuaok/ACT.TTSYukkuri",
"max_stars_repo_path": "ACT.TTSYukkuri/HOYA/HOYASettingsPanel.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4922"
} | starcoder | namespace ACT.TTSYukkuri.HOYA
{
partial class HOYASettingsPanel
{
/// <summary>
/// 必要なデザイナー変数です。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 使用中のリソースをすべてクリーンアップします。
/// </summary>
/// <param nam... | 1.783806 | ff56ce2b3ca74057b79a9a24b38baa6d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4922 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "scardetto/Agatha",
"max_stars_repo_path": "examples/Sample.ServiceLayer/Handlers/HelloWorldHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4923"
} | starcoder | <filename>examples/Sample.ServiceLayer/Handlers/HelloWorldHandler.cs
using Agatha.Common;
using Agatha.ServiceLayer;
using Sample.Common.RequestsAndResponses;
namespace Sample.ServiceLayer.Handlers
{
public class HelloWorldHandler : RequestHandler<HelloWorldRequest, HelloWorldResponse>
{
public override Response H... | 2.324834 | f7ebe80b1a1d2660a480c076a690d74c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4923 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gatekeep/Trident.RPC",
"max_stars_repo_path": "Utility/Cryptography/DiffieHellman/Digests/GeneralDigest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4924"
} | starcoder | /**
* Copyright (c) 2008-2020 <NAME>., All Rights Reserved.
* MIT Open Source. Use is subject to license terms.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*/
/*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (t... | 2.610713 | 47a434d06bd07653269532275e2bb408 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4924 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Wolfos/Adventure-RPG",
"max_stars_repo_path": "World/TimedObjectSwap.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4925"
} | starcoder | using System.Collections;
using Models;
using UnityEngine;
public class TimedObjectSwap : MonoBehaviour
{
[SerializeField] private TimeStamp onTime = new TimeStamp(20,0);
[SerializeField] private TimeStamp offTime = new TimeStamp(7,0);
[SerializeField] private GameObject onObject;
[SerializeField] private GameOb... | 2.578953 | febc745f335de954bfad59f82e1ababf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4925 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "falko/zeebe-client-csharp",
"max_stars_repo_path": "Client.UnitTests/JobWorkerTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4926"
} | starcoder | //
// Copyright (c) 2018 camunda services GmbH (<EMAIL>)
//
// 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
//
// Unles... | 1.97348 | be874dc324974a389f34483d0974dc80 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4926 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "opsjor/DesktopBridgeHelpers",
"max_stars_repo_path": "DesktopBridge.Helpers/Helpers.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4927"
} | starcoder | using System;
using System.Runtime.InteropServices;
using System.Text;
namespace DesktopBridge
{
public class Helpers
{
const long APPMODEL_ERROR_NO_PACKAGE = 15700L;
[DllImport("kernel32.dll", CharSet = CharSet.Unicode, SetLastError = true)]
static extern int GetCurrentPackageFullNam... | 2.489499 | c034b2311eb701039878b823526a1c49 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4927 | {
"extension": "c-sharp",
"max_stars_count": "57.0",
"max_stars_repo_name": "jnyrup/ConfigureAwaitChecker",
"max_stars_repo_path": "ConfigureAwaitChecker.Tests/TestClasses/AwaitExtensionWrongConfigureAwait_Fine.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4928"
} | starcoder | <filename>ConfigureAwaitChecker.Tests/TestClasses/AwaitExtensionWrongConfigureAwait_Fine.cs
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
using ConfigureAwaitChecker.Lib;
using ConfigureAwaitChecker.Tests;
[CheckerTests.ExpectedResult(CheckerProblem.NoProblem)]
public class AwaitExtensionWrongC... | 1.76187 | 9d66a4b2d187cb086daf7a952366a9f9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4928 | {
"extension": "c-sharp",
"max_stars_count": "56.0",
"max_stars_repo_name": "achinn/fluentcassandra",
"max_stars_repo_path": "src/Connections/IConnection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4929"
} | starcoder | <reponame>achinn/fluentcassandra<filename>src/Connections/IConnection.cs
using FluentCassandra.Apache.Cassandra;
using System;
namespace FluentCassandra.Connections
{
public interface IConnection : IDisposable
{
DateTime Created { get; }
bool IsOpen { get; }
Server Server { get; }
Cassandra.Client Client {... | 1.798686 | de20219cfad8f374fe96c50bc9ab8279 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4929 | {
"extension": "c-sharp",
"max_stars_count": "85.0",
"max_stars_repo_name": "akoeplinger/roslyn",
"max_stars_repo_path": "src/EditorFeatures/Core/Implementation/LineSeparators/LineSeparatorTag.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4930"
} | starcoder | <reponame>akoeplinger/roslyn<filename>src/EditorFeatures/Core/Implementation/LineSeparators/LineSeparatorTag.cs<gh_stars>10-100
// Copyright (c) Microsoft. 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.Win... | 2.380934 | 18438bca66669690830e62729595ceaf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4930 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "AndrioCelos/AIML",
"max_stars_repo_path": "Aiml/Tags/Person2.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4931"
} | starcoder | using System.Xml;
namespace Aiml {
public partial class TemplateNode {
/// <summary>
/// Replaces words in the content with first-person aspect with the corresponding third-person aspect, and vice versa.
/// </summary>
/// <remarks>
/// This element can also be used without content, in which case it... | 2.70085 | a83693cd698b76a9083d8f953dad2edd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4931 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ehsan-maleki/serilog-sinks-elastic-ecs-logstash",
"max_stars_repo_path": "src/Serilog.Sinks.ElasticEcsLogstash/LoggerEcsEnricherConfigurationExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4932"
} | starcoder | using System;
using Microsoft.AspNetCore.Http;
using Serilog.Configuration;
using Serilog.Enrichers;
namespace Serilog
{
public static class LoggerEcsEnricherConfigurationExtensions
{
public static LoggerConfiguration WithEcs(this LoggerEnrichmentConfiguration enrich,
IHttpContex... | 2.096761 | 8412c6128ae8f95cb8e478eeb7700045 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4932 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "RobertAcksel/UnrealCS",
"max_stars_repo_path": "Engine/Plugins/UnrealCS/UECSharpDomain/UnrealEngine/GeneratedScriptFile_Game_64bits/UBlendSpace1D_FixSize.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4933"
} | starcoder | <reponame>RobertAcksel/UnrealCS
#if WITH_GAME
#if PLATFORM_64BITS
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace UnrealEngine
{
public partial class UBlendSpace1D
{
static readonly int bScaleAnimation__Offset;
public bool bScaleAnimation
{
get{ CheckIsVal... | 1.957746 | ea2f266d994b7b9ab25df93ae5f84a09 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4933 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "johanneshanek/metabase",
"max_stars_repo_path": "backend/src/GraphQl/Users/UserQueries.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4934"
} | starcoder | using System;
using System.Linq;
using System.Security.Claims;
using System.Threading;
using System.Threading.Tasks;
using HotChocolate;
using HotChocolate.Data;
using HotChocolate.Types;
using Microsoft.AspNetCore.Identity;
namespace Metabase.GraphQl.Users
{
[ExtendObjectType(nameof(Query))]
public sealed cla... | 1.950208 | d234846b889f32a51d717786524a01ff |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4934 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NenovaRositsa/CSharp-OOP",
"max_stars_repo_path": "03InterfacesAndAbstraction/03Telephony/StationaryPhone.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4935"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
namespace Telephony
{
public class StationaryPhone : ICallable
{
public string Call(string number)
{
if (!number.Any(c => char.IsDigit(c)))
{
th... | 3.096023 | d21c5d03b5281786e087f3f0388de2f3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4935 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "garyyang2002/azure-sdk-for-net",
"max_stars_repo_path": "sdk/metricsadvisor/Azure.AI.MetricsAdvisor/src/Generated/Models/AnomalyIncident.Serialization.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4936"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Text.Json;
using Azure.Core;
namespace Azure.AI.MetricsAdvisor.Models
{
public partial class AnomalyIncident
{
internal static AnomalyInci... | 1.856133 | eda39e7ddc7c3d6054c77ccef161b4a1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4936 | {
"extension": "c-sharp",
"max_stars_count": "1454.0",
"max_stars_repo_name": "mgravell/azure-functions-host",
"max_stars_repo_path": "test/WebJobs.Script.Tests.E2E.Shared/ArmAuthenticationHelpers.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4937"
} | starcoder | <reponame>mgravell/azure-functions-host
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
namespace WebJobs.Scri... | 2.315831 | c72e141bbbb6fc775c690ffbc5d28373 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.