added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836012 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "connectedhealthcities/consent",
"max_stars_repo_path": "src/CHC.Consent/CHC.Consent.EFCore/Security/ConsentUser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155232"
} | starcoder | <gh_stars>1-10
using System;
using System.Globalization;
using Microsoft.AspNetCore.Identity;
namespace CHC.Consent.EFCore.Security
{
public class ConsentUser : IdentityUser<long>
{
public UserSecurityPrincipal Principal { get; protected set; } = new UserSecurityPrincipal();
public Da... | 1.909552 | ac9ac855f70426722c309d1b39d6513c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836013 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ckarcz/Strata.ConvertedToCSharp",
"max_stars_repo_path": "modules/basics/src/main/java/com/opengamma/strata/basics/index/FxIndexObservation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155233"
} | starcoder | <filename>modules/basics/src/main/java/com/opengamma/strata/basics/index/FxIndexObservation.cs
using System;
using System.Collections.Generic;
using System.Text;
/*
* Copyright (C) 2016 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
namespace com.openg... | 2.245273 | 6f7dce9fb8f6aac01fa0991fb456933e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836014 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "wieslawsoltes/ColorBlender",
"max_stars_repo_path": "tests/ColorBlender.Colors.UnitTests/RGBTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155234"
} | starcoder | <filename>tests/ColorBlender.Colors.UnitTests/RGBTests.cs<gh_stars>10-100
// Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using ColorBlender.Colors;
using Xunit;
namespace ColorBlender.Colors.UnitTests
{
public cla... | 2.656418 | f6a52fad4c6e729e7a041824d2ad01a0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836015 | {
"extension": "c-sharp",
"max_stars_count": "34.0",
"max_stars_repo_name": "GaloisInc/hacrypto",
"max_stars_repo_path": "src/C#/BouncyCastle/BouncyCastle-1.7/crypto/src/crypto/tls/TlsDeflateCompression.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155235"
} | starcoder | using System;
using System.IO;
using Org.BouncyCastle.Utilities.Zlib;
namespace Org.BouncyCastle.Crypto.Tls
{
public class TlsDeflateCompression
: TlsCompression
{
protected ZStream zIn, zOut;
public TlsDeflateCompression()
{
this.zIn = new ZStream();
this.zIn.inflateInit();
this... | 2.314907 | 64a5bf2b33d4b8616f5f4ef58ab9017e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836016 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "talaryonlabs/remato",
"max_stars_repo_path": "src/Remato/Core/Entities/LogEntity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155236"
} | starcoder | <reponame>talaryonlabs/remato
using System;
using System.Diagnostics.CodeAnalysis;
using Dapper.Contrib.Extensions;
using Remato.Shared;
namespace Remato
{
[Table(RematoConstants.DatabaseTableLog)]
public class LogEntity
{
[Key] public int Id { get; set; }
public DateTime Date { get; set; ... | 2.097529 | c84e1596b644c36f653c1cf40d68b984 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836017 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "atnet/devfw",
"max_stars_repo_path": "src/JR.Stand.Core/Framework/Xml/AutoObject/XmlObjectDoc.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155237"
} | starcoder | using System.Text;
namespace JR.DevFw.Framework.Xml.AutoObject
{
public static class XmlObjectDoc
{
public const string DocStyleSheet = @"<style type=""text/css"">
.ui-xmldoc{margin:20px;font-size:14px; }
.ui-xmdoc h2{font-size:18px;border-bottom:solid 1px #d0d0d0;paddi... | 2.628734 | 6286b640b6cd4dedd8cb4b06e2c34cda |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836018 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "uk-gov-mirror/SkillsFundingAgency.das-levy-transfer-matching-api",
"max_stars_repo_path": "src/SFA.DAS.LevyTransferMatching.Infrastructure/Configuration/LevyTransferMatchingApi.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155238"... | starcoder | namespace SFA.DAS.LevyTransferMatching.Infrastructure.Configuration
{
public class LevyTransferMatchingApi
{
public string DatabaseConnectionString { get; set; }
}
}
| 1.099112 | e676e89b1fa302674243bc48d5695aeb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836019 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Relicjamin-jv/GD-Project",
"max_stars_repo_path": "Project-GD/Assets/Scripts/Bosses/Boss 2.5/GneverAttackScript.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155239"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GneverAttackScript : MonoBehaviour
{
ParticleSystem _particles;
float _startTime;
ParticleSystem.MainModule main;
Transform _transform;
// Start is called before the first frame update
void S... | 1.416965 | 0408ef3c31ec485c30fbbbd086f0f857 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836020 | {
"extension": "c-sharp",
"max_stars_count": "738.0",
"max_stars_repo_name": "sindizzy/DotSpatial",
"max_stars_repo_path": "Source/DotSpatial.Compatibility/SpatialDockStyle.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155240"
} | starcoder | <gh_stars>100-1000
// Copyright (c) DotSpatial Team. All rights reserved.
// Licensed under the MIT license. See License.txt file in the project root for full license information.
namespace DotSpatial.Compatibility
{
/// <summary>
/// Docking styles for DotSpatial UIPanels
/// </summary>
public... | 1.941227 | c9b86ccb61b6e6fc5a9f0938611e209f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836021 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "emmekappa/machine.migrations",
"max_stars_repo_path": "Source/Machine.Migrations.Tests/Services/Impl/MigrationFactoryChooserTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155241"
} | starcoder | using System;
using System.Collections.Generic;
using Machine.Core;
using Machine.Core.Services;
using NUnit.Framework;
namespace Machine.Migrations.Services.Impl
{
[TestFixture]
public class MigrationFactoryChooserTests : StandardFixture<MigrationFactoryChooser>
{
CSharpMigrationFactory _cSharpMigrationFa... | 2.00056 | 2f6faa8cf5f62a75061ef2056694e7db |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836022 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "afgalvan/Tilia",
"max_stars_repo_path": "src/Client/Presentation/Services/Http/UsersService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155242"
} | starcoder | <filename>src/Client/Presentation/Services/Http/UsersService.cs
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Presentation.Filters;
using Presentation.Services.Http.Connection;
using Requests.Auth;
using Requests.Users;
using RestSharp;
namespace Presentation.Services.Ht... | 2.296886 | 438984d5d78566713039aefb8783ceb5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836023 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Backs/Collections.Analyzer",
"max_stars_repo_path": "Collections.Analyzer/RedundantToArrayLengthDiagnostic.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155243"
} | starcoder | <gh_stars>0
namespace Collections.Analyzer
{
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis... | 2.048201 | 4657416a35981dc1e24b04262facdf94 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836024 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "berbulalauri/internetbankingapp",
"max_stars_repo_path": "BBS.Core/Services/QuestionService .cs",
"provenance": "train-00027-of-00045.jsonl.gz:155244"
} | starcoder | <reponame>berbulalauri/internetbankingapp<gh_stars>0
using BBS.DAL.Repositories;
using BBS.Interfaces;
using BBS.Interfaces.Services;
using BBS.Models.Models;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace BBS.Core.Services
{
public class QuestionService... | 2.171424 | a6a4035c28c223f23c684d5ae7df83a0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836025 | {
"extension": "c-sharp",
"max_stars_count": "234.0",
"max_stars_repo_name": "Drul1337/DigitalRune",
"max_stars_repo_path": "Source/DigitalRune.Animation.Tests/ReadOnlyAnimationInstanceCollectionTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155245"
} | starcoder | using NUnit.Framework;
namespace DigitalRune.Animation.Tests
{
[TestFixture]
public class ReadOnlyAnimationInstanceCollectionTest
{
[Test]
public void ShouldThrowOnInsert()
{
var collection = ReadOnlyAnimationInstanceCollection.Instance;
Assert.That(() => collection.Add(null), Throws.In... | 2.217387 | 780c8f26c540054809a568e3bdec2ec5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836026 | {
"extension": "c-sharp",
"max_stars_count": "55.0",
"max_stars_repo_name": "Const-me/IntelIntrinsics",
"max_stars_repo_path": "Intrinsics/Process/Group.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155246"
} | starcoder | <reponame>Const-me/IntelIntrinsics
using System;
using System.Collections.Generic;
using System.Linq;
namespace IntrinsicsDocs
{
public class Group
{
public readonly string title;
readonly string prefix;
public List<string> sectionNames { get; private set; }
public List<List<Intrinsic>> sections { get; pri... | 2.437254 | 258bcb58a9b417aabcd61ce40c9c9af6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836027 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "juanluelguerre/LoanMe",
"max_stars_repo_path": "test/LoanMe.Web.Tests/Pages/IndexModelTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155247"
} | starcoder | <filename>test/LoanMe.Web.Tests/Pages/IndexModelTest.cs
using LoanMe.Web.Pages;
using Xunit;
namespace LoanMe.Tests
{
public class UnitTest1
{
private IndexModel model;
public UnitTest1()
{
model = new IndexModel();
}
[Fact]
public void AddMoneyTest()
{
model.Total = 0;
model.OnPostAddAsync(... | 2.322601 | a3b0de5bf3010fec3271c6ddf59c2c71 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836028 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "prajapatichintan/Xero-Net-With-oAuth2.0-Support",
"max_stars_repo_path": "CoreTests/Integration/Payments/Create.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155248"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using Xero.Api.Core.Model;
namespace CoreTests.Integration.Payments
{
[TestFixture]
public class Create : PaymentsTest
{
[TestFixtureSetUp]
public void CreatePaymentsSetUp()
{
SetU... | 2.426643 | a704a372967072157aed149e44f93ad4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836029 | {
"extension": "c-sharp",
"max_stars_count": "25.0",
"max_stars_repo_name": "Yubico/Yubico.NET.SDK",
"max_stars_repo_path": "Yubico.Core/src/Yubico/Core/Logging/Logger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155249"
} | starcoder | <gh_stars>10-100
// Copyright 2021 Yubico AB
//
// 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 o... | 2.666515 | 7dab2721bceb0d614f6ac12a088b6b8b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836030 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "LessIsMoreMK/DayHelper",
"max_stars_repo_path": "DayHelper/ViewModels/Pages/ListsViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155250"
} | starcoder | using DayHelper.DataModel;
using GalaSoft.MvvmLight.Messaging;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Windows.Input;
namespace DayHelper
{
public class ListsViewModel : BaseViewModel
{
#region Private Members
private readonly Con... | 2.39401 | 6f3feed303db50fb52310d9e595ada9c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836031 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "CloudConstruct/Etch.OrchardCore.Fields",
"max_stars_repo_path": "RenderAlias/ViewModels/EditRenderAliasFieldViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155251"
} | starcoder | <gh_stars>10-100
using Etch.OrchardCore.Fields.RenderAlias.Fields;
using OrchardCore.ContentManagement;
using OrchardCore.ContentManagement.Metadata.Models;
namespace Etch.OrchardCore.Fields.RenderAlias.ViewModels
{
public class EditRenderAliasFieldViewModel
{
public RenderAliasField Field { get; set;... | 1.300698 | 56adde5c883e9a7c4c1a493e6e5d17fe |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836032 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "sargentstudley/dotnetlicensing",
"max_stars_repo_path": "DotNetLicensing.Examples.Northwind/MainWindow.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155252"
} | starcoder | <reponame>sargentstudley/dotnetlicensing<gh_stars>1-10
using DotNetLicensing.Examples.Northwind.ViewModels;
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.Wi... | 2.46712 | 8c6820bde79f4ba89d6ba43c94f09861 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836033 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "DeltaWareAU/SereneApi",
"max_stars_repo_path": "examples/DependencyInjection/src/DependencyInjection.API/DTOs/ClassDto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155253"
} | starcoder | using System.Collections.Generic;
namespace DependencyInjection.API.DTOs
{
public class ClassDto
{
public long Id { get; set; }
public string Name { get; set; }
public string State { get; set; }
public static ClassDto ClassA { get; } = new ClassDto
{
... | 2.96024 | 59db52ad8fd28c47340a7f19bfaab52f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836034 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jonathanruisi/MediaBase",
"max_stars_repo_path": "MediaBase/General/TemplateSelectors.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155254"
} | starcoder | <reponame>jonathanruisi/MediaBase<filename>MediaBase/General/TemplateSelectors.cs
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
namespace MediaBase
{
public class MediaItemTemplateSelector : DataTemplateSelector
{
public DataTemplate FolderTemplate { get; set; }
public DataTemplate ImageFileTemplate { ... | 2.028552 | 492a4ffe2f6a136251eec7cb940f2c70 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836035 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "varunmaggo/AngularPOC",
"max_stars_repo_path": "POC.WebAPi/Controllers/NotificationController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155255"
} | starcoder | <filename>POC.WebAPi/Controllers/NotificationController.cs<gh_stars>1-10
using System;
using System.Web.Http;
namespace WebTimeSheetManagement.Controllers
{
[ValidateUserSession]
public class NotificationController : ApiController
{
public JsonResult GetNotification()
{
try
... | 1.900919 | 7cc0754649794a61f1e0132732653230 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836036 | {
"extension": "c-sharp",
"max_stars_count": "36.0",
"max_stars_repo_name": "mrkriv/UnrealDotNet",
"max_stars_repo_path": "Plugins/UnrealDotNet/Source/UnrealEngineSharp/Generate/Manage/ManageStaticMeshComponent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155256"
} | starcoder | // This file was created automatically, do not modify the contents of this file.
// ReSharper disable InvalidXmlDocComment
// ReSharper disable InconsistentNaming
// ReSharper disable CheckNamespace
// ReSharper disable MemberCanBePrivate.Global
using System;
using System.Runtime.InteropServices;
// Source... | 1.698592 | 150a5406b865541c426ce43777c4c5a3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836037 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "joelverhagen/ExplorePackages",
"max_stars_repo_path": "src/Logic/Data/ICsvRecord.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155257"
} | starcoder | <filename>src/Logic/Data/ICsvRecord.cs
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
namespace NuGet.... | 2.034628 | fd1a8be64582510cc57f6f1b43e1c1bb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836038 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lynnsamuelson/walk",
"max_stars_repo_path": "Walk.Tests/Models/ActivitiesTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155258"
} | starcoder | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Walk.Models;
namespace Walk.Tests.Models
{
[TestClass]
public class ActivitiesTests
{
[TestMethod]
public void ActivitiesEnsureICanCreateInstance()
{
Activities a_activity = new Activities();
... | 3.14473 | facff1e1da5e1843f7a59e941bd138d5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836039 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mrnettek/CSharp",
"max_stars_repo_path": "return_last_write_time_of_file.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155259"
} | starcoder | <gh_stars>0
// MrNetTek
// eddiejackson.net/blog
// 10/14/2019
// free for public use
// free to claim as your own
using System;
using System.IO;
namespace return_timestamp
{
class Touch
{
static void Main(string[] args)
{
string fileName = "c:\\setup\\setup.exe";
FileInfo fileinfo = new FileInfo... | 2.88261 | b7c1050250dde45d745cf581014377fb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836040 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "draekien/Draekien.CleanVerticalSlice.Common",
"max_stars_repo_path": "Src/Draekien.CleanVerticalSlice.Common.Api/Controllers/ApiControllerBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155260"
} | starcoder | <gh_stars>0
using System;
using MediatR;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.DependencyInjection;
namespace Draekien.CleanVerticalSlice.Common.Api.Controllers
{
[ApiController]
[Route("api/[controller]")]
[Produces("application/json")]
public class ApiControllerBase ... | 1.601244 | 1ccae8e3a61feba042ee6ae9a1b9df8d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836041 | {
"extension": "c-sharp",
"max_stars_count": "58.0",
"max_stars_repo_name": "GameDeveloperS001/Unity-EmojiText",
"max_stars_repo_path": "TextInlineSpritePro/Assets/UIWidgets/Standart Assets/TreeView/TreeNodeToggle.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155261"
} | starcoder | using UnityEngine;
using UnityEngine.Events;
using UnityEngine.UI;
using UnityEngine.EventSystems;
using System.Collections;
namespace UIWidgets {
/// <summary>
/// Tree node toggle.
/// </summary>
public class TreeNodeToggle : UIBehaviour, IPointerUpHandler, IPointerDownHandler, IPointerClickHandler {
/// <sum... | 2.401063 | 069e2126504fc49daf0187d44e7d71a8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836042 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "a-leontiev/aws-sdk-net",
"max_stars_repo_path": "sdk/src/Services/KinesisVideo/Generated/Model/CreateSignalingChannelRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155262"
} | starcoder | /*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | 1.917282 | f9a3709336209c0598c8abcf699396ab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836043 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SkillsFundingAgency/DC-WebUI",
"max_stars_repo_path": "src/DC.Web.Ui.Tests/Controllers/SubmissionOptionsControllerTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155263"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DC.Web.Ui.Controllers;
using DC.Web.Ui.Services.Interfaces;
using ESFA.DC.CollectionsManagement.Models;
using ESFA.DC.Logging.Interfaces;
using ESFA.DC.Web.Ui.ViewModels;
using FluentAssertions;
us... | 1.860151 | 3657a7f6e1d6959528301c7d4ea7f353 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836044 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "mthalman/DockerfileModel",
"max_stars_repo_path": "src/Valleysoft.DockerfileModel/AssemblyInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155264"
} | starcoder | using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("Valleysoft.DockerfileModel.Tests")]
| 0.718728 | be19efe47f3f5c551ec1257103b6bd5e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836045 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dnsfour/DotNetGraphQLQueryGen",
"max_stars_repo_path": "src/dotnet-gqlgen/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155265"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using McMaster.Extensions.CommandLineUtils;
using Newtonsoft.Json;
using RazorLight;
namespac... | 2.122864 | 88a8405337fc3d3739ac4fd2a5e6635a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836046 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TWalk007/FivesRT130_Touch_2.4",
"max_stars_repo_path": "Assets/_Scripts/LevelManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155266"
} | starcoder | <gh_stars>0
using UnityEngine;
using UnityEngine.SceneManagement;
public class LevelManager : MonoBehaviour {
public float autoLoadNextLevelAfter;
void Start () {
Scene scene = SceneManager.GetActiveScene ();
if (scene.name == "00_Splash") {
Invoke ("LoadNextScene", autoLoadNextLevelAfter);
}
}
publ... | 2.183669 | 8c560ef265edea5a5d5f3e6a6673130d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836047 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zeroexploit/MMALSharp",
"max_stars_repo_path": "Source/Raspicam.Net.Native/Port/MmalPort.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155267"
} | starcoder | using System;
using System.Runtime.InteropServices;
using Raspicam.Net.Native.Buffer;
using Raspicam.Net.Native.Parameters;
using Raspicam.Net.Native.Util;
namespace Raspicam.Net.Native.Port
{
public static class MmalPort
{
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
public unsafe dele... | 1.556612 | afa47f841df5257ad75f43c0a6ac8a27 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836048 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ytabuchi/CognitiveServices2018",
"max_stars_repo_path": "CognitiveServices2018/CognitiveServices.Core/TranslatorTextService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155268"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace CognitiveServices.Core
{
/// <summary>
/// Translator text service.
/// </summary>
/// <remarks>https://docs.m... | 2.917177 | 55ea802024ee9690e48ea590867e21bd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836049 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "kkulewski/bulletin-board",
"max_stars_repo_path": "BulletinBoard/Services/Abstract/IJobTypeService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155269"
} | starcoder | <filename>BulletinBoard/Services/Abstract/IJobTypeService.cs<gh_stars>1-10
using System.Collections.Generic;
using System.Threading.Tasks;
using BulletinBoard.Models;
namespace BulletinBoard.Services.Abstract
{
public interface IJobTypeService
{
Task<IEnumerable<JobType>> GetAllTypes();
Task<... | 2.249496 | 6e43f792940e02e57633e18b05b55a1d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836050 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "1Schema/Open-Source",
"max_stars_repo_path": "Decia.Business.Common/Collections/PresetOrderManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155270"
} | starcoder | <reponame>1Schema/Open-Source<filename>Decia.Business.Common/Collections/PresetOrderManager.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Decia.Business.Common.Collections
{
public class PresetOrderManager<T> : IOrderManager<T>
{
private ... | 2.521222 | f2f65f4a0d67bb314e1b7b47b0c0c8f1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836051 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "keithbabinec/BatchToDoCLI",
"max_stars_repo_path": "BatchToDoCLI/Models/Microsoft/TodoTaskListsResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155271"
} | starcoder | namespace BatchToDoCLI.Models.Microsoft
{
public class TodoTaskListsResult
{
public List<TodoTaskList> value { get; set; }
}
}
| 1.192686 | a67ea5b394b919d9aefe21e33c74900c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836052 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jonaandresen/DiscordSendMessage",
"max_stars_repo_path": "DiscordMessage/DiscordMessage/MainForm.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155272"
} | starcoder | <gh_stars>0
namespace DiscordMessage
{
partial class MainForm
{
/// <summary>
/// Erforderliche Designervariable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Verwendete Ressourcen bereinigen.
/// </summar... | 1.909166 | 9748e07eda918f6cf2c44c10cc42f6be |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836053 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "dotnet/versionsweeper",
"max_stars_repo_path": "src/DotNet.GitHub/GitHubApiArgs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155273"
} | starcoder | <filename>src/DotNet.GitHub/GitHubApiArgs.cs
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace DotNet.GitHub;
public record GitHubApiArgs(
string Owner,
string RepoName,
string Token,
long IssueN... | 1.457398 | 439cbf2dfd1b1384884a700826e16e14 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836054 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LuigiElleBalotta/TestAspNetCore",
"max_stars_repo_path": "TestNetCore/Views/_ViewImports.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:155274"
} | starcoder | @using TestNetCore
@using TestNetCore.Models
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
| 0.787589 | 97537c2a64f1d02a6b456b732aecf94a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836055 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "CamxxCore/RageAudioTool",
"max_stars_repo_path": "RageAudioTool/Rage Wrappers/DatFile/Types/Metadata/dat54/audEnvelopeSound.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155275"
} | starcoder | <gh_stars>1-10
using System.IO;
using RageAudioTool.IO;
namespace RageAudioTool.Rage_Wrappers.DatFile
{
public class audEnvelopeSound : audSoundBase
{
public ushort UnkShortA { get; set; } //0x0-0x2
public ushort UnkShortA1 { get; set; } //0x2-0x4
public ushort UnkShortB { get; set; ... | 2.161614 | a7db6994e66758fef53e7ee680445541 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836056 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "georgsvit/BikeStore",
"max_stars_repo_path": "BikeStore/Areas/DbAdmin/Pages/_ViewImports.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:155276"
} | starcoder | <reponame>georgsvit/BikeStore
@using Microsoft.AspNetCore.Identity
@using BikeStore.Areas.DbAdmin
@using BikeStore.Areas.DbAdmin.Pages
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
| 1.105727 | f415c769a1520f25dbf21940eac50e27 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836057 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "riina/meltysynth",
"max_stars_repo_path": "MeltySynth/src/Lfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155277"
} | starcoder | using System;
namespace MeltySynth
{
internal sealed class Lfo
{
private readonly Synthesizer synthesizer;
private bool active;
private double delay;
private double period;
private int processedSampleCount;
private float value;
internal Lfo(Synthesiz... | 3.111595 | d24038e609b38a7bd38c45863e1dc669 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836058 | {
"extension": "c-sharp",
"max_stars_count": "181.0",
"max_stars_repo_name": "ajsing/aws-tools-for-powershell",
"max_stars_repo_path": "modules/AWSPowerShell/Cmdlets/SimpleWorkflow/Basic/Request-SWFCancelWorkflowExecution-Cmdlet.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155278"
} | starcoder | <reponame>ajsing/aws-tools-for-powershell<filename>modules/AWSPowerShell/Cmdlets/SimpleWorkflow/Basic/Request-SWFCancelWorkflowExecution-Cmdlet.cs<gh_stars>100-1000
/*******************************************************************************
* Copyright 2012-2019 Amazon.com, Inc. or its affiliates. All Rights Res... | 1.881099 | 72c5dcea931c2d056a646b8214e9f6d3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836059 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TheAutomatingMrLynch/NBi",
"max_stars_repo_path": "NBi.Core/Calculation/Ranking/RankingArgs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155279"
} | starcoder | using NBi.Core.ResultSet;
using NBi.Core.ResultSet.Filtering;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NBi.Core.Calculation.Ranking
{
public class RankingArgs : IRankingInfo
{
public RankingOption Option { get; }
... | 2.117843 | f9d2099cfd81fca462ea412675ad372d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836060 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wufe/sddl",
"max_stars_repo_path": "Domain/SDDL.Domain.Model/DownloadModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155280"
} | starcoder | <filename>Domain/SDDL.Domain.Model/DownloadModel.cs
using System;
namespace SDDL.Domain.Model
{
public class DownloadModel
{
public int ID { get; set; }
public Guid UUID { get; set; }
public string URL { get; set; }
public int Retries { get; set; }
public Down... | 2.131361 | 359f21ed4e873208ed366a1634fffca3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836061 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "mcavigelli/wpf-samples",
"max_stars_repo_path": "Applications/EquityTrading/IGEquityTrading/Controls/PortfolioManager.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155281"
} | starcoder | <reponame>mcavigelli/wpf-samples
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imagi... | 2.049427 | 651a9314a36f13c147f116bfa330ba61 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836062 | {
"extension": "c-sharp",
"max_stars_count": "65.0",
"max_stars_repo_name": "doujia/RabbitHub",
"max_stars_repo_path": "Rabbit.Kernel/Caching/ICache.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155282"
} | starcoder | using System;
namespace Rabbit.Kernel.Caching
{
/// <summary>
/// 一个抽象的缓存。
/// </summary>
/// <typeparam name="TKey">键类型。</typeparam>
/// <typeparam name="TResult">值类型。</typeparam>
public interface ICache<TKey, TResult>
{
/// <summary>
/// 根据键获取一个缓存结果。
/// </summary... | 2.756394 | f1958f638aba1c57405395624fec8def |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836063 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kamgru/damk",
"max_stars_repo_path": "Damk.Core/IOutputFilenameBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155283"
} | starcoder | <gh_stars>0
namespace Damk.Core;
public interface IOutputFilenameBuilder
{
string Build(Driver driver);
}
| 1.178057 | 5ce7b6cd30276363aecb428bd5d5dc21 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836064 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "maincotech/auth0app",
"max_stars_repo_path": "src/Pages/Exception/Index.razor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155284"
} | starcoder | <reponame>maincotech/auth0app<filename>src/Pages/Exception/Index.razor.cs
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Diagnostics;
using Microsoft.AspNetCore.Http;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Auth0app.Pages.Exception
... | 1.637757 | 299ed4357440b09cc1098ddbd202861a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836065 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "boorlakov/umf-1",
"max_stars_repo_path": "Fengine.Backend/LinearAlgebra/Matrix/Sparse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155285"
} | starcoder | <reponame>boorlakov/umf-1<filename>Fengine.Backend/LinearAlgebra/Matrix/Sparse.cs
using System.Data;
namespace Fengine.Backend.LinearAlgebra.Matrix;
public class Sparse : IMatrix
{
public void CopyTo(Sparse m)
{
m.Data["ggl"] = new double[Data["ggl"].Length];
Data["ggl"].AsSpan().CopyTo(m.Data... | 2.442209 | 149724c392822ac468a6a68fc3e0b1d7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836066 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zkosior/PassiveViewPattern",
"max_stars_repo_path": "PassiveViewPattern/IModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155286"
} | starcoder | namespace PassiveViewPattern
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
public interface IModel
{
event EventHandler<EventArgs> PluginEnabled;
event EventHandler<ErrorEventArgs> PluginDisabled;
event EventHandler<ErrorEventAr... | 1.933851 | 9550d9398df0683ea692f8b3b72dce12 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836067 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CmsZwo/CmsZwo",
"max_stars_repo_path": "CmsZwo/Src/Cache/_CacheEvent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155287"
} | starcoder | <reponame>CmsZwo/CmsZwo
using System;
namespace CmsZwo
{
public class CacheEvent
{
public string Name { get; private set; }
public static implicit operator CacheEvent(string instance)
=> instance.HasContent() ? new CacheEvent { Name = instance } : null;
public static implicit operator CacheEvent(Type ins... | 2.361499 | 0e0e68969f747c8a26cc1252e0579eb2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836068 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "cmelchior/hivemind-csharp",
"max_stars_repo_path": "Game/Game.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155288"
} | starcoder | <filename>Game/Game.cs
using System;
using HiveMind.Model;
using HiveMind.Model.Rules;
using System.Collections.Generic;
using HiveMind.Debug;
using HiveMind.AI.Statistics;
namespace HiveMind.Game
{
/// General game state class for a game of Hive.
///
/// A Zobrist key is maintained for the game state. It consists... | 2.820206 | df90fef106d7fadc4bda44ccf8153ae3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836069 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "danielgindi/Codenet",
"max_stars_repo_path": "Text/StringHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155289"
} | starcoder | using System;
namespace Codenet.Text
{
public static class StringHelper
{
public static string CutByWords(string input, int maxChars, string suffixWhenCut = null)
{
string text = input;
if (maxChars > 0 && text.Length > maxChars)
{
for (int ... | 3.623695 | c6f2b088cb311e2671db01fbd406eaab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836070 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "lorenchorley/StrangeIoC-Updated",
"max_stars_repo_path": "Assets/Examples/Scripts/Basic Entity Management/ChangePersonAgeMod.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155290"
} | starcoder | using UnityEngine;
using System;
namespace entitymanagement.examples.basic {
[Serializable]
public class ChangePersonAgeMod : IEntityModifier {
public int NewAge;
public IEntity e { get; set; }
public Type IntendedEntityType { get { return typeof(PersonEntity); } }
... | 2.397171 | 675174c30ffa371665a38d3d94cd47a5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836071 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fire-eggs/GedValid",
"max_stars_repo_path": "GedValid/Form1.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155291"
} | starcoder | namespace GedValid
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param nam... | 2.124016 | 70f7887317c9068b6acbaee6701b5260 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836072 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "sugamgoel/InviteTest",
"max_stars_repo_path": "LessonsSamples/LessonsSamples/Lesson6/CoreContainerLifetime/MyController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155292"
} | starcoder | namespace LessonsSamples.Lesson6.CoreContainerLifetime
{
public class MyController
{
private readonly IService service1;
private readonly IService service2;
public MyController(IService service1, IService service2)
{
this.service1 = service1;
this.servic... | 2.576753 | f4796ce326bd35615d11aa171ff87835 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836073 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "marcusjobb/NET20D",
"max_stars_repo_path": "TDD/Inlämning1/Farzaneh/GeometricThing-master/GeometricThings/Geometry/Circle.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155293"
} | starcoder | namespace GeometricThings.Geometry
{
using GeometricThings.Interface;
using System;
/// <summary>
/// Defines the <see cref="Circle" />.
/// </summary>
public class Circle : IGeometricThing
{
/// <summary>
/// Gets or sets the Radius.
/// </summary>
public f... | 3.856801 | 658ca5f0c4fd3906c2e8db3cd5ff8355 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836074 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "knight0323/codelibrary",
"max_stars_repo_path": "src/JK.Common/Data/Ado/QueryOperationBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155294"
} | starcoder | using System.Collections.Generic;
using System.Data;
using System.Transactions;
namespace JK.Common.Data.Ado;
public abstract class QueryOperationBase<T> : OperationBase
{
private readonly CommandType commandType;
private readonly string commandText;
protected QueryOperationBase(DataContextBase context,... | 2.772131 | a713ae25264f558d0e4687666f5a99ec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836075 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "knight0323/presentations",
"max_stars_repo_path": "2014-testable-webforms-mvp/WebApplicationVersion05/Pages/Company.aspx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155295"
} | starcoder | <filename>2014-testable-webforms-mvp/WebApplicationVersion05/Pages/Company.aspx.cs
using System;
using ClassLibrary.Presentation.Presenters;
using ClassLibrary.Presentation.ViewContracts;
namespace WebApplication.Pages
{
public partial class Company : PageBase, ICompanyDetailView
{
private const strin... | 2.303689 | d0ee0147cead8fe912d2a642b6ee9d2a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836076 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "artl93/thegrid",
"max_stars_repo_path": "TheGrid/AudioEngine/MusicNote.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155296"
} | starcoder | <filename>TheGrid/AudioEngine/MusicNote.cs
using System;
using System.Net;
using System.Collections.Generic;
namespace AudioLibrary
{
public enum NoteValue
{
Unison = 0,
Minor2nd,
Major2nd,
Minor3rd,
Major3rd,
Perfect4th,
Augmented4th,
... | 2.878325 | 861481a9255538db5d42480009782805 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836077 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "OdysseyMomentum/AcuteLink",
"max_stars_repo_path": "Protocol/AcuteLink.Backend.Core/Entity/CapacityEntry.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155297"
} | starcoder | namespace AcuteLink.Backend.Core.Entity
{
public class CapacityEntry
{
public float Distance { get; set; }
public string EntityId { get; set; }
public string EntityName { get; set; }
public int FreeBeds { get; set; }
public int Order { get; set; }
public string Type { get; set; }
}
} | 1.484869 | 24600a6a38c75e2b241d894ea0191734 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836078 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "SamyLearningNote/WindowsSimpleNetworkMonitor",
"max_stars_repo_path": "SNTMStartProcess/MenuResource.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155298"
} | starcoder | <gh_stars>1-10
//------------------------------------------------------------------------------
// <auto-generated>
// 這段程式碼是由工具產生的。
// 執行階段版本:4.0.30319.42000
//
// 對這個檔案所做的變更可能會造成錯誤的行為,而且如果重新產生程式碼,
// 變更將會遺失。
// </auto-generated>
//----------------------------------------------------------------------... | 2.037316 | f197de894673b3b43c8343418816d4d6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836079 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "ni/rustywires",
"max_stars_repo_path": "src/Tests.Rebar/Tests.Rebar/Unit/Compiler/AsyncNodeGrouperTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155299"
} | starcoder | <filename>src/Tests.Rebar/Tests.Rebar/Unit/Compiler/AsyncNodeGrouperTests.cs
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NationalInstruments.DataTypes;
using NationalInstruments.Dfir;
using Rebar.Common;
using Rebar.Compiler.Nodes;
using Rebar.RebarTar... | 2.163028 | 409b69dad15948aa5dac0585fda27fdc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836080 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vassildinev/ASP.NET-Web-Forms",
"max_stars_repo_path": "01.Exam/YouTubePlaylistsSystem/Services/YouTubePlaylistsSystem.Services.Data/VideosService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155300"
} | starcoder | namespace YouTubePlaylistsSystem.Services.Data
{
using System;
using System.Linq;
using Contracts;
using YouTubePlaylistsSystem.Data.Models;
using YouTubePlaylistsSystem.Data.Repositories.Contracts;
public class VideosService : IVideosService
{
private readonly IRepository<Video> ... | 2.627972 | cbce7aba2422263c9d2b1726d89f556d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836081 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "NtFreX/NtFreX.Audio",
"max_stars_repo_path": "src/NtFreX.Audio.Infrastructure/ChannelFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155301"
} | starcoder | using System.Linq;
namespace NtFreX.Audio.Infrastructure
{
public static class ChannelFactory
{
// TODO: validate default mapping
private static readonly ChannelConfig[] ChannelConfigs = new ChannelConfig[]
{
new ChannelConfig(Speakers.Mono, 1, true),
new... | 2.561129 | f17736c5fbef7840291041ae2ca050bd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836082 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vagisha/pwiz",
"max_stars_repo_path": "pwiz_tools/Skyline/EditUI/EditLinkedPeptidesDlg.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155302"
} | starcoder | /*
* Original author: <NAME> <nicksh .at. u.washington.edu>,
* MacCoss Lab, Department of Genome Sciences, UW
*
* Copyright 2021 University of Washington - Seattle, WA
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the L... | 1.862789 | bd054ac39d78e32aed810bc6b8be62ab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836083 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "kennethdick/ReportGenerator",
"max_stars_repo_path": "ReportGenerator/Parser/Preprocessing/CodeAnalysis/PartCoverMethodElement.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155303"
} | starcoder | <reponame>kennethdick/ReportGenerator
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using ICSharpCode.NRefactory.CSharp;
using ICSharpCode.NRefactory.PatternMatching;
namespace Palmmedia.ReportGenerator.Parser.Preprocessing.CodeAnalysis
{
/// <summary>
... | 2.786554 | 641eeac521bb2e60bfbda374bbfb2f26 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836084 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "Opdex/opdex-v1-api",
"max_stars_repo_path": "src/Opdex.Platform.Infrastructure/Data/DatabaseSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155304"
} | starcoder | <filename>src/Opdex.Platform.Infrastructure/Data/DatabaseSettings.cs
using MySqlConnector;
using Opdex.Platform.Infrastructure.Abstractions.Data;
namespace Opdex.Platform.Infrastructure.Data;
public sealed class DatabaseSettings: IDatabaseSettings<MySqlConnection>
{
private readonly string _connectionString;
... | 2.235497 | 2b0e646bbe4a91271c105ac33bcfe878 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836085 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "tockata/300mm",
"max_stars_repo_path": "Source/PhotoContest.App/Models/Contest/DetailsContestViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155305"
} | starcoder | namespace PhotoContest.App.Models.Contest
{
using System;
using System.Collections.Generic;
using System.Linq;
using AutoMapper;
using AutoMapper.QueryableExtensions;
using Bookmarks.Common.Mappings;
using PhotoContest.Common;
using PhotoContest.Models;
using PhotoCont... | 1.924912 | dc850d1b8b6818693cf3844dc4033d54 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836086 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "zhenghua75/ynhrMemberManage",
"max_stars_repo_path": "Security/SqlConnectionHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155306"
} | starcoder | <filename>Security/SqlConnectionHelper.cs<gh_stars>1-10
//------------------------------------------------------------------------------
// <copyright file="SqlConnectionHelper.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//----------------------------------... | 2.154394 | 16e2782e91ffd8a624db7140205e01ce |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836087 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TheGameMecha/LoJam-CatCafe-2019",
"max_stars_repo_path": "Assets/Scripts/AI/WaypointNavigator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155307"
} | starcoder | <filename>Assets/Scripts/AI/WaypointNavigator.cs<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class WaypointNavigator : MonoBehaviour
{
public ChairPath currentPath;
int waypointIndex = 0;
public float moveSpeed = 1.0f;
bool isOnPath;
[HideInIn... | 2.269596 | 4fe2c4ba2fc4f62d4a58e7b295945d32 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836088 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MRazvan/ASAVRSD",
"max_stars_repo_path": "AVR Debugger/AVR.Debugger.Interfaces/WPFDocument.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155308"
} | starcoder | using System.Windows;
using WeifenLuo.WinFormsUI.Docking;
namespace AVR.Debugger.Interfaces
{
public class WPFDocument : DockContent
{
public WPFDocument()
{
InitializeComponent();
}
public WPFDocument(FrameworkElement element)
{
InitializeCompo... | 1.97164 | 30ba3b0c76e3aee367690fc78c08a768 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836089 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BryanApellanes/bam.net.shared",
"max_stars_repo_path": "Translation/Translation_Generated/LanguagePagedQuery.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155309"
} | starcoder | <filename>Translation/Translation_Generated/LanguagePagedQuery.cs
/*
This file was generated and should not be modified directly
*/
using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Data.Common;
using Bam.Net.Data;
namespace Bam.Net.Translation
{
public class Langu... | 2.097739 | c9136ec4d7d0f9b66e32c0a8d9570a06 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836090 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "91651/-",
"max_stars_repo_path": "App.Business.Model/CommentModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155310"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace App.Business.Model
{
public class CommentModel
{
public string Id { get; set; }
public string ParentId { get; set; }
public string OwnerId { get; set; }
... | 2.466088 | eb5583e8861573f0e002d242cf9637e2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836091 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "prakash8083/IndiamartLeadExport",
"max_stars_repo_path": "IndiaMart_CSV/Models/LeadModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155311"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IndiaMart_CSV.Models
{
// Root myDeserializedClass = JsonConvert.DeserializeObject<Root>(myJsonResponse);
public class LeadModel
{
public string RN { get; set; }... | 1.537886 | 50f703802469b3fc10e5d278e5fc9f67 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836092 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "zhenghua75/DXInfo",
"max_stars_repo_path": "DXInfo.Web.Mvc.4/Trirand.Web.Mvc/LinkFormatter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155312"
} | starcoder | using System;
namespace Trirand.Web.Mvc
{
public class LinkFormatter : JQGridColumnFormatter
{
public string Target
{
get;
set;
}
}
}
| 1.609259 | 3e475a7e71faacb1ac0d6b9e54e5058e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836093 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Pro-Swapper/ProSwapperValorant",
"max_stars_repo_path": "ValorantAPI/RiotClientAPI/RiotJsonStructs/FetchSession.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155313"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace ValorantAPI.RiotClientAPI.RiotJsonStructs
{
public class FetchSession
{
public bool federated { get; set; }
public string game_name { get; set; }
public string game_tag { get; set; }
public ... | 1.572212 | f8bc2c2db22b507849a241131613c183 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836094 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "FreedomBen/banshee",
"max_stars_repo_path": "src/Core/Banshee.WebBrowser/JavaScriptCore.Bridge/Tests/RuntimeTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155314"
} | starcoder | <filename>src/Core/Banshee.WebBrowser/JavaScriptCore.Bridge/Tests/RuntimeTests.cs<gh_stars>1-10
//
// RuntimeTests.cs
//
// Author:
// <NAME> <<EMAIL>>
//
// Copyright 2010 Novell, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentat... | 1.818545 | 58f5a20261c113928114c7b562a88f5c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836095 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Banou26/tcl-live-realtime-utils",
"max_stars_repo_path": "decompiled/Properties/AssemblyInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155315"
} | starcoder | using AntilopeGP;
using AntilopeGP.Shared.Busy;
using AntilopeGP.Shared.Views;
using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
using Xamarin.Forms.Xaml;
[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrow... | 1.494579 | 89a7899a30bbe128ce64d88698975081 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836096 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "WeTools-my/WeTools.SqlSugarMysqlConfigProvider",
"max_stars_repo_path": "WeTools.SqlSugarMysqlConfigProvider/Model/ServerAppConfigModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155316"
} | starcoder | using SqlSugar;
namespace WeTools.SqlSugarMysqlConfigProvider.Model
{
[SugarTable("we_server_app_config")]
public class ServerAppConfigModel
{
[SugarColumn(IsIdentity = true, IsPrimaryKey = true)]
public int Id { get; set; }
[SugarColumn(ColumnDataType = "varchar(300)")]
pu... | 1.809373 | a5378c4f8de8e9c27b2731ddd7033251 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836097 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "mirzviz/TimCoRetailManager",
"max_stars_repo_path": "TRMDesktopUI.Library/Api/ISaleEndpoint.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155317"
} | starcoder | using System.Threading.Tasks;
using TRMDesktopUI.Library.Models;
namespace TRMDesktopUI.Library.Api
{
public interface ISaleEndpoint
{
Task PostSale(SaleModel sale);
}
} | 1.45669 | 6e99575127f696c1dfeb135c8ec64af1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836098 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "v-yahan/Interop-TestSuites",
"max_stars_repo_path": "SharePoint/Source/MS-WDVMODUU/TestSuite/S02_IgnoredHeaders.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155318"
} | starcoder | <filename>SharePoint/Source/MS-WDVMODUU/TestSuite/S02_IgnoredHeaders.cs
namespace Microsoft.Protocols.TestSuites.MS_WDVMODUU
{
using System.Collections.Specialized;
using Microsoft.Protocols.TestSuites.Common;
using Microsoft.Protocols.TestTools;
using Microsoft.VisualStudio.TestTools.UnitTesting;
... | 2.295245 | f6cf9ed50ea2c31d90984ff6d0821d48 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836099 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "OskarKlintrot/1DV404-laboration-4",
"max_stars_repo_path": "GymnastikLigan/UnitTestProject/CompetitionUnitTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155319"
} | starcoder | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using GymnastikLigan;
namespace UnitTestProject
{
[TestClass]
public class CompetitionUnitTest
{
[TestMethod]
public void CreateNewCompetition()
{
try
{
var teams = new Teams()... | 1.826143 | 75049509f8b633269e08e80d1acf0e07 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836100 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "maxwellb/subtext",
"max_stars_repo_path": "src/UnitTests.Subtext/Framework/Components/CommentTests/CommentSettingsTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155320"
} | starcoder | <filename>src/UnitTests.Subtext/Framework/Components/CommentTests/CommentSettingsTests.cs
using MbUnit.Framework;
using Moq;
using Subtext.Framework.Components;
using Subtext.Framework.Data;
using Subtext.Framework.Services;
namespace UnitTests.Subtext.Framework.Components.CommentTests
{
[TestFixture]
public c... | 1.856303 | 652e8efc594764c8967386b7c71eb326 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836101 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "flyvfr/lessontrack",
"max_stars_repo_path": "lessonweb/lessonweb/web/updatecourse.aspx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155321"
} | starcoder | <reponame>flyvfr/lessontrack<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using lessonweb.Data;
namespace lessonweb.web
{
public partial class PGUpdateCourse : System.Web.UI.Page
{
protected AppUse... | 2.193865 | d185b989213509c945c34483bc4a6eb3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836102 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vesy53/SoftUni",
"max_stars_repo_path": "Programming Basics - C#/Exercises/03.SimpleConditionalStatements/p13AreaOfFigures/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155322"
} | starcoder | <filename>Programming Basics - C#/Exercises/03.SimpleConditionalStatements/p13AreaOfFigures/Program.cs
using System;
namespace p13AreaOfFigures
{
class Program
{
static void Main(string[] args)
{
string areasOfFigures = Console.ReadLine();
double area = 0.0;
... | 3.911453 | 1234cc85f0b1d53311340f1834958775 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836103 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Afterman-Software/nRepo",
"max_stars_repo_path": "src/Afterman.nRepo/UnitsOfWork/IUnitOfWork.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155323"
} | starcoder | <gh_stars>0
namespace Afterman.nRepo.UnitsOfWork
{
using System;
public interface IUnitOfWork :
IDisposable
{
void Begin();
void End(Exception e = null);
}
}
| 1.465849 | baf84a7963258672fd4b7c356dfdf424 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836104 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "imba-tjd/LeetCode",
"max_stars_repo_path": "141.linked-list-cycle/linked-list-cycle.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155324"
} | starcoder | using LeetCode.DataStructures;
namespace LeetCode.Problems.P141LinkedListCycle
{
public interface ISolution { bool HasCycle(ListNode head); }
class Solution : ISolution
{
public bool HasCycle(ListNode head)
{
HashSet<ListNode> hs = new HashSet<ListNode>();
while (hea... | 3.291837 | 205d49e01318d5930bd8ca349cbcd991 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836105 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "naspinski/CohesiveSoftware.Data",
"max_stars_repo_path": "CohesiveSoftware.Data/CohesiveSoftware.Data/Model/AuditUpdateBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155325"
} | starcoder | using System;
using System.ComponentModel.DataAnnotations;
namespace CohesiveSoftware.Data.Model
{
public class AuditUpdateBase
{
[Display(Name = "Updated")]
public DateTimeOffset? Updated { get; set; }
[Display(Name = "Updated By")]
public string UpdatedBy { get; set; }
... | 2.426767 | 9f2131dd56ec52f8191881ff69c6479e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836106 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dawgdemi/StreamDeckSharp",
"max_stars_repo_path": "src/StreamDeckSharp/Exceptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155326"
} | starcoder | <reponame>dawgdemi/StreamDeckSharp
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StreamDeckSharp.Exceptions
{
/// <summary>
/// Base class for all StreamDeckSharp Exceptions
/// </summary>
public abstract class StreamDeckE... | 2.304389 | c9929e2dfda78be3e16f57ee311e9f8d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836107 | {
"extension": "c-sharp",
"max_stars_count": "167.0",
"max_stars_repo_name": "qJake/HADotNet.Panel",
"max_stars_repo_path": "HADotNet.CommandCenter/Views/BlankTile/Add.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:155327"
} | starcoder | <reponame>qJake/HADotNet.Panel
@model BlankTile
@{
ViewData["Title"] = (Model == null ? "Add" : "Edit") + " Tile: Blank";
var header = @"<span class=""va-bottom " + new BlankTile().IconClassName + @"""></span> " + (Model == null ? "Add" : "Edit") + " Tile: Blank";
}
@section TopNav
{
<partial name="BaseT... | 1.949942 | 8c8c77431ce9e5229992c596409fb9dd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836108 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "Kurlee/MarksmanWitness",
"max_stars_repo_path": "MarksmanWitness/Assets/Scripts/UI/StreamingInfo_UI.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155328"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using UnityEngine.UI;
/// <summary>
/// This script will take in a data object, and display the
/// informatino in the streaming information UI like
/// Norse.
/// </summary>
public class StreamingInfo_UI : MonoBehaviou... | 2.681938 | e12610bb3c6234a2b59507ed7fd2b156 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836109 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "DavidKarlas/mono",
"max_stars_repo_path": "mcs/class/System/System.Diagnostics/StackFrame.jvm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155329"
} | starcoder | //
// System.Diagnostics.StackFrame.cs
//
// Author:
// <NAME> (<EMAIL>)
// <NAME> (<EMAIL>)
//
// (C) 2001
//
using System;
using System.Reflection;
using System.Runtime.CompilerServices;
namespace System.Diagnostics {
/// <summary>
/// Stack frame.
/// </summary>... | 2.47168 | 12c0b46513be14ae53fe9eef500ad852 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836110 | {
"extension": "c-sharp",
"max_stars_count": "572.0",
"max_stars_repo_name": "pengweiqhca/aliyun-openapi-net-sdk",
"max_stars_repo_path": "aliyun-net-sdk-adb/Adb/Transform/V20190315/ModifyDBClusterResponseUnmarshaller.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155330"
} | 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"); you ... | 1.144025 | 70e41e12c9fa6c4d3c0be99a623468d7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836111 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "evkapsal/Fibaro-Cortana-Voice-Commands",
"max_stars_repo_path": "Fibaro Cortana Voice Commands/AppSettingsWindow.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155331"
} | starcoder | <gh_stars>1-10
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.UI.ViewManagement;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.U... | 1.988068 | 4dd8084ee20b0ccbf829c446267d5448 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.