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 | 74933 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Meet1995/Python-Unity-AudioTransfer",
"max_stars_repo_path": "UnityProject/Assets/NetMQExample/Scripts/Dispatcher.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74934"
} | starcoder | <filename>UnityProject/Assets/NetMQExample/Scripts/Dispatcher.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
public class Dispatcher : MonoBehaviour
{
public static Queue<Action> ExecuteOnMainThread = new Queue<Action>();
public void Update()
{... | 2.316 | d0d8a2025de1d3280aa913a1c25883ae |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74934 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "phenix1021/PhenixDotNet",
"max_stars_repo_path": "PhenixUnity/src/AI/BT/Actions/Pursue.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74935"
} | starcoder | <gh_stars>0
using UnityEngine;
namespace Phenix.Unity.AI.BT
{
[TaskIcon("TaskIcons/Pursue.png")]
public class Pursue : Action<PursueImpl> { }
[System.Serializable]
public class PursueImpl : NavMeshLocomotionImpl
{
[SerializeField]
protected float targetDistPrediction = 20;
... | 1.694111 | 904d18760c8160edcdd78e8029b6f904 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74935 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "holthe-tveit/digipost-api-client-dotnet",
"max_stars_repo_path": "Digipost.Api.Client.Common/Enums/UnidentifiedReason.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74936"
} | starcoder | namespace Digipost.Api.Client.Common.Enums
{
public enum UnidentifiedReason
{
/// <summary>
/// When more than one possible subject. Try narrow down the search with more information about the subject.
/// </summary>
MultipleMatches,
/// <summary>
/// Sub... | 2.115987 | 36cdd1ad3870bc49edb779482d7cd1bf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74936 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "CBke/NoStringEvaluating",
"max_stars_repo_path": "NoStringEvaluating/Services/Keepers/WordKeeper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74937"
} | starcoder | <filename>NoStringEvaluating/Services/Keepers/WordKeeper.cs
using System.Collections.Generic;
using NoStringEvaluating.Exceptions;
using NoStringEvaluating.Models.Values;
using NoStringEvaluating.Services.Keepers.Base;
namespace NoStringEvaluating.Services.Keepers
{
internal class WordKeeper : BaseValueKeeper<str... | 2.415766 | 995c67cba7e329f45faec4ec6da72604 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74937 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ajpeacock0/udp-transfer-dotnet",
"max_stars_repo_path": "UdpConsoleApp/UdpTransport/UdpListener.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74938"
} | starcoder | <filename>UdpConsoleApp/UdpTransport/UdpListener.cs
using System.Net;
using System.Net.Sockets;
using System.Text;
namespace UdpConsoleApp
{
class UdpListener : UdpBase
{
private IPEndPoint _listenOn;
public UdpListener(int port) : this(new IPEndPoint(IPAddress.Any, port))
{
}
... | 2.851713 | dd3cd16f4ad80b7f5316cfafe733000b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74938 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "BillDinger/SCHackathon2016",
"max_stars_repo_path": "src/Foundation/SitecoreExtensions/code/Extensions/RenderingExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74939"
} | starcoder | <filename>src/Foundation/SitecoreExtensions/code/Extensions/RenderingExtensions.cs
namespace Sitecore.Foundation.SitecoreExtensions.Extensions
{
using System;
using Sitecore;
using Sitecore.Mvc.Presentation;
using Sitecore.Resources.Media;
using Sitecore.Xml;
public static class RenderingExtensions
{
... | 2.471739 | 25284b1f3341f3980729a5183d6ae67d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74939 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nollidnosnhoj/wabbajack",
"max_stars_repo_path": "Wabbajack.App.Wpf/Views/ModListTileView.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74940"
} | starcoder | <gh_stars>0
using System;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using System.Windows;
using System.Windows.Media.Media3D;
using MahApps.Metro.IconPacks;
using ReactiveUI;
namespace Wabbajack
{
/// <summary>
/// Interaction logic for ModListTileView.xaml
/// </summary>
public p... | 1.83439 | cc9fc983aa401ca3168bdde06ab6f27a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74940 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ManuelRauber/Thinktecture.Abstractions",
"max_stars_repo_path": "src/Thinktecture.Net.Primitives.Abstractions/Net/Adapters/DnsEndPointAdapter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74941"
} | starcoder | #if NETSTANDARD1_3 || NETSTANDARD2_0 || NET45
using System;
using System.ComponentModel;
using System.Net;
using System.Net.Sockets;
using JetBrains.Annotations;
// ReSharper disable AssignNullToNotNullAttribute
namespace Thinktecture.Net.Adapters
{
/// <summary>Represents a network endpoint as a host name or a str... | 2.703613 | c9c31cf55f9a4a232abb83dca4e49b4a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74941 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "VolleyManagement/volley-management",
"max_stars_repo_path": "tests/unit-tests/VolleyM.Architecture.UnitTests/TypesFixture.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74942"
} | starcoder | using NetArchTest.Rules;
namespace VolleyM.Architecture.UnitTests
{
public class TypesFixture
{
internal static Types AllProjectTypes()
{
return Types.InAssemblies(AssembliesFixture.AllAssemblies);
}
}
} | 1.357913 | db8f0e4149e779ee186b11a9c9b26082 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74942 | {
"extension": "c-sharp",
"max_stars_count": "25.0",
"max_stars_repo_name": "edwinhuish/eipcore2",
"max_stars_repo_path": "Api/Core/EIP/Controllers/DataController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74943"
} | starcoder | <gh_stars>10-100
using EIP.Common.Entities.Dtos;
using EIP.Common.Restful;
using EIP.Common.Restful.Attribute;
using EIP.System.Business.Permission;
using EIP.System.Models.Dtos.Permission;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System.Threading.Tasks;
namespace EIP.Controller... | 1.855026 | 10cda171cd213ea024118ef039443f8a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74943 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JamesKovacs/docs.particular.net",
"max_stars_repo_path": "Snippets/Samples_4_0/Testing/TestConstructorInjection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74944"
} | starcoder | using NServiceBus;
using NServiceBus.Testing;
using NUnit.Framework;
namespace Samples_4_0
{
[TestFixture]
class TestConstructorInjection
{
// start code ConstructorInjection
[Test]
public void RunWithConstructorDependency()
{
Test.Initialize();
var... | 2.321155 | 383610d7d8c37dc6bbcf1116c691af9d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74944 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "kyle8998/2D-Endless-Runner",
"max_stars_repo_path": "Assets/Scripts/ObstacleGenerator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74945"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ObstacleGenerator : MonoBehaviour {
public GameObject theObstacle;
public Transform generationPoint;
private float distanceBetween;
private float distanceBetweenX;
public float distanceBetweenMin;
publ... | 2.265327 | a3dd7e87a337ec10318c6789be366c6c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74945 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tk-yoshimura/ErfiApproximation",
"max_stars_repo_path": "ErfiApproximation/ErfiN16.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74946"
} | starcoder | using MultiPrecision;
namespace ErfiApproximation {
public static class ErfiN16 {
public static MultiPrecision<Pow2.N16> C(MultiPrecision<Pow2.N16> x) {
if (x.Sign == Sign.Minus) {
return -C(-x);
}
if (x.IsZero) {
return MultiPrecision<P... | 2.73949 | 4590d1032709bd4081d68409141c285b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74946 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AngelitoDark/SICE",
"max_stars_repo_path": "MaterialSkinExample/Deposito.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74947"
} | starcoder | namespace MaterialSkinExample
{
partial class Deposito
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | 1.87749 | 0679628b1104ad49a5f23807996e831b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74947 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "highduck/duckstazy-archive",
"max_stars_repo_path": "duckstazy-remix/Assets/Scripts/PlayerInputControl.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74948"
} | starcoder | using System.Collections.Generic;
using UnityEngine;
public class PlayerInputControl: PlayerControl {
protected override void UpdateControl(float dt) {
base.UpdateControl(dt);
SetMoveDirection(GetMoveDirection());
SetShooting(Get(PlayerKeyName.Fire));
if (GetDown(PlayerKeyName.Fire)) {
ToggleCarrier();
... | 2.468433 | 4d7c21c3be6b456f8f83b520149ad815 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74948 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "marska/quick-todo",
"max_stars_repo_path": "src/QuickToDo/Model/TodoTask.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74949"
} | starcoder | <gh_stars>1-10
using System.ComponentModel;
using System.Runtime.CompilerServices;
namespace QuickToDo.Model
{
public class TodoTask : INotifyPropertyChanged
{
private string _text;
public string Text
{
get => _text;
set
{
_text = value;
OnPropertyChanged();
}
... | 2.71079 | 1c5ab3015149bb3ee2399f35c3d4141c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74949 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "VioletaKirova/CookWithMe",
"max_stars_repo_path": "Web/CookWithMe.Web.InputModels/Recipes/Create/RecipeCreateShoppingListInputModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74950"
} | starcoder | <gh_stars>1-10
namespace CookWithMe.Web.InputModels.Recipes.Create
{
using System.ComponentModel.DataAnnotations;
using CookWithMe.Common;
using CookWithMe.Services.Mapping;
using CookWithMe.Services.Models.ShoppingLists;
public class RecipeCreateShoppingListInputModel : IMapTo<ShoppingListServic... | 1.92957 | 7518aa56a7ee06cc2a7375443b09751c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74950 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "CharlesOkwuagwu/URSA",
"max_stars_repo_path": "URSA.Core/Web/Mapping/RouteAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74951"
} | starcoder | using System;
using URSA.Web.Http;
namespace URSA.Web.Mapping
{
/// <summary>Describes the partial URL associated with the method.</summary>
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Interface | AttributeTargets.Method)]
public class Ro... | 2.988945 | 8e06fff84dac413b9e66c39382181726 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74951 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "StefanSturm87/SharpRemote",
"max_stars_repo_path": "SharpRemote.Test/AssemblySetup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74952"
} | starcoder | <gh_stars>10-100
using System;
using System.IO;
using System.Reflection;
using NUnit.Framework;
namespace SharpRemote.Test
{
[SetUpFixture]
public sealed class AssemblySetup
{
[OneTimeSetUp]
public void OneTimeSetUp()
{
string codeBase = Assembly.GetExecutingAssembly().CodeBase;
UriBuilder uri = new Ur... | 2.350372 | 6e19cd02607abd11529107cec75ccd63 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74952 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "akordowski/GitReleaseManager",
"max_stars_repo_path": "src/GitReleaseManager.Cli/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74953"
} | starcoder | <filename>src/GitReleaseManager.Cli/Program.cs
//-----------------------------------------------------------------------
// <copyright file="Program.cs" company="GitTools Contributors">
// Copyright (c) 2015 - Present - GitTools Contributors
// </copyright>
//----------------------------------------------------... | 2.057973 | e9c29466b4ab723fecd6090d0e6dda24 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74953 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ckarcz/Strata.ConvertedToCSharp",
"max_stars_repo_path": "modules/product/src/test/java/com/opengamma/strata/product/swap/type/OvernightIborSwapConventionTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74954"
} | starcoder | <reponame>ckarcz/Strata.ConvertedToCSharp
/*
* Copyright (C) 2016 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
namespace com.opengamma.strata.product.swap.type
{
//JAVA TO C# CONVERTER TODO TASK: This Java 'import static' statement cannot be converted... | 1.637336 | 2630d5b99c85dd4d06b3d3a67033369b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74954 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "aloisdeniel/Yoga.Xml",
"max_stars_repo_path": "Sources/Yoga.Xml.Sample.Monogame.iOS/SampleGame.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74955"
} | starcoder | <gh_stars>1-10
namespace Yoga.Parser.Sample.Monogame.iOS
{
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
public class SampleGame : Game
{
#region Native view
public class YogaView : IView
{
private Color backgroundColor;
public string Id { get; set; }
public Sample.Recta... | 2.4607 | fa68cab714f3f5915ec97523a308e1f8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74955 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "b-maslennikov/CsvSorter",
"max_stars_repo_path": "CsvSorter/Providers/MemoryIndexProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74956"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using CsvSorter.Entities;
namespace CsvSorter
{
public class MemoryIndexProvider<T> : IIndexProvider<T> where T: IComparable
{
private readonly List<CsvSorterIndex<T>> _indexes;
public MemoryIndexProvider()
{
... | 2.946244 | 68e288b72d46de094b69be536c1eedb3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74956 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "JeremyAnsel/JeremyAnsel.DirectX-Samples",
"max_stars_repo_path": "DXSDK_Jun10_Direct3D11_CascadedShadowMaps11/CascadedShadowMaps11/ShadowTextureFormat.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74957"
} | starcoder | namespace CascadedShadowMaps11
{
enum ShadowTextureFormat
{
R32,
R24,
R16
}
}
| 1.235635 | bdd650d48bf2a4e8f7f70b667ca44076 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74957 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SvenPeldszus/conqat",
"max_stars_repo_path": "org.conqat.engine.dotnet/test-data/org.conqat.engine.dotnet.scope/NUnit_Folder/NUnitCore/tests/AssemblyReaderTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74958"
} | starcoder | // ****************************************************************
// Copyright 2007, <NAME>
// This is free software licensed under the NUnit license. You may
// obtain a copy of the license at http://nunit.org/?p=license&r=2.4
// ****************************************************************
using System;
using NU... | 2.203529 | 5ab968e43f959e5bc515dc7b603d4323 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74958 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "brakim/fortnox.NET",
"max_stars_repo_path": "Fortnox.NET/Models/Supplier/Supplier.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74959"
} | starcoder | <gh_stars>0
using FortnoxNET.Utils;
using Newtonsoft.Json;
namespace FortnoxNET.Models.Supplier
{
[JsonConverter(typeof(CustomJsonConverter))]
[JsonPropertyClass("Supplier")]
public class Supplier
{
[JsonReadOnly]
[JsonProperty(PropertyName = "@url")]
public string Url { get; s... | 1.39002 | b2de97bd72b0d270c24a309bd0fd4f05 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74959 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "nils2525/huobi_sdk_CSharp",
"max_stars_repo_path": "Huobi.SDK.Core/CoinSwap/WS/Response/Index/ReqIndexKLineResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74960"
} | starcoder | <filename>Huobi.SDK.Core/CoinSwap/WS/Response/Index/ReqIndexKLineResponse.cs
using System.Collections.Generic;
using Newtonsoft.Json;
namespace Huobi.SDK.Core.CoinSwap.WS.Response.Index
{
/// <summary>
/// response for premium_index kline and estimated_rate kline two request
/// </summary>
public clas... | 1.893346 | 7234366362864c400cb0146d47450d73 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74960 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "philasmar/aws-sdk-net",
"max_stars_repo_path": "sdk/src/Services/OpsWorks/Generated/Model/LifecycleEventConfiguration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74961"
} | starcoder | <reponame>philasmar/aws-sdk-net
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/... | 1.44208 | 89a24dfd58806d263fe33efdfbc5e182 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74961 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TomaszSitarek/TypedId",
"max_stars_repo_path": "TS.TypedId/TS.TypedId.Test/EquatableEquals.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74962"
} | starcoder | <reponame>TomaszSitarek/TypedId
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace TS.TypedId.Test
{
[TestClass]
public class EquatableEquals
{
[TestMethod]
public void StructNullNotNullClass_opEqual_False()
=> Assert.IsFalse(new IntIdentityA(1).Equals((IntIdentityA)... | 2.151948 | 131e16bf7cb20a6b6289222b2f2daec6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74962 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "moljac/ASP.net.vNext.BugTracker",
"max_stars_repo_path": "src/BugTracker/api/BugsController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74963"
} | starcoder | using BugTracker.Hubs;
using BugTracker.Model;
using Microsoft.AspNet.Mvc;
using Microsoft.AspNet.SignalR;
using Microsoft.AspNet.SignalR.Infrastructure;
using System.Collections.Generic;
using System.Linq;
namespace BugTracker.api
{
public class BugsController : Controller
{
IBugsRepository _bugsRepo... | 2.392485 | 7e8c175a0c293a26677545c18de4ae0b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74963 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HinxVietti/UnityNormKit",
"max_stars_repo_path": "UnityNormalToolKit/HinxCor.Unity.Common/MonoHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74964"
} | starcoder | using System;
using System.Text;
using UnityEngine;
using UnityEngine.Events;
using UnityEngine.UI;
namespace HinxCor.Unity.Common
{
/// <summary>
/// 帮助类
/// </summary>
public static class MonoHelper
{
private static Camera _maincam;
/// <summary>
/// 查找标签为MainCamera的Camer... | 2.521236 | fbb188d2ab52162e0381d7f4f4502d55 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74964 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Auguschd/LiveSPICE",
"max_stars_repo_path": "LiveSPICE/Controls/Schematic/SchematicTool.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74965"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... | 2.278509 | d0fba2352bde9dfa214bfee926aebc73 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74965 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "easynow-me/EasyNow.xUnit.Autofac",
"max_stars_repo_path": "EasyNow.xUnit.Autofac/TestFramework/AutofacTheoryTestCase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74966"
} | starcoder | using System;
using System.ComponentModel;
using System.Threading;
using System.Threading.Tasks;
using Xunit.Abstractions;
using Xunit.Sdk;
namespace EasyNow.xUnit.Autofac.TestFramework
{
internal class AutofacTheoryTestCase : AutofacTestCase
{
[EditorBrowsable(EditorBrowsableState.Never)]
[Obs... | 1.81299 | 8a29a6eead7f104eb3ef5ae70188b3a7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74966 | {
"extension": "c-sharp",
"max_stars_count": "52.0",
"max_stars_repo_name": "GeraldYoung/MFilesSamplesAndLibraries",
"max_stars_repo_path": "Samples/OAuth/COMAPI/MainWindow.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74967"
} | starcoder | using COMAPI.ExtensionMethods;
using Common;
using Common.ExtensionMethods;
using MFilesAPI;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using S... | 2.191356 | e3c916611bc8ed509c95a15babb74fc0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74967 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dayvidsonveiga/crowdfunding-dotnet-dio",
"max_stars_repo_path": "src/Vaquinha.Domain/Interfaces/Service/IHomeInfoService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74968"
} | starcoder | <filename>src/Vaquinha.Domain/Interfaces/Service/IHomeInfoService.cs
using System.Collections.Generic;
using System.Threading.Tasks;
using Vaquinha.Domain.ViewModels;
namespace Vaquinha.Domain
{
public interface IHomeInfoService
{
Task<HomeViewModel> RecuperarDadosIniciaisHomeAsync();
... | 1.523039 | b3719eaaf13b5d1892607c8a165e3daa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74968 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "balivo/appcenter-openapi-sdk",
"max_stars_repo_path": "src/BalivoAppCenterClient/Balivo.AppCenterClient/Models/XcodeBranchConfigurationProperties.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74969"
} | starcoder | // <auto-generated>
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>
namespace Balivo.AppCenterClient.Models
{
using Microsoft.Rest;
using Newtonsoft.Json;
using System.Linq;
/// <su... | 1.827618 | b59d57982489ff3adbf25715216a260d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74969 | {
"extension": "c-sharp",
"max_stars_count": "443.0",
"max_stars_repo_name": "MVoloshin/automatic-graph-layout",
"max_stars_repo_path": "GraphLayout/Test/MSAGLTests/Infrastructure/Constraints/TestFileProcessor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74970"
} | starcoder | <reponame>MVoloshin/automatic-graph-layout
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="TestFileProcessor.cs" company="Microsoft">
// (c) Microsoft Corporation. All rights reserved.
// </copyright>
// ---------------------... | 1.532163 | fc3131faaadd5770c7571151e60be02a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74970 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "d3x0r/xperdex",
"max_stars_repo_path": "xperdex.classes.2/XSprite.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74971"
} | starcoder | using System.Drawing;
using System.Drawing.Drawing2D;
namespace xperdex.classes
{
public class XSprite
{
Image image;
int hotx, hoty;
int rotation;
int curx, cury;
public Fraction ScaleX = new Fraction( 1, 1 ), ScaleY = new Fraction( 1, 1 );
Matrix cur_transform;
public XSprite( Image imag... | 2.572205 | a2b1b653b75977f331b46b985281f577 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74971 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nollidnosnhoj/Audiochan_old",
"max_stars_repo_path": "src/api/src/Audiochan.API/Features/Upload/Commands/CreateUpload/GenerateUploadLinkResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74972"
} | starcoder | namespace Audiochan.API.Features.Upload.Commands.CreateUpload
{
public record GenerateUploadLinkResponse
{
public string UploadId { get; init; } = null!;
public string UploadUrl { get; init; } = null!;
}
} | 1.520125 | df663dde67c22529c0f3706b2f0c3323 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74972 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Ganchong/LuaUI",
"max_stars_repo_path": "Assets/Scripts/CSharp/core/kit/CodecKit.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74973"
} | starcoder | <reponame>Ganchong/LuaUI<filename>Assets/Scripts/CSharp/core/kit/CodecKit.cs
using UnityEngine;
using System.Collections;
/// <summary>
/// 加密解密数据校验工具
/// </summary>
public class CodecKit
{
/* static fields */
/** CRC字典 */
private static uint[] CRCTABLE = MakeCRCTable ();
/* static methods */
/** 创建CRC字典 */
p... | 2.462491 | df9a2f5f7fa70ecb3c1f8bd008d802c1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74973 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "BearerPipelineTest/akka.net",
"max_stars_repo_path": "src/contrib/cluster/Akka.Cluster.Sharding/Internal/EventSourcedRememberEntitiesProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74974"
} | starcoder | <filename>src/contrib/cluster/Akka.Cluster.Sharding/Internal/EventSourcedRememberEntitiesProvider.cs
//-----------------------------------------------------------------------
// <copyright file="EventSourcedRememberEntitiesProvider.cs" company="Akka.NET Project">
// Copyright (C) 2009-2021 Lightbend Inc. <http://w... | 1.910808 | 93bed916eded8a16c45833e84d2ef0eb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74974 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "digitaldrummerj-ionic/allReady",
"max_stars_repo_path": "AllReadyApp/Web-App/AllReady/DataAccess/IAllReadyDataAccess.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74975"
} | starcoder | <filename>AllReadyApp/Web-App/AllReady/DataAccess/IAllReadyDataAccess.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace AllReady.Models
{
/// <summary>
/// We are moving away from the use of IAllReadyDataAccess and to the command/query/handler
/// patter... | 2.276661 | bbf39a5f08f6b9e5d2c18abc1c4c4ff4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74975 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "indcoder/SpecFlowMasterClass.SpecOverflow",
"max_stars_repo_path": "SpecFlowMasterClass.SpecOverflow.Web/Services/ModelTransformationService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74976"
} | starcoder | using System;
using System.Linq;
using SpecFlowMasterClass.SpecOverflow.Web.DataAccess;
using SpecFlowMasterClass.SpecOverflow.Web.Models;
namespace SpecFlowMasterClass.SpecOverflow.Web.Services
{
public class ModelTransformationService
{
private readonly DataContext _dataContext;
public Mode... | 2.502462 | a3a578caa42ba946bffcfa43ecec6540 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74976 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bakiya-sefer/bakiya-sefer",
"max_stars_repo_path": "Assets/Best HTTP (Pro)/BestHTTP/SecureProtocol/crypto/tls/TlsNullCompression.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74977"
} | starcoder | <gh_stars>1-10
version https://git-lfs.github.com/spec/v1
oid sha256:de8774b8a2b8978e5c0194046b1a5cda2c095f4f10bb1573c947bfa630f2159d
size 385
| 1.202958 | 630f374811c946030582625066631f83 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74977 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JoWagnerAtLimagoDe/CSharpTeil1",
"max_stars_repo_path": "NimmspielProjektErsterEntwurf/NimmspielProjektErsterEntwurf/Spiele/Nimmspiel/Player/Oma.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74978"
} | starcoder | using Bundesbank.Spiele.GamePlayer;
using System;
using System.Collections.Generic;
using System.Text;
namespace Bundesbank.Spiele.Nimmspiel.Player
{
public class Oma: AbstractPlayer<int, int>
{
private readonly int[] zuege = { 3, 1, 1, 2 };
public Oma()
{
}
public Om... | 2.483664 | 7bbe9dd2c168930b5bd7bc433fd22eb8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74978 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "m-esm/HCMS",
"max_stars_repo_path": "src/HCMS.Dynamics/Data/DDB.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74979"
} | starcoder | using HCMS.Business;
using HCMS.Dynamics.Forms.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MoreLinq;
namespace HCMS.Dynamics.Data
{
public static class DDB
{
public static DTable GetTable(int FormId, int? CultureId... | 2.434652 | 43e459d6bed0f6c170ac03c08b818a6e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74979 | {
"extension": "c-sharp",
"max_stars_count": "76.0",
"max_stars_repo_name": "afterthislevel/AppDynamics.DEXTER",
"max_stars_repo_path": "ReportObjects/ConfigurationAPM/Maps/ErrorDetectionRuleReportMap.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74980"
} | starcoder | <gh_stars>10-100
using AppDynamics.Dexter.ReportObjects;
using CsvHelper.Configuration;
namespace AppDynamics.Dexter.ReportObjectMaps
{
public class ErrorDetectionRuleReportMap : ClassMap<ErrorDetectionRule>
{
public ErrorDetectionRuleReportMap()
{
int i = 0;
Map(m => m... | 1.625671 | 9bbe4d5089d477c5920f6d2b7c802a50 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74980 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "HeadspringLabs/XlsToEF",
"max_stars_repo_path": "src/XlsToEf.Tests/Infrastructure/OrderMapping.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74981"
} | starcoder | <gh_stars>1-10
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.ModelConfiguration;
using XlsToEf.Tests.Models;
namespace XlsToEf.Tests.Infrastructure
{
public class OrderMapping : EntityTypeConfiguration<Order>
{
public OrderMapping()
{
ToTable("Orders")... | 2.252306 | 6ba424175c38ffe99741daf779b6a2b2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74981 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "pnowosie/ByteEncodings",
"max_stars_repo_path": "src/ByteEncodings.Test/DigitsToBytesDecodingTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74982"
} | starcoder | <gh_stars>1-10
namespace ByteEncodings.Test
{
using System;
using Xunit;
using System.Collections.Generic;
using System.Linq;
public class DigitsToBytesDecodingTests
{
private static readonly IBaseConverter baseConverter = new BaseConverter();
private static readonly Func<IEnume... | 3.035148 | 7204a67f2afe979bacf9911dad965585 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74982 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "evemem15/WebCitasOficial",
"max_stars_repo_path": "CitasWeb/Citas.BL/RequieredAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74983"
} | starcoder | <filename>CitasWeb/Citas.BL/RequieredAttribute.cs
using System;
namespace Admon.BL
{
internal class RequieredAttribute : Attribute
{
}
} | 1.296843 | b2a41cc7ec3914ee5caca736152f8b67 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74983 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GuilhermeMaiaSeabra/kotas",
"max_stars_repo_path": "Kotas.Teste.API/Controllers/PokemonsController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74984"
} | starcoder | <reponame>GuilhermeMaiaSeabra/kotas<filename>Kotas.Teste.API/Controllers/PokemonsController.cs
using Kotas.Teste.API.Domain;
using Kotas.Teste.API.Infrastructure;
using Kotas.Teste.API.Services;
using Kotas.Teste.API.ViewModels;
using System.Linq;
using System.Net;
using System.Threading;
using System.Threading... | 2.236822 | f925387fef4df1ec07171fa66df4499b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74984 | {
"extension": "c-sharp",
"max_stars_count": "476.0",
"max_stars_repo_name": "dvs99/OpenSilver",
"max_stars_repo_path": "src/Runtime/Runtime/System.Windows.Controls/DatePickerFormat.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74985"
} | starcoder | // (c) Copyright Microsoft Corporation.
// This source is subject to the Microsoft Public License (Ms-PL).
// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details.
// All other rights reserved.
using System;
#if MIGRATION
namespace System.Windows.Controls
#else
namespace Windows.UI.Xaml.Controls
#end... | 2.415123 | 707168d5a90bec35d73aeb908dac4946 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74985 | {
"extension": "c-sharp",
"max_stars_count": "1182.0",
"max_stars_repo_name": "PotterDai/resharper-unity",
"max_stars_repo_path": "resharper/resharper-unity/test/data/CSharp/CodeCompletion/List/NoCompletionFollowingSerializeFieldAttribute01.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74986"
} | starcoder | using UnityEngine;
public class A : MonoBehaviour
{
[SerializeField] {caret}
}
| 1.19335 | 72d2709ccfdd14c9c93223da864e8c4a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74986 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LigangSun/AppCenter",
"max_stars_repo_path": "source/Data/Math.Data/Content/QuestionTextPart.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74987"
} | starcoder | <reponame>LigangSun/AppCenter<filename>source/Data/Math.Data/Content/QuestionTextPart.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace SoonLearning.Assessment.Data
{
public class QuestionTextPart : QuestionContentPart
{
private string text = @"";
public string T... | 2.62546 | eaab42a828dfa8e3e5c36bbccb48efca |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74987 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "nickyandreev/AssemblyDefender",
"max_stars_repo_path": "src/AssemblyDefender.Net/CodeModel/Module/Module.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74988"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Linq;
using AssemblyDefender.Net.Metadata;
using AssemblyDefender.PE;
using AssemblyDefender.Common;
using AssemblyDefender.Common.Collections;
using AssemblyDefender.Common.IO;
namespa... | 1.949915 | 245f9548880b0ac5a8195312a3b8d541 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74988 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "fixxiefixx/GameUpdater",
"max_stars_repo_path": "GameUpdater/Updater.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74989"
} | starcoder | using ICSharpCode.SharpZipLib.Core;
using ICSharpCode.SharpZipLib.Zip;
using Lib.Common;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Syste... | 2.549168 | 2d86aee5fae60e3bd7b28318115a589b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74989 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "maksim2143/GreenCaptchaBot",
"max_stars_repo_path": "CaptchaBot.Tests/WelcomeServiceTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74990"
} | starcoder | using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using CaptchaBot.Services;
using Microsoft.Extensions.Logging;
using Moq;
using Telegram.Bot;
using Telegram.Bot.Types;
using Telegram.Bot.Types.Enums;
using Telegram.Bot.Types.ReplyMarkups;
using Xunit;
using Xunit.Abstractions;
na... | 2.3007 | 2740f6267eac278a239549575e56dd09 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74990 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AbieyLema/GitProject",
"max_stars_repo_path": "ALema_Assignment4/MDIProject/TextDocumentForm.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74991"
} | starcoder | <reponame>AbieyLema/GitProject
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace MDIProject
{
public partial class TextDocumentForm : Form
... | 2.367836 | 1a3ffa0ea3c824ab7e5349639a7a5f5e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74991 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "yoship1639/MikuMikuWorld",
"max_stars_repo_path": "MikuMikuWorld_WalkerLib/Item.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74992"
} | starcoder | <filename>MikuMikuWorld_WalkerLib/Item.cs<gh_stars>1-10
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MikuMikuWorld.Walker
{
public class WalkerItemInfo
{
public string Hash;
... | 2.52642 | 1c345806e1645a0772380a1036232c2e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74992 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "chrisw000/TA4N",
"max_stars_repo_path": "TA4N.Test/Indicators/Volume/AccumulationDistributionIndicatorTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74993"
} | starcoder | using System.Collections.Generic;
using TA4N.Test.FixtureData;
/// <summary>
/// The MIT License (MIT)
///
/// Copyright (c) 2014-2016 <NAME> & respective authors (see AUTHORS)
///
/// Permission is hereby granted, free of charge, to any person obtaining a copy of
/// this software and associated documentation file... | 2.229827 | cce5df151e400008d84d69a1d35b2d5b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74993 | {
"extension": "c-sharp",
"max_stars_count": "286.0",
"max_stars_repo_name": "ihnorton/ClangSharp",
"max_stars_repo_path": "sources/ClangSharp/Cursors/Decls/VarTemplateSpecializationDecl.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74994"
} | starcoder | // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
using System;
using System.Collections.Generic;
using ClangSharp.Interop;
namespace ClangSharp
{
public class VarTemplateSpecializationDecl : Va... | 2.190425 | e165f6db1d91feffd8b9c54eba9c7163 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74994 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "rfinochi/pop3dotnet",
"max_stars_repo_path": "Tests/Support/AttachMessagesDummyNetworkOperations.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74995"
} | starcoder | <reponame>rfinochi/pop3dotnet
/*
* Author: <NAME>
* Email: <EMAIL>
* Web: http://shockbyte.net
*
* This work is licensed under the MIT License.
*
* No warranties expressed or implied, use at your own risk.
*/
using System.Collections.Generic;
namespace Pop3.Tests.Support
{
public class AttachMessagesDum... | 1.690469 | 7e52d59525a2d4239db0cef771cea8cc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74995 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "martinothamar/csharpier",
"max_stars_repo_path": "Src/CSharpier/SyntaxPrinter/SyntaxNodePrinters/WhereClause.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74996"
} | starcoder | namespace CSharpier.SyntaxPrinter.SyntaxNodePrinters;
internal static class WhereClause
{
public static Doc Print(WhereClauseSyntax node)
{
return Doc.Group(
Token.Print(node.WhereKeyword),
Doc.Indent(Doc.Line, Node.Print(node.Condition))
);
}
}
| 2.360651 | 19befa025213030a75180195b3e35855 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74996 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vuchampion/TheRealTypeFighters",
"max_stars_repo_path": "Assets/commonWordScore.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74997"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class commonWordScore : MonoBehaviour
{
public static int scoreValue = 100;
Text score;
// Start is called before the first frame update
void Start()
{
score = GetC... | 2.380923 | 77621b549693fd37f45a06533f94c363 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74997 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "imotto/imotto.dnx",
"max_stars_repo_path": "iMotto.Adapter.Users/Requests/AddAddressRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74998"
} | starcoder | <filename>iMotto.Adapter.Users/Requests/AddAddressRequest.cs
namespace iMotto.Adapter.Users.Requests
{
class AddAddressRequest:AuthedRequest
{
public string Province { get; set; }
public string City { get; set; }
public string District { get; set; }
public string Address { get; ... | 1.892314 | 0b783ec714ab14c2d3c58f48f4aa7fb4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74998 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dacanizares/CafeinaXml",
"max_stars_repo_path": "CafeinaXml/XReflection/DataStructures/Structures/ListStructure.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74999"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CafeinaXml.XReflection.DataStructures.Structures
{
class ListStructure : IStructureVerifier
{
public bool Verify(Type type)
{
foreach (Type interfaceType in type.GetInterfaces())
... | 2.669084 | 3c376b2bb5922be5af017ab3d019ebde |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74999 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "resonai/Schema.NET",
"max_stars_repo_path": "Source/Schema.NET/core/enumerations/ContactPointOption.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75000"
} | starcoder | namespace Schema.NET
{
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
/// <summary>
/// Enumerated options related to a ContactPoint.
/// </summary>
[JsonConverter(typeof(StringEnumConverter))]
public enum ContactPointOption
... | 2.660209 | e8fc08d297c4df28f5fd1060a9283bf8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75000 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "adevecchi/gerenciamento-clientes-mvc",
"max_stars_repo_path": "WebSite/Repository/ClienteRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75001"
} | starcoder | <filename>WebSite/Repository/ClienteRepository.cs<gh_stars>0
using System;
using System.Collections;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Data;
using System.Data.SqlClient;
using WebSite.Models;
namespace WebSite.Repository
{
public class ... | 2.741282 | 8cc4d4c0ed0b71ca6ef86a38843a4a2d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75001 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gtardim/Projeto-RCD",
"max_stars_repo_path": "RCDSystem/Views/QuitarConstasPagar/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:75002"
} | starcoder | <filename>RCDSystem/Views/QuitarConstasPagar/Index.cshtml
@{
ViewData["Title"] = "Index";
Layout = "~/Views/Shared/_Layout.cshtml";
}
<div class="content">
<div class="page-inner">
<div class="col-md-8 ml-auto mr-auto">
</div>
<div class="row mt-3">
<div class="col-m... | 1.95586 | 1f18f63772edeb698c4d0c468181e441 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75002 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "lck/SharpTAL",
"max_stars_repo_path": "SharpTAL/TemplateCache/AbstractTemplateCache.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75003"
} | starcoder | //
// AbstractTemplateCache.cs
//
// Author:
// <NAME> (<EMAIL>)
//
// Copyright (c) 2010 - 2014 <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 restriction, including... | 2.353535 | e1655e6cfac28ae312d2595907c7fbe3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75003 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lleraromero/contractor-net",
"max_stars_repo_path": "Gui/Models/TypesViewer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75004"
} | starcoder | using System.Collections.Generic;
using System.Windows.Forms;
using Contractor.Core.Model;
namespace Contractor.Gui.Models
{
internal interface ITypesViewer
{
TreeNode GetTypesTreeRoot(IAssembly assembly);
}
internal class TypesViewer : ITypesViewer
{
public TreeNode GetTypesTreeR... | 2.608753 | 677ace28520f0979370c529b020025eb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75004 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Aseel88/Vending-Machine",
"max_stars_repo_path": "VendingMachine/VendingMachine/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75005"
} | starcoder | using System;
using System.Collections.Generic;
using System.Net.Http.Headers;
namespace VendingMachine
{
public class Program
{
static void Main(string[] args)
{
var person = new Person();
var bankAccount = new BankAccount();
var vendingMach... | 3.512141 | ac58ac8b73c9f5c0eb00ba72ef9042df |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75005 | {
"extension": "c-sharp",
"max_stars_count": "327.0",
"max_stars_repo_name": "who1smrrobot/Apollo",
"max_stars_repo_path": "Payload_Type/apollo/agent_code/Apollo/MessageInbox/Envelope.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75006"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Apollo.CommandModules;
using Apollo.Tasks;
namespace Apollo.MessageInbox
{
public delegate object SenderFunction(object arg);
public class Envelope
{
public string EnvelopeGUID;
private SenderFunct... | 2.491313 | 597522c2471d69b1c8ce02fade879480 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75006 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "patrick-b6n/AdventOfCode-2021",
"max_stars_repo_path": "src/Day05.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75007"
} | starcoder | using System;
using System.Linq;
using System.Text.RegularExpressions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace AdventOfCode2021;
[TestClass]
public class Day05
{
[TestClass]
public class Part1
{
[TestMethod]
public void HydrothermalVenture()
{
var ... | 3.275541 | 1f8707f6b98255470b6e6e0000ac23fa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75007 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "PearMed/Pear-Unity-Modules",
"max_stars_repo_path": "Scripts/Interactions/AggregateMeshCollider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75008"
} | starcoder | using Pear.InteractionEngine.Utils;
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Pear.InteractionEngine.Interactions {
/// <summary>
/// Aggregates collisions on child objects and reports them to listeners
/// </summary>
public class AggregateMeshCollider ... | 2.984936 | 9adf61aa6c7e9a8a65ae918f299b1cab |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75008 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LucasTMP/Microservices-Bank",
"max_stars_repo_path": "Modalmais/src/Modalmais.API/DTOs/Validation/ClienteAlteracaoRequestValidator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75009"
} | starcoder | using FluentValidation;
using FluentValidation.Validators;
using Modalmais.Core.Utils;
namespace Modalmais.API.DTOs.Validation
{
public class ClienteAlteracaoRequestValidator : AbstractValidator<ClienteAlteracaoRequest>
{
public static int ClienteNomeSobrenomeEmailMaximoChar => 50;
public sta... | 2.43117 | cda2c6741bb866c4d162c8616f2d245f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75009 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "efhilton/EllieBotBlue",
"max_stars_repo_path": "EllieBot.Main/Configs/Descriptions/DriveTrainDescription.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75010"
} | starcoder | namespace EllieBot.Configs.Descriptions {
public class DriveTrainDescription {
public string LeftMotorUniqueId { get; set; }
public string RightMotorUniqueId { get; set; }
}
}
| 1.52239 | 723ebbfe2b63dd7c5159cbe20ff1dc05 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75010 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CZHSoft/ChartPlus",
"max_stars_repo_path": "ChartPlus/PositionAlgorithmHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75011"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CZHSoft.Commom
{
public class PositionAlgorithmHelper
{
/// <summary>
/// 判断当前位置是否在不规则形状里... | 2.750206 | 590e1614acab13f015d2574bff91d5b2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75011 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Sawair/wc-indicator",
"max_stars_repo_path": "wcindicator.api/wcindicator.api/Models/StatusReport.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75012"
} | starcoder | using System;
namespace wcindicator.api.Models
{
public class StatusReport
{
public long Id { get; set; }
public DateTime ReportTime { get; set; }
public StatusEnum Status { get; set; }
public TimeSpan StatusDuration { get; set; }
}
} | 1.571442 | 86dc31b1bdda0f141c6fd4ca68b26894 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75012 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "waveflight/etp.net",
"max_stars_repo_path": "src/Energistics.CodeGen.Json/Files/StringEncodingGenerator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75013"
} | starcoder | //-----------------------------------------------------------------------
// ETP DevKit, 1.2
//
// Copyright 2021 Energistics
//
// 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.65241 | 65bd6a08897c4e782b05f43af2d0ffe5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75013 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "orscf/orscf-implementations-dotnet",
"max_stars_repo_path": "Connectors/IMS-Connector/ConnectorLib/StoreAccess/StoreAccess.Connector.Generated.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75014"
} | starcoder | <filename>Connectors/IMS-Connector/ConnectorLib/StoreAccess/StoreAccess.Connector.Generated.cs
/* WARNING: THIS IS GENERATED CODE - PLEASE DONT EDIT DIRECTLY - YOUR CHANGES WILL BE LOST! */
using MedicalResearch.IdentityManagement.Model;
using Newtonsoft.Json;
using System;
using System.Net;
namespace Medical... | 2.228255 | 59dd77f459bff67671a5c8a82ca1f5fd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75014 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "danludwig/eventsourced.net",
"max_stars_repo_path": "src/EventSourced.Net.Services/Services/Storage/ArangoDb/GetArangoDb.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75015"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.IO.Compression;
using System.Linq;
using System.Net;
using ArangoDB.Client;
using ArangoDB.Client.Data;
namespace EventSourced.Net.Services.Storage.ArangoDb
{
public static class GetArangoDb
{
... | 2.395149 | 0e980a503e05995aff3e0b08152dd626 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75015 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "lbugnion/sample-2018-ndcsydney",
"max_stars_repo_path": "DotNetStandard/Portable - Start/PortableDroid/MainActivity.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75016"
} | starcoder | <reponame>lbugnion/sample-2018-ndcsydney<gh_stars>1-10
using Android.App;
using Android.Widget;
using Android.OS;
using GalaSoft.MvvmLight.Helpers;
using System.Collections.Generic;
using SharedFiles.ViewModel;
namespace PortableDroid
{
[Activity(Label = "PortableDroid", MainLauncher = true)]
public... | 1.764244 | 75d498abdc338bc1103a4c8ac6368ed1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75016 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dmdSpirit/FeaturesCollection",
"max_stars_repo_path": "Assets/inWork/AssetShowcase/Scripts/AssetShowcaseController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75017"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.PostProcessing;
public class AssetShowcaseController : MonoBehaviour {
public float levelOfSnow = 0.45f;
public float depthOfSnow = 0f;
public PostProcessingProfile winterProfile;
public PostProcessingProfile summerP... | 2.023051 | 261f7cd053edcf20aed54dc813ee4a49 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75017 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "ChristopherHaynes/unity-columns-clone",
"max_stars_repo_path": "Assets/Scripts/Grid.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75018"
} | starcoder | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
using UnityEngine.SceneManagement;
public class Grid : MonoBehaviour {
Spawner spawner;
SoundManager soundManager;
ScoreManager scoreManager;
public GameObject pa... | 2.240291 | 254b66bb707f8f97f045b54ca49d21ee |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75018 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dtsudo/DT-Danmaku-2",
"max_stars_repo_path": "Dependencies/AgateLib/Agate031/Source/Tools/PackedSpriteCreator/frmSpriteCreator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75019"
} | starcoder | <filename>Dependencies/AgateLib/Agate031/Source/Tools/PackedSpriteCreator/frmSpriteCreator.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace PackedSpriteCreator
... | 2.306513 | fc4763219ad3975818b1c46d011d7288 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75019 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pirocorp/Architecture-of-ASP.NET-Core-Microservices-Applications",
"max_stars_repo_path": "Demo/Server/CarRentalSystem.Dealers/Data/Migrations/20211007115406_LocationColumn.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75020"
} | starcoder | <reponame>pirocorp/Architecture-of-ASP.NET-Core-Microservices-Applications
using Microsoft.EntityFrameworkCore.Migrations;
namespace CarRentalSystem.Dealers.Data.Migrations
{
public partial class LocationColumn : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
... | 2.077186 | 95c1021b92dc83416a28d6410c63e3ab |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75020 | {
"extension": "c-sharp",
"max_stars_count": "61.0",
"max_stars_repo_name": "cy-nwg/Anywhere.ArcGIS",
"max_stars_repo_path": "src/Anywhere.ArcGIS/Extensions/StringExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75021"
} | starcoder | namespace Anywhere.ArcGIS
{
using Common;
using System;
public static class StringExtensions
{
public static ArcGISServerEndpoint AsEndpoint(this string relativeUrl)
{
return new ArcGISServerEndpoint(relativeUrl);
}
public static ArcGISServerAdminEndpoint A... | 2.829928 | 85555b1d9015660374649583c669f149 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75021 | {
"extension": "c-sharp",
"max_stars_count": "137.0",
"max_stars_repo_name": "Hipchris36/TMPE",
"max_stars_repo_path": "TLM/TLM/State/OptionsTabs/MaintenanceTab_ConfigGroup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75022"
} | starcoder | namespace TrafficManager.State {
using ICities;
using TrafficManager.UI;
using TrafficManager.UI.Helpers;
public static class MaintenanceTab_ConfigGroup {
public static ActionButton ReloadGlobalConfig = new() {
Label = "Maintenance.Button:Reload global configuration",
H... | 1.877233 | 8011acd63e94b922d9a8aa73762c5640 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75022 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "kaancfidan/replicator",
"max_stars_repo_path": "src/es-replicator/Settings/Filters.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75023"
} | starcoder | <gh_stars>10-100
using System;
using System.Linq;
using EventStore.Replicator.Shared;
using EventStore.Replicator.Shared.Pipeline;
using Ubiquitous.Metrics.Internals;
namespace es_replicator.Settings {
public static class EventFilters {
public static FilterEvent? GetFilter(Replicator settings, IEventReader... | 1.928357 | 05ef28b5847a3dcb348fce567c8bf16f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75023 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Ventera-Corporation/piipan",
"max_stars_repo_path": "match/src/Piipan.Match/Piipan.Match.Client/Extensions/ServiceCollectionExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75024"
} | starcoder | <reponame>Ventera-Corporation/piipan
using System;
using Azure.Core;
using Azure.Identity;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
using Microsoft.Extensions.Hosting;
using Piipan.Match.Api;
using Piipan.Shared.Authentication;
using Piipan.Shared.Http;
... | 1.631179 | 408a6fefea581341f80a4493d254ed0c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75024 | {
"extension": "c-sharp",
"max_stars_count": "25.0",
"max_stars_repo_name": "pirica/FTN-Power",
"max_stars_repo_path": "src/Fortnite/Fortnite.Model/Responses/Catalog/Price.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75025"
} | starcoder | using System;
namespace fortniteLib.Responses.Catalog
{
public class Price
{
public string currencyType { get; set; }
public string currencySubType { get; set; }
public int regularPrice { get; set; }
public int finalPrice { get; set; }
public string saleType { get; set;... | 1.809455 | 53bd5ee25ba86ec6bfcf15b9a0077689 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75025 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "tukzar/BreweryDB",
"max_stars_repo_path": "BreweryDB/Models/SocialAccount.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75026"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BreweryDB.Interfaces;
namespace BreweryDB.Models
{
public class SocialAccount : ISocialAccount
{
public SocialAccount(SocialMedia socialMedia)
{
SocialMedia = ... | 2.211947 | a3a47d1c0b66fcd44eaabc86d8e9d038 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75026 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "csoap/csoap.github.io",
"max_stars_repo_path": "sourceCode/dotNet4.6/wpf/src/Framework/System/Windows/Controls/ItemCollection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75027"
} | starcoder | <reponame>csoap/csoap.github.io<filename>sourceCode/dotNet4.6/wpf/src/Framework/System/Windows/Controls/ItemCollection.cs<gh_stars>1-10
//---------------------------------------------------------------------------
//
// <copyright file="ItemCollection.cs" company="Microsoft">
// Copyright (C) 2003 by Microsoft Corpo... | 2.168058 | a8a8115a764311ed222b28dcb1674185 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75027 | {
"extension": "c-sharp",
"max_stars_count": "426.0",
"max_stars_repo_name": "strayge/keepass2-haveibeenpwned",
"max_stars_repo_path": "HaveIBeenPwned/UI/CheckerPrompt.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75028"
} | starcoder | <reponame>strayge/keepass2-haveibeenpwned
using KeePassExtensions;
using System;
using System.Linq;
using System.Windows.Forms;
namespace HaveIBeenPwned.UI
{
public partial class CheckerPrompt : Form
{
public CheckerPrompt(CheckTypeEnum checkType, bool enableOldEntries)
{
Initializ... | 2.503222 | 109b8e993087030db6622ab9a96f842c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75028 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "futurice/Dacne",
"max_stars_repo_path": "Dacne/Dacne.Core/ObservableOperationStateExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75029"
} | starcoder | <reponame>futurice/Dacne
using System;
using System.Linq;
using System.Reactive.Linq;
namespace Dacne.Core
{
public static class ObservableOperationStateExtensions
{
public static IObservable<IOperationState<TResult>> OnResult<TResult>(this IObservable<IOperationState<TResult>> self, Action<TResult> ... | 2.565125 | 98c42f20bed3f910c7f2adc2933719e7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75029 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SaeshArban/ChannelUtils",
"max_stars_repo_path": "ChannelForJobExample/YandexSymbolCounter/SymbolCounter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75030"
} | starcoder | <reponame>SaeshArban/ChannelUtils
using System;
using System.Threading;
using System.Threading.Channels;
using System.Threading.Tasks;
using ChannelForJobExample.Extensions.Yandex;
using ChannelUtils;
namespace ChannelForJobExample.YandexSymbolCounter
{
public class SymbolCounter
{
private readonly EndlessCollect... | 2.195221 | c72b92ed5966a87d3e5b1d99fbf9a492 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75030 | {
"extension": "c-sharp",
"max_stars_count": "1390.0",
"max_stars_repo_name": "samrumley88/Brighter",
"max_stars_repo_path": "samples/ASBTaskQueue/Greetings/Ports/Mappers/GreetingEventAsyncMessageMapper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75031"
} | starcoder | using System.Text.Json;
using Greetings.Ports.Events;
using Paramore.Brighter;
namespace Greetings.Ports.Mappers
{
public class GreetingEventAsyncMessageMapper : IAmAMessageMapper<GreetingAsyncEvent>
{
public const string Topic = "greeting.Asyncevent";
public Message MapToMessage(GreetingAsyn... | 2.416522 | 7ad982d990f13bdc79a6cb7d7bd32163 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75031 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tc303730352/WedonekRpcFrame",
"max_stars_repo_path": "Source/HttpApiGateway/HttpApiDocHelper/Interface/IApiDataFormat.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75032"
} | starcoder | using HttpApiDocHelper.Model;
namespace HttpApiDocHelper.Interface
{
internal interface IApiDataFormat
{
ApiDataType DataType { get; set; }
string DefValue { get; set; }
ElementClass[] ElementType { get; set; }
string ParamName { get; set... | 1.586404 | d705041aeca41c33b9a4e95e17adc928 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75032 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "PlayNowGG/PlayNow.StarTar",
"max_stars_repo_path": "src/Test/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75033"
} | starcoder | using System;
using System.IO;
using System.IO.Compression;
using PlayNow.StarTar;
using PlayNow.StarTar.Headers;
namespace Test
{
class Program
{
static void Main(string[] args)
{
Console.ReadLine();
}
}
} | 1.172781 | f2b1ecc53b20e0f29a260a7a9cd281be |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.