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 | 72533 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Sphere10/Framework",
"max_stars_repo_path": "src/Sphere10.Framework.Windows.LevelDB/DB.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72534"
} | starcoder | <gh_stars>1-10
//-----------------------------------------------------------------------
// <copyright file="DB.cs" company="Sphere 10 Software">
//
// Copyright (c) Sphere 10 Software. All rights reserved. (http://www.sphere10.com)
//
// Distributed under the MIT software license, see the accompanying file
// LICENSE ... | 2.470778 | 4dcb923eead58922304d45d9eb891552 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72534 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mch2112/solarmax",
"max_stars_repo_path": "SolarMax/Preferences.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72535"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SolarMax
{
public enum PlanetLabelType { NameOnly, SymbolOnly, Both }
internal static class Preferences
{
private const string PREFERENCES_FILE_NAME = "preferences.txt";
... | 2.522437 | 20f9845284ff25ac39d9d112be2e2a89 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72535 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "WarHub/wham",
"max_stars_repo_path": "tests/WarHub.ArmouryModel.Source.CodeGeneration.Tests.GeneratedCode/ContainerCore.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72536"
} | starcoder | using System.Collections.Immutable;
using System.Xml.Serialization;
namespace WarHub.ArmouryModel.Source
{
[WhamNodeCore]
[XmlRoot("container")]
public sealed partial record ContainerCore
{
[XmlAttribute("id")]
public string? Id { get; init; }
[XmlAttribute("name")]
pu... | 2.071822 | eaae7bee2d0322eee6626196fe1ba2ed |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72536 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kmilewczyk/Passenger-Application",
"max_stars_repo_path": "Passenger.Tests.EndToEnd/Controllers/ControllerTestsBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72537"
} | starcoder | using System.Net.Http;
using System.Text;
using System.Text.Json;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc.Testing;
using Passenger.Infrastructure.DTO;
using Xunit;
using Xunit.Abstractions;
namespace Passenger.Tests.EndToEnd.Controllers;
public abstract class ControllerTestsBase : IClassFixture<... | 2.284442 | d05813b8c9f570c116400f92d03900be |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72537 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Coinigy/Docker.DotNet",
"max_stars_repo_path": "src/Docker.DotNet/Endpoints/IImageOperations.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72538"
} | starcoder | using System.Collections.Generic;
using System.Threading.Tasks;
using Docker.DotNet.Models;
using System;
using System.IO;
namespace Docker.DotNet
{
public interface IImageOperations
{
Task<IList<ImagesListResponse>> ListImagesAsync(ImagesListParameters parameters);
Task<ImageInspectResponse>... | 1.988003 | f7fa1e3e3af4b2642a073a18765161e8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72538 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "TeknikhogskolanGothenburg/webserver-triple-j-s",
"max_stars_repo_path": "IntegrationTests/IntegrationTests/ResponseHeaderTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72539"
} | starcoder | <gh_stars>1-10
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Net;
namespace IntegrationTests
{
[TestClass]
public class ResponseHeaderTests
{
public const string Localhost = "http://localhost:8080/";
[TestMethod]
public void ResponseHeaders_Content... | 2.451749 | cff8ac04f899a8bd4310ca2c17d799d7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72539 | {
"extension": "c-sharp",
"max_stars_count": "103.0",
"max_stars_repo_name": "googleads/googleads-dfa-reporting-samples",
"max_stars_repo_path": "dotnet/v3.5/Creatives/CreateInstreamAudioCreative.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72540"
} | starcoder | <filename>dotnet/v3.5/Creatives/CreateInstreamAudioCreative.cs
/*
* Copyright 2015 Google Inc
*
* Licensed under the Apache License, Version 2.0(the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICE... | 2.358408 | db6c134a3ceaa55b7de279ba929cbff3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72540 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sphinxlogic/Singularity-RDK-2.0",
"max_stars_repo_path": "base/Kernel/Singularity.Hal.Acpi/Fadt.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72541"
} | starcoder | <reponame>sphinxlogic/Singularity-RDK-2.0
///////////////////////////////////////////////////////////////////////////////
//
// Microsoft Research Singularity
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// File: AcpiTables.cs
//
// Note:
// Pages 95-104 of ACPI 3.0 Spec.
nam... | 1.199224 | edf58df8543bf956f5a4b523ec9570fa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72541 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jamessmckay/Ed-Fi-SampleDataGenerator",
"max_stars_repo_path": "src/EdFi.SampleDataGenerator.Console/Config/FirstNameFileMapping.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72542"
} | starcoder | <gh_stars>1-10
using System.Xml.Serialization;
using EdFi.SampleDataGenerator.Core.Config;
namespace EdFi.SampleDataGenerator.Console.Config
{
public class FirstNameFileMapping : IFirstNameFileMapping
{
[XmlAttribute]
public string Ethnicity { get; set; }
[XmlAttribute]
public... | 1.918145 | 846c6b801f2abc6cbd615185320fc4b7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72542 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "toanvo/netcorekit",
"max_stars_repo_path": "src/NetCoreKit.Infrastructure.EfCore.MySql/ServiceCollectionExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72543"
} | starcoder | <filename>src/NetCoreKit.Infrastructure.EfCore.MySql/ServiceCollectionExtensions.cs
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
using NetCoreKit.Infrastructure.EfCore.Db;
using NetCoreKit.Infrastructure.EfCore.MySql... | 1.763257 | 4d58b450b705d339a8baa4427a7b700c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72543 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SirSour/DeveloperInstrumentalTools",
"max_stars_repo_path": "Examples/SQL/WebApplication.EFCore/Views/UserRoles/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:72544"
} | starcoder | @model IEnumerable<UserRoles>
@{
ViewBag.Title = "Users and roles";
Layout = "_Layout";
}
<h2>Users and roles</h2>
<div class="container">
<div class="row">
<div class="col">
Users
</div>
<div class="col">
Roles
</div>
</div>
@foreach (var user in this.Model)
{
<div cl... | 2.662269 | 772e1d7b3a3c16bb07854b17e4292947 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72544 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Fjohora9333/ASP.NETcoreSamples",
"max_stars_repo_path": "Consulting/Consulting/Models/MetadataClasses/WorkSessionMetadata.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72545"
} | starcoder | using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace Consulting.Models
{
[ModelMetadataType(typeof(WorkSessionMetadata))]
public partial class WorkSession : IValidatableObject
... | 2.326191 | f09cbd94ee9e1aa249d9c51098abd581 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72545 | {
"extension": "c-sharp",
"max_stars_count": "34.0",
"max_stars_repo_name": "sagifogel/NCop",
"max_stars_repo_path": "NCop.Composite/Weaving/CompositeEventWeaverBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72546"
} | starcoder | <reponame>sagifogel/NCop
using NCop.Aspects.Weaving;
using NCop.Composite.Engine;
using NCop.Weaving;
namespace NCop.Composite.Weaving
{
public class CompositeEventWeaverBuilder : AbstractWeaverBuilder, IEventWeaverBuilder
{
private readonly ICompositeEventMap compositeEventMap = null;
private... | 1.897576 | 521afa3f5f379637d6fe9cbb2ccee9f8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72546 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HurricanKai/SM3-Gateway",
"max_stars_repo_path": "Proxy/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72547"
} | starcoder | <filename>Proxy/Program.cs
using System;
using Microsoft.AspNetCore.Connections;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
namespace Proxy
{
public class Program
{
public static void Main(string[] args)
{
... | 2.128229 | a178e78f1ab3234d12bdb93c8761015e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72547 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Nosrick/JoyGodot",
"max_stars_repo_path": "Assets/Scripts/GUI/CharacterCreationState/DerivedValuesList.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72548"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using Godot;
using JoyGodot.Assets.Scripts.Entities.Statistics;
using JoyGodot.Assets.Scripts.GUI.Tools;
using JoyGodot.Assets.Scripts.Managed_Assets;
namespace JoyGodot.Assets.Scripts.GUI.CharacterCreationState
{
public ... | 2.2284 | 29c47cd53d08d7bfb433364d819117ad |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72548 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "zzgchina888/msdn-code-gallery-microsoft",
"max_stars_repo_path": "Official Windows Platform Sample/Windows Phone 8.1 samples/[C#]-Windows Phone 8.1 samples/Action Center Quickstart Sample/C#/Scenario2_NoPopup.xaml.cs",
"provenance": "... | starcoder | // Copyright (c) Microsoft. All rights reserved.
using System;
using Windows.UI.Notifications;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Navigation;
namespace Action_Center_Quickstart
{
/// <summary>
/// Demonstrates how to send local toasts directly to action center, withou... | 2.78886 | e6eab8d3c633c9214320c277ab041f50 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72549 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "alantsai-samples/mhat-hotelbot",
"max_stars_repo_path": "src/MHAT.HotelBot/Dialogs/SpeechTranslationDialog.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72550"
} | starcoder | using MHAT.HotelBot.Models;
using MHAT.HotelBot.Services;
using Microsoft.Bot.Builder.Dialogs;
using Microsoft.Bot.Connector;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using System.Web;
namespace... | 2.285007 | 4e490a12cd57a3e13db90b49cd06addd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72550 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Eng-RedWolf/Bastet-FTM-API",
"max_stars_repo_path": "Authentication/UserService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72551"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using MongoDB.Bson;
using MongoDB.Driver;
namespace BastetFTMAPI.Authentication
{
public class UserService : IUserService
{
private const string DB_NAME = "BastetFTM";
private const string Collecti... | 2.469937 | c0bd9639481544840d153118255b4b00 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72551 | {
"extension": "c-sharp",
"max_stars_count": "67.0",
"max_stars_repo_name": "FumeauxG/mm-api",
"max_stars_repo_path": "csharp/CommandDemos/Form1.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72552"
} | starcoder | namespace examples
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param nam... | 1.681592 | 6c707ce79d95f84587fb4810af5a88dc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72552 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Che4ter/specialized-subscription-management-system",
"max_stars_repo_path": "src/esencialAdmin/Extensions/Select2Result.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72553"
} | starcoder | namespace esencialAdmin.Extensions
{
public class Select2Result
{
public string id { get; set; }
public string text { get; set; }
}
} | 1.249611 | a92b1836f4e65121935052551b09da59 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72553 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ScriptBox99/dotnet-ML.NET",
"max_stars_repo_path": "src/Microsoft.Data.Analysis/DataFrame.Join.Extrensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72554"
} | starcoder | <reponame>ScriptBox99/dotnet-ML.NET
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Collections.ObjectModel;
namesp... | 2.360722 | cf5e6c7a8f5bb2443558397e53c8848a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72554 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "scott-the-programmer/benchmarker",
"max_stars_repo_path": "BenchMarker.Application/Exceptions/CommandHandlerNotFoundException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72555"
} | starcoder | <reponame>scott-the-programmer/benchmarker<gh_stars>0
using System;
namespace BenchMarker.Application.Exceptions
{
public class CommandHandlerNotFoundException : ArgumentException
{
public CommandHandlerNotFoundException(string message) : base(message)
{
}
}
} | 1.582257 | 13062f4c90aa1e136e2b486fb1bc50d1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72555 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Crotshot/FYP",
"max_stars_repo_path": "Assets/_Scripts/AbilitiesAndWeapons/Weapons/Projectile.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72556"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Mirror;
public class Projectile : NetworkBehaviour {
[SerializeField] protected float projDamage, projSpeed, projRadius, projDecayTime;
[SerializeField] protected List<Transform> projectileBodies;
[SerializeField] protecte... | 2.112518 | 7cf3ba96a53d8f837b21feae907c0370 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72556 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "datvm/LukeVoWebsite",
"max_stars_repo_path": "LukeVo.Games/Models/Blackjack/BlackjackModels.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72557"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.Json.Serialization;
using System.Threading.Tasks;
namespace LukeVo.Games.Models.Blackjack
{
public class BlackjackGameSession : DefaultGameSession
{
[JsonIgnore]
public CardManager Cards { get; private set; } ... | 2.73917 | 27fa0b792038220b6fcb93bf9e4b0ec3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72557 | {
"extension": "c-sharp",
"max_stars_count": "296.0",
"max_stars_repo_name": "xiaoxd/Kooboo",
"max_stars_repo_path": "Kooboo.Sites/Render/Renderers/Custom/ICustomRender.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72558"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Kooboo.Sites.Render.Renderers
{
public interface ICustomRender
{
string Name { get; }
Task RenderAsync (FrontContext context, string parameter);
}
}
| 1.62105 | 0686b90d80edda9c3b7351a4ac7fb9e3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72558 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mike-ward/WpfMouseWheel",
"max_stars_repo_path": "src/Lib/Windows/Input/MouseWheel/MouseWheelDebouncing.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72559"
} | starcoder | // ReSharper disable once CheckNamespace
namespace Logitech.Windows.Input
{
public enum MouseWheelDebouncing
{
Auto,
Single,
None
}
} | 1.542168 | e0470295137733d1947720d15b942a7f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72559 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cnheider/XmlDocInspections",
"max_stars_repo_path": "Src/XmlDocInspections.Plugin/Settings/XmlDocInspectionsIcons.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72560"
} | starcoder | <reponame>cnheider/XmlDocInspections
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is r... | 1.695776 | c1203f2dbe00ee19154332ad423ee2b2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72560 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "OgnyanPenkov/SoftUni",
"max_stars_repo_path": "PrBasicsJan2017/05.SimpleLoops/P06MinNumber/MinNumber.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72561"
} | starcoder | using System;
class MinNumber
{
static void Main()
{
long numbersCount = long.Parse(Console.ReadLine());
long min = long.MaxValue;
for (int i = 0; i < numbersCount; i++)
{
long currentNumber = long.Parse(Console.ReadLine());
if (currentNumber < min)
... | 3.527221 | 1483a390cb9ccf503bb4a5e86066cb2e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72561 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SilasDerProfi/simple-compiler",
"max_stars_repo_path": "Compiler/Compiler/SymbolTable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72562"
} | starcoder | using Compiler.Exceptions;
using System.Collections.Generic;
namespace Compiler
{
public class SymbolTable
{
private readonly Dictionary<string, Symbol> _symbols = new Dictionary<string, Symbol>();
/// <summary>
/// Returns a Symbol
/// </summary>
/// <param name="iden... | 3.413533 | f6c73c79f9d50d5588a3359595034198 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72562 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "queoGmbH/peanuts",
"max_stars_repo_path": "Peanuts.Net.Web/Models/Shared/Infrastructure/PaginationCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72563"
} | starcoder | using System.Diagnostics;
using Com.QueoFlow.Peanuts.Net.Core.Persistence.NHibernate;
namespace Com.QueoFlow.Peanuts.Net.Web.Models.Shared.Infrastructure {
[DebuggerDisplay("Seite {_pageNumber} mit {_pageSize} Element(en) pro Seite")]
public class PaginationCommand : IPageable {
private int _pageNum... | 2.75016 | 41e85e079ef992271beac34134c728ac |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72563 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VanyaD/CSharp-OOP",
"max_stars_repo_path": "OOPPrinciplesPart1Homework/03. AnimalHierarchy/Dog.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72564"
} | starcoder | using System;
using System.Collections.Generic;
namespace _03.AnimalHierarchy
{
public class Dog : Animal, ISound
{
public Dog(string name)
: base(name)
{
}
public Dog(string name, int age)
: base(name, age)
{
}
public Dog(strin... | 3.597595 | ac91340cb019e52c4be785b605206d6b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72564 | {
"extension": "c-sharp",
"max_stars_count": "88.0",
"max_stars_repo_name": "jairomh17/Samples",
"max_stars_repo_path": "2013/MvcAndWebApiRouting/MvcAndWebApiRouting/Controllers/FoobarController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72565"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace MvcAndWebApiRouting.Controllers
{
public class FoobarController : ApiController
{
public string Get()
{
// Results in "http://localhost:9547/... | 2.4566 | 2addb842cc39b1c7f8f57768f3efd4a3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72565 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "seamys/PushNotifications",
"max_stars_repo_path": "src/PushNotifications/GlobalVariables.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72566"
} | starcoder | #region License
// The MIT License (MIT)
//
// Copyright (c) 2016 seamys
//
// 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... | 1.447242 | 3fa72d1a96a4b48a5742d1111cd4d06b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72566 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Dluckxx/Graduation-Project",
"max_stars_repo_path": "source/Game/UI/Components/PauseMenuComponent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72567"
} | starcoder | <filename>source/Game/UI/Components/PauseMenuComponent.cs
using UnityEngine;
namespace Game.UI.Components
{
public class PauseMenuComponent : MonoBehaviour
{
public bool bShow = false;
// Update is called once per frame
void Update()
{
CheckEsc();
Upda... | 2.873485 | 8568a88120a36cec82c0ec152fbac8d5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72567 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "kevbite/ParkrunMap",
"max_stars_repo_path": "src/ParkrunMap.Scraping/Cancellations/CancellationsParser.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72568"
} | starcoder | using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using HtmlAgilityPack;
namespace ParkrunMap.Scraping.Cancellations
{
public class CancellationsParser
{
public IReadOnlyCollection<ParkrunCancellation> Parse(Stream stream)
{
... | 2.823002 | 055d630fb7009b3973b88b0c715507f6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72568 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "TylerDodds/DeformableSnowRendering",
"max_stars_repo_path": "Assets/Snow/Scripts/SnowMaterialUtil.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72569"
} | starcoder | <reponame>TylerDodds/DeformableSnowRendering
// SPDX-License-Identifier: MIT
// SPDX-FileCopyrightText: © 2021 <NAME>
using UnityEngine;
namespace SnowRendering
{
static class SnowMaterialUtil
{
internal static void CopySnowLayersProperties(Material snowTemplate, int numLayers, MaterialPropertyBlock ... | 1.97214 | 8aaec1e345b8bc5599c22d1e989e54a9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72569 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ITVenture/ITVComponents",
"max_stars_repo_path": "ITVComponents.WebCoreToolkit.EntityFramework/Options/DiagnoseQueryOptions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72570"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ITVComponents.WebCoreToolkit.EntityFramework.Helpers;
namespace ITVComponents.WebCoreToolkit.EntityFramework.Options
{
public class DiagnoseQueryOptions
{
public Dictionary<string,... | 1.558696 | f80c34022036e89015ec4d2c0fa262e9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72570 | {
"extension": "c-sharp",
"max_stars_count": "81.0",
"max_stars_repo_name": "HLSW/DeltaEngine",
"max_stars_repo_path": "Editor/Core/Tests/CodePackerTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72571"
} | starcoder | using System.IO;
using DeltaEngine.Extensions;
using NUnit.Framework;
namespace DeltaEngine.Editor.Core.Tests
{
public class CodePackerTests
{
[Test]
public void ProjectNotFoundInSolutionException()
{
Assert.Throws<SolutionFileLoader.ProjectNotFoundInSolution>(
() => new CodePacker(PathExte... | 2.211622 | dfeb7097726fe73670aeea2bb662f217 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72571 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AleksandrinaGeorgieva/SoftUni",
"max_stars_repo_path": "01 - Programming Fundamentals Course/05 - Dictionaries, Lambda and LINQ/Exercise/Phonebook/Phonebook/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72572"
} | starcoder | <reponame>AleksandrinaGeorgieva/SoftUni<filename>01 - Programming Fundamentals Course/05 - Dictionaries, Lambda and LINQ/Exercise/Phonebook/Phonebook/Program.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Phonebook
{
class Program
... | 3.654433 | a9dcda8549a257956d335b9749b439ed |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72572 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "itinero/transit",
"max_stars_repo_path": "test/Itinero.Transit.Test/Profiles/VehicleMock.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72573"
} | starcoder | // The MIT License (MIT)
// 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, modif... | 2.267682 | ba6a6a41464550f568aa4001c643648b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72573 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "justbradley/hunk-catalog",
"max_stars_repo_path": "engine/Plugin.Sample.Payments.Braintree/Pipelines/Blocks/SettleOrderSalesActivitiesBlock.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72574"
} | starcoder | <filename>engine/Plugin.Sample.Payments.Braintree/Pipelines/Blocks/SettleOrderSalesActivitiesBlock.cs
// © 2019 Sitecore Corporation A/S. All rights reserved. Sitecore® is a registered trademark of Sitecore Corporation A/S.
namespace Plugin.Sample.Payments.Braintree
{
using global::Braintree;
using global::Br... | 2.091012 | a603f95db8beb95d19283661c0377cca |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72574 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Sharlikran/tesv-snip",
"max_stars_repo_path": "UI/Forms/MainView.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72575"
} | starcoder | <filename>UI/Forms/MainView.cs
using System.Configuration;
using TESVSnip.Domain.Scripts;
namespace TESVSnip.UI.Forms
{
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System.Globalization;
using System.IO;
... | 1.441846 | cd885d87f1a47fa4b0649bb30da4e475 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72575 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "wonderu/airbooking",
"max_stars_repo_path": "Airbooking.Utils/Logging/ILoggingService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72576"
} | starcoder | using System;
namespace Airbooking.Utils.Logging
{
/// <summary>
/// Logging Service Interface
/// </summary>
public interface ILoggingService
{
/// <summary>
/// Gets a value indicating whether this instance is debug enabled.
/// </summary>
/// <value>
/// ... | 2.656772 | 9527ac1c39d1058f6361b31392eff260 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72576 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AppDigitalCVU/DigitalCv",
"max_stars_repo_path": "AppDigitalCv/AppDigitalCv/Views/DatosFamiliares/Create.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:72577"
} | starcoder | @using AppDigitalCv.Security
@model AppDigitalCv.ViewModels.FamiliaresVM
@{
ViewBag.Title = "Create";
Layout = "~/Views/Shared/_Layout.cshtml";
}
@using (Html.BeginForm(null, null, FormMethod.Post, new { name = "myForm", id = "myForm" }))
{
@Html.AntiForgeryToken()
<div class="bs-container" style="mi... | 2.272888 | 2e482fc8791b63b5b0ec30ab8acdc9ca |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72577 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SerraFullStack/PortableVM",
"max_stars_repo_path": "PortableVM/MainWindow.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72578"
} | 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.Med... | 2.579213 | 5792d8d0500f9a423e9a9f4cc450edf3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72578 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lehmamic/EnterpriseApplicationConfigurationManager",
"max_stars_repo_path": "src/Zuehlke.Eacm.Web.Backend/Utils/Serialization/TextSerializationException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72579"
} | starcoder | using System;
namespace Zuehlke.Eacm.Web.Backend.Utils.Serialization
{
public class TextSerializationException : Exception
{
public TextSerializationException()
{
}
public TextSerializationException(string message)
: base(message)
{
}
... | 1.980492 | ac54f50443ad8f174084baa603a4947e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72579 | {
"extension": "c-sharp",
"max_stars_count": "227.0",
"max_stars_repo_name": "ckalvin-hub/Sheng.Winform.IDE",
"max_stars_repo_path": "SourceCode/Source/EnterpriseLibrary/Common/Tests/Configuration.Manageability/Mocks/MockCustomProviderSetting.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72580"
} | starcoder | <filename>SourceCode/Source/EnterpriseLibrary/Common/Tests/Configuration.Manageability/Mocks/MockCustomProviderSetting.cs<gh_stars>100-1000
/*********************************************
作者:曹旭升
QQ:279060597
访问博客了解详细介绍及更多内容:
http://blog.shengxunwei.com
*************************************... | 2.208647 | 80a258286d1e580c3ec564e5a2d3f3cf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72580 | {
"extension": "c-sharp",
"max_stars_count": "104.0",
"max_stars_repo_name": "ryanbrandenburg/razor-tooling",
"max_stars_repo_path": "src/Razor/src/Microsoft.VisualStudio.LanguageServerClient.Razor/ProjectRazorJsonPublisher.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72581"
} | starcoder | <reponame>ryanbrandenburg/razor-tooling
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT license. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.IO;
using System.Linq;
us... | 1.810765 | cd02941ea2c88af6dbd005266b388e43 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72581 | {
"extension": "c-sharp",
"max_stars_count": "529.0",
"max_stars_repo_name": "PervasiveDigital/netmf-interpreter",
"max_stars_repo_path": "Product/AllSDK/ProjectTemplates/CSharp/EmulatorTemplate/Form1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72582"
} | starcoder | <filename>Product/AllSDK/ProjectTemplates/CSharp/EmulatorTemplate/Form1.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using Microsoft.SPOT.Emulator;
namespace $safeprojectname$
{
pub... | 1.761594 | bdc199b3b09b4a233a491db976cb80bd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72582 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "dcramer/zguide",
"max_stars_repo_path": "examples/C#/rrserver.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72583"
} | starcoder | //
// Request-reply service
// Connects REP socket to tcp://localhost:5560
// Expects "Hello" from client, replies with "World"
//
// Author: <NAME>
// Email: <EMAIL>
using System;
using System.Text;
using ZMQ;
namespace ZMQGuide {
class Program {
static void Main(string[] a... | 3.031645 | 791b7abeb03f159c9b1af66871ff4d6d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72583 | {
"extension": "c-sharp",
"max_stars_count": "33.0",
"max_stars_repo_name": "keremvaris/NewGenFramework",
"max_stars_repo_path": "BayiPuan.MvcWebUi/Models/ViewModels/CampaignViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72584"
} | starcoder | <gh_stars>10-100
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace BayiPuan.MvcWebUi.Models.ViewModels
{
[Table("Campaigns")]
[DisplayColumn("CampaignName")]
[DisplayName("Kampanyalar")]
public class CampaignViewModel
{
... | 2.10517 | 03a7250ab98f26b2cb04874254d80d5e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72584 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sanoylab/Full-Stack-Dev-Challenge",
"max_stars_repo_path": "asp_net_core5_mvc/Online.Classified.Data/Models/Category.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72585"
} | starcoder |
using System.ComponentModel.DataAnnotations;
namespace Online.Classified.Data.Models
{
public class Category
{
[Key]
public int Id { get; set; }
[Required(ErrorMessage = "Picture URL is required.")]
public string CategoryImage { get; set; }
[Required(ErrorMessage = "C... | 2.210165 | 6a2fc389acdae8750197977f5a7b3efb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72585 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "zbw911/DevLib.Mvc.Demo",
"max_stars_repo_path": "CompositionRoots/CompositionRoot.Web/RegisterTrace.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72586"
} | starcoder | using Dev.Web.CompositionRootBase;
using Ninject;
namespace CompositionRoot.Web
{
public class RegisterTrace : IRegister
{
public void Register()
{
//BeginEndRequestTraceHttpModuleRegister.Do();
}
public IKernel Kernel { get; set; }
}
}
| 1.228006 | 77daeaacaf6b3ed8bd86e453ea6b0aba |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72586 | {
"extension": "c-sharp",
"max_stars_count": "28.0",
"max_stars_repo_name": "googlestadia/vsi-lldb",
"max_stars_repo_path": "DebuggerGrpcClient/Implementations/RemoteValueProxy.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72587"
} | starcoder | // Copyright 2020 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 1.902594 | 83e4701accc4a997b6495c3ccfebf6f2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72587 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "alavrenchenko/PSTTrader",
"max_stars_repo_path": "src/ProSecuritiesTrading.MOEX.FIX/Base/Field/SessionStatus.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72588"
} | starcoder | <gh_stars>1-10
using System;
namespace ProSecuritiesTrading.MOEX.FIX.Base.Field
{
public class SessionStatus
{
public const int Tag = 1409;
public static readonly byte[] TagBytes;
// 1409=0
public static readonly byte[] SessionStatus0Bytes;
// 1409=3
public stat... | 1.785221 | 03a21d645a0a854b5f7f92db963c0ae2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72588 | {
"extension": "c-sharp",
"max_stars_count": "96.0",
"max_stars_repo_name": "mariloutb/EntityFramework-Classic",
"max_stars_repo_path": "src/Shared/EntityFramework/Core/Query/PlanCompiler/ColumnMapTranslator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72589"
} | starcoder | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
namespace System.Data.Entity.Core.Query.PlanCompiler
{
using System.Collections.Generic;
using System.Data.Entity.Core.Metadata.Edm;
using System.Data.Entity.Core.Query.Inter... | 2.457444 | 988870ed0e98e87fc5dfef675d7ccbc8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72589 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Invectys/Sites",
"max_stars_repo_path": "LotteryMVC/LotteryMVC/Data/DBInizializer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72590"
} | starcoder | <gh_stars>0
using LotteryMVC.Models;
using Microsoft.AspNetCore.Identity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace LotteryMVC.Data
{
public static class DBInizializer
{
public static async Task InitializeAsync(UserManager<User> userMana... | 2.411918 | 7b863ad376bc17e29ae4d7e69c4e798d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72590 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "marcotmp/BaseballFramework",
"max_stars_repo_path": "Assets/BaseballFramework/Tests/Edit/Unit/HalfInningBoardTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72591"
} | starcoder | using MarcoTMP.BaseballFramework.Core;
using MarcoTMP.BaseballFramework.Core.GameStates;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Assets.BaseballFramework.Tests.Edit.Unit.HalfInning
{
class HalfInningBoardT... | 2.625312 | 3ed712d9290610f444701b518f00dc8e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72591 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ajdonich/middle-math-unit1",
"max_stars_repo_path": "Assets/Plugins/TEXDraw/Core/Box/VerticalBox.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72592"
} | starcoder | using System;
using System.Collections.Generic;
using UnityEngine;
namespace TexDrawLib
{
// Box containing vertical stack of child boxes.
public class VerticalBox : LayoutBox
{
private float leftMostPos = 0;
private float rightMostPos = 0;
public static VerticalBox ... | 2.566505 | 1affa5a6c251679074472ece2abd2e7c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72592 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Ruke45/DManagement",
"max_stars_repo_path": "DSCMS/DSCMS/Views/User/SignatureUpload.aspx.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72593"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using DCISDBManager.objLib.Usr;
using DCISDBManager.trnLib.UserManagement;
using DCISDBManager.trnLib.Utility;
using System.IO;
using DCISDBManager.trnLib.CheckAuth;
namespace DSC... | 1.965675 | 62c0cbc35af2306c745f3157ad90932f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72593 | {
"extension": "c-sharp",
"max_stars_count": "79.0",
"max_stars_repo_name": "Manuel-Apuy/run-aspnet-grpc",
"max_stars_repo_path": "section1/GrpcHelloWorld/GrpcHelloWorldServer/Services/HelloWorldService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72594"
} | starcoder | using Grpc.Core;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace GrpcHelloWorldServer.Services
{
public class HelloWorldService : HelloService.HelloServiceBase
{
private readonly ILogger<HelloWorldService> _... | 2.594423 | 12b14bea8287d70b99f68aecec03d387 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72594 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AlexRos101/QURAS_CORE",
"max_stars_repo_path": "Quras-gui-SP/Dialogs/ExportWalletDlg.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72595"
} | starcoder | <reponame>AlexRos101/QURAS_CORE
namespace Quras_gui_SP.Dialogs
{
partial class ExportWalletDlg
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources bei... | 1.565055 | 9b931f38d50399566411eeb8acc26f71 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72595 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "k94ll13nn3/GeoNRage",
"max_stars_repo_path": "src/GeoNRage.Server/Migrations/20210602113632_AddTimeLimitToChallenge.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72596"
} | starcoder | <filename>src/GeoNRage.Server/Migrations/20210602113632_AddTimeLimitToChallenge.cs
// <auto-generated />
using Microsoft.EntityFrameworkCore.Migrations;
namespace GeoNRage.Server.Migrations
{
public partial class AddTimeLimitToChallenge : Migration
{
protected override void Up(MigrationBuilder migrati... | 1.972589 | 1627912936de5caaa13442ee80608e85 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72596 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "essess5/tlplib",
"max_stars_repo_path": "parts/0000-TLPLib/Assets/Plugins/Vendor/TLPLib/Android/Bindings/android/video/AndroidVideoPlayer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72597"
} | starcoder | <reponame>essess5/tlplib
#if UNITY_ANDROID
using System;
using com.tinylabproductions.TLPLib.Android.Ads;
using com.tinylabproductions.TLPLib.Data;
using com.tinylabproductions.TLPLib.Logger;
using JetBrains.Annotations;
using UnityEngine;
namespace com.tinylabproductions.TLPLib.Android.Bindings.android.video {
pub... | 1.800348 | 8c21e563f67c7dc11e2c48de861a8c21 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72597 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "kalintsenkov/ForumNet",
"max_stars_repo_path": "Web/ForumNet.Web/Areas/Administration/Controllers/PostsController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72598"
} | starcoder | namespace ForumNet.Web.Areas.Administration.Controllers
{
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Services.Posts;
public class PostsController : AdminController
{
private readonly IPostsService postsService;
public PostsController(IPostsService postsS... | 2.293938 | 0d52d37196399abdf9326b040b74de49 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72598 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "usausa/Smart-Net-Forms",
"max_stars_repo_path": "Smart.Forms/Forms/Interactivity/CompareStateBehavior.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72599"
} | starcoder | <reponame>usausa/Smart-Net-Forms<filename>Smart.Forms/Forms/Interactivity/CompareStateBehavior.cs
namespace Smart.Forms.Interactivity
{
using Smart.Forms.Expressions;
using Xamarin.Forms;
public sealed class CompareStateBehavior : BehaviorBase<VisualElement>
{
public static readonly BindablePr... | 2.290452 | 4601f5625a5d77dbb588328f5d65610c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72599 | {
"extension": "c-sharp",
"max_stars_count": "46.0",
"max_stars_repo_name": "SlawekNowy/HKWorldEdit2",
"max_stars_repo_path": "Assets/Editor/Bundler/TemplateFieldToType0D.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72600"
} | starcoder | using AssetsTools.NET;
using System.Collections.Generic;
namespace Assets.Bundler
{
public class TemplateFieldToType0D
{
public string stringTable;
private int index;
public TypeField_0D[] TemplateToTypeField(AssetTypeTemplateField[] fields)
{
return TemplateToTypeF... | 2.596342 | 1fad7448be075263f437ed677aebbd62 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72600 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TheLongwillow/User-Roots",
"max_stars_repo_path": "Assets/Scripts/Enemy.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72601"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Enemy : TurnBased
{
Player player;
PlatformCreator platform;
void Start()
{
player = FindObjectOfType<Player>();
platform = FindObjectOfType<PlatformCreator>();
}
public override void Ma... | 2.622712 | 2b0c5e2b2f4878cfea9f51ab3bf2c5b8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72601 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "DecisionTechnologies/UmbracoRestApi",
"max_stars_repo_path": "src/Umbraco.RestApi/Controllers/UmbracoHalControllerBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72602"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using Umbraco.Web;
using Umbraco.Web.WebApi;
namespace Umbraco.RestApi.Controllers
{
[DynamicCors]
[UmbracoAuthorize]
[IsBackOffice]
[HalFormatterCo... | 1.870961 | fd74bb42d5aec9ddbe914653da5e9757 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72602 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "MILL5/yocto",
"max_stars_repo_path": "src/yocto/Lifetimes.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72603"
} | starcoder | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using static yocto.Preconditions;
// ReSharper disable InconsistentNaming
namespace yocto
{
public static class Lifetimes
{
private static readonly ConcurrentDictionary<string, ILifetimeFactory> _lifetimes;
s... | 2.644237 | e94ba5cf043afc688f29f957920c9109 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72603 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "mohamedsaif/CognitivePipeline",
"max_stars_repo_path": "src/CognitivePipeline/CognitivePipeline.Functions/Abstractions/IQueueRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72604"
} | starcoder | using Microsoft.WindowsAzure.Storage.Queue;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CognitivePipeline.Functions.Abstractions
{
public interface IQueueRepository
{
Task<bool> QueueMessage(string message);
Task... | 1.827678 | 214dc8cfed659a99b92cf82dbb0c3dc0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72604 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "hack13/opensimulator",
"max_stars_repo_path": "OpenSim/Framework/Communications/XMPP/XmppSerializer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72605"
} | starcoder | <reponame>hack13/opensimulator<gh_stars>1-10
/*
* Copyright (c) Contributors, http://opensimulator.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
... | 1.945987 | 31435c950cc9fb78333551783a4f6504 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72605 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "Sahaj26/opendatacloud",
"max_stars_repo_path": "src/Msr.Odr.Services/UserDataStorageService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72606"
} | starcoder | <filename>src/Msr.Odr.Services/UserDataStorageService.cs
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Security.Claims;
using System.Text;
using System.Text.RegularExpressions... | 1.712197 | e3972d1e9e55acfe7be5458c30e076e5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72606 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ushenkodmitry/MassTransitContrib",
"max_stars_repo_path": "src/RAZOR-RENDERER/MassTransit.RazorRenderer/Contexts/RendererContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72607"
} | starcoder | using System.Dynamic;
using System.Threading.Tasks;
namespace MassTransit.RazorRenderer.Contexts
{
public interface RendererContext
{
Task<string> CompileRender(string templateKey, object model, ExpandoObject viewBag = null);
}
} | 1.5317 | 2e1315c0d966ec612734b2a4b98d71bc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72607 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "martinvallejo01/EcoHuella",
"max_stars_repo_path": "EcoHuella/EcoHuella.UWP/MainPage.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72608"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.Storage;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Contro... | 1.467926 | 9c5bdebae87b2017746ed0fc5dcff61d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72608 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jam-e-dev/osmosys-dicom-cs",
"max_stars_repo_path": "Data/ValueRepresentations/DicomDate.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72609"
} | starcoder | <filename>Data/ValueRepresentations/DicomDate.cs
using System;
using System.Collections.Generic;
using System.Linq;
using Osmosys.Data.Extensions;
namespace Osmosys.Data.ValueRepresentations
{
public class DicomDate : DicomMultiValueElement<Range<DateTime>>
{
public DicomDate(DicomTag tag, DateTime val... | 2.993086 | a6a05e899f4a906855bb6b7e0b93f095 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72609 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "panxin1213/NetCommonLibrary",
"max_stars_repo_path": "packages/edtftpnet/edtftpnet-2.2.3/src/util/debug/TraceAppender.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72610"
} | starcoder | // edtFTPnet
//
// Copyright (C) 2004 Enterprise Distributed Technologies Ltd
//
// www.enterprisedt.com
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of ... | 2.290944 | 0401e0e31243ec7be2668e4f34a1026c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72610 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "gjy5885/azure-sdk-for-net",
"max_stars_repo_path": "sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/DatabaseAccountListConnectionStringsResult.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72611"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Collections.Generic;
using Azure.Core;
namespace Azure.ResourceManager.CosmosDB.Models
{
/// <summary> The connection strings for the given database account. </summ... | 2.011827 | 0cbbe58fbdf67f5e5da679ff57b548b0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72611 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "flaviogf/Cursos",
"max_stars_repo_path": "pluralsight/buildinganasyncapiwithaspnetcore/src/Books.Api/Profiles/BookProfile.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72612"
} | starcoder | using System.Collections.Generic;
using AutoMapper;
using Books.Api.Entities;
using Books.Api.ExternalModels;
using Books.Api.Models;
namespace Books.Api.Profiles
{
public class BookProfile : Profile
{
public BookProfile()
{
CreateMap<Book, BookDto>()
.ForMember(dest... | 2.231155 | df158e2d4655129048df58d9c054b769 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72612 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "orcstorm/HauntedHouse",
"max_stars_repo_path": "HauntedHouse/Room.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72613"
} | starcoder | <reponame>orcstorm/HauntedHouse
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using System.Collections.Generic;
namespace HauntedHouse
{
class Room
{
public List<Wall> walls;
public Vector2 backgroundBuffer;
public int id;
public Room(Vec... | 3.066069 | a39cfefe49f346e923196acb98c39169 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72613 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "xiongyitian/yunba-csharp-sdk",
"max_stars_repo_path": "MqttLib/IMqttSharedSubscriber.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72614"
} | starcoder | <reponame>xiongyitian/yunba-csharp-sdk<filename>MqttLib/IMqttSharedSubscriber.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Text;
using MqttLib.Core;
namespace MqttLib
{
public interface IMqttSharedSubscriber
{
/// <summary>
/// Register subscription to subscriber. Mqtt clie... | 2.351027 | e975283119cc0022f4f9d38d95f55efa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72614 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "belav/roslyn",
"max_stars_repo_path": "src/Compilers/Core/Portable/DiagnosticAnalyzer/AnalysisResultBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72615"
} | starcoder | <reponame>belav/roslyn<filename>src/Compilers/Core/Portable/DiagnosticAnalyzer/AnalysisResultBuilder.cs
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Syste... | 1.918718 | c567a2177c4159b3760134ad73764fd5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72615 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SkillsFundingAgency/DC-ILR-2021",
"max_stars_repo_path": "src/ESFA.DC.ILR.Model.Loose/MessageHeader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72616"
} | starcoder | using ESFA.DC.ILR.Model.Loose.Interface;
namespace ESFA.DC.ILR.Model.Loose
{
public partial class MessageHeader : ILooseHeader
{
public ILooseCollectionDetails CollectionDetailsEntity => collectionDetailsField;
public ILooseSource SourceEntity => sourceField;
}
}
| 1.116837 | f7222406bd630485e4632b01fce7536d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72616 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "fediachov/SVG",
"max_stars_repo_path": "Source/Transforms/SvgRotate.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72617"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing.Drawing2D;
using System.Globalization;
#pragma warning disable
namespace Svg.Transforms
{
public sealed class SvgRotate : SvgTransform
{
public float Angle
{
get;
set;... | 2.865428 | c4f335aacbc7a750db05f1f3ad71d093 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72617 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "NileshGule/ABC2018",
"max_stars_repo_path": "TechTalksWeb/Controllers/TechTalkController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72618"
} | starcoder | <reponame>NileshGule/ABC2018
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json;
using TechTalksWeb.Models;
us... | 2.519561 | 49af7349ee3dba04c70a1bd012e1ed58 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72618 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Red-Dragon-Forgeworks/Micro.NET",
"max_stars_repo_path": "src/Micro.Net.Abstractions/Context/ITerminable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72619"
} | starcoder | <reponame>Red-Dragon-Forgeworks/Micro.NET
using System.Collections.Generic;
namespace Micro.Net.Abstractions
{
public interface ITerminable
{
bool IsTerminated { get; }
bool TryGetTerminate(out string reason, out IDictionary<string, string> auxData);
void SetTerminate(string reason, IDi... | 2.013554 | f755b48c0981c069ef310e7cbf7232d1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72619 | {
"extension": "c-sharp",
"max_stars_count": "100.0",
"max_stars_repo_name": "mieliespoor/Cimbalino-Toolkit",
"max_stars_repo_path": "src/Cimbalino.Toolkit.Core (Portable)/Services/WindowsStoreServiceAppPackageNode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72620"
} | starcoder | <reponame>mieliespoor/Cimbalino-Toolkit
// ****************************************************************************
// <copyright file="WindowsStoreServiceAppPackageNode.cs" company="<NAME>">
// Copyright © <NAME> 2014
// </copyright>
// ****************************************************************************
... | 2.082777 | 6dcafb935fcbb6007ce4e4987a54a6a9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72620 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mathdeziel/Jotunn",
"max_stars_repo_path": "JotunnLib/Configs/SpawnConfig.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72621"
} | starcoder | using System.Collections.Generic;
using Jotunn.Managers;
namespace Jotunn.Configs
{
/// <summary>
/// Configuration class for adding custom creature spawns.<br />
/// Use this to define spawn configurations in your <see cref="CreatureConfig"/>.
/// </summary>
public class SpawnConfig
{... | 2.962265 | 6b5161e403f48177bf2c03e7a655c63d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72621 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sarisia/Tera-custom-cooldowns",
"max_stars_repo_path": "TCC.Core/Parsing/MessageFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72622"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using TCC.Data;
using TCC.Parsing.Messages;
using TCC.TeraCommon;
using TCC.TeraCommon.Game.Messages;
using TCC.TeraCommon.Game.Messages.Client;
using TCC.TeraCommon.Game.Services;
using C_PLAYER_... | 1.707301 | eea9927a99f22e491097187ec90d7061 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72622 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "emartech/magentoAccess",
"max_stars_repo_path": "src/MagentoAccess/Models/Services/PutStockItems/StockItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72623"
} | starcoder | namespace MagentoAccess.Models.Services.PutStockItems
{
public class StockItem
{
public string ItemId { get; set; }
public string ProductId { get; set; }
public string StockId { get; set; }
public long Qty { get; set; }
public long MinQty { get; set; }
}
} | 1.622687 | 9a645d4f6c3a167bb36e2fd04578d5da |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72623 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "danmosemsft/coreclr",
"max_stars_repo_path": "tests/src/CoreMangLib/cti/system/uintptr/uintptrctor_uint64.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72624"
} | starcoder | <gh_stars>1-10
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
/// <summary>
/// UIntPtr(UInt64)
/// Initializes a new instance of the UIntPtr struc... | 2.737739 | 81b3e96d949593919282bdb4312d0eac |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72624 | {
"extension": "c-sharp",
"max_stars_count": "738.0",
"max_stars_repo_name": "coderliz/DotSpatial",
"max_stars_repo_path": "Source/DotSpatial.Data/NumberException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72625"
} | starcoder | // Copyright (c) DotSpatial Team. All rights reserved.
// Licensed under the MIT license. See License.txt file in the project root for full license information.
using System;
namespace DotSpatial.Data
{
/// <summary>
/// An exception that is specifically fo the NumberConverter class
/// </summary... | 2.354143 | 0adb1ae9b5d5725e26c37c6dd5f611e3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72625 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "v-kaifazhang/azure-sdk-for-net",
"max_stars_repo_path": "sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/RecommendedMachineConfiguration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72626"
} | starcoder | <reponame>v-kaifazhang/azure-sdk-for-net
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
namespace Azure.ResourceManager.Compute.Models
{
/// <summary> The properties describe the recommended machine configuration for this Ima... | 1.831144 | 891b5cc8b6a816b92916a10fe7364bed |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72626 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ryanwersal/reactive",
"max_stars_repo_path": "Rx.NET/Source/src/System.Reactive/Platforms/UWP/Linq/AsyncInfoObservable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72627"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
#if HAS_WINRT
using System.Reactive.Disposables;
using System.Reactive.Linq;
using System.Reactive.Subjects... | 2.456191 | 4e0913458dab9bc93abd504ca3ea4f04 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72627 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nikolaitrifonov0/StayFit",
"max_stars_repo_path": "StayFit.Data/Models/Exercise.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72628"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using static StayFit.Data.DataConstants;
namespace StayFit.Data.Models
{
public class Exercise
{
public string Id { get; init; } = Guid.NewGuid().ToString();
[Required]
[MaxLength(ExerciseName... | 2.211613 | 1298a2fbc45a0939dd370c5e53d71114 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72628 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jarrodwood/MediaScribe",
"max_stars_repo_path": "MediaScribe/View/IController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72629"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Practices.Unity;
using System.Windows.Controls;
namespace JayDev.MediaScribe.View
{
public interface IController
{
List<Course> AllCourses { get; }
Course LastCourse ... | 1.307309 | 2ec19109ba6acb50b7d83c648692ad54 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72629 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sucrose0413/Maxisoft.Utils",
"max_stars_repo_path": "Maxisoft.Utils.Tests/Collections/Queues/Specialized/BoundedDequeTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72630"
} | starcoder | using System;
using System.Linq;
using Maxisoft.Utils.Collections.Queues.Specialized;
using Xunit;
namespace Maxisoft.Utils.Tests.Collections.Queues.Specialized
{
public class BoundedDequeTests
{
[Fact]
public void Test_BoundedQueue()
{
const int maxSize = 16;
v... | 2.58212 | 0440ad0949a8311ae400a493c697e1ce |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72630 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NikolaiMishev/Telerik-Academy",
"max_stars_repo_path": "Module-2/High-Quality-Code/ControlFlow-Conditional-Statements-Loops-Homework/01. Class Chef/Products/Vegetable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72631"
} | starcoder | namespace _01.Class_Chef.Products
{
public abstract class Vegetable
{
public Vegetable()
{
this.IsRotten = false;
this.IsPeeled = false;
this.IsCut = false;
this.IsCooked = false;
}
public bool IsRotten { get; set; }
publ... | 3.119275 | b68fa415f99610f5b53da31e8de1a8cd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72631 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ahives/MassTransit",
"max_stars_repo_path": "src/Transports/MassTransit.ActiveMqTransport/Contexts/ActiveMqMessageRedeliveryContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72632"
} | starcoder | <reponame>ahives/MassTransit
namespace MassTransit.ActiveMqTransport.Contexts
{
using System;
using System.Threading.Tasks;
using GreenPipes;
using MassTransit.Scheduling;
using MassTransit.Topology;
using Scheduling;
/// <summary>
/// Context for delaying message redelivery using a d... | 2.086175 | 7f7ca4070ce1a08cefa9982a1a153270 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72632 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "RhuanKrum/spec-wheels",
"max_stars_repo_path": "SpecWheels/SpecWheels/Models/CarBodyType/CarBodyTypeModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72633"
} | starcoder | using Microsoft.AspNet.Identity.EntityFramework;
using System;
using System.ComponentModel.DataAnnotations;
namespace SpecWheels.Models.CarBodyType
{
public class CarBodyTypeModel
{
[Required]
[Display(Name = "BodyTypeId")]
public int BodyTypeId { get; set; }
[Required]
... | 2.028342 | b0481c77e2149e2d1220d6283ebd5cac |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.