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 | 8816618 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ScriptBox99/dotnet-monitor",
"max_stars_repo_path": "src/Tools/dotnet-monitor/CollectionRules/Options/CollectionRuleTriggerDefaultsOptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135838"
} | starcoder | <reponame>ScriptBox99/dotnet-monitor
// 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 Microsoft.Diagnostics.Monitoring.WebApi;
using Microsoft.Diagnostics.Too... | 1.658126 | 593b7333816f5fb1f762396ee6a18158 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816619 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "AlexTrepanier/Uno",
"max_stars_repo_path": "src/Uno.UWP/Generated/3.0.0.0/Windows.UI.ApplicationSettings/AccountsSettingsPaneCommandsRequestedEventArgs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135839"
} | starcoder | #pragma warning disable 108 // new keyword hiding
#pragma warning disable 114 // new keyword hiding
namespace Windows.UI.ApplicationSettings
{
#if __ANDROID__ || __IOS__ || NET46 || __WASM__ || __MACOS__
[global::Uno.NotImplemented]
#endif
public partial class AccountsSettingsPaneCommandsRequestedEventArgs
{
#... | 1.665903 | ae70b1835c1d2dfe4683ffedd2d37d79 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816620 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "gwendallg/RSql4Net",
"max_stars_repo_path": "src/RSql4Net/Models/Paging/RSqlSort.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135840"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
namespace RSql4Net.Models.Paging
{
/// <summary>
/// Sort expression.
/// </summary>
public class RSqlSort<T> where T : class
{
/// <summary>
/// next sort
/// </summary>
... | 2.416236 | 7bcdafe88458ed47c9cd7c0b7f9f6fbc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816621 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wahinekai/common",
"max_stars_repo_path": "src/Common/Contracts/IValidatable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135841"
} | starcoder | <filename>src/Common/Contracts/IValidatable.cs<gh_stars>0
// -----------------------------------------------------------------------
// <copyright file="IValidatable.cs" company="<NAME>">
// Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full ... | 2.524003 | bc21893e6ffc435dbf9d3e7e7e9f6a8f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816622 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JoaoDiasDev/Testing_Softwares",
"max_stars_repo_path": "TestingExamples/PersonalPhotos-Test/PersonalPhotos-master/Code/Core/Interfaces/IKeyGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135842"
} | starcoder | namespace Core.Interfaces
{
public interface IKeyGenerator
{
string GetKey(string emailAddress);
}
} | 1.660492 | 7cfd4903169d14e6d412ea821028f74e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816623 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SafetyCone/R5T.T0035",
"max_stars_repo_path": "source/R5T.T0035.X001/Code/Documentation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135843"
} | starcoder | using System;
namespace R5T.T0035.X001
{
/// <summary>
/// <see cref="System"/> namespace <see cref="INamespaceName"/> extensions.
/// </summary>
public static class Documentation
{
}
}
| 1.185491 | 9b9c74c27bf9dbc21da292ab479db9cd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816624 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "jbe2277/DotNetApiBrowser",
"max_stars_repo_path": "src/DotNetApiBrowser/DotNetApiBrowser.Presentation/Views/CompareAssembliesWindow.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135844"
} | starcoder | <reponame>jbe2277/DotNetApiBrowser
using System;
using System.ComponentModel.Composition;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Threading;
using Waf.DotNetApiBrowser.Applications.Views;
namespace Waf.DotNetApiBrowser.Presentation.Views
{
[Export(typeof(ICompareAssembliesView)), ... | 2.139099 | 313381251c7535b672b9ecbe671ea337 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816625 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "En3Tho/Something-obviously-useless",
"max_stars_repo_path": "SomethingObviouslyUseless/Benchmarks/Benchmarks/GenericTestsBenchmark.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135845"
} | starcoder | using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Jobs;
using Benchmarks.Classes;
namespace Benchmarks.BenchmarkDotNet
{
[SimpleJob(RuntimeMoniker.NetCoreApp31, baseline: true)]
[SimpleJob(RuntimeMoniker.NetCoreApp50)]
public class GenericTestsBenchmark
{
[Benchmark]
public void ... | 1.922144 | 82f80c50dc528889645dd2be12af328f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816626 | {
"extension": "c-sharp",
"max_stars_count": "38.0",
"max_stars_repo_name": "AreebaAroosh/Machete",
"max_stars_repo_path": "src/Machete.X12Schema/Generated/V5010/Layouts/L2100A_277ACK.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135846"
} | starcoder | <gh_stars>10-100
namespace Machete.X12Schema.V5010
{
using X12;
public interface L2100A_277ACK :
X12Layout
{
Segment<NM1> InformationSourceName { get; }
}
} | 1.027568 | 4176969a79535a0beb038f532ab1a6bd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816627 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Barrinsworth/gdk-for-unity-blank-project",
"max_stars_repo_path": "workers/unity/Assets/Editor/MoverInspector.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135847"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
using UnityEditor.SceneManagement;
//This editor script displays the inspector GUI of the mover components;
//It also updates the collider dimensions whenever a value is changed in the inspector;
[CustomEditor(typeof(Mov... | 2.103778 | 1654280fa77c06c41df5dd53b4b772fa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816628 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Game-Bubble/Run-Transformer",
"max_stars_repo_path": "Assets/Plugins/RootMotion/PuppetMaster/_DEMOS/Assets/Scripts/FXCollisionBlood.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135848"
} | starcoder | <reponame>Game-Bubble/Run-Transformer
using UnityEngine;
using System.Collections;
using RootMotion.Dynamics;
namespace RootMotion.Demos {
[RequireComponent(typeof(ParticleSystem))]
public class FXCollisionBlood : MonoBehaviour {
public BehaviourPuppet puppet;
public float minCollisionImpulse = 100f;
public i... | 2.128652 | 745cb31132c79aa39d5219a80ec74564 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816629 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "balakrishnavalluri-gep/samples",
"max_stars_repo_path": "snippets/csharp/VS_Snippets_VBCSharp/csProgGuideEvents/CS/Events.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135849"
} | starcoder | <filename>snippets/csharp/VS_Snippets_VBCSharp/csProgGuideEvents/CS/Events.cs
using System;
using System.Collections.Generic;
using System.Text;
//-----------------------------------------------------------------------------
//<Snippet1>
namespace BaseClassEvents
{
using System;
using System.Collections.Gen... | 3.714752 | 8d2e1a818cb2f62b3a17ed21cd66d9be |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816630 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AF250329/vstest",
"max_stars_repo_path": "src/Microsoft.TestPlatform.Utilities/CodeCoverageDataAttachmentsHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135850"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.VisualStudio.TestPlatform.Utilities
{
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;... | 1.94464 | 1c03a78868bfbbcb522dc90fdfdac453 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816631 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "reflectronic/terrafx.interop.windows",
"max_stars_repo_path": "sources/Interop/Windows/Windows/um/mfreadwrite/IMFSourceReaderCallback.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135851"
} | starcoder | <filename>sources/Interop/Windows/Windows/um/mfreadwrite/IMFSourceReaderCallback.cs
// Copyright © <NAME> Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/mfreadwrite.h in the Windows SDK for Windows 10.0.22000.0
// Original source is Cop... | 1.564218 | 32894f96eb7f10ea9d3aea333dc20a6c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816632 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dampee/Merchello",
"max_stars_repo_path": "Plugin/Shipping/USPS/src/Merchello.Plugin.Shipping.USPS/Provider/IUSPSShippingGatewayProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135852"
} | starcoder | <reponame>dampee/Merchello
namespace Merchello.Plugin.Shipping.USPS.Provider
{
interface IUspsShippingGatewayProvider
{
}
}
| 0.925464 | 6ab29ad925ddb8244c9ea0a36f3f26ca |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816633 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dangminhbk/auction",
"max_stars_repo_path": "aspnet-core/src/WebShop.Core/Domain/Invoice/InvoiceManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135853"
} | starcoder | using Abp.Domain.Repositories;
using Abp.Domain.Services;
using Abp.Domain.Uow;
using Abp.UI;
using System;
using System.Linq;
using System.Threading.Tasks;
namespace WebShop.Domain.Invoice
{
public class InvoiceManager : DomainService, IInvoiceManager
{
private readonly IRepository<Invoice, long> _in... | 2.419379 | 74f11d96725dc89c6ceb6c525d0d2f9d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816634 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DomCR/WKInterpreter",
"max_stars_repo_path": "WKInterpreter/DimensionType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135854"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace WKInterpreter
{
/// <summary>
/// Defines the point dimensions.
/// </summary>
public enum DimensionType
{
/// <summary>
/// 2D dimension, integer value 0.
/// </summary>
... | 3.188532 | c3bc9592681ec7bfed765d2c0602e695 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816635 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Zwt-hello/SpaceTargetSample-NReal",
"max_stars_repo_path": "Assets/NRSDK/Scripts/Camera/Proxy/NativeCameraProxy.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135855"
} | starcoder | /****************************************************************************
* Copyright 2019 Nreal Techonology Limited. All rights reserved.
*
* This file is part ... | 2.080629 | cd17620f31d946d521bc9267dd8e977a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816636 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "carlfm01/XamarinCertification",
"max_stars_repo_path": "IOS/Weather/SettingsViewController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135856"
} | starcoder | using Foundation;
using System;
using UIKit;
namespace WeatherApp
{
public partial class SettingsViewController : UITableViewController
{
public SettingsViewController (IntPtr handle) : base (handle)
{
}
public override void ViewDidLoad()
{
base.ViewDidLoad(... | 1.626549 | a50d3a5690a9b6f26359bc75f5d7e35a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816637 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "indrivo/GEAR",
"max_stars_repo_path": "src/GR.Extensions/GR.Entities.Extension/GR.Entities.Abstractions/ViewModels/TableTypes/TableTypeUpdateViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135857"
} | starcoder | <gh_stars>1-10
using System;
using System.ComponentModel.DataAnnotations;
namespace GR.Entities.Abstractions.ViewModels.TableTypes
{
public class EntityTypeUpdateViewModel
{
/// <summary>
/// Id of Schema
/// </summary>
public Guid Id { get; set; }
/// <summary>
... | 2.125499 | 65a65dc758e3ef8d7cbc8702e94ccd2a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816638 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "scottenriquez/cdktf-alpha-csharp-testing",
"max_stars_repo_path": "resources/.gen/aws/aws/Wafv2RuleGroupRuleStatementAndStatementStatementXssMatchStatementFieldToMatchAllQueryArguments.cs",
"provenance": "train-00027-of-00045.jsonl.gz... | starcoder | using Amazon.JSII.Runtime.Deputy;
#pragma warning disable CS0672,CS0809,CS1591
namespace aws
{
[JsiiByValue(fqn: "aws.Wafv2RuleGroupRuleStatementAndStatementStatementXssMatchStatementFieldToMatchAllQueryArguments")]
public class Wafv2RuleGroupRuleStatementAndStatementStatementXssMatchStatementFieldToMatchAllQ... | 1.212651 | 3301fea03796b74e9a3c6ad7aa9bb01c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816639 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mnuyens/forseti2",
"max_stars_repo_path": "lcm_unity/Assets/LCM/LCMDataOutputStream.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135859"
} | starcoder | using System;
namespace LCM.LCM
{
public sealed class LCMDataOutputStream : System.IO.BinaryWriter
{
private byte[] buf;
private int pos;
/// <summary>
/// Returns the internal buffer, which may be longer than the
/// buffer that has been written to so far.
/// </summary>
public byte[] Buffer
{
... | 3.045612 | f6af4d02856f9f101d493f5ea8c95229 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816640 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tshemake/Software-Development",
"max_stars_repo_path": "stepik/73/4760/step_8/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135860"
} | starcoder | <reponame>tshemake/Software-Development
using System;
/*
* Откройте терминал нажатием "Open Terminal"
* Скачайте в нем архив
* https://stepik.org/media/attachments/course73/quiz_archive.tar.gz
* в директорию /home/quiz (для этого вам пригодится команда wget,
* см. предыдущее занятие).
* Распакуйте этот ... | 2.30787 | 29b2cad5ca42f4089542d8de6ed55f90 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816641 | {
"extension": "c-sharp",
"max_stars_count": "25.0",
"max_stars_repo_name": "vijayraavi/peek",
"max_stars_repo_path": "AzureBillingAnalytics/BillingDataApi/Helpers/CSPHelpers/ConfigurationManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135861"
} | starcoder | <filename>AzureBillingAnalytics/BillingDataApi/Helpers/CSPHelpers/ConfigurationManager.cs<gh_stars>10-100
// -----------------------------------------------------------------------
// <copyright file="ConfigurationManager.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </... | 2.550072 | 337bf565c66f57d9b72fc8de3b285ca3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816642 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "colinkiama/GoogleTasksUWP",
"max_stars_repo_path": "GoogleTasksUWPAPI/GTasksContainer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135862"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace GoogleTasksUWPAPI
{
public sealed class GTasksContainer
{
[JsonProperty("kind")]
public string Kind { get; set; }
[JsonProperty("etag")]... | 1.722331 | 98e3048373053a65728490217ce22f2a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816643 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zzq424/Kira.LaconicInvoicing",
"max_stars_repo_path": "App/Kira.LaconicInvoicing.EntityConfiguration/Warehouse/InventoryConfiguration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135863"
} | starcoder | <filename>App/Kira.LaconicInvoicing.EntityConfiguration/Warehouse/InventoryConfiguration.cs
using Kira.LaconicInvoicing.Warehouse.Entities;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using OSharp.Entity;
using System;
namespace Kira.LaconicInvoicing.EntityConfiguration.Warehouse
{
public class ... | 2.008736 | 0a89da49d548daa8ff548c2e05bf5ad4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816644 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rocksdanister/Pokemon_Unity3D_Entitas",
"max_stars_repo_path": "Assets/Editor/Pokemon/GetPokemonJson.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135864"
} | starcoder | <filename>Assets/Editor/Pokemon/GetPokemonJson.cs
using UnityEngine;
using UnityEditor;
using System.Collections.Generic;
using System.Linq;
using Newtonsoft.Json;
using System.Text.RegularExpressions;
using System;
using System.IO;
using System.Text;
using PokemonBattele;
public class GetPokemonJson
{
[MenuIte... | 2.488077 | af687c93b30c3a9d50f20ffbf454e0c5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816645 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "daelsepara/FastDownloaderAsync",
"max_stars_repo_path": "FastDownloaderAsync/FastDownloaderAsync.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135865"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
namespace FastDownloaderAsync
{
// see: https://dejanstojanovic.net/aspnet/2018/march/download-file-in-chunks-in-parallel-in-c/
... | 2.774609 | 9508c0952e9156883ec6cea18ceb5d9a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816646 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "World-of-Arcanus/Arcanus-Game",
"max_stars_repo_path": "Arcanus.Common/Client/UI/Widgets/AnimatedBackgroundWidget.ci.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135866"
} | starcoder | public class AnimatedBackgroundWidget : AbstractMenuWidget
{
string textureName;
int textureId;
float lastWidth;
float lastHeight;
int countX;
int countY;
RandomCi rnd;
float xRot;
bool xInv;
float xSpeed;
float yRot;
bool yInv;
float ySpeed;
int overlap;
int minspeed;
public AnimatedBackgroundWidge... | 2.486346 | b2559a885041e8fc31c783a9fb6b4313 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816647 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Notdutra/Learning-ASP.NET",
"max_stars_repo_path": "31.07.2020/Exemplo da aula/ContosoUniversity-Backend-master/ContosoUniversity.Model/ViewModels/Validations/InstructorViewModelValidator.cs",
"provenance": "train-00027-of-00045.jsonl... | starcoder | <filename>31.07.2020/Exemplo da aula/ContosoUniversity-Backend-master/ContosoUniversity.Model/ViewModels/Validations/InstructorViewModelValidator.cs
using ContosoUniversity.Model.ViewModels;
using FluentValidation;
using System;
namespace Scheduler.Model.ViewModels.Validations
{
public class InstructorViewModelVa... | 2.376733 | fc1961c3bac21649e72362da6b5c4592 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816648 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "lefb766/mono",
"max_stars_repo_path": "mcs/class/System.Data/System.Data.OleDb/OleDbDataReader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135868"
} | starcoder | //
// System.Data.OleDb.OleDbDataReader
//
// Author:
// <NAME> (<EMAIL>)
// <NAME> (<EMAIL>)
//
// Copyright (C) <NAME>, 2002
// Copyright (C) <NAME>, 2002
// Copyright (C) 2004-2005 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this so... | 1.993436 | aada23639b62ac67963974fec19a91dc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816649 | {
"extension": "c-sharp",
"max_stars_count": "145.0",
"max_stars_repo_name": "Krypton-Suite/standard-toolkit",
"max_stars_repo_path": "Source/Krypton Components/Krypton.Toolkit/EventArgs/ContextPositionMenuArgs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135869"
} | starcoder | #region BSD License
/*
*
* Original BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE)
* © Component Factory Pty Ltd, 2006 - 2016, (Version 4.5.0.0) All rights reserved.
*
* New BSD 3-Clause License (https://github.com/Krypton-Suite/Standard-Toolkit/blob/master/LICENSE)
* ... | 2.250001 | f2dbeb6c0caa6959b0c190bc5da7d636 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816650 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JettSettie/CastleMinerZsrc",
"max_stars_repo_path": "DNA.CastleMinerZ.Achievements/DaysPastAchievement.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135870"
} | starcoder | <gh_stars>0
using DNA.CastleMinerZ.Globalization;
using Microsoft.Xna.Framework;
namespace DNA.CastleMinerZ.Achievements
{
public class DaysPastAchievement : AchievementManager<CastleMinerZPlayerStats>.Achievement
{
private int _days;
private string lastString;
private int _lastAmount = -1;
protected over... | 2.353292 | ce5166d870d536986d6f2063a72efc52 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816651 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PTaladay/fhir-server",
"max_stars_repo_path": "src/Microsoft.Health.Fhir.Core/Features/Search/Registry/ISearchParameterStatusDataStore.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135871"
} | starcoder | // -------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See LICENSE in the repo root for license information.
// -----------------------------------------------------------... | 1.444812 | 84c10d0e5191acce41dad3e3184ac973 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816652 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "luhis/AutoTest",
"max_stars_repo_path": "AutoTest.Domain/StorageModels/Marshal.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135872"
} | starcoder | namespace AutoTest.Domain.StorageModels
{
public class Marshal
{
public Marshal(ulong marshalId, string givenName, string familyName, string email, ulong eventId, uint registrationNumber, string role)
{
MarshalId = marshalId;
GivenName = givenName;
Fa... | 2.325396 | 11011baf0f7e9d234bd4cc586ff088fc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816653 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jfranmora/unity-custom-attributes",
"max_stars_repo_path": "Assets/Scripts/AutoPopulate/FindObject/DefaultFindObjectAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135873"
} | starcoder | using System;
public class DefaultFindObjectAttribute : AutoPopulateBaseAttribute
{
public DefaultFindObjectAttribute()
{
}
public DefaultFindObjectAttribute(Type targetType) : base(targetType)
{
}
} | 1.727194 | de62c7d4f43beb8528acd0b624a72be7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816654 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "andryushchenko/AInq.Background",
"max_stars_repo_path": "src/AInq.Background.Scheduler.Abstraction/Helpers/WorkSchedulerServiceProviderHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135874"
} | starcoder | // Copyright 2020-2022 <NAME>
//
// 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 ... | 2.257945 | 66afb292c33f2000713e0efea0f7817d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816655 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jvbsl/ImpWiz",
"max_stars_repo_path": "ImpWiz.Import/LibLoader/LibLoader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135875"
} | starcoder | <gh_stars>0
using System;
using System.Runtime.InteropServices;
namespace ImpWiz.Import.LibLoader
{
/// <summary>
/// A platform independent <see cref="ILibLoader"/> implementation.
/// </summary>
public sealed class LibLoader : ICustomLibraryLoader
{
private readonly ILibLoader _internal;
... | 2.405785 | 505a5c0fb0eafbc40bfdf506853a886d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816656 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Statev7/SoftUni-Java",
"max_stars_repo_path": "C02_C#ProgrammingAdvanced-September-2021/02_StacksAndQueues-Exercise/P04_FastFood/StartUp.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135876"
} | starcoder | <reponame>Statev7/SoftUni-Java
namespace P04_FastFood
{
using System;
using System.Collections.Generic;
using System.Linq;
public class StartUp
{
public static void Main()
{
int quantityOfTheFood = int.Parse(Console.ReadLine());
int[] ordersInput = Console.R... | 3.530887 | effb1ffffe6efc302c5a2b5d8697097d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816657 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "YuuuZhang/ProtocolTestFramework",
"max_stars_repo_path": "src/test/TestRequirementCapture/TestRequirementCapture.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135877"
} | starcoder | <gh_stars>0
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using Microsoft.Protocols.TestTools;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Microsoft.Protocols.TestTools.Test.Uti... | 1.761001 | 0a26d8dc53f8c15650eb072d74c7d61f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816658 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fffej/corefx",
"max_stars_repo_path": "src/Common/src/Interop/Unix/libcrypto/Interop.ERR.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135878"
} | starcoder | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Runtime.InteropServices;
using System.Security.Cryptography;
using System.Text;
internal static partial class Interop
{
internal static... | 2.434716 | c2cb567a1905745e62535bf770007848 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816659 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AnomalousMedical/Engine",
"max_stars_repo_path": "MyGUIPlugin/Plugin/Tooltip/TooltipManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135879"
} | starcoder | <filename>MyGUIPlugin/Plugin/Tooltip/TooltipManager.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Engine;
namespace MyGUIPlugin
{
public class TooltipManager
{
private static TooltipManager instance;
public static TooltipManager Ins... | 2.863875 | cec3cef8ecc26b4463e424a5b3b9bf26 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816660 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bmeredith/WebApiContrib.Formatting.Xlsx",
"max_stars_repo_path": "test/WebApiContrib.Formatting.Xlsx.AspNetCore.Tests/FormatterUtilsTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135880"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using FluentAssertions;
using WebApiContrib.Formatting.Xlsx.Core.Tests.TestData;
using Xunit;
namespace WebApiContrib.Formatting.Xlsx.Core.Tests
{
public class FormatterUtilsTests
{
[Fact]
public void GetAttribute_E... | 2.310944 | e482ee943687402b43e3d615468dc16a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816661 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "inmark92/hotchocolate",
"max_stars_repo_path": "src/HotChocolate/AspNetCore/src/AspNetCore/HttpRequestInterceptorDelegate.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135881"
} | starcoder | using Microsoft.AspNetCore.Http;
namespace HotChocolate.AspNetCore;
public delegate ValueTask HttpRequestInterceptorDelegate(
HttpContext context,
IRequestExecutor requestExecutor,
IQueryRequestBuilder requestBuilder,
CancellationToken cancellationToken);
| 1.238511 | 34bfc6992c4c2998d786ff7e642b7efb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816662 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "MalekiSirius/Onion-Architecture",
"max_stars_repo_path": "src/API/IOC/Activator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135882"
} | starcoder | <reponame>MalekiSirius/Onion-Architecture
using DryIoc;
using DryIoc.WebApi;
using System;
using DryContainer = DryIoc.Container;
using IDryContainer = DryIoc.IContainer;
namespace API.IOC
{
public class Activator
{
private Activator()
{
}
private static readonly Lazy<Activato... | 1.905788 | 59d90b9097ef9b8ab61a2836a4165a7d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816663 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Zelenov/SharpSqlBuilder",
"max_stars_repo_path": "SharpSqlBuilder/Operands/FalseOperand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135883"
} | starcoder | using SharpSqlBuilder.Builders;
using SharpSqlBuilder.Extensions;
namespace SharpSqlBuilder.Operands
{
/// <summary>
/// <example>FALSE</example>
/// </summary>
public class FalseOperand : Operand
{
public override string BuildSql(SqlOptions sqlOptions)
{
switch (sqlOpt... | 2.613811 | 6d5f8fe693f4b4e58f45ab385acfa6dd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816664 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Tassadar2499/Patterns",
"max_stars_repo_path": "Behaviour/Observer/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135884"
} | starcoder | namespace Observer
{
internal class Program
{
private static void Main(string[] args)
{
var observers = new IObserver[] { new Voenkomat(), new Parent() };
var student = new Student(observers);
for (int i = 0; i < 10; i++)
student.DropLessons();
}
}
} | 2.285593 | 6251952ad8ee8076bda7233d1c7654bd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816665 | {
"extension": "c-sharp",
"max_stars_count": "317.0",
"max_stars_repo_name": "adamvoss/fluentassertions",
"max_stars_repo_path": "Src/Shared/PropertyChangedSourceExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135885"
} | starcoder | using System;
using System.ComponentModel;
using System.Linq;
using System.Linq.Expressions;
using FluentAssertions.Common;
using FluentAssertions.Events;
using FluentAssertions.Execution;
namespace FluentAssertions
{
/// <summary>
/// Provides extension methods for monitoring and querying events.
/// <... | 2.740716 | 4d208e15c353cf18cc8109a9ef24918e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816666 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zberg007/project",
"max_stars_repo_path": "src/FuelWerx.Application/Products/Prices/Dto/GetProductPriceForEditOutput.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135886"
} | starcoder | using Abp.Application.Services.Dto;
using System;
using System.Runtime.CompilerServices;
namespace FuelWerx.Products.Prices.Dto
{
public class GetProductPriceForEditOutput : IOutputDto, IDto
{
public ProductPriceEditDto Price
{
get;
set;
}
public GetProductPriceForEditOutput()
{
}
}
} | 1.602522 | a6ff817cd8ecae14018cac93392cc564 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816667 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "sominola/OpenDota-API",
"max_stars_repo_path": "OpenDotaApi/Api/Matches/Model/ConnectionLog.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135887"
} | starcoder | using System.Text.Json.Serialization;
namespace OpenDotaApi.Api.Matches.Model
{
public class ConnectionLog
{
[JsonPropertyName("event")]
public string Event { get; set; }
[JsonPropertyName("player_slot")]
public long? PlayerSlot { get; set; }
[JsonPropertyName("slot")... | 1.809394 | a6086d103a379447a651688693a4ccca |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816668 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mk-prg-net/CSharp45.Remote",
"max_stars_repo_path": "Clients/FileSysASMX.Client/MainForm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135888"
} | starcoder | <filename>Clients/FileSysASMX.Client/MainForm.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace FileSysASMX.Client
... | 2.217314 | 468925495224ce3bfe51b741672793b8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816669 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ycanardeau/Saruhashi",
"max_stars_repo_path": "Aigamo.Saruhashi/IImage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135889"
} | starcoder | namespace Aigamo.Saruhashi
{
public interface IImage
{
}
}
| 1.102283 | 5decee986d191f92a015d997fdda67c5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816670 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CarlosSardo/nanoFramework.IoT.Device",
"max_stars_repo_path": "devices/Bh1745/samples/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135890"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Device.I2c;
using System.Diagnostics;
using System.Threading;
using Iot.Device.Bh1745;
// bus id on the raspberry pi 3
const int busId = 1;
// create dev... | 2.354358 | 2d7141d638f3240b020592ef095ec453 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816671 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AlexeyBuryanov/Clocks.Clients",
"max_stars_repo_path": "Source/Clocks.Clients/Clocks.Clients/Controls/AnalogClock/ArrowParams.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135891"
} | starcoder | namespace Clocks.Clients.Core.Controls.AnalogClock
{
/// <summary>
/// Структура для хранения информации о трёх стрелках
/// </summary>
public struct ArrowParams
{
public ArrowParams(double width, double height, double offset)
{
Width = width;
Height = height... | 2.90387 | 19fff207b3e811a00bc628e3c85b098a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816672 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jackobo/jackobs-code",
"max_stars_repo_path": "DeveloperTool/Dependencies/Spark.Infra/Spark.Infra/Windows/Implementations/ExternalProcessRunner.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135892"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Spark.Infra.Windows
{
internal static class ExternalProcessRunner
{
public static void Run(string fileName, string arguments)
{
var processInfo = new System... | 2.819666 | d54cbe07ae9dbc291de45a64c3568068 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816673 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "RisulKarimWG/GameX",
"max_stars_repo_path": "Assets/SpaceCombatKit/Scripts/AllVehicles/HUD/TeamColor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135893"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace VSX.UniversalVehicleCombat
{
/// <summary>
/// Associates a team with a color for showing team colors on the HUD.
/// </summary>
[System.Serializable]
public class TeamColor
{
public Team team;
... | 2.147752 | dcdb1160a2103eaf099c4a056e1fedfc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816674 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "guillaume-fr/MvvmCross",
"max_stars_repo_path": "CrossCore/Cirrious.CrossCore/IoC/MvxIoCExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135894"
} | starcoder | // MvxIoCExtensions.cs
// (c) Copyright Cirrious Ltd. http://www.cirrious.com
// MvvmCross is licensed using Microsoft Public License (Ms-PL)
// Contributions and inspirations noted in readme.md and license.txt
//
// Project Lead - Stuart Lodge, @slodge, <EMAIL>
using System;
using Cirrious.CrossCore;
namespace Cir... | 2.065574 | 56e7d2ce9187bd8d12a3d90c05f46f36 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816675 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tf3604/LogFileVisualizer",
"max_stars_repo_path": "LogFileVisualizer/LogRenderer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135895"
} | starcoder | // Copyright(c) 2016-2017 <NAME>.
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
// documentation files (the "Software"), to deal in the Software without restriction, including without limitation
// the rights to use, copy, modify, merge, publ... | 2.015961 | 85d5df6aae685adad6e641deb9f8b083 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816676 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "netleyazilim/Developer",
"max_stars_repo_path": "Electronic/NetleEFatura/E-Ticaret Kullanım Örneği.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135896"
} | starcoder | <filename>Electronic/NetleEFatura/E-Ticaret Kullanım Örneği.cs<gh_stars>10-100
var netleEfatura = new NetleEFatura();
///diğer tamamlayıcı bilgiler
nef.EkSahalar = new EArchiveWS.EkSaha[]
{
new EArchiveWS.EkSaha(){Anahtar="Enable_B2C", Deger="1"},
new EArchiveWS.EkSaha(){Anahtar="EArc_B2C_Field_WebSite", Dege... | 1.912905 | e68a82d67c9d30e55aa3508a8de76943 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816677 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ismailmayat/Umbraco-CMS",
"max_stars_repo_path": "src/Umbraco.Core/Services/Implement/ServerRegistrationService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135897"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Umbraco.Core.Events;
using Umbraco.Core.Logging;
using Umbraco.Core.Models;
using Umbraco.Core.Persistence.Repositories;
using Umbraco.Core.Persistence.Repositories.Implement;
using Umbraco.Core.Scoping;
using Umbrac... | 1.958892 | 8f6c0c0e51ed34aa9748391c6d7e39f9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816678 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "UltimateSoftware/DOI",
"max_stars_repo_path": "Tests/TestHelpers/Metadata/SysSchemasHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135898"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using DOI.Tests.IntegrationTests.Models;
using NUnit.Framework;
using DOI.Tests.TestHelpers;
using DOI.Tests.TestHelpers.Metadata.SystemMetadata;
using Models = DOI.Tests.Integration.Models... | 2.404083 | 7fd8c955138c736d07160fb0534e3183 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816679 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "arise-project/iso3",
"max_stars_repo_path": "AstGraphDbConnector/AstArangoDbConnector/SyntaxCollections/SyntaxDotAnonymousMethodExpressionSyntax.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135899"
} | starcoder | <filename>AstGraphDbConnector/AstArangoDbConnector/SyntaxCollections/SyntaxDotAnonymousMethodExpressionSyntax.cs
namespace AstArangoDbConnector.Syntax
{
public sealed class SyntaxDotAnonymousMethodExpressionSyntax : BaseSyntaxCollection
{
}
} | 1.256072 | 445181d5db9a953bfd8a21ac12c62f75 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816680 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Netension/nhibernate",
"max_stars_repo_path": "src/Netension.NHibernate.UnitTest/Prometheus/Listeneres/DeleteMetricsListenerTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135900"
} | starcoder | <gh_stars>0
using Microsoft.Extensions.Logging;
using Moq;
using Netension.Monitoring.Core.Diagnostics;
using Netension.Monitoring.Prometheus;
using Netension.NHibernate.Prometheus.Enumerations;
using Netension.NHibernate.Prometheus.Listeners;
using Netension.NHibernate.Prometheus.Services;
using NHibernate.Event;
usi... | 1.639602 | d3f9abcd7a2904c6d91652c4dcf4471b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816681 | {
"extension": "c-sharp",
"max_stars_count": "68.0",
"max_stars_repo_name": "LongNguyenP/DynaShape",
"max_stars_repo_path": "DynaSpace/SilentModeSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135901"
} | starcoder | <gh_stars>10-100
namespace DynaSpace
{
public class SilentModeSettings
{
public int MaxIterationCount;
public float TerminationThreshold;
public int SphereCollisionKickin;
public int PlanarConstraintKickin;
public int BoundaryKickin;
internal SilentModeSettings(... | 2.436836 | 8e7f31ad1c1931a3379c14b52622bc6b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816682 | {
"extension": "c-sharp",
"max_stars_count": "35.0",
"max_stars_repo_name": "Kukkimonsuta/Odachi",
"max_stars_repo_path": "src/Odachi.Gettext/Internal/ReadOnlyListSegment.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135902"
} | starcoder | <reponame>Kukkimonsuta/Odachi
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Odachi.Gettext.Internal
{
public struct ReadOnlyListSegment<T> : IReadOnlyList<T>
{
public ReadOnlyListSegment(IReadOnlyList<T> list, int offset, int l... | 2.800807 | 2ad418bed286189b7ab4aefc1036a7f9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816683 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "sendwithus/sendwithus_csharp",
"max_stars_repo_path": "Sendwithus/SendwithusClient/API/Helpers/SnippetDefinition.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135903"
} | starcoder | <filename>Sendwithus/SendwithusClient/API/Helpers/SnippetDefinition.cs<gh_stars>1-10
namespace Sendwithus
{
/// <summary>
/// sendwithus SnippetDefinition class
/// </summary>
public class SnippetDefinition
{
public string name { get; set; }
public string body { get; set; }
... | 2.551825 | a32310edcd5927000c74d98eb4497fce |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816684 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bkirpiev/TorrentWeb",
"max_stars_repo_path": "WebSite/Mvc/Views/AddTorrent/Upsert.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:135904"
} | starcoder | @using SitefinityWebApp.Mvc.Models
@model TorrentModel
<link href="~/Content/site.css" rel="stylesheet" />
<h1 class="border-bottom mb-3">Add Torrent- @((string)ViewBag.ImageId)</h1>
@using (Html.BeginForm("Upsert", "AddTorrent", FormMethod.Post, new { id = "UpsertUser", enctype = "multipart/form-data" }))
{
<d... | 2.219892 | 0e6415458591b0a522b3098ffe737732 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816685 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ZyshchykMaksim/aspnetcore-microservices.template.net",
"max_stars_repo_path": "src/Microservice.Common.Web/DataAnnotations/Base64FileSizeAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135905"
} | starcoder | using System;
using System.ComponentModel.DataAnnotations;
using System.Globalization;
namespace Microservice.Common.Web.DataAnnotations
{
/// <summary>
/// The class provides to validate the size of file encoded in base 64 string.
/// </summary>
public class Base64FileSizeAttribute : ValidationAttrib... | 3.14754 | 7f62082361a4fecd420fbc6aba1df6e4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816686 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mugstrasbourg/WindowsAppStudio.Convert.Xamarin",
"max_stars_repo_path": "src/WindowsAppStudio.Convert.Xamarin/ConvertResources.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135906"
} | starcoder | //------------------------------------------------------------------------------
// <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 regenerated.
// </auto-generated>
//--... | 1.95943 | 51e44481364989fe2f646e03127cc118 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816687 | {
"extension": "c-sharp",
"max_stars_count": "62.0",
"max_stars_repo_name": "MaryamMary/MetaMorpheus",
"max_stars_repo_path": "EngineLayer/PrecursorSearchModes/OpenMassDiffAcceptor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135907"
} | starcoder | using MzLibUtil;
using System;
using System.Collections.Generic;
namespace EngineLayer
{
public class OpenSearchMode : MassDiffAcceptor
{
public OpenSearchMode() : base("OpenSearch")
{
}
public override int Accepts(double scanPrecursorMass, double peptideMass)
{
... | 2.215741 | 2056715c613a4f189bfb5724afb7fb79 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816688 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ivansorokinf/EasyNetQ.Scheduler",
"max_stars_repo_path": "Source/EasyNetQ.ExternalScheduler/BusExtenstions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135908"
} | starcoder | <gh_stars>1-10
using EasyNetQ.DI;
using EasyNetQ.Scheduling;
namespace EasyNetQ
{
public static class ServiceRegisterExtensions
{
public static IServiceRegister EnableExternalScheduler(this IServiceRegister serviceRegister)
{
return serviceRegister.Register<IScheduler, ExternalSched... | 1.237614 | 003f0b75f1485ff9734bec8d6d38630b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816689 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "factset/enterprise-sdk",
"max_stars_repo_path": "code/dotnet/FactSetTermsandConditions/v1/src/FactSet.SDK.FactSetTermsandConditions/Model/NegativeCovenant.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135909"
} | starcoder | /*
* FactSet Terms & Conditions API
*
* The FactSet Terms & Conditions API exposes Terms & Conditions data for Fixed Income Corporate, Governement & Agency securities. The FactSet Corporate Government & Agency Terms & Conditions library provides descriptive data on the issue level, such as offering details, redempti... | 2.050482 | 7b766f7105af3ef19c679dfeb6389871 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816690 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jnoruzi/fastnt",
"max_stars_repo_path": "src/FasTnT.Model/Queries/PredefinedQueries/SimpleEventQuery.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135910"
} | starcoder | <reponame>jnoruzi/fastnt
using FasTnT.Model.Queries.PredefinedQueries.Parameters;
using System.Collections.Generic;
namespace FasTnT.Model.Queries.Implementations.PredefinedQueries
{
public class SimpleEventQuery : PredefinedQuery
{
public const string Name = "SimpleEventQuery";
public overri... | 1.39194 | c7581a13911501d2f12ac7f9a0a27576 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816691 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "Davidblkx/LiteDB",
"max_stars_repo_path": "LiteDB.Platform/LiteDB.Tests.Android/TestPlatform.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135911"
} | starcoder | using System;
using System.IO;
using LiteDB.Platform;
namespace LiteDB.Tests
{
public class TestBase
{
public TestBase()
{
LitePlatform.Initialize(new LitePlatformAndroid());
}
}
public class TestPlatform
{
public static string GetFullPath(string filena... | 1.983368 | 1a328acb9d42c7bdbb8930873f493cf8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816692 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "luisingsis27/charletzBook",
"max_stars_repo_path": "Libraries/Xamarin.FormsBook.Toolkit/Xamarin.FormsBook.Toolkit/UniformGridLayout.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135912"
} | starcoder | using System;
using Xamarin.Forms;
namespace Xamarin.FormsBook.Toolkit
{
public class UniformGridLayout : WrapLayout
{
public static readonly BindableProperty AspectRatioProperty =
BindableProperty.Create(
"AspectRatio",
typeof(AspectRatio),
t... | 2.867793 | 1a3d15680df4d3bc4d9173139340371c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816693 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "kevinbrunet/SkiaSharp.DiagramEngine",
"max_stars_repo_path": "DiagramEngine/Helpers/DeepPropertyChanged/DeepPropertyChangedEventArg.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135913"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace SynodeTechnologies.SkiaSharp.DiagramEngine.Helpers.DeepPropertyChanged
{
class DeepPropertyChangedEventArg
{
}
}
| 0.859713 | fa01073184547f6b408373b6bb29d4ce |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816694 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "hnasr/arcgis-pro-sdk-community-samples",
"max_stars_repo_path": "Map-Exploration/MagnifierWindow/Magnifier_MapTool.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135914"
} | starcoder | // Copyright 2016 Esri
// 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 w... | 1.77383 | 0a6d4fbfd35606e5dbdbe7ccf0c12d49 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816695 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "silknow/virtualLoom",
"max_stars_repo_path": "Assets/Scripts/YarnsEditorManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135915"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
using Michsky.UI.ModernUIPack;
using Newtonsoft.Json;
using UnityEngine;
public class YarnsEditorManager : MonoBehaviour
{
public CustomDropdown dropdown... | 2.121165 | 070a4fa231a0373b08bac033fe39f7cd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816696 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fale984/tarif-compare-vx",
"max_stars_repo_path": "TariffComparison.Tests/Core/Factory/MonthlyTariffCalculatorTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135916"
} | starcoder | using TariffComparison.Core.Factory;
using TariffComparison.Data.Models;
using Xunit;
namespace TariffComparison.Tests.Core.Factory
{
public class MonthlyTariffCalculatorTests
{
[Theory]
[InlineData(5, 0.22, 3500, 830)]
[InlineData(6, 0.25, 4500, 1197)]
[InlineData(7, 0.10, 600... | 2.702755 | 24087932016d89635a8ecafd40c95bc9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816697 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "drpepper/ApiDouDanse",
"max_stars_repo_path": "Assets/Game.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135917"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Game : MonoBehaviour {
APIdou apidou;
public AudioSource m_musicSource;
public AudioSource m_fxSource;
public Text m_stateText;
public AudioClip m_debout;
public AudioClip m_surLeDos;
public Au... | 2.034909 | 63f5b556020c7275b7fccfd9db352eac |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816698 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "e-manual-goldstein/NakedObjectsFramework",
"max_stars_repo_path": "Test/AdventureWorksFunctionalModel/Production - NF/WorkOrderRoutingFunctions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135918"
} | starcoder | <filename>Test/AdventureWorksFunctionalModel/Production - NF/WorkOrderRoutingFunctions.cs
using NakedFunctions;
using static AdventureWorksModel.Helpers;
using System;
namespace AdventureWorksModel
{
public static class WorkOrderRoutingFunctions
{
public static string ValidatePlannedCost(this WorkOrde... | 2.38211 | 630bbf4804c33b5d033e24fb0f4d4f05 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816699 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jbw/Podium",
"max_stars_repo_path": "src/Podium.UnitTests/GlickoCalculatorUnitTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135919"
} | starcoder | <reponame>jbw/Podium
using System;
using Xunit;
using Shouldly;
using System.Collections.Generic;
namespace Podium.UnitTests
{
public class GlickoCalculatorUnitTests
{
[Fact]
public void Calculates_Onset_Rating_Deviation()
{
// Given
float ratingDeviation = 60;... | 2.574062 | d8dad1698edd09f00812d18c98060223 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816700 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "headdetect/WebSharp",
"max_stars_repo_path": "WebSharp/Exceptions/HttpUnauthorizedException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135920"
} | starcoder | <reponame>headdetect/WebSharp
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WebSharp.Exceptions
{
public class HttpUnauthorizedException : HttpException
{
public override int StatusCode
{
get { return 4... | 1.954038 | ff5ebb578f5739e558093dc43572a089 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816701 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bing-framework/Bing.NetCode",
"max_stars_repo_path": "framework/src/Bing.EventBus/Bing/EventBus/Local/LocalEventMessage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135921"
} | starcoder | using System;
namespace Bing.EventBus.Local
{
/// <summary>
/// 本地事件消息
/// </summary>
public class LocalEventMessage
{
/// <summary>
/// 事件标识
/// </summary>
public string EventId { get; }
/// <summary>
/// 事件数据
/// </summary>
public ... | 2.751894 | 85b19ec49138decae4c5db0f5365e84e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816702 | {
"extension": "c-sharp",
"max_stars_count": "73.0",
"max_stars_repo_name": "CXuesong/LanguageServer.NET",
"max_stars_repo_path": "LanguageServer.VsCode/Contracts/CodeLens.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135922"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace LanguageServer.VsCode.Contracts
{
/// <summary>
/// Contains additional diagnostic information about the context in which
/// a code action is run.
/// </summary>
[JsonOb... | 2.39041 | f2cfff036475a9d449420ba2f484130b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816703 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mjeanrichard/silverback",
"max_stars_repo_path": "src/Silverback.Integration.Kafka/Messaging/KafkaEvents/Statistics/TopicStatistics.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135923"
} | starcoder | <gh_stars>0
// Copyright (c) 2020 <NAME>
// This code is licensed under MIT license (see LICENSE file for details)
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Text.Json.Serialization;
#pragma warning disable 1591 // Will maybe document later
namespace Silverback.Messaging.K... | 1.383396 | c7bb2cb250f44e2736a7524f2584bdeb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816704 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "sucrose0413/nextcloud_net",
"max_stars_repo_path": "publicApi/OCP/AppFramework/Db/IMapperException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135924"
} | starcoder | namespace OCP.AppFramework.Db
{
/**
* @since 16.0.0
*/
public interface IMapperException {}
} | 1.402624 | 05ca57f349ece5a9b72448c9d9d333d5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816705 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SyntSky/GoodGame",
"max_stars_repo_path": "SyntSky.GoodGame.Api.V4/Dto/Streams/GameDto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135925"
} | starcoder | <gh_stars>0
using System.Text.Json.Serialization;
using SyntSky.GoodGame.Api.V4.Emums;
namespace SyntSky.GoodGame.Api.V4.Dto.Streams;
public class GameDto
{
[JsonPropertyName("id")]
public int Id { get; set; }
[JsonPropertyName("title")]
public string Title { get; set; } = null!;
[JsonPropertyName("url")]
pu... | 1.474793 | 2404d1087ae4d95f4dc060650be0b5d7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816706 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "rdj/ACT.Hojoring",
"max_stars_repo_path": "source/ACT.Hojoring.Updater/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135926"
} | starcoder | using System;
using System.IO;
using System.Linq;
using System.Net;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
using Octokit;
namespace ACT.Hojoring.Updater
{
public static class Program
{
static Program()
{
AssemblyResolver.Inst... | 2.44358 | a89e7fffd7a6d041b2a4bf22614d44f0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816707 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Proxyer/TinyTweaks",
"max_stars_repo_path": "Source/TinyTweaks/Reflection/NonPublicFields.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135927"
} | starcoder | <filename>Source/TinyTweaks/Reflection/NonPublicFields.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
using UnityEngine;
using Verse;
using Verse.Sound;
using RimWorld;
using RimWorld.Planet;
namespace TinyTweaks
{
public static class ReflectedFi... | 1.411284 | e75f193c286b9366ca8212ffbea720a4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816708 | {
"extension": "c-sharp",
"max_stars_count": "134.0",
"max_stars_repo_name": "SCToolsfactory/SCJMapper-V2",
"max_stars_repo_path": "SC/SCfiles.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135928"
} | starcoder | <filename>SC/SCfiles.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Formatters.Binary;
using SCJMapper_V2.CryXMLlib;
using SCJMapper_V2.p4kFile;
using static S... | 2.169098 | cfb51abe503f6c95ac5d43db514d29ca |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816709 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CorvinusCollective/WPF",
"max_stars_repo_path": "src/Corvinus.WPF.Common/src/Corvinus/WPF/Common/Controls/RelativeAnimatingContentControl.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135929"
} | starcoder | <gh_stars>0
// <copyright file="RelativeAnimatingContentControl.cs" company="Corvinus Collective">
// Copyright (c) Corvinus Collective. All rights reserved.
// </copyright>
namespace Corvinus.WPF.Common.Controls
{
using System.Collections.Generic;
using System.Windows;
using System.Windows.Controls;
... | 2.484442 | 5db40a2f227966e64171d41e876ac2b5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816710 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "soma-cxpo/scripts",
"max_stars_repo_path": "src/ScriptCs.Core/Properties/AssemblyInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135930"
} | starcoder | using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: InternalsVisibleTo("ScriptCs.Core.Tests")]
[assembly: InternalsVisibleTo("ScriptCs.Engine.Roslyn.Tests")]
| 0.860356 | 9c5affab3fd09fa263a3a34ef635f681 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816711 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rexsacrorum/Hg.Net",
"max_stars_repo_path": "src/Mercurial.Net/Gui/InitGuiCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135931"
} | starcoder | <gh_stars>0
namespace Mercurial.Net.Gui
{
/// <summary>
/// Implements the TortoiseHg "init" command (<see href="http://tortoisehg.bitbucket.org/manual/2.0/init.html#from-command-line"/>):
/// Initialize a new repository.
/// </summary>
public sealed class InitGuiCommand : GuiCommandBase<InitGuiComm... | 2.11298 | ec579f93cc49a395284bbbf2a26c96d9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816712 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JoshuaBurchat/YourConfigurationIsInAnotherCastle",
"max_stars_repo_path": "YourConfigIsInAnotherCastle.Example.Mvc/Models/Configuration/ContactDetails.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135932"
} | starcoder | <reponame>JoshuaBurchat/YourConfigurationIsInAnotherCastle
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Web;
namespace YourConfigIsInAnotherCastle.Example.Mvc.Models
{
public class ContactDetails : ConfigurationSection, IContactDetails
{
p... | 2.682138 | ecd2ab5a33eb1cb07160b04a6f107b47 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816713 | {
"extension": "c-sharp",
"max_stars_count": "1870.0",
"max_stars_repo_name": "arafuls/FluentFTP",
"max_stars_repo_path": "FluentFTP/Servers/Handlers/IbmZosFtpServer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135933"
} | starcoder | <gh_stars>1000+
using System;
using System.Text.RegularExpressions;
using System.Collections.Generic;
using System.Security.Authentication;
using FluentFTP;
using FluentFTP.Servers;
#if (CORE || NETFX)
using System.Threading;
#endif
#if ASYNC
using System.Threading.Tasks;
#endif
namespace FluentFTP.Servers.Handlers {... | 2.400588 | 924cce364bd7d3b62510c09b07067a8f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816714 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VontineDev/repos",
"max_stars_repo_path": "CSharp/Character/App.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135934"
} | starcoder | <reponame>VontineDev/repos
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Character
{
public class App
{
public App()
{
var character1 = new Character("아쳐");
var bow1 = new Bow("어둠활");
... | 2.393577 | 4d54b5fa7014851bd93d6a29e7c12003 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816715 | {
"extension": "c-sharp",
"max_stars_count": "169.0",
"max_stars_repo_name": "sapiens/SqlFu",
"max_stars_repo_path": "src/SqlFu/Builders/Crud/SimpleSqlBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135935"
} | starcoder | using System;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using CavemanTools.Model;
using SqlFu.Builders.Expressions;
using SqlFu.Configuration;
using SqlFu.Configuration.Internals;
using SqlFu.Providers;
namespace SqlFu.Builders.Crud
{
public class SimpleSqlBuilder<T>:IWhere<T>,IConnectWh... | 2.422784 | 830f931a14d8174f9af151f05d483376 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816716 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Xangis/HexStringVisualizer",
"max_stars_repo_path": "skmVisualizers/ServerVariables/VisualizerForm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135936"
} | starcoder | using System;
using System.IO;
using System.Collections.Specialized;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace HexStringVisualizer
{
public partial class VisualizerForm : Form
{
... | 3.063364 | ba158be84421b04e2e03b22c512dcb9e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816717 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ShinyTeeth/One-Vote",
"max_stars_repo_path": "src/onevote/Repositories/ICandidateRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135937"
} | starcoder | <filename>src/onevote/Repositories/ICandidateRepository.cs
using System.Collections.Generic;
using onevote.Models;
namespace onevote.Repositories
{
public interface ICandidateRepository
{
Candidate GetByID(int id);
}
} | 1.799757 | 962e590664606cc09c829d3fedcbc7b3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.