added stringclasses 11
values | created stringclasses 11
values | id stringlengths 4 8 | metadata dict | source stringclasses 1
value | text stringlengths 9 1.04M | code-score float64 -0.5 4.71 | md5 stringlengths 32 32 |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95861 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "jonmcquade/csharp-snippets",
"max_stars_repo_path": "SmartStoreNET-3.x/src/Libraries/SmartStore.Core/WebHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95862"
} | starcoder | <reponame>jonmcquade/csharp-snippets<filename>SmartStoreNET-3.x/src/Libraries/SmartStore.Core/WebHelper.cs
using System;
using System.Configuration;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading;
using System.Web;
using System.Web... | 1.879625 | 441c53c849e650538166d50eaa173aca |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95862 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LucasCancio/desafios-tdd-gft",
"max_stars_repo_path": "Desafio1/tests/Exercicio2.Tests/model/VideoGameTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95863"
} | starcoder | using Exercicio2.model;
using Exercicio2.Tests.Builders;
using Xunit;
namespace Exercicio2.Tests.model
{
public class VideoGameTests
{
[Fact]
public void CalcularImposto_de_videogame_usado__deve_retornar_25porcento_do_preco()
{
VideoGame videoGame = VideoGameBuilder.Novo().U... | 2.654853 | 4385ca769b442784dfcd2c4c9aa2ad2a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95863 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "maxmeffert/systemtesting",
"max_stars_repo_path": "Companies/Companies.Core/Sorting/ICompaniesSorter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95864"
} | starcoder | using System.Collections.Generic;
using Companies.Core.Model;
namespace Companies.Core.Sorting
{
public interface ICompaniesSorter
{
IEnumerable<Company> Sort(IEnumerable<Company> companies);
}
} | 1.854647 | 426566e7bd31f1bd4ae2fcac9c2e6d6b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95864 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "flakey-bit/dotnet-fixedwidth",
"max_stars_repo_path": "src/dotnet-fixedwidth-parser/FixedWidthInputFieldDefinition.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95865"
} | starcoder | <gh_stars>1-10
/*
MIT License
Copyright (c) 2017 <NAME>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, p... | 2.700667 | b488dde276a6de6ab498927626fafa86 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95865 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JTOne123/RapidCMS",
"max_stars_repo_path": "src/RapidCMS.Core/Models/UI/SubCollectionUI.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95866"
} | starcoder | <filename>src/RapidCMS.Core/Models/UI/SubCollectionUI.cs
using RapidCMS.Core.Enums;
using RapidCMS.Core.Models.Setup;
namespace RapidCMS.Core.Models.UI
{
public class SubCollectionUI : ElementUI
{
internal SubCollectionUI(SubCollectionListSetup subCollection) : base((x, state) => state == EntityState.... | 2.003929 | c73bc65ef2480f2466386652ef8f00c8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95866 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "q315523275/.net-core-",
"max_stars_repo_path": "src/ServiceDiscovery/Bucket.ServiceDiscovery.Consul/ConsulServiceDiscovery.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95867"
} | starcoder | <reponame>q315523275/.net-core-
using Bucket.Extensions;
using Bucket.Values;
using Consul;
using Microsoft.Extensions.Options;
using SemVer;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
namespace Bucket.ServiceDiscov... | 2.026505 | f7df44e0b3f1c936d788b2e47482da3f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95867 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "V-Uzunov/Soft-Uni-Education",
"max_stars_repo_path": "05.DatabasesAdvancedEntityFramework/04.CodeFirstAdvance/Models/StoreLocation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95868"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Models
{
public class StoreLocation
{
public StoreLocation()
{
this.SalesInStore = new HashSet<S... | 2.257573 | d2f94b80faadace508ce6a8f3da13001 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95868 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ProductiveRage/NaivePerspectiveCorrection",
"max_stars_repo_path": "NaivePerspectiveCorrection/BitmapExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95869"
} | starcoder | using System;
using System.Collections.Immutable;
using System.Drawing;
using System.Drawing.Imaging;
using System.Linq;
using System.Runtime.InteropServices;
namespace NaivePerspectiveCorrection
{
internal static class BitmapExtensions
{
public static ImmutableArray<float> GetVector(this Bitmap image... | 2.917152 | cb7bdc23f21f8a0cdeba3da26bbfd009 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95869 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "chawolbaka/MinecraftProtocol",
"max_stars_repo_path": "MinecraftProtocol/Protocol/Packets/Client/PingPacket.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95870"
} | starcoder | <reponame>chawolbaka/MinecraftProtocol<gh_stars>1-10
using System;
namespace MinecraftProtocol.Protocol.Packets.Client
{
/// <summary>
/// https://wiki.vg/Server_List_Ping#Ping
/// </summary>
public class PingPacket : Packet
{
private const int id = 0x01;
public long Code { get; }
... | 2.618505 | 69a59a796b107319e9cdea3e96f8fa79 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95870 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "li1808464468/XLuaProject",
"max_stars_repo_path": "Assets/TDFramework/Core/StateMachine/StateBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95871"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TDFramework.StateMachine
{
/// <summary>
/// 状态基类
/// </summary>
public abstract class StateBase:IState
{
public virtual void OnEnter() { }
pub... | 1.930015 | bf0dc3da591285f35b14996a6f73ec7b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95871 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Globalcaching/IoTControlKit",
"max_stars_repo_path": "IoTControlKit/IoTControlKit.MQTT/HomieClient.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95872"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using MQTTnet;
namespace IoTControlKit.Plugin.MQTT
{
public class HomieClient: Client
{
private Dictionary<string, Framework.Models.Device> _devices;
private Dictionary<long, Dictionary<string, Fra... | 2.252753 | 49053a835b6cf5a4d1c353b5e8acfca6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95872 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nzhul/patterns",
"max_stars_repo_path": "02-WeatherStation-Observer/Displays/HeatIndexDisplay.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95873"
} | starcoder | <reponame>nzhul/patterns
using System;
namespace _02_WeatherStation_Observer.Displays
{
public class HeatIndexDisplay : IObserver, IDisplayElement
{
private float humidity;
private float temperature;
private ISubject weatherData;
public HeatIndexDisplay(ISubject weatherData)
{
this.weatherData = weath... | 3.117579 | 6fd259dd305ff7270dcd9d400aab71b6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95873 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "idzmitry/epam-graphql",
"max_stars_repo_path": "src/Epam.GraphQL.EntityFrameworkCore/EntityFrameworkCoreSchemaExecutionOptionsBuilderExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95874"
} | starcoder | <filename>src/Epam.GraphQL.EntityFrameworkCore/EntityFrameworkCoreSchemaExecutionOptionsBuilderExtensions.cs
// Copyright © 2020 EPAM Systems, Inc. All Rights Reserved. All information contained herein is, and remains the
// property of EPAM Systems, Inc. and/or its suppliers and is protected by international intellect... | 2.256686 | f08b296dfde7e4a256a9f4fc640a9eeb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95874 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ubeogesh/DiabloInterface",
"max_stars_repo_path": "src/DiabloInterface.Business/Settings/DefaultLegacySettingsResolver.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95875"
} | starcoder | namespace Zutatensuppe.DiabloInterface.Business.Settings
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using Zutatensuppe.D2Reader.Models;
public class DefaultLegacySettingsResolver : ILegacySettingsResolver
{
public ApplicationSet... | 2.546616 | 6e9dc1755ffd170f90e754425fd63ba9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95875 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nick-scott/ArrowDefense",
"max_stars_repo_path": "Assets/Scripts/TouchController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95876"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class TouchController: MonoBehaviour {
RectTransform pauseButton;
GameEngine gameEngine;
//Camera camera;
// Use this for initialization
void Start () {
//Screen.SetResolu... | 1.940285 | ea84fd264bf33a63c140f758897a9ef9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95876 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "dzimchuk/book-fast-api",
"max_stars_repo_path": "src/BookFast.Business/Composition/CompositionModule.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95877"
} | starcoder | using BookFast.Business.Services;
using BookFast.Contracts;
using BookFast.Contracts.Framework;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
namespace BookFast.Business.Composition
{
public class CompositionModule : ICompositionModule
{
public void AddServi... | 1.563824 | 4c7209f102ce5d73330888e2f626f80d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95877 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "NotaFiscalNet/NotaFiscalNet",
"max_stars_repo_path": "src/NotaFiscalNet.Core/Inutilizacao/ProcXmlInutilizacaoHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95878"
} | starcoder | using System.IO;
using System.Text;
using System.Xml;
namespace NotaFiscalNet.Core.Inutilizacao
{
public static class ProcXmlInutilizacaoHelper
{
/// <summary>
/// Cria o xml representando o pedido de inutilização de numeração de NFC-e processado.
/// </summary>
/// <param name... | 2.464255 | 08db1a0112afd8f4e7afc9fc56e36307 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95878 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "haoxinyue/Octopus",
"max_stars_repo_path": "Src/Octopus/Envelop.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95879"
} | starcoder | <reponame>haoxinyue/Octopus
#region License
// Copyright (c) <NAME> http://www.cnblogs.com/haoxinyue
//
// Licensed under the Apache License, Version 2.0 (the 'License');
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licen... | 1.822204 | 0c750f39a8496e7cde692dbd94858f0c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95879 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tm011064/sidescroller",
"max_stars_repo_path": "Assets/Scripts/AI/BallisticTrajectoryControlHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95880"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
public class BallisticTrajectoryControlHandler : BaseControlHandler
{
private float _gravity;
private Vector3 _velocity;
private bool _keepAlive = true;
public BallisticTrajectoryControlHandler(CharacterP... | 2.364992 | d74caea3832be161935450038d116a35 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95880 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "philippdolder/ServiceBus",
"max_stars_repo_path": "source/MMS.ServiceBus/Pipeline/Incoming/IIncomingPipelineFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95881"
} | starcoder | //-------------------------------------------------------------------------------
// <copyright file="IIncomingPipelineFactory.cs" company="MMS AG">
// Copyright (c) MMS AG, 2008-2015
// </copyright>
//-------------------------------------------------------------------------------
namespace MMS.ServiceBus.Pipeline.I... | 1.437035 | 9d68e0076a1529b1e45cd986f90af321 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95881 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "hamdidamar/Step-by-Step-Bootcamp",
"max_stars_repo_path": "day-13/Homework/ReCap/WebAPI/Controllers/CarsController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95882"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Business.Abstract;
using Entities.Concrete;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
namespace WebAPI.Controllers
{
[Route("api/[controller]")]
[ApiController]
public class CarsCo... | 2.304115 | 2fdaa129bd310e4f283a8904e22b0b85 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95882 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "CodestersInc/HOM24x7",
"max_stars_repo_path": "HMS/HMSWeb/viewservicetype.aspx.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95883"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BusinessLogic;
using System.IO;
using WebUtility;
public partial class viewservicetype : System.Web.UI.Page
{
protected void Page_Load(object sender, EventAr... | 2.275477 | b251fa1b358d0f588caa15bd6e1a55fb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95883 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SafetyCone/R5T.S0023",
"max_stars_repo_path": "source/R5T.S0023/Code/Operations/O007a_UpdateRepositoryWithAllProjects.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95884"
} | starcoder | using System;
using System.Linq;
using System.IO;
using System.Threading.Tasks;
using R5T.D0084.D001;
using R5T.D0101;
using R5T.D0105;
using R5T.D0110;
using R5T.T0020;
using R5T.T0097;
namespace R5T.S0023
{
/// <summary>
/// Updates the project repository with ALL current (i.e. in the local filesystem) p... | 2.579993 | faa6cc07efda01b113119af27ff813a5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95884 | {
"extension": "c-sharp",
"max_stars_count": "30.0",
"max_stars_repo_name": "thoemmi/AerialForWindows",
"max_stars_repo_path": "AerialForWindows/Updates/GithubReleaseProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95885"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Text.RegularExpressions;
using System.Threading;
using System.Threading.Tasks;
using Octokit;
namespace AerialForWindows.Updates {
public class GithubReleaseProvider : IReleaseProvider {
priv... | 2.574107 | cf673d1fcad58ce77b232e73d4b23628 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95885 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "WiproDS2018/DS_FR",
"max_stars_repo_path": "Code/DigitalSignage_v1.0/WebApp/DigitalSignage/Digital Signage/Views/Home/Report.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:95886"
} | starcoder | <div class="container-fluid ms_root" ng-controller="reportController">
<p class="backArrow1" >« <a href="javascript:void(0)" ng-click="goToAdmin()">Back</a></p>
<div class="clearfix"></div>
@* Leftside Buttons *@
<div class="col-md-3 col-sm-4 col-xs-12 col-lg-2">
<div class="lftmenu_mas">... | 2.206095 | f45291bc416d8221a0605bf389bfe87c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95886 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NetOfficeFw/Excel-XlLateBinding",
"max_stars_repo_path": "ReleaseTags/0.7/LateBindingApi.Excel/Enums/MsoModeType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95887"
} | starcoder | <gh_stars>0
using System;
namespace LateBindingApi.Excel.Enums
{
public enum MsoModeType
{
msoModeModal = 0,
msoModeAutoDown = 1,
msoModeModeless = 2
}
} | 1.027966 | f53af08fa37e1832af6bcd8685e2a937 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95887 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Sketching101/moon2",
"max_stars_repo_path": "Assets/Scripts/UI/AudioDisplay.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95888"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.Audio;
public class AudioDisplay : MonoBehaviour
{
public Slider slider;
public AudioMixer audioMix;
public string volName;
private float max = 20;
private float min = -20;
pu... | 2.424313 | 2eb80cd0acc2d67afafd252420936929 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95888 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Zillot/NoNameMangaReader",
"max_stars_repo_path": "WebParser.BL/Services/Proxy/ProxyService.cs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95889"
} | starcoder | <reponame>Zillot/NoNameMangaReader<gh_stars>0
using WebParser.BL.Providers;
using WebParser.DL.Repositories;
using WebParser.Model.Models;
using System.Linq;
using System;
namespace WebParser.BL.Services.PageParser
{
public class ProxyService : IProxyService
{
private IProxyRepository _proxyRepository... | 2.108609 | bd88c5b62cdc42d86f9958f7728816ce |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95889 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kstanoev/dotNext",
"max_stars_repo_path": "src/DotNext/EnumerableTuple.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95890"
} | starcoder | <reponame>kstanoev/dotNext<gh_stars>0
using System;
using System.Collections;
using System.Collections.Generic;
namespace DotNext
{
/// <summary>
/// Represents tuple as enumerable collection.
/// </summary>
/// <typeparam name="I">The type of items in the tuple.</typeparam>
/// <typeparam name="T"... | 3.148639 | 3bca0e677e76fd480795fde30bec182b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95890 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "snakewarhead/exchanger",
"max_stars_repo_path": "exchangerTests/Model/Exchange/Impl/CoinBene/ExchangeCoinbeneTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95891"
} | starcoder | <filename>exchangerTests/Model/Exchange/Impl/CoinBene/ExchangeCoinbeneTests.cs
using Microsoft.VisualStudio.TestTools.UnitTesting;
using exchanger.Model.Exchange.Impl;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Security.Cryptography;... | 1.702495 | 346e3c7cf07d88eeae29eececd30223f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95891 | {
"extension": "c-sharp",
"max_stars_count": "36.0",
"max_stars_repo_name": "allworks/azure-functions-extensions-swashbuckle",
"max_stars_repo_path": "src/AzureFunctions.Extensions.Swashbuckle/TestFunction/SwaggerController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95892"
} | starcoder | <reponame>allworks/azure-functions-extensions-swashbuckle
using System;
using System.IO;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading.Tasks;
using AzureFunctions.Extensions.Swashbuckle;
using AzureFunctions.Extensions.Swashbuckle.Attribute;
using Microsoft.AspNetCore.Mv... | 1.899558 | ac98eb6ed908025321a953a006afb192 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95892 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fenutus/trong",
"max_stars_repo_path": "Translator/Translator/NewLanguage.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95893"
} | starcoder | <gh_stars>0
namespace Translator
{
partial class NewLanguage
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | 1.869039 | 0af2d1518f72337b9ca7951634a53049 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95893 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HappierGore/BugsWar",
"max_stars_repo_path": "Assets/scripts/Mobs/MobTargetSelection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95894"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MobTargetSelection
{
//Función para detectar el objetivo del mob considerando si es aliado o enemigo
public static void DetectTarget(MobStats stats)
{
//String temporal para definir si es aliado o enemigo
... | 2.789942 | feda0042a859b427229992d154b9beec |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95894 | {
"extension": "c-sharp",
"max_stars_count": "32.0",
"max_stars_repo_name": "inthehand/Pontoon",
"max_stars_repo_path": "Source/InTheHand/Graphics/Display/DisplayInformation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95895"
} | starcoder | //-----------------------------------------------------------------------
// <copyright file="DisplayInformation.cs" company="In The Hand Ltd">
// Copyright © 2013-17 In The Hand Ltd. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace InTheHand... | 2.549984 | 31d97fde092564d17248b15d7cfce4f0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95895 | {
"extension": "c-sharp",
"max_stars_count": "79.0",
"max_stars_repo_name": "keeper013/CrossCutterN",
"max_stars_repo_path": "CrossCutterN.Test/OverwriteTest/OverwriteConcernPropertyAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95896"
} | starcoder | <gh_stars>10-100
// <copyright file="OverwriteConcernPropertyAttribute.cs" company="<NAME>">
// Copyright (c) 2017 <NAME>
// </copyright>
namespace CrossCutterN.Test.OverwriteTest
{
using CrossCutterN.Base.Concern;
/// <summary>
/// Concern property attribute for overwrite test.
/// </summary>
in... | 1.198286 | 2a3e1c796b14cf27af96e38e6b26d6fb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95896 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mignaciolopez/CarSimulator",
"max_stars_repo_path": "Assets/Scripts/Tire.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95897"
} | starcoder | using UnityEngine;
public class Tire : MonoBehaviour {
public float RestingWeight { get; set; }
public float ActiveWeight { get; set; }
public float Grip { get; set; }
public float FrictionForce { get; set; }
public float AngularVelocity { get; set; }
public float Torque { get; set; }
public float Radius = 0... | 2.170595 | cbb873198b51db97de182a7a9004b2b8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95897 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "thehoglet/RVis",
"max_stars_repo_path": "RVis.Model/SimData/Impl/SimData.SimOutput.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95898"
} | starcoder | <reponame>thehoglet/RVis
using RVis.Data;
using System;
namespace RVis.Model
{
public sealed partial class SimData
{
internal class SimDataOutput
{
internal static SimDataOutput Create(
Simulation simulation,
SimInput serieInput,
NumDataTable serie,
OutputOrigin ou... | 2.283046 | f22b583e65f25693ed74bced6a3bd717 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95898 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Inverness/Ramp.Aspects",
"max_stars_repo_path": "Spinner.Fody/Multicasting/MulticastArguments.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95899"
} | starcoder | <reponame>Inverness/Ramp.Aspects
using Spinner.Extensibility;
namespace Spinner.Fody.Multicasting
{
/// <summary>
/// Arguments for the multicast engine. Matches anything by default.
/// </summary>
internal sealed class MulticastArguments
{
private StringMatcher _targetAssemblies;
p... | 2.116056 | df1d998592587740e5c2d680e26a65df |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95899 | {
"extension": "c-sharp",
"max_stars_count": "5639.0",
"max_stars_repo_name": "Danghor/Prism",
"max_stars_repo_path": "e2e/Forms/src/HelloRegions/Views/RegionB.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95900"
} | starcoder | namespace HelloRegions.Views
{
public partial class RegionB
{
public RegionB()
{
InitializeComponent();
}
}
} | 1.05159 | 042137c65e97c4cdd7c5967899353a29 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95900 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nodeomega/CafePressApi",
"max_stars_repo_path": "CafePressApiAccess/Models/Products/ProductListing.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95901"
} | starcoder | namespace CafePressApiAccess.Models.Products
{
using System.Collections.Generic;
using System.Xml.Serialization;
/// <summary>
/// Class ProductListing.
/// </summary>
public class ProductListing : ListingBase
{
/// <summary>
/// Gets or sets the products.
/// </sum... | 2.482359 | 0a42f5c87753fc5761b53259ba44df59 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95901 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "ZombieFleshEaters/LittleBreadLoaf",
"max_stars_repo_path": "littlebreadloaf/Data/ProductBadge.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95902"
} | starcoder | <reponame>ZombieFleshEaters/LittleBreadLoaf<filename>littlebreadloaf/Data/ProductBadge.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
namespace littlebreadloaf.Data
{
public class ProductBadge
{
... | 2.654833 | 8b7012e41bd0573a7afc0b1d665ec953 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95902 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "SmartValleyEcosystem/smartvalley",
"max_stars_repo_path": "SmartValley.Data.SQL/Migrations/20180417151316_EstimateCommentHasBeenLinkedToConclusion.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95903"
} | starcoder | using System;
using System.Collections.Generic;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
namespace SmartValley.Data.SQL.Migrations
{
public partial class EstimateCommentHasBeenLinkedToConclusion : Migration
{
protected override void Up(MigrationBuil... | 1.972312 | f7b580d934e1c3bb0e60291bbb69ac2b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95903 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "haefele/LeagueRecorder",
"max_stars_repo_path": "src/Shared/LeagueRecorder.Shared.Abstractions/League/RiotSummoner.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95904"
} | starcoder | namespace LeagueRecorder.Shared.Abstractions.League
{
public class RiotSummoner
{
public long Id { get; set; }
public string Name { get; set; }
public string Region { get; set; }
}
} | 1.583205 | 8033df1e74842e1ec006fae6fe17e5d7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95904 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DarthStem/trinity-rdf",
"max_stars_repo_path": "Trinity.Tests/Cilg/MappingClasses.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95905"
} | starcoder | <reponame>DarthStem/trinity-rdf
using Semiodesk.Trinity.Test;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
namespace Semiodesk.Trinity.Test.Cilg
{
[RdfClass(TestOntology.SingleMappingTestClassString)]
public class SingleM... | 1.931348 | 35e921b1a9fa3b48b5f0135b3946275f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95905 | {
"extension": "c-sharp",
"max_stars_count": "75.0",
"max_stars_repo_name": "jonwagner/EventSourceProxy",
"max_stars_repo_path": "EventSourceProxy.Tests/FluentInterfaceTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95906"
} | starcoder | <filename>EventSourceProxy.Tests/FluentInterfaceTests.cs
using System;
using System.Collections.Generic;
using System.Linq;
using EventSourceProxy;
using NUnit.Framework;
using System.Diagnostics.Tracing;
namespace EventSourceProxy.Tests
{
[TestFixture]
public class FluentInterfaceTests : BaseLoggin... | 2.533293 | bd51eadd83c07cbe16ff466ea5f5e74c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95906 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ligos/terninger",
"max_stars_repo_path": "Terninger.Perf/Benchmarks/GenerateNumbersByRng.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95907"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MurrayGrant.Terninger.Random;
using Rand = System.Random;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Code;
namespace MurrayGrant.Terninger.Perf.Benchmarks
{
[Simpl... | 1.963592 | bdd7224a7cb0333be1ab38e2305ac3a9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95907 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DoctorDump/AsyncChromeDriver",
"max_stars_repo_path": "ChromeDevToolsClient/Network/ResponseReceivedExtraInfoEvent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95908"
} | starcoder | namespace Zu.ChromeDevTools.Network
{
using Newtonsoft.Json;
/// <summary>
/// Fired when additional information about a responseReceived event is available from the network
/// stack. Not every responseReceived event will have an additional responseReceivedExtraInfo for
/// it, and respons... | 2.258627 | f0261bfd9e156bfc0546aadb47225128 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95908 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SinsofSloth/RF5-global-metadata",
"max_stars_repo_path": "DG/Tweening/Core/ABSSequentiable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95909"
} | starcoder | public abstract class ABSSequentiable // TypeDefIndex: 5061
{
// Fields
internal TweenType tweenType; // 0x10
internal float sequencedPosition; // 0x14
internal float sequencedEndPosition; // 0x18
internal TweenCallback onStart; // 0x20
// Methods
// RVA: 0x19855E0 Offset: 0x19856E1 VA: 0x19855E0
protected vo... | 1.639407 | 2f3fb849c5d4ae8791d7c659c010214a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95909 | {
"extension": "c-sharp",
"max_stars_count": "262.0",
"max_stars_repo_name": "yyjdelete/SpanNetty",
"max_stars_repo_path": "src/DotNetty.Transport.Libuv/NativeChannel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95910"
} | starcoder | /*
* Copyright 2012 The Netty Project
*
* The Netty Project licenses this file to you 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... | 1.655818 | f88f78106cd60d6b85c7c0761fc2f8ca |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95910 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AscheLab/AscheLib.UniMonad",
"max_stars_repo_path": "Assets/AscheLib/UniMonad/Monad/Option/Option.Do.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95911"
} | starcoder | <reponame>AscheLab/AscheLib.UniMonad<filename>Assets/AscheLib/UniMonad/Monad/Option/Option.Do.cs
using System;
using System.Collections.Generic;
using System.Linq;
namespace AscheLib.UniMonad {
public static partial class Option {
private class DoCore<T> : IOptionMonad<T> {
IOptionMonad<T> _self;
Action<IOpt... | 2.771132 | 2444a09290f6168566986acabf277979 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95911 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "satheesh-krishnasamy/SecurityTestAssistant",
"max_stars_repo_path": "SecurityTestAssistant.Library/Testers/Implementation/SessionIDLengthTester.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95912"
} | starcoder | <filename>SecurityTestAssistant.Library/Testers/Implementation/SessionIDLengthTester.cs
using SecurityTestAssistant.Library.Config;
using SecurityTestAssistant.Library.Models;
using SecurityTestAssistant.Library.Net;
using SecurityTestAssistant.Library.Utils;
using System.Collections.Generic;
using System.Text;
names... | 2.702771 | e0b1a1bb5030957a855d3cae7ab71c07 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95912 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mfkl/YodiiStaticProxy.Fody",
"max_stars_repo_path": "YodiiStaticProxy.Fody/Log/ILogWithParametersEntry.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95913"
} | starcoder | <filename>YodiiStaticProxy.Fody/Log/ILogWithParametersEntry.cs
#region LGPL License
/*----------------------------------------------------------------------------
* This file (Yodii.Host\Log\ILogWithParametersEntry.cs) is part of CiviKey.
*
* CiviKey is free software: you can redistribute it and/or modify
* it un... | 2.04698 | 45f961e0ce871558f0a66d4bfc25d26c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95913 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "FlaviusHouk/AvalonStudio",
"max_stars_repo_path": "AvalonStudio/AvalonStudio.Extensibility/Utils/DynamicExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95914"
} | starcoder | using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
namespace AvalonStudio.Extensibility.Utils
{
public static class DynamicExtensions
{
public static T FromDynamic<T>(this IDictionary<string, object> dictionar... | 2.699518 | c795a68f8b765efb8c742580bca21796 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95914 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rioda78/CascadeComboboxAsp2",
"max_stars_repo_path": "Models/City.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95915"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace CascadeComboboxAsp2.Models
{
public class City
{
[Key, DatabaseGenerated(DatabaseGener... | 1.686679 | b138c2970ef405e0f434f6d3e445f677 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95915 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "CatenaLogic/CatenaLogic.Analyzers",
"max_stars_repo_path": "src/CatenaLogic.Analyzers/Extensions/TypeSyntaxExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95916"
} | starcoder | <filename>src/CatenaLogic.Analyzers/Extensions/TypeSyntaxExtensions.cs
namespace CatenaLogic.Analyzers
{
using System;
using System.Collections.Generic;
using System.Text;
using Gu.Roslyn.AnalyzerExtensions;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
... | 2.314189 | cec52b4c5f85354d236e309db56e7126 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95916 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "domenichelfenstein/dojo",
"max_stars_repo_path": "katas/html_pages_converter/solutions/cs/App/IFileAccessWrapper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95917"
} | starcoder | namespace App
{
using System;
public interface IFileAccessWrapper : IDisposable
{
string GetTextLine();
}
} | 1.821924 | 5fefd545a2fd61980592349c4c85f298 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95917 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "Azurelol/StratusFramework",
"max_stars_repo_path": "Core/Source/Utilities/Serialization/StratusSaveSystem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95918"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.IO;
using UnityEngine;
using System.Collections;
namespace Stratus
{
/// <summary>
/// Specifies what suffixes to add to the save file name
/// </summary>
public enum StratusSaveDataSuffixFormat
{
Incremental,
SystemTime
}
/// <... | 2.534338 | e15f7a14c5b0bff755d3ce35ca174bad |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95918 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TemporalWars/TWEngine",
"max_stars_repo_path": "TemporalWars 3D Engine/Dev/XNA_RTS2008/ForceBehaviors/Enums/Behaviors.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95919"
} | starcoder | #region File Description
//-----------------------------------------------------------------------------
// BehaviorsEnum.cs
//
// <NAME> - XNA Community Game Platform
// Copyright (C) Image-Nexus, LLC. All rights reserved.
//-----------------------------------------------------------------------------
#endregio... | 2.620396 | ef8ef60015e7497a679a054a40ee175b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95919 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "ZShijun/DesignPattern",
"max_stars_repo_path": "src/Patterns/13. Flyweight/DesignPattern.Flyweight5/TypefaceFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95920"
} | starcoder | <reponame>ZShijun/DesignPattern
using System;
using System.Collections.Generic;
using System.Text;
namespace DesignPattern.Flyweight5
{
public class TypefaceFactory
{
private static readonly IDictionary<Type, Typeface> _typefaces
= new Dictionary<Type, Typeface>();
private static... | 2.896152 | 5929497a6b1aa33bb49863ae6c0cf4bd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95920 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "colorful2544/OnlySubs",
"max_stars_repo_path": "Views/Account/Search.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:95921"
} | starcoder | <reponame>colorful2544/OnlySubs
@model IEnumerable<SearchResponse>
@{
ViewData["Title"] = "Search";
}
<div class="container" style="width: 500px; margin-top: 120px;">
@if (Model != null)
{
@foreach (var item in Model)
{
<div class="account-contanier mt-5">
<div cl... | 2.202765 | bf13e81e1a5049ebfd323735de1e8b0f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95921 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "code4me/4me-sdk-csharp",
"max_stars_repo_path": "Source/Sdk4me/Sdk4meClient.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95922"
} | starcoder | <gh_stars>1-10
using System.Collections.Generic;
namespace Sdk4me
{
public class Sdk4meClient
{
private readonly Dictionary<string, IBaseHandler> handlers = null;
private readonly AuthenticationTokenCollection authenticationTokens = null;
private readonly string accountID = null;
... | 2.332363 | e26cc14c078b4cc117e6cb8190ea6565 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95922 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SoLaRGit/open.imaging.jpeg",
"max_stars_repo_path": "open.imaging.jpeg/open.imaging.icc/types/ICCTagDataTypeLut16.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95923"
} | starcoder | <filename>open.imaging.jpeg/open.imaging.icc/types/ICCTagDataTypeLut16.cs
///////////////////////////////////////////////////////////////////////////////
//
// This file is part of open.imaging.jpeg project
//
// Copyright (c) 2017 <NAME>. All rights reserved.
//
// This code is licensed under the MIT Licens... | 1.839588 | 450a86e77b9daef0067088888b464c75 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95923 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "carbon/Css",
"max_stars_repo_path": "src/Carbon.Css/_/CssVisibility.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95924"
} | starcoder | using System.Text.Json.Serialization;
namespace Carbon.Css;
[JsonConverter(typeof(JsonStringEnumConverter))]
public enum CssVisibility : byte
{
Visible = 1,
Hidden = 2,
Collapse = 3
} | 1.7531 | 90e4b9e33b778809a3936899c9f138fc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95924 | {
"extension": "c-sharp",
"max_stars_count": "217.0",
"max_stars_repo_name": "hackf5/IDisposableAnalyzers",
"max_stars_repo_path": "IDisposableAnalyzers.Test/IDISP001DisposeCreatedTests/Diagnostics.OutParameter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95925"
} | starcoder | <gh_stars>100-1000
namespace IDisposableAnalyzers.Test.IDISP001DisposeCreatedTests
{
using Gu.Roslyn.Asserts;
using Microsoft.CodeAnalysis.Diagnostics;
using NUnit.Framework;
public static partial class Diagnostics
{
public static class OutParameter
{
private static read... | 1.940542 | 728131c55b94fa32c7e61f4f52f1c862 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95925 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FalconNL93/fwutil",
"max_stars_repo_path": "FwUtil.Core/Services/FirewallService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95926"
} | starcoder | using FwUtil.Core.Converters;
using FwUtil.Core.Exceptions;
using FwUtil.Core.Models;
using FwUtil.Core.Repositories;
using NetFwTypeLib;
namespace FwUtil.Core.Services;
public class FirewallService
{
private readonly FirewallRepository _repository;
protected FirewallService()
{
try
{
... | 2.624176 | 7c2c39d6b68e6e821f0c9325857141d8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95926 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "LykkeBusinessPlatform/AzureStorage",
"max_stars_repo_path": "src/Lykke.AzureStorage/Tables/Entity/Annotation/ValueTypeMergingStrategyAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95927"
} | starcoder | using System;
using JetBrains.Annotations;
using Lykke.AzureStorage.Tables.Entity.ValueTypesMerging;
namespace Lykke.AzureStorage.Tables.Entity.Annotation
{
/// <summary>
/// Marks an entity type to use specific <see cref="ValueTypeMergingStrategy"/>
/// when performing InsertOrMerge operation
/// <... | 2.447824 | 7c7a1350bac22250f304a64a70de5acf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95927 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mpatrickaires/design-patterns-learning",
"max_stars_repo_path": "structural/Decorator/Decorator/After/Client.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95928"
} | starcoder | <filename>structural/Decorator/Decorator/After/Client.cs
using Decorator.After.Models;
using Decorator.After.Models.Decorators;
using Decorator.After.Models.Interfaces;
/*
* Now, using the Decorator, we created an interface of the notifier and we use composition
* instead of inheritance.
* About the decora... | 3.311894 | b083541bd11e7e61a688eb8458b290bf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95928 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "microbian-systems/XomegaFramework",
"max_stars_repo_path": "src/Xomega.Framework.Wpf/Binding/DataPropertyBinding.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95929"
} | starcoder | <reponame>microbian-systems/XomegaFramework
// Copyright (c) 2021 Xomega.Net. All rights reserved.
using System;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Media;
using System.Windows.Media.Media3D;... | 2.530673 | 980d9d4b2b017c662d2c88218e5d62f5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95929 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "ABTSoftware/SciChart.Xamarin.Examples",
"max_stars_repo_path": "src/Xamarin.Examples.Demo.Droid/Fragments/Examples/StackedColumnChartFragment.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95930"
} | starcoder | using Android.Graphics;
using Android.Views.Animations;
using SciChart.Charting.Model;
using SciChart.Charting.Model.DataSeries;
using SciChart.Charting.Modifiers;
using SciChart.Charting.Visuals;
using SciChart.Charting.Visuals.Animations;
using SciChart.Charting.Visuals.Axes;
using SciChart.Charting.Visuals.R... | 2.166698 | 2fbaee61c961c7063db0d6a18d28ca99 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95930 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "exercism-bot/csharp-analyzer",
"max_stars_repo_path": "test/Exercism.Analyzers.CSharp.IntegrationTests/Solutions/Gigasecond/AddSeconds/DigitsWithoutSeparator/Variable/Gigasecond.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95931... | starcoder | <reponame>exercism-bot/csharp-analyzer
using System;
public static class Gigasecond
{
public static DateTime Add(DateTime birthDate)
{
var date =birthDate.AddSeconds(1000000000);
return date;
}
} | 2.386424 | 3072671fd33d1c04d034512d01da9307 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95931 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "anth12/PathFinder",
"max_stars_repo_path": "PathFinder/LeftTurn/LeftTurnPathFinder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95932"
} | starcoder | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using PathFinder.Map;
namespace PathFinder.LeftTurn
{
public class LeftTurnPathFinder : IPathFinder
{
public async Task<List<Point>> Solve(Maze maze)
{
var solved = false;
while (!solved)
... | 2.347859 | 96131945a27b2056555c8102c4d40271 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95932 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lerwine/RIMSS",
"max_stars_repo_path": "Rimss.Web/Data/View_SourceImageListing.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95933"
} | starcoder | <reponame>lerwine/RIMSS<gh_stars>0
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be over... | 1.172145 | 6b8cd95b413a3e8aa190edb2b73c7678 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95933 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "insero-software/component-composition-framework",
"max_stars_repo_path": "Insero/ComponentCompositionFramework/ComponentCompositionFramework.Components.NgsiProducer/NgsiProducerComponent.cs",
"provenance": "train-00000-of-00045.jsonl.... | starcoder | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"... | 1.731314 | 6c65e38716f5643dd260d3434d477e1e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95934 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ThisMushroom/OpenMU-1",
"max_stars_repo_path": "src/GameServer/MessageHandler/CloseNPCHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95935"
} | starcoder | // <copyright file="CloseNPCHandler.cs" company="MUnique">
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
// </copyright>
namespace MUnique.OpenMU.GameServer.MessageHandler
{
using MUnique.OpenMU.GameLogic;
using MUnique.OpenMU.GameLogic.PlayerActions;
... | 2.038879 | e183b87cdb75f6873bda6c0d9bc31797 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95935 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sefaCokkaraman/BilgiOptikOtomasyon",
"max_stars_repo_path": "BilgiOptik/frmMarkaIslemleri.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95936"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using BilgiOptik.Model;
namespace BilgiOptik
{
public partial class frmMarkaIslemleri : Form
{
... | 2.333328 | 29cfc51173a6c49621a10c4c7a327956 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95936 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "jonmcquade/csharp-snippets",
"max_stars_repo_path": "SmartStoreNET-3.x/src/Tests/SmartStore.Data.Tests/TestDbConfiguration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95937"
} | starcoder | using System;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
namespace SmartStore.Data.Tests
{
public class TestDbConfiguration : DbConfiguration
{
public TestDbConfiguration()
{
base.SetDefaultConnectionFactory(new SqlCeConnectionFactory("System.Data.SqlServerCe.4.0"));
}
}
}
| 1.752779 | 44c0cff189e5d15f166182b96140efce |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95937 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "petrovic-ivan/patterns",
"max_stars_repo_path": "Structural/Facade/SubsystemA.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95938"
} | starcoder | using System;
namespace Facade
{
public class SubsystemA : ISubsystemA
{
public string OperationA()
{
return "Executing operation A...";
}
}
} | 2.048098 | 1dd2329b64f845133f0594696dffbef8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95938 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "Samotorcan/Html.Ui",
"max_stars_repo_path": "src/Samotorcan.HtmlUi.WindowsForms/Form.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95939"
} | starcoder | using System.Windows.Forms;
namespace Samotorcan.HtmlUi.WindowsForms
{
/// <summary>
/// Form.
/// </summary>
internal class Form : System.Windows.Forms.Form
{
#region Constructors
/// <summary>
/// Initializes a new instance of the <see cref="Form"/> class.
/// </... | 2.258231 | 98d8fb656558496d939e3dce9b34f6d6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95939 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ychsu/YC.Azure.WebJobs.Extensions",
"max_stars_repo_path": "src/NotificationHub/NotificationHubExtensionConfigProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95940"
} | starcoder | using System;
using Microsoft.Azure.NotificationHubs;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Host.Config;
using Microsoft.Extensions.Configuration;
namespace YC.Azure.WebJobs.Extensions.NotificationHub
{
internal class NotificationHubExtensionConfigProvider : IExtensionConfigProvider
{
... | 2.036576 | 9bb249b8825b60c558c096928b51d0f3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95940 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CaceresLuis/SoccerSystem",
"max_stars_repo_path": "Core/Modules/MatchModule/Add/AddMatchHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95941"
} | starcoder | <filename>Core/Modules/MatchModule/Add/AddMatchHandler.cs
using MediatR;
using Core.Dtos;
using System.Net;
using Shared.Enums;
using System.Threading;
using Shared.Exceptions;
using Infrastructure.Models;
using System.Threading.Tasks;
using Infrastructure.Interfaces;
namespace Core.Modules.MatchModule.Add
{
publ... | 2.592585 | f34976c0383a3fa48a68f9621f13e72f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95941 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "guilhermaosales/boletofacil-sdk-net",
"max_stars_repo_path": "BoletoFacilSDK.Tests/Model/Entities/FeeSchemaTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95942"
} | starcoder | <filename>BoletoFacilSDK.Tests/Model/Entities/FeeSchemaTests.cs
using Microsoft.VisualStudio.TestTools.UnitTesting;
using BoletoFacilSDK.Model.Entities;
namespace BoletoFacilSDK.Tests.Model.Entities
{
[TestClass]
public class FeeSchemaTests
{
[TestMethod]
public void ConstructorAndFields()... | 2.217882 | fd22ad8dd9af496b79a2c33b10124b2e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95942 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "izhal27/printing_application",
"max_stars_repo_path": "src/PrintingApplication/PrintingApplication.Domain/Models/Orderan/OrderanReportModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95943"
} | starcoder | using PrintingApplication.Domain.Models.OrderanDetail;
using PrintingApplication.Domain.Models.Pelanggan;
using System;
using System.Collections.Generic;
namespace PrintingApplication.Domain.Models.Orderan
{
public class OrderanReportModel : IOrderanReportModel
{
public uint id { get; set; }
... | 1.897012 | 226511396866f019886afdf84f30f049 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95943 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "leonardochaia/xmr-tutorials",
"max_stars_repo_path": "MoneroInteractive.WebApp/Pages/_ViewImports.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:95944"
} | starcoder | @using MoneroInteractive.WebApp
@namespace MoneroInteractive.WebApp.Pages
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
| 1.217599 | 309b58eefb6cd9c499b738103eadbd68 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95944 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "danielsaidi/nextra",
"max_stars_repo_path": "NExtra/Date/Iso8601WeekResolver.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95945"
} | starcoder | using System;
using System.Globalization;
namespace NExtra.Date
{
/// <summary>
/// This class can be used to calculate week numbers
/// for ISO8601 dates.
/// </summary>
/// <remarks>
/// Author: <NAME> [<EMAIL>]
/// Link: http://danielsaidi.github.com/nextra
///... | 3.388214 | 587272afc1344ac83a445e1dff4101f5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95945 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ccxt-net/ccxt.collector",
"max_stars_repo_path": "src/indicator/SAR.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95946"
} | starcoder | using System.Collections.Generic;
using System.Linq;
namespace CCXT.Collector.Indicator
{
public class SAR : IndicatorCalculatorBase<SingleDoubleSerie>
{
protected override List<Ohlcv> OhlcList
{
get;
set;
}
protected decimal AccelerationFactor = 0.02m;... | 2.646613 | 8c154287cc9b0a34b8eeeae026eb5c2a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95946 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "styletronix/cfapiSync",
"max_stars_repo_path": "cfapiSync/ServerProviders/LocalNetworkServerProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95947"
} | starcoder | <gh_stars>1-10
using Styletronix.CloudSyncProvider;
using System;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using static Styletronix.CloudFilterApi;
public partial class LocalNetworkServerProvider : IServerFileProvider
{
public LocalNetworkServerProvider(string ServerPath)
{
... | 2.133899 | 651b0ec3bbf304036b82e3e6210c58cf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95947 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "timi137137/MeteorTools",
"max_stars_repo_path": "Time.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95948"
} | starcoder | using System;
namespace MeteorTools
{
/// <summary>
/// 时间相关类
/// </summary>
public static class Time
{
/// <summary>
/// 时间戳转为DateTime格式时间
/// </summary>
/// <param name="timeStamp">时间戳</param>
/// <returns>DateTime格式</returns>
p... | 3.169631 | f5af1098fddb8b79b6bc8e4ecbc57aab |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95948 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "wwdenis/vbconverter",
"max_stars_repo_path": "Parser/Trees/TypeNames/NamedTypeName.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95949"
} | starcoder | <filename>Parser/Trees/TypeNames/NamedTypeName.cs
using System;
using System.Collections.Generic;
using System.Text;
//
// Visual Basic .NET Parser
//
// Copyright (C) 2005, Microsoft Corporation. All rights reserved.
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
// ... | 2.661404 | 588974ef624458d3d0a32d2d11c5945a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95949 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Hedge42/unity-full",
"max_stars_repo_path": "Assets/Neat/Core/Scripts/Reflection/ReflectionUtility.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95950"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;
using Assembly = System.Reflection.Assembly;
namespace Neat.Tools
{
[CreateAssetMenu(menuName = "Neato/ReflectionUtility")]
public class ReflectionUti... | 2.460967 | 32f67d8f022883f99a6d651613a7d9aa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95950 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mageinn/Poolified-ChiaRPC.Net",
"max_stars_repo_path": "ChiaRPC.Net/Models/Node/Block/FullBlock.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95951"
} | starcoder | using ChiaRPC.Parsers;
using System.Text.Json.Serialization;
namespace ChiaRPC.Models
{
public sealed class FullBlock
{
[JsonPropertyName("header_hash")]
[JsonConverter(typeof(HexBytesConverter))]
public HexBytes HeaderHash { get; init; }
[JsonPropertyName("finished_sub_slots"... | 1.832282 | 634a0ad6a43ef11e7775af5d6a6aeedb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95951 | {
"extension": "c-sharp",
"max_stars_count": "159.0",
"max_stars_repo_name": "SeanKilleen/Docs",
"max_stars_repo_path": "aspnet/mvc/overview/older-versions-1/nerddinner/implement-efficient-data-paging/samples/sample2.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95952"
} | starcoder | public class DinnerRepository {
private NerdDinnerDataContext db = new NerdDinnerDataContext();
//
// Query Methods
public IQueryable<Dinner> FindUpcomingDinners() {
return from dinner in db.Dinners
where dinner.EventDate > DateTime.Now
orderby dinner.EventD... | 2.202728 | c8eecf5deaaaee90ccb21ca7153ec791 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95952 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kazumatu981/Meshram",
"max_stars_repo_path": "Meshram.Tool.CreateMlitDatabase/CsvReader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95953"
} | starcoder | using System.Linq;
using System.Text;
using System.IO;
using System.Collections.Generic;
namespace Meshram.Tool.CreateMlitDatabase
{
public class CsvReader
{
protected readonly string _fileName;
private readonly Encoding _encoding;
public CsvReader(string fileName, Encoding encoding)
... | 3.015711 | 7b02bd6352a019ab1af5285162e75490 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95953 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "gubanotorious/neo-sharp",
"max_stars_repo_path": "src/NeoSharp.Core/Models/MinerTransaction.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95954"
} | starcoder | <gh_stars>1-10
using System.IO;
using NeoSharp.BinarySerialization;
using NeoSharp.Core.Converters;
namespace NeoSharp.Core.Models
{
[BinaryTypeSerializer(typeof(TransactionSerializer))]
public class MinerTransaction : Transaction
{
/// <summary>
/// Random number
/// </summary>
... | 2.282973 | 2c65140e63ed436c438f76999932faf7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95954 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "tomkuijsten/BabySteps",
"max_stars_repo_path": "src/NeuralNetworkManipulation/ModificationConfiguration/BiasModification/IBiasModificationGradationFilter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95955"
} | starcoder | <gh_stars>1-10
using BabySteps.NeuralNetwork.Neurons;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BabySteps.NeuralNetworkManipulation.ModificationConfiguration.BiasModification
{
public interface IBiasModificationGradationFilter
... | 1.437506 | 31a27ee21dbdc8f52765ad25dca64956 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95955 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sorbra/greenergy",
"max_stars_repo_path": "tesla/teslacharging/MongoModels/TeslaVehicleMongo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95956"
} | starcoder | using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
using System.ComponentModel.DataAnnotations;
using MongoDB.Bson;
using Greenergy.TeslaTools;
namespace Greenergy.TeslaCharger.MongoModels
{
public class T... | 2.521529 | 236f956f8bf2bf9e4264f61eaac9cba6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95956 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "accept-project/accept-portal",
"max_stars_repo_path": "AcceptPortal/Views/PreEdit/UserProfile.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:95957"
} | starcoder | @model AcceptPortal.Models.User.UserAccountProfile
@{
ViewBag.Title = @AcceptPortal.Resources.Global.Account_UserProfile_ViewBagTitle;
}
<h2>@AcceptPortal.Resources.Global.Account_UserProfile_MyAppsLabel</h2>
@if (Model.UserApplications.Count > 0)
{
<div style="margin:15px;">
<ul id="ap... | 2.254087 | 1e216ab7eedce9c57a216b8a6648ec1e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95957 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "karashiiro/Universalis",
"max_stars_repo_path": "src/Universalis.Mogboard/Doctrine/Parsers/StringParser.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95958"
} | starcoder | <reponame>karashiiro/Universalis
namespace Universalis.Mogboard.Doctrine.Parsers;
internal static class StringParser
{
public static string Parse(ReadOnlySpan<char> buf)
{
var bufPart1 = buf[2..];
var bufPart2 = bufPart1[(bufPart1.IndexOf(':') + 2)..];
return new string(bufPart2[..^1])... | 1.662919 | b01459f9b99aa2b877713e9a410d4cbf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95958 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TexturedGuppy/CitronUltra",
"max_stars_repo_path": "Assets/Scripts/FaceObject.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95959"
} | starcoder | using UnityEngine;
using System.Collections;
using System;
/// <summary>
/// FaceObject script
/// Any object it attaches to will face another game object when in range
/// </summary>
public class FaceObject : MonoBehaviour
{
public GameObject target; //Target Object
public GameObject bullet; //Bullet object
... | 2.878869 | 1be962d45b8ae00e44039e66d30c9fff |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95959 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "long2know/distributed-actor-system",
"max_stars_repo_path": "Common/Messages/NodeLeft.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95960"
} | starcoder | namespace Common.Messages
{
public class NodeLeft
{
public string IpAddress { get; set; }
}
}
| 1.274282 | b35c3deb7ed15acdd65d1f15a19e6218 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95960 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "juniordiscart/ImpossibleOdds-MouseEvents",
"max_stars_repo_path": "Assets/Impossible Odds/MouseEvents/Runtime/MouseButton.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95961"
} | starcoder | <filename>Assets/Impossible Odds/MouseEvents/Runtime/MouseButton.cs
namespace ImpossibleOdds.MouseEvents
{
/// <summary>
/// Mouse buttons that can be monitored for events.
/// </summary>
public enum MouseButton : int
{
None = -1,
Left = 0,
Right = 1,
Middle = 2
}
}
| 2.168504 | 50d034c07ed3b28dd566ed991acbd648 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.