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 | 5137 | {
"extension": "c-sharp",
"max_stars_count": "79.0",
"max_stars_repo_name": "RichardBelsum/neo-devpack-dotnet",
"max_stars_repo_path": "tests/Neo.SmartContract.Framework.UnitTests/Utils/Extensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5138"
} | starcoder | using Neo.VM.Types;
using System.Reflection;
namespace Neo.SmartContract.Framework.UnitTests.Utils
{
static class Extensions
{
public static void ClearNotifications(this ApplicationEngine engine)
{
typeof(ApplicationEngine).GetField("notifications", BindingFlags.NonPublic | BindingF... | 1.808194 | 48237c2c80b709199ccbbe4f8897a4b0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5138 | {
"extension": "c-sharp",
"max_stars_count": "131.0",
"max_stars_repo_name": "mahmud97/DailyCodingProblem",
"max_stars_repo_path": "DailyCodingProblem.Solutions/200-299/240-259/241/Tests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5139"
} | starcoder | using NUnit.Framework;
namespace DailyCodingProblem.Solutions.Problem241
{
[TestFixture]
public class Tests
{
[TestCase(3, new[] { 4, 3, 0, 1, 5 })]
public void TestGetHIndex_ShouldReturnCorrectly(int expectedResult, int[] paperCitations)
{
// Arrange, Act
var index = Solution.GetHIndex(paperCitations)... | 2.535563 | 146cfbeeaeeb608959a38c394b31e83b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5139 | {
"extension": "c-sharp",
"max_stars_count": "200.0",
"max_stars_repo_name": "gmf002/csharp",
"max_stars_repo_path": "exercises/concept/faceid-2/.meta/Exemplar.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5140"
} | starcoder | <reponame>gmf002/csharp
using System;
using System.Collections.Generic;
public class FacialFeatures
{
public string EyeColor { get; }
public decimal PhiltrumWidth { get; }
public FacialFeatures(string eyeColor, decimal philtrumWidth)
{
EyeColor = eyeColor;
PhiltrumWidth = philtrumWidth... | 3.087367 | 67024135fdc657f6b09fec2fb040da0c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5140 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tomastauer/Tauco",
"max_stars_repo_path": "Tauco.Dicom.Shared/Converters/InfoIdentifierJsonConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5141"
} | starcoder | <filename>Tauco.Dicom.Shared/Converters/InfoIdentifierJsonConverter.cs
using System;
using JetBrains.Annotations;
using Newtonsoft.Json;
namespace Tauco.Dicom.Shared.Converters
{
/// <summary>
/// Specifies converter from <see cref="InfoIdentifier"/> into JSON.
/// </summary>
internal class InfoIden... | 3.134504 | d9aed21d5a6bfb4d8c8f447e638077c0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5141 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "luthfiampas/Avalonia",
"max_stars_repo_path": "src/Avalonia.Visuals/Rendering/SceneGraph/Scene.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5142"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Avalonia.Collections.Pooled;
using Avalonia.VisualTree;
namespace Avalonia.Rendering.SceneGraph
{
/// <summary>
/// Represents a scene graph used by the <see cref="De... | 2.621298 | a2b51f638dc8d68560eb7e066a6a9754 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5142 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "anthonydotnet/dangeasy-crud",
"max_stars_repo_path": "src/DangEasy.Crud/Interfaces/ICrudResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5143"
} | starcoder | using System.Linq;
using DangEasy.Crud.Enums;
namespace DangEasy.Crud.Interfaces
{
public interface ICrudResponse
{
StatusCode StatusCode { get; set; }
bool Success { get; set; }
}
public interface ICreateResponse<TEntity> : ICrudResponse
{
TEntity Data { get; set; }
... | 2.11035 | e780b401da8433f09374a52f1efb822a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5143 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "MCord/TomlConfig",
"max_stars_repo_path": "src/TomlConfig/TypeConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5144"
} | starcoder | namespace TomlConfiguration
{
using System;
using System.Reflection;
public static class TypeConverter
{
private class MethodTypeConverter<T> : ITypeConverter
{
private readonly Func<Type, object, T> conversion;
public MethodTypeConverter(Func<Type, object, T> ... | 2.989199 | dc0a73fa92f8dc04a18e87ff97061120 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5144 | {
"extension": "c-sharp",
"max_stars_count": "478.0",
"max_stars_repo_name": "Yonni123/LAHME",
"max_stars_repo_path": "com.unity.perception/Runtime/Randomization/Randomizers/RandomizerExamples/Utilities/PoissonDiskSampling.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5145"
} | starcoder | using System;
using Unity.Burst;
using Unity.Collections;
using Unity.Jobs;
using Unity.Mathematics;
namespace UnityEngine.Perception.Randomization.Randomizers.Utilities
{
/// <summary>
/// Utility for generating lists of poisson disk sampled points
/// </summary>
public static class PoissonDiskSampli... | 2.58991 | 683b5b49ddaa956cf3b83ce579adbeac |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5145 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "javifelices/choco",
"max_stars_repo_path": "src/chocolatey.tests/MockLogger.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5146"
} | starcoder | // Copyright © 2011 - Present RealDimensions Software, LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
//
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless ... | 2.397894 | 2fad27ed8810774ce1739477deffb7d1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5146 | {
"extension": "c-sharp",
"max_stars_count": "74.0",
"max_stars_repo_name": "Roland09/VegetationStudioProExtensions",
"max_stars_repo_path": "Assets/VegetationStudioProExtensions/Common/Graph/Voronoi/DelaunayVoronoi/Delaunay.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5147"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
namespace DelaunayVoronoi
{
public class DelaunayTriangulator
{
private double MaxX { get; set; }
private double MaxY { get; set; }
public IEnumerable<Point> GeneratePoints(int amount, double maxX, double maxY)
... | 3.274118 | 6db2cb0769c186003f62336fe8370c59 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5147 | {
"extension": "c-sharp",
"max_stars_count": "23.0",
"max_stars_repo_name": "still-scene/t3",
"max_stars_repo_path": "Operators/Types/BoolToFloats.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5148"
} | starcoder | using System.Collections.Generic;
using T3.Core.Logging;
using T3.Core.Operator;
using T3.Core.Operator.Attributes;
using T3.Core.Operator.Slots;
namespace T3.Operators.Types.Id_9db2fcbf_54b9_4222_878b_80d1a0dc6edf
{
public class BoolToFloats : Instance<BoolToFloats>
{
[Output(Guid = "F0321A54-E844-482... | 2.349208 | 5b0031df05460e729ffa25214f61d966 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5148 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "TheBerkin/StdPaint",
"max_stars_repo_path": "StdPaint/DepthComparison.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5149"
} | starcoder | <reponame>TheBerkin/StdPaint
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StdPaint
{
/// <summary>
/// Defines depth comparison types for the StdPaint.ConsoleBuffer3D class.
/// </summary>
public enum DepthComparison
... | 2.994962 | 114cc925ee3d68749321e9f2def384b1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5149 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PayThePro/ClickingProject",
"max_stars_repo_path": "ClickingProject/ClickSimulator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5150"
} | starcoder | using System;
using static SharedProject.Types;
namespace ClickingProject
{
public static class ClickSimulator
{
[System.Runtime.InteropServices.DllImport("user32.dll")]
static extern bool SetCursorPos(int x, int y);
[System.Runtime.InteropServices.DllImport("user32.dll")]
pub... | 3.168658 | 02045bd540eda82de772a1e4631a1df0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5150 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "remogloor/Equals",
"max_stars_repo_path": "AssemblyToProcess/NormalClass.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5151"
} | starcoder | [Equals]
public class NormalClass
{
public int X { get; set; }
public string Y { get; set; }
public double Z { get; set; }
public char V { get; set; }
}
| 2.021286 | dc27ec709339972be0de45179c5d901c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5151 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pictos/maui",
"max_stars_repo_path": "src/Controls/tests/Core.UnitTests/DependencyResolutionTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5152"
} | starcoder | <filename>src/Controls/tests/Core.UnitTests/DependencyResolutionTests.cs
using System;
using System.Collections.Generic;
using NUnit.Framework;
using Microsoft.Maui.Controls.Internals;
namespace Microsoft.Maui.Controls.Core.UnitTests
{
[TestFixture]
public class DependencyResolutionTests : BaseTestFixture
{
class... | 2.296731 | cfa954c510a30485e4f02b5c56732900 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5152 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "DucThanhNguyen/MaterialCMS",
"max_stars_repo_path": "MaterialCMS/Batching/Events/IOnBatchRunStart.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5153"
} | starcoder | <reponame>DucThanhNguyen/MaterialCMS
using MaterialCMS.Batching.Entities;
using MaterialCMS.Events;
namespace MaterialCMS.Batching.Events
{
public interface IOnBatchRunStart : IEvent<BatchRunStartArgs>
{
}
public class BatchRunStartArgs
{
public BatchRun BatchRun { get; set; }
... | 1.556701 | fdc6ef18382219f55e8f181860a5d056 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5153 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "brendangooden/AngleSharp",
"max_stars_repo_path": "src/AngleSharp/Browser/EncodingMetaHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5154"
} | starcoder | <reponame>brendangooden/AngleSharp
namespace AngleSharp.Browser
{
using AngleSharp.Html.Dom;
using AngleSharp.Io;
using AngleSharp.Text;
using System;
using System.Text;
/// <summary>
/// Implementation of an encoding meta handler.
/// </summary>
public class EncodingMetaHandler : I... | 2.444527 | d54adc282cdce673f170fae258ff926f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5154 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ohunecker/Skybrud.Essentials",
"max_stars_repo_path": "src/Skybrud.Essentials/Strings/StringUtils.Int32.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5155"
} | starcoder | using System;
using System.Globalization;
using System.Linq;
using System.Text.RegularExpressions;
namespace Skybrud.Essentials.Strings {
public static partial class StringUtils {
/// <summary>
/// Gets whether the string matches an integer (<see cref="Int32"/>).
/// </summary>
/... | 3.485733 | 74264ff68b2793e9dffe43e3111ce219 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5155 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DomLatr/Meziantou.Framework",
"max_stars_repo_path": "tests/Meziantou.Framework.DependencyScanning.Tests/ScannerTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5156"
} | starcoder | <reponame>DomLatr/Meziantou.Framework<gh_stars>0
#pragma warning disable MA0101
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using LibGit2Sharp;
using Meziantou.Framework.DependencyScanning.Scanners;
using M... | 1.851019 | 145e604303d27ca8de6d4b7c1a57883b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5156 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tanyta78/CSharpOOPAdv",
"max_stars_repo_path": "MainFunctionality/SOLID/StrategyPattern/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5157"
} | starcoder | <reponame>tanyta78/CSharpOOPAdv<filename>MainFunctionality/SOLID/StrategyPattern/Program.cs
namespace StrategyPattern
{
public class Program
{
static void Main()
{
/* public class Client
{
public IStrategy Strategy { get; set; }
pu... | 3.122253 | 6c38e4336b88929b4ac2b696599619bd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5157 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "DrewKestell/JotunnModStub",
"max_stars_repo_path": "PlutoModUnity/Assets/Scripts/assembly_steamworks/Steamworks/CCallbackBaseVTable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5158"
} | starcoder | using System;
using System.Runtime.InteropServices;
namespace Steamworks
{
[StructLayout(LayoutKind.Sequential)]
internal class CCallbackBaseVTable
{
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
public delegate void RunCBDel(IntPtr thisptr, IntPtr pvParam);
[UnmanagedFunctionPointer(CallingConvention.... | 1.842209 | 9d0850190f830c2171b238a802c38b7e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5158 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "toyerovsky/logistics-crud",
"max_stars_repo_path": "src/LogisticsCRUD/Forms/VehicleListForm.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5159"
} | starcoder | namespace PSK.Databases.LogisticsCRUD.Forms
{
partial class VehicleListForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
//... | 2.078709 | a9e7f02ffc0861612d54d967c187b748 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5159 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "NoriHayashi/GoLocal.TimeTracker",
"max_stars_repo_path": "GoLocal.TimeTracker/GoLocal.TimeWise.AzureFunctions/Models/PaginationInfoViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5160"
} | starcoder | // Copyright(c) Microsoft Corporation.
// All rights reserved.
//
// Licensed under the MIT license. See LICENSE file in the solution root folder for full license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace GoLocal.TimeWise.AzureFunctions.M... | 1.786919 | 97cc51de3e0900ae388ebd3f87f15119 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5160 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "antonfirsov/DotNetSandbox",
"max_stars_repo_path": "AsyncWCF/Server/TestService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5161"
} | starcoder | <reponame>antonfirsov/DotNetSandbox
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Server
{
[ServiceBehavior(InstanceContextMode ... | 2.801453 | 6e64430a56e19b110d7f762e4f6ee2a5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5161 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "joch0a/coding-exercises",
"max_stars_repo_path": "InterviewPreparation/CommonExercises/Hard-Array/ContainerWithMostWater.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5162"
} | starcoder | <reponame>joch0a/coding-exercises<gh_stars>1-10
using System;
namespace InterviewPreparation.CommonExercises.Hard_Array
{
class ContainerWithMostWater
{
public int MaxArea(int[] height)
{
var maxArea = 0;
var i = 0;
var j = height.Length - 1;
wh... | 3.211419 | 95709d0ac1b1c2f18080d77f93ac661e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5162 | {
"extension": "c-sharp",
"max_stars_count": "103.0",
"max_stars_repo_name": "antosilva/Mina.NET",
"max_stars_repo_path": "Mina.NET/Filter/KeepAlive/IKeepAliveMessageFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5163"
} | starcoder | using System;
using Mina.Core.Session;
namespace Mina.Filter.KeepAlive
{
/// <summary>
/// Provides keep-alive messages to <see cref="KeepAliveFilter"/>.
/// </summary>
public interface IKeepAliveMessageFactory
{
/// <summary>
/// Returns <tt>true</tt> if and only if the specified ... | 2.540478 | e955a6b8053f8646c41beac7182f61b7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5163 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Nick0108/Exhibition",
"max_stars_repo_path": "Application/Misc/ResolutionAdaptive.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5164"
} | starcoder | <reponame>Nick0108/Exhibition
using UnityEngine;
using System.Collections;
public class ResolutionAdaptive : MonoBehaviour {
//float devHeight = 10f;
float devWidth = 15f;
// Use this for initialization
void Start()
{
// float screenHeight = Screen.height;
//摄像机的尺寸
fl... | 1.899434 | 7002b553ec1b3e5124796f3c9dd0bb9f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5164 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "OfficeDevUnofficial/ews-managed-api",
"max_stars_repo_path": "ews-managed-api/PropertyDefinitions/ExtendedPropertyDefinition.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5165"
} | starcoder | /*
* Exchange Web Services Managed API
*
* Copyright (c) Microsoft Corporation
* All rights reserved.
*
* MIT License
*
* 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 restr... | 2.150009 | 1977804e23bb0278ffa8d052491f56f4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5165 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Thoris/BolaoNet",
"max_stars_repo_path": "BolaoNet.Application/Base/GenericApp.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5166"
} | starcoder | using BolaoNet.Application.Interfaces.Base;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace BolaoNet.Application.Base
{
/// <summary>
/// Classe que trabalha com funcionalidade... | 3.149259 | 408b1f1cd3f62d40263084f8e28db373 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5166 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "arnodenuijl/DisTrace",
"max_stars_repo_path": "src/DisTrace.Core/TracingContextHeaders.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5167"
} | starcoder | namespace DisTrace.Core
{
public static class TracingContextHeaders
{
public const string CausationIdHeaderName = "X-Causation-Id";
public const string FlowIdHeaderName = "X-Flow-Id";
public const string RequestIdHeaderName = "X-Request-Id";
}
} | 1.248998 | 30a9a4b4cedd290af40404a8c0e569e7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5167 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Junaid-D/ELEN4010_DI",
"max_stars_repo_path": "DB_man/DB_man/RequestClasses/SingleNewsProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5168"
} | starcoder | <reponame>Junaid-D/ELEN4010_DI
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DB_man.RequestInterfaces;
using NewsResponse;
using DB_man.ResponseIntefaces;
namespace DB_man.RequestClasses
{ /// <summary>
/// This class obtains news articl... | 2.522035 | c24c8bb491e9bb1b748e45ae3ae015c7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5168 | {
"extension": "c-sharp",
"max_stars_count": "25.0",
"max_stars_repo_name": "Asterionworld/ether",
"max_stars_repo_path": "OpenSim/Framework/Servers/Tests/GetAssetStreamHandlerTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5169"
} | starcoder | /*
* Copyright (c) 2015, InWorldz Halcyon Developers
* 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 notice, this
*... | 1.593863 | bd2074b226947d788141f5217f7c3a14 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5169 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FST2015PM/AppInventarios",
"max_stars_repo_path": "PueblosMagicos/PueblosMagicos.Android.Inventario/RecuperarNipActivity.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5170"
} | starcoder | <reponame>FST2015PM/AppInventarios
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using System.Threading.Tasks;
namespace PueblosMagicos.Android.Inventar... | 2.137513 | 97ea8a29109150480e5768c888ae11cd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5170 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Nolanlemahn/NTBUtils",
"max_stars_repo_path": "ForceSortingLayer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5171"
} | starcoder | /*
NTBUtils (Not Too Big Utilities) is a small suite of Unity classes provided
with the intent of simplifying the usage of commonly-used game implementation
paradigms. This is version 0.1.3.
Copyright (c) 2017 <NAME>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and as... | 2.293415 | f6bf8d10ea81bf3503c6b19ed28aea44 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5171 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TanaUmbreon/PokeAbilities",
"max_stars_repo_path": "PokeAbilities/Passives/PassiveAbility_2270004.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5172"
} | starcoder | <reponame>TanaUmbreon/PokeAbilities
using System;
using System.Linq;
using LOR_DiceSystem;
namespace PokeAbilities.Passives
{
/// <summary>
/// パッシブ「てきおうりょく」
/// タイプ一致のとき、更に与えるダメージ・混乱ダメージ量+1
/// </summary>
public class PassiveAbility_2270004 : PassiveAbilityBase
{
public ov... | 1.971102 | b145ed26e4c8118776efabb42a53daad |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5172 | {
"extension": "c-sharp",
"max_stars_count": "97.0",
"max_stars_repo_name": "benquarmby/jslintnet",
"max_stars_repo_path": "specifications/JSLintNet.QualityTools/MockTestFixture.Moq.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5173"
} | starcoder | namespace JSLintNet.QualityTools
{
using System;
using System.Linq.Expressions;
using Moq;
public partial class MockTestFixture<T> : IDisposable
{
public Mock<TService> GetMock<TService>()
where TService : class
{
return this.AutoMocker.Mock<TService>();
... | 2.141377 | 0af6e48053c2356400c9fdd895cd101a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5173 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "awooo-ph/GNHS-P.Gate",
"max_stars_repo_path": "GNHS-P.Gate/Converters/BytesToImage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5174"
} | starcoder | <filename>GNHS-P.Gate/Converters/BytesToImage.cs<gh_stars>0
using System;
using System.IO;
using System.Windows.Data;
using System.Windows.Media.Imaging;
namespace GNHSP.Gate.Converters
{
class BytesToImage : ConverterBase
{
protected override object Convert(object value, Type targetType, object param... | 2.805248 | 182082941c8ddb38ef2eb78dbbd26d47 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5174 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "guillaume-haerinck/KanagaWave",
"max_stars_repo_path": "Assets/Scripts/Audio/SC_PulsationSystem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5175"
} | starcoder | // ---------------------------
// Copyright <NAME>, 2016.
// <NAME>.
// ---------------------------
using UnityEngine;
using System.Collections;
//using UnityEngine.UI;
//using XInputDotNetPure;
public class SC_PulsationSystem : MonoBehaviour
{
#region Public Fields
public AudioSource AS_Music;
public int i... | 1.765671 | 8603f3fcf39dd3e61e7d82669934cb02 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5175 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CptCipher/MLTDTools",
"max_stars_repo_path": "src/ScenarioEdit/Entities/TexTargetName.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5176"
} | starcoder | <filename>src/ScenarioEdit/Entities/TexTargetName.cs
using UnityStudio.Serialization;
using UnityStudio.Serialization.Naming;
namespace OpenMLTD.ScenarioEdit.Entities {
[MonoBehaviour(NamingConventionType = typeof(CamelCaseNamingConvention))]
public sealed class TexTargetName {
public int Target { ge... | 1.762612 | a37bf3ad134a2cb30468022acfa2ee67 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5176 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cushmily/wMvc",
"max_stars_repo_path": "wMVC/UIMonoViewController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5177"
} | starcoder | <gh_stars>0
using UnityEngine;
namespace wMVC
{
public class UIMonoViewController : MonoBehaviour
{
protected virtual void ViewUpdate()
{
if (ComputeConditions())
{
UpdateItems();
}
}
private void Start()
{
... | 1.81244 | fc3ad5cae8c9830f6ce1a8d417087f61 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5177 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Arcri/AerovelenceMod",
"max_stars_repo_path": "Content/Items/Armor/Runic/RunicHat.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5178"
} | starcoder | using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace AerovelenceMod.Content.Items.Armor.Runic
{
[AutoloadEquip(EquipType.Head)]
public class RunicHat : ModItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Runic Hat");
Tooltip... | 2.204555 | 69b8a499ae842523aac9535be3092118 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5178 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SkillsFundingAgency/DC-ILR-1819-FundingService-SF",
"max_stars_repo_path": "src/FM25/ESFA.DC.ILR.FundingService.FM25Actor/FM25Actor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5179"
} | starcoder | <reponame>SkillsFundingAgency/DC-ILR-1819-FundingService-SF<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime;
using System.Threading;
using System.Threading.Tasks;
using Autofac;
using ESFA.DC.ILR.FundingService.Data.External;
using ESFA.DC.ILR.FundingService.Data.File... | 1.433911 | bc298e914075a314993918d222a23c4a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5179 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vpaleshnikov/SoftUni-C-FundamentalsModule",
"max_stars_repo_path": "C#Advanced/06.FunctionalProgramming-Lab/04.AddVAT/AddVAT.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5180"
} | starcoder | <gh_stars>0
using System;
using System.Linq;
namespace _04.AddVAT
{
class AddVAT
{
static void Main(string[] args)
{
var input = Console.ReadLine()
.Split(new[] { ", " }, StringSplitOptions.RemoveEmptyEntries)
.Select(double.Parse)
.S... | 3.142941 | 8d231ee09711cd318e878c6bc112fa75 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5180 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bartosz-jarmuz/CodeMazeGuides",
"max_stars_repo_path": "csharp-linq/LINQSortingAndFiltering/LINQSortingAndFiltering/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5181"
} | starcoder | namespace LINQSortingAndFiltering
{
public class Program
{
public static void Main(string[] args)
{
var run = true;
while (run)
{
Sorting();
Filtering();
Console.WriteLine($"{Environment.NewLine} Run Again? (Y/N... | 3.183425 | 1e121a89e1e037b9cd362a4a98a5b660 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5181 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "modplug/Xamarin.Forms.PancakeView",
"max_stars_repo_path": "src/Xamarin.Forms.PancakeView.Multi/Platforms/Shared/MarkupExtensions/ShadowExtension.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5182"
} | starcoder | <gh_stars>1-10
using System;
using Xamarin.Forms.Xaml;
namespace Xamarin.Forms.PancakeView
{
[AcceptEmptyServiceProvider]
public class ShadowExtension : IMarkupExtension<DropShadow>
{
public float BlurRadius { set; get; } = (float)DropShadow.BlurRadiusProperty.DefaultValue;
public Color C... | 2.173868 | c35bf3fb8809051e7a73b6ac1ad17fe5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5182 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ReeceRose/NewAgeRealEstate",
"max_stars_repo_path": "NARE.Tests/Core/Application/Agent/Command/CreateAgent/CreateAgentTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5183"
} | starcoder | using System.Threading;
using System.Threading.Tasks;
using AutoMapper;
using Microsoft.AspNetCore.Identity;
using Moq;
using NARE.Application.Agent.Command.CreateAgent;
using NARE.Application.Utilities;
using NARE.Domain.Entities;
using NARE.Tests.Helpers;
using Xunit;
namespace NARE.Tests.Core.Application.Agent.Com... | 2.110205 | 8936f4fa61dff17277776e2219d9b98c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5183 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "kennux/OsFPS",
"max_stars_repo_path": "Assets/UnityTK/Code/Prototypes/PrototypeUtil.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5184"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
namespace UnityTK.Prototypes
{
public static class PrototypeUtil
{
public static IEnumerable<T> TSort<T>(this IEnumerable<T> source, Func<T, IEnumerable<T>> dependencies, bool throwOnCycle = false)
{
var sorted = new... | 3.207215 | 4fad5aacdb1bee21aa5cb4efd40e9a30 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5184 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "iulianPeiu6/UScheduler",
"max_stars_repo_path": "src/UScheduler.WebApi/UScheduler.WebApi.Workspaces/Data/Migrations/20220324151250_InitialCreate001.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5185"
} | starcoder | using Microsoft.EntityFrameworkCore.Migrations;
using System;
#nullable disable
namespace UScheduler.WebApi.Workspaces.Data.Migrations
{
public partial class InitialCreate001 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable... | 1.995373 | db1435fb30f5d61d956fb982aae60a84 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5185 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "StavrosD/BrainTree-PayPal-DotNet",
"max_stars_repo_path": "BrainTree-PayPal-CSharp.Net/Fail.aspx.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5186"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace BrainTree_PayPal_CSharp.Net
{
public partial class Fail : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
... | 2.234603 | 4dbbe6499470dbabf7708e6542cc16a4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5186 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "yashuer/Apps",
"max_stars_repo_path": "Apps.Web/Views/SysSample/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:5187"
} | starcoder | @using Apps.Locale;
@using Apps.Common;
@{
ViewBag.Title = "Index";
Layout = "~/Views/Shared/_Index_Layout.cshtml";
}
<script src="../Scripts/jquery.easyui.plus.js"></script>
<div id="modalwindow" class="easyui-window" data-options="modal:true,closed:true,minimizable:false,shadow:false"></div>
<div class="mvct... | 1.708104 | 548377cf8f1711a46bf24d9743112c63 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5187 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "bhuebschen/feuerwehrcloud-deiva",
"max_stars_repo_path": "webserver-69631/branches/1.x/HttpServer/HttpServer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5188"
} | starcoder | <filename>webserver-69631/branches/1.x/HttpServer/HttpServer.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Net.Security;
using System.Net.Sockets;
using System.Security.Authentication;
using System.Security.Cryptography.X509Certificates;
using HttpServe... | 2.009591 | d87ab2231eacf3653d3c58f1f52251c6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5188 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "BrainCrumbz/BotBuilder-Samples",
"max_stars_repo_path": "CSharp/demo-Search/RealEstateBot/Dialogs/RealEstateSearchDialog.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5189"
} | starcoder | namespace RealEstateBot.Dialogs
{
using System;
using Search.Dialogs;
using Search.Services;
[Serializable]
public class RealEstateSearchDialog : SearchDialog
{
private static readonly string[] TopRefiners = { "region", "city", "type" };
public RealEstateSearchDialog(ISearchCl... | 2.311533 | 9c475f28a779817f3dfd246896a0a666 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5189 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "piotrstenke/Durian",
"max_stars_repo_path": "src/Durian.AnalysisServices/_attr/DiagnosticFilesAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5190"
} | starcoder | <reponame>piotrstenke/Durian
// Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT license.
using System;
using System.Diagnostics;
namespace Durian
{
/// <summary>
/// Informs that the specified files relative to the project directory contain definitions of diagnostics.
/// </summary>
[Conditi... | 2.527952 | 2a0f1cccae9f51022f15861949e45091 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5190 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "rcravens/GenericRepository",
"max_stars_repo_path": "Infrastructure/IRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5191"
} | starcoder | using System.Collections.Generic;
namespace Repository.Infrastructure
{
public interface IRepository<TEntity> where TEntity:class
{
bool Add(TEntity entity);
bool Add(IEnumerable<TEntity> items);
bool Update(TEntity entity);
bool Delete(TEntity entity);
bool Delete(IEnumerable<TEntity> entities);
}
}
| 2.275737 | 24bfe5840de36a3e05b06d8973d7a3d9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5191 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "josesimoes/nanoFramework.Graphics",
"max_stars_repo_path": "nanoFramework.Graphics/Presentation/Media/SolidColorBrush.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5192"
} | starcoder | <filename>nanoFramework.Graphics/Presentation/Media/SolidColorBrush.cs<gh_stars>1-10
//
// Copyright (c) .NET Foundation and Contributors
// Portions Copyright (c) Microsoft Corporation. All rights reserved.
// See LICENSE file in the project root for full license information.
//
using System;
using nanoFramework.UI;... | 2.8634 | f0ebd5fb51f2a54d1cf35e12963160a8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5192 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "umerfaruk/inshapardaz",
"max_stars_repo_path": "src/Inshapardaz.Api.Tests/Accounts/RefreshToken/WhenRefreshTokenIsInvalid.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5193"
} | starcoder | using Inshapardaz.Api.Models.Accounts;
using Inshapardaz.Api.Tests.Asserts;
using Inshapardaz.Api.Tests.Helpers;
using NUnit.Framework;
using System.Net.Http;
using System.Threading.Tasks;
namespace Inshapardaz.Api.Tests.Accounts.RefreshToken
{
[TestFixture]
public class WhenRefreshTokenIsInvalid : TestBase
... | 1.934239 | cbbea3c7757753d0f860b8523ae4bcbd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5193 | {
"extension": "c-sharp",
"max_stars_count": "38.0",
"max_stars_repo_name": "JanusTida/Tida.CAD",
"max_stars_repo_path": "Tida.Canvas.Shell/Canvas/Ribbon/UndoRibbonButtonItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5194"
} | starcoder | <reponame>JanusTida/Tida.CAD
using Tida.Canvas.Shell.Contracts.Canvas;
using Tida.Canvas.Shell.Contracts.Canvas.Events;
using Tida.Canvas.Shell.Contracts.Ribbon;
using Prism.Commands;
using System.Windows.Input;
using Tida.Canvas.Shell.Contracts.Common;
namespace Tida.Canvas.Shell.Canvas.Ribbon {
/// <summary>
... | 1.592497 | 7a842cb97da484f70aad075b3c6f0cbc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5194 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "missymessa/roslyn",
"max_stars_repo_path": "src/Features/CSharp/Portable/MisplacedUsingDirectives/MisplacedUsingDirectivesCodeFixProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5195"
} | 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;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Composition;
using... | 1.810246 | 5ee5351348173ea1a65e3c53cbd29b70 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5195 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "LibertyLocked/webscripthook",
"max_stars_repo_path": "webscripthook-plugin/Extensions/ExtensionLoader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5196"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace WebScriptHook.Extensions
{
class ExtensionLoader
{
/// <summary>
/// Get Extension subclasses from an assembly and instantiate... | 3.094913 | 22ad92ab44b34bbac58ef0e1d505ce62 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5196 | {
"extension": "c-sharp",
"max_stars_count": "43.0",
"max_stars_repo_name": "idsyn/Encrypt",
"max_stars_repo_path": "c#/Util.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5197"
} | starcoder | <gh_stars>10-100
using System;
using System.IO;
using System.Security.Cryptography;
using System.Text;
namespace WebMd5
{
public class Util
{
private static DESCryptoServiceProvider getDesProvider(string k)
{
var des = new DESCryptoServiceProvider();
if (!... | 2.932351 | 4b6dd214bc2bd0cd108dbc35e8f9241b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5197 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JTOne123/elasticsearch-net",
"max_stars_repo_path": "src/Nest/Aggregations/Metric/Stats/StatsAggregate.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5198"
} | starcoder | <gh_stars>1-10
// 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
namespace Nest
{
public class StatsAggregate : MetricAggregateBase
{
public double? Average { ... | 1.374321 | 731e075500b66bf7bcedcca3b88ec4df |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5198 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ZerlenZhang/QuickStartTools",
"max_stars_repo_path": "Assets/ReadyGamerOne/Model/Rougelike/Person/PersonSystem/AbstractPerson/GameObjectExtension.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5199"
} | starcoder | <gh_stars>1-10
using System;
using UnityEngine;
using UnityEngine.Assertions;
namespace ReadyGamerOne.Rougelike.Person
{
/// <summary>
/// 拓展GameObject快速获取角色信息的引用
/// </summary>
public static class GameObjectExtension
{
public static T GetPersonInfo<T>(this GameObject obj)
w... | 2.597034 | 4dbe33ef9e4cdd747b0da8300c6fb43b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5199 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "chi-rei-den/Silverfish",
"max_stars_repo_path": "cards/BLACK_TEMPLE/BT/Sim_BT_703t.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5200"
} | starcoder | <gh_stars>1-10
/* _BEGIN_TEMPLATE_
{
"id": "BT_703t",
"name": [
"被诅咒的阴影",
"Cursed Shadow"
],
"text": [
"<b>潜行</b>",
"<b>Stealth</b>"
],
"CardClass": "ROGUE",
"type": "MINION",
"cost": 7,
"rarity": null,
"set": "BLACK_TEMPLE",
"collectible": null,
"dbfId": 57498
}
_END_TEMPLATE_ ... | 1.204766 | 9c012aec4815d6e8d6b6fcc7421d9b38 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5200 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "philiplaureano/LinFu.Loaders",
"max_stars_repo_path": "LinFu.Loaders/Interfaces/IActionLoader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5201"
} | starcoder | <reponame>philiplaureano/LinFu.Loaders<gh_stars>1-10
using System;
using System.Collections.Generic;
namespace LinFu.Loaders
{
/// <summary>
/// Represents a class that can configure
/// a target of type <typeparamref name="TTarget" />
/// using an input type of <typeparamref name="TInput"... | 2.619377 | 18398cc13826328551f5d2cd1d093a45 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5201 | {
"extension": "c-sharp",
"max_stars_count": "286.0",
"max_stars_repo_name": "fabioqmarsiaj/20483-Programming-in-C-sharp",
"max_stars_repo_path": "Allfiles/Mod13/Labfiles/Starter/Exercise 1/Grades.WPF/Controls/StudentPhoto.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5202"
} | starcoder | using System.Windows.Controls;
using System.Windows.Media.Animation;
namespace Grades.WPF
{
public partial class StudentPhoto : UserControl
{
#region Constructor
public StudentPhoto()
{
InitializeComponent();
}
#endregion
#region Storyboard
... | 2.585614 | 938609485765405f4ad363dbeac215cc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5202 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "Clancey/SimpleIoCApp",
"max_stars_repo_path": "SimpleIoCApp/ViewModels/DetailViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5203"
} | starcoder | <reponame>Clancey/SimpleIoCApp
using System;
namespace SimpleIoCApp
{
public class DetailViewModel : BaseViewModel
{
public DetailViewModel()
{
}
public string Title => Color?.Title ?? "No Color";
public MyColorClass Color { get; set; }
}
}
| 1.80746 | a1215e13235263b45333ca02bd19abb4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5203 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GitMje/azure-devops-migration-tools",
"max_stars_repo_path": "src/MigrationTools/Enrichers/IWorkItemSourceEnricher.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5204"
} | starcoder | using MigrationTools.DataContracts;
namespace MigrationTools.Enrichers
{
public interface IWorkItemSourceEnricher : IWorkItemEnricher
{
int EnrichToWorkItem(WorkItemData workItem);
}
} | 1.446824 | 08b93399b3f6b858feb90d19ce69c6f8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5204 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wovencode/urogue",
"max_stars_repo_path": "Scripts/Objects/ObjectBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5205"
} | starcoder | // =======================================================================================
// UROGUE - FIRST PERSON DUNGEON CRAWLER TOOLKIT (Copyright by wovencode.net)
//
// --- DO NOT CHANGE ANYTHING BELOW THIS LINE (UNLESS YOU KNOW WHAT YOU ARE DOING) ---
// ========================================================... | 2.034523 | a9a477212da7da51902686d2d014da80 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5205 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cheficha/1stProject-BattleShips-",
"max_stars_repo_path": "Battleships/Battleships/BattleShipsEngine/Contracts/IComputerPlayer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5206"
} | starcoder | <filename>Battleships/Battleships/BattleShipsEngine/Contracts/IComputerPlayer.cs
using Battleships.Models;
using Battleships.Models.Contracts;
using System.Collections.Generic;
namespace Battleships.BattleshipsEngine.Contracts
{
interface IComputerPlayer
{
void Initialize( Battlefield hiddenGrid, ILis... | 1.894539 | 9e92534794ffed81c9498eae55a0aa5b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5206 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "corvus-dotnet/Corvus.Tenancy",
"max_stars_repo_path": "Solutions/Corvus.Tenancy.Abstractions/Corvus/Tenancy/ITenant.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5207"
} | starcoder | // <copyright file="ITenant.cs" company="Endjin Limited">
// Copyright (c) Endjin Limited. All rights reserved.
// </copyright>
namespace Corvus.Tenancy
{
using Corvus.Json;
/// <summary>
/// Describes a tenant in a multitenanted system.
/// </summary>
/// <remarks>
/// <para>
/// Any sol... | 2.409055 | 0e2f3c88e501d1b33f5f9b0a2d2bd8ec |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5207 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RutgersUniversityVirtualWorlds/FreshTherapyOffice",
"max_stars_repo_path": "Assets/SimplePath/Main/Code/AI/Planning/AStarPlanner.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5208"
} | starcoder | <reponame>RutgersUniversityVirtualWorlds/FreshTherapyOffice
#region Copyright
// ******************************************************************************************
//
// SimplePath, Copyright © 2011, <NAME>
//
// **************************************************************************************... | 2.380172 | 532034dd133c8d199245390d53bb22bc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5208 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vrishe/Roslynator",
"max_stars_repo_path": "source/VisualStudio.Refactorings/VSPackage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5209"
} | starcoder | // Copyright (c) <NAME>. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Runtime.InteropServices;
using Microsoft.VisualStudio;
using Microsoft.VisualStudio.Shell;
using Microsoft.VisualStudio.Shell.Interop;
... | 1.400145 | 7141f614f9c8968b189c6613cfd8301b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5209 | {
"extension": "c-sharp",
"max_stars_count": "56.0",
"max_stars_repo_name": "JTOne123/SignalGo-full-net",
"max_stars_repo_path": "SignalGo.Client/SettingInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5210"
} | starcoder | <gh_stars>10-100
namespace SignalGo.Client
{
/// <summary>
/// setting of client
/// </summary>
public class SettingInfo
{
}
}
| 1.122318 | 29e74bb6646c16f6ba4e7b559e53da6d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5210 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NormanChiflen/xamarin-all-IOS",
"max_stars_repo_path": "src/SensorKit/SRAbsoluteTime.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5211"
} | starcoder | <reponame>NormanChiflen/xamarin-all-IOS
using System;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using ObjCRuntime;
#nullable enable
namespace SensorKit {
#if NET
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
[UnsupportedOSPlatform ("tvos")]
[UnsupportedO... | 1.764776 | d6cefd3a48a73bff4587a9bdadfb6771 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5211 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "OpenChargingCloud/WWCP_",
"max_stars_repo_path": "WWCP_OCPPv1.6/DataTypes/Simple/Reservation_Id.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5212"
} | starcoder | /*
* Copyright (c) 2014-2021 GraphDefined GmbH
* This file is part of WWCP OCPP <https://github.com/OpenChargingCloud/WWCP_OCPP>
*
* 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
*
* ... | 2.493293 | 2e597d951781910be2a007d5362d2b8e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5212 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "nemesissoft/Nemesis.TextParsers",
"max_stars_repo_path": "Nemesis.TextParsers/Parsers/07_Dictionary.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5213"
} | starcoder | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Runtime.CompilerServices;
using JetBrains.Annotations;
using Nemesis.TextParsers.Runtime;
using Nemesis.TextParsers.Settings;
using Nemesis.TextParsers.Utils;
namespace Nemesis.TextParsers.Parsers
{
//todo support I... | 2.437939 | dfd7c5ba6007a693f763d36b8be17a8a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5213 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VeSaK101/Programming-Fundamentals",
"max_stars_repo_path": "ListsLab/P03.SumAdjesentEquals/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5214"
} | starcoder | <filename>ListsLab/P03.SumAdjesentEquals/Program.cs
using System;
using System.Collections.Generic;
using System.Linq;
namespace P03.SumAdjesentEquals
{
class Program
{
static void Main(string[] args)
{
//var input = Console.ReadLine();
//input = string.Join(" ", input... | 3.615497 | 9d70d864f5d7e841638f320ea14f1fb5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5214 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ijlynivfhp/Wyj.Core",
"max_stars_repo_path": "Wyj.Core.Extensions/ServiceExtensions/JobSetup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5215"
} | starcoder | <reponame>ijlynivfhp/Wyj.Core
using Wyj.Core.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Quartz;
using Quartz.Spi;
using System;
using System.Linq;
using System.Reflection;
namespace Wyj.Core.Extensions
{
/// <summary>
/// 任务调度 启动服务
/// </summary>
public static class JobSetup
{
... | 1.91204 | c3d33a503fe0edda7dd0dd816a3291a7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5215 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MarkIvanDev/NittyGritty",
"max_stars_repo_path": "NittyGritty/NittyGritty.Uwp.Activation/Operations/AddAppointmentOperation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5216"
} | starcoder | using System;
using System.Text;
using System.Threading.Tasks;
using NittyGritty.Platform.Payloads;
using NittyGritty.Uwp.Activation.Operations.Configurations;
using Windows.ApplicationModel.Activation;
using Windows.ApplicationModel.Core;
using Windows.UI.ViewManagement;
using Windows.UI.Xaml.Controls;
namespace Nit... | 2.086633 | 1d5ffa950d6df91fa8a1e4ef34c14459 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5216 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "pottereric/roslyn",
"max_stars_repo_path": "src/Compilers/Core/Portable/Symbols/PlatformInvokeInformation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5217"
} | starcoder | // 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.Runtime.InteropServices;
using Microsoft.CodeAnalysis.Text;
using Roslyn.Utilities;
using Cci = Microsoft.Cci;
namespace Microsoft.CodeAnalysis... | 2.431885 | 050527b9bc858e141d8b3ae4b3eb6834 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5217 | {
"extension": "c-sharp",
"max_stars_count": "74.0",
"max_stars_repo_name": "decentraland/unity-renderer",
"max_stars_repo_path": "unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/ExploreV2/Scripts/MainMenu/ExploreV2Menu/ExploreV2MenuComponentView.cs",
"provenance": "train-00000-of-00045.jsonl.gz:521... | starcoder | using DCL;
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public interface IExploreV2MenuComponentView : IDisposable
{
/// <summary>
/// It will be triggered when the close button is clicked.
/// </summary>
event Action<bool> OnCloseButtonPressed;
/// ... | 1.990545 | cb0e582f84dd96fb6bd285df6ce2edc6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5218 | {
"extension": "c-sharp",
"max_stars_count": "50.0",
"max_stars_repo_name": "pakunapamsft/service-fabric-services-and-actors-dotnet",
"max_stars_repo_path": "src/Microsoft.ServiceFabric.Actors.KVSToRCMigration/DataValidationWorker.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5219"
} | starcoder | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
namespace Microsoft.ServiceFabr... | 1.753618 | d0cd03a76c6ac7e9aa8a8f2771ba2bf4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5219 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "zzq424/Monica",
"max_stars_repo_path": "demo/Demo.Library/Abstraction/IUserService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5220"
} | starcoder | using Demo.Library.Dto;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Demo.Library.Abstraction
{
[Injection(ServiceLifetime.Scoped, InjectionPolicy.Replace)]
public interface IUser... | 1.959479 | 40d81ec136ae8773a2fae3fc705d84c5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5220 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "bdkuhman/KTANETerminal",
"max_stars_repo_path": "Assets/Editor/Scripts/ModConfig.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5221"
} | starcoder | using UnityEngine;
using System.Collections;
using Newtonsoft.Json;
using System.Collections.Generic;
#if UNITY_EDITOR
[UnityEditor.InitializeOnLoad]
#endif
public sealed class ModConfig : ScriptableObject
{
public static string ID
{
get { return Instance.id; }
set { Instance.id = value; }
... | 2.393931 | cd552e3c901bd7572f303e1275ed7f88 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5221 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bbourdon/mono",
"max_stars_repo_path": "mcs/errors/cs1996.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5222"
} | starcoder | <filename>mcs/errors/cs1996.cs
// CS1996: The `await' operator cannot be used in the body of a lock statement
// Line: 12
// Compiler options: -langversion:future
using System;
using System.Threading.Tasks;
class C
{
public async Task Test ()
{
lock (this) {
await Call ();
}
}
static Task Call ()
{
re... | 2.372419 | f42dda1dfd0749cec51fed6d5b5f2b34 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5222 | {
"extension": "c-sharp",
"max_stars_count": "188.0",
"max_stars_repo_name": "NETMF/llilum",
"max_stars_repo_path": "Zelig/Zelig/CompileTime/TargetModels/ProductConfiguration/Abstractions/ARM/Operators/VectorHack_Base.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5223"
} | starcoder | <filename>Zelig/Zelig/CompileTime/TargetModels/ProductConfiguration/Abstractions/ARM/Operators/VectorHack_Base.cs
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
namespace Microsoft.Zelig.Configuration.Environment.Abstractions.ARM
{
using System;
using System.Collections.Generic;
usi... | 2.01277 | ad9a3eed96cde145a13416dfa1e650d1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5223 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "maw136/merlin",
"max_stars_repo_path": "MarWac.Merlin/SourceDrivers/InvalidYamlConfigurationFormatException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5224"
} | starcoder | using System;
using System.Runtime.Serialization;
namespace MarWac.Merlin.SourceDrivers
{
/// <summary>
/// Thrown when configuration domain expressed with YAML source is invalid (e.g missing or disorder of expected
/// YAML node names/sequences/etc.). In this case YAML source is valid according t... | 2.38804 | 9257086911cb21f17270b5f2e42f3ec9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5224 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ivayloivanof/OOP-CSharp",
"max_stars_repo_path": "04.EncapsulationAndPolymorphism/OtherHomeworks/OOP-master/01. OOP-Defining-Classes-Homework/01.Persons/PersonsTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5225"
} | starcoder | <gh_stars>0
using System;
class PersonsTest
{
static void Main()
{
Person g = new Person("Georgi", 23);
Console.WriteLine(g);
Person i = new Person("Ivan", 20, "<EMAIL>");
Console.WriteLine(i);
}
}
| 2.120225 | cad8495555773e7d16cf2810fbd034dd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5225 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GlebZikunov/TMS-DotNet-Group-4-Zikunov",
"max_stars_repo_path": "src/TMS-DotNet-Group-4-CashManager/Models/Cart.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5226"
} | starcoder | <gh_stars>0
namespace TMS_DotNet_Group_4_CashManager.Models
{
public class Cart
{
public Inventory inventory = new Inventory();
}
} | 1.219979 | cd93ffaec5588f05af6ed72714a50651 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5226 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ProphetManX/ProphetsWay.Logger",
"max_stars_repo_path": "ProphetsWay.Logger/BaseLoggingDestination.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5227"
} | starcoder | using System;
namespace ProphetsWay.Utilities
{
/// <summary>
/// A Base class for creating new custom ILoggingDestinations, all you need to implement is the Log method
/// </summary>
public abstract class BaseLoggingDestination : LoggingDestinationCore, ILoggingDestination
{
protected BaseLoggingDestination(Lo... | 2.871557 | 7447000a3b8fc8e156431dcdd1e251dd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5227 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "brettratner/Get-EM",
"max_stars_repo_path": "GetEmFinal/Assets/Scripts/Networked/PlayerMove.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5228"
} | starcoder | <reponame>brettratner/Get-EM
using UnityEngine;
using UnityEngine.Networking;
public class PlayerMove : NetworkBehaviour
{
[SerializeField]
private GameObject _cameraPrefab = null; // camera prefab
private GameObject cameraObj;
[SyncVar]
public Color color;
public float speed;
private Rigidbody rb;
public s... | 1.924916 | c01658371a6a126f9c03b2cf88d7d951 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5228 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "komand33448/donutOrsomething.github.io",
"max_stars_repo_path": "firstShit/firsttest/firsttest/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5229"
} | starcoder | <gh_stars>0
using System;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace firsttest
{
class Program
{
static void Main(string[] args)
{
int a = 10;
int b = 5;
Console.WriteLine("Hello World!");
if... | 2.758 | da4a04b2743898db8adb3902ccd609f9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5229 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "developersworkspace/EPONS",
"max_stars_repo_path": "SourceCode/EPONS/EPONS.Teddy.Presentation/ViewObjects/Survey/Index.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5230"
} | starcoder | <reponame>developersworkspace/EPONS
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace EPONS.Teddy.Presentation.ViewObjects.Survey
{
public class Index : Base
{
public Application.Entities.Survey Survey { get; set; }
public Application.Entities.Patie... | 1.677581 | 24d4d5f85bf6749d2405e410058afa30 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5230 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "psvaiter/one-http-client",
"max_stars_repo_path": "test/OneHttpClient.UnitTests/Fixtures/OperationResponseFixture.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5231"
} | starcoder | namespace OneHttpClient.UnitTests.Fixtures
{
public class OperationResponseFixture
{
public bool Success { get; set; }
public string ServerMessage { get; set; }
}
}
| 1.376213 | fc94459dfcb2099ebb78a6c659942540 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5231 | {
"extension": "c-sharp",
"max_stars_count": "146.0",
"max_stars_repo_name": "gaybro8777/ImageViewer",
"max_stars_repo_path": "ImageFramework/Model/Scaling/Down/FastGaussShader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5232"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ImageFramework.DirectX;
using ImageFramework.Model.Shader;
using ImageFramework.Utility;
namespace ImageFramework.Model.Scaling.Down
{
// fast gauss shade... | 2.305667 | 8faa6b903472d7ced99c2db709ebd39a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5232 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "andrewgunn/codeutopia",
"max_stars_repo_path": "CodeUtopia.Domain/IVersionNumberProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5233"
} | starcoder | namespace CodeUtopia.Domain
{
public interface IVersionNumberProvider
{
int GetNextVersionNumber();
}
} | 1.706709 | 3f042493b6eed1610a3b6cc5612c5a33 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5233 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "skedgyedgy/Artemis.Plugins",
"max_stars_repo_path": "src/Collections/Artemis.Plugins.PhilipsHue/RGB.NET/HueRGBDeviceProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5234"
} | starcoder | <reponame>skedgyedgy/Artemis.Plugins
using System;
using System.Collections.Generic;
using System.Linq;
using Artemis.Plugins.PhilipsHue.RGB.NET.Hue;
using Q42.HueApi;
using Q42.HueApi.Interfaces;
using Q42.HueApi.Models.Groups;
using Q42.HueApi.Streaming;
using Q42.HueApi.Streaming.Models;
using RGB.NET.Core;
namesp... | 2.279786 | 0b104adfd8ef69f08eb583cafe939cb2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5234 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SerBritov/nordic-it-netcore",
"max_stars_repo_path": "23/L22_C02_empty_asp_net_core_app_final/Controllers/CitiesController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5235"
} | starcoder | using System.Linq;
using Microsoft.AspNetCore.Mvc;
using L22_C02_empty_asp_net_core_app_final.Models;
namespace L22_C02_empty_asp_net_core_app_final.Controllers
{
[ApiController]
[Route("cities")]
public class CitiesController : ControllerBase
{
private readonly CitiesDataStore _store;
public CitiesControlle... | 2.835726 | 551b6abaf06f9a93a5f5074f3bfa424b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5235 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rholzner/Epinova.Elasticsearch",
"max_stars_repo_path": "src/Epinova.ElasticSearch.Core.EPiServer/Models/BoostingInputModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5236"
} | starcoder | using System.Collections.Generic;
namespace Epinova.ElasticSearch.Core.EPiServer.Models
{
public class BoostingInputModel
{
public BoostingInputModel()
{
Boosting = new Dictionary<string, int>();
}
public string TypeName { get; set; }
public Dictionary<st... | 1.661555 | 0958ddd4b1e5afb35ae826fc9d2f6925 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5236 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "BBGONE/TaskBroker",
"max_stars_repo_path": "SSSBLayer/TaskBroker/Core/SSSBTasksCoordinator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5237"
} | starcoder | using Coordinator;
using Microsoft.Extensions.Logging;
namespace TaskBroker.SSSB.Core
{
public class SSSBTasksCoordinator : BaseTasksCoordinator
{
public SSSBTasksCoordinator(ILoggerFactory loggerFactory, IMessageReaderFactory messageReaderFactory,
int maxReadersCount, bool isQueueActivat... | 1.549818 | 151fa466023bbc96bd4dfe92abd1a4b6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.