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 | 8815618 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "harithakusal/Patient-clinical-information-system",
"max_stars_repo_path": "Patient clinical information system/search.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134838"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Data.SqlClient;
namespace Patient_clinical_information_system
{
public partial class se... | 2.230452 | aa133c034a85ba08f48b85444717fd3d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815619 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "deadlysmiletm/ADayWithArcueid",
"max_stars_repo_path": "Assets/Scripts/ExtraUtilities.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134839"
} | starcoder | <filename>Assets/Scripts/ExtraUtilities.cs<gh_stars>0
using UnityEngine;
using ParadoxEngine.Utilities.Parameters;
using UnityEngine.SceneManagement;
using System;
public class ExtraUtilities : MonoBehaviour
{
public Animator doorAnimator;
private int _indexHash;
public void ExitGame() => Application.Qu... | 2.082359 | 3ec4c18723dcd69aba0d6f38eca4573c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815620 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JTOne123/EthereumApiDotNetCore",
"max_stars_repo_path": "src/Lykke.Service.EthereumCore.Core/Repositories/IUserTransferWalletRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134840"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
using System.Threading.Tasks;
namespace Lykke.Service.EthereumCore.Core.Repositories
{
public interface IUserTransferWallet
{
string UserAddress { get; }
string TransferContractAddress { get; }
Da... | 1.989736 | 26eeffc63c9fd0c99747ed7ec5c82642 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815621 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "simonferquel/simcim",
"max_stars_repo_path": "SimCim.Root.Virtualization.V2/ClassMsvmS3DisplayController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134841"
} | starcoder | using Microsoft.Management.Infrastructure;
using System;
using System.Collections.Generic;
using System.Linq;
using SimCim.Core;
namespace SimCim.Root.Virtualization.V2
{
public class MsvmS3DisplayController : CIMDisplayController
{
public MsvmS3DisplayController()
{
}
... | 1.303142 | bbbbfcb5fe0c2c1e8ad41325d924a19b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815622 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Juijote/ONIMods-3",
"max_stars_repo_path": "src/VaricolouredBalloons/STRINGS.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134842"
} | starcoder | <gh_stars>0
using STRINGS;
using SanchozzONIMods.Lib;
namespace VaricolouredBalloons
{
public class STRINGS
{
private const string HASBALLOON = "{HASBALLOON}";
public class OPTIONS
{
public class DESTROYFXAFTEREFFECTEXPIRED
{
public static LocSt... | 1.838951 | 2529386b4b958ea593d4ed746527e7af |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815623 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "moauris/MomiQuestions",
"max_stars_repo_path": "Pages/Questions.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:134843"
} | starcoder | <gh_stars>0
@page
@model MomiQuestions.Pages.QuestionSetModel
<div class="jumbotron">
<h1 class="display-3">@ViewData["QuestionSet"]</h1>
@foreach (var quest in Model.Questions)
{
<div class="container" id="contain_@quest.id">
<h2 class="display-2">@ViewData["Question"] <strong>@quest.id... | 2.297981 | 5a20fa648206b5f735a75aa26b12bf8c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815624 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kanwalgupta/jag-traffic-courts-online",
"max_stars_repo_path": "src/backend/TrafficCourtsApi/citizen-api-test/Features/Disputes/Commands/CreateDisputeCommandHandlerTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134844"
} | starcoder | <gh_stars>0
using AutoMapper;
using Gov.CitizenApi.Features.Disputes;
using Gov.CitizenApi.Features.Disputes.Commands;
using Gov.CitizenApi.Messaging.Configuration;
using Gov.CitizenApi.Test.Utils;
using MassTransit;
using Microsoft.Extensions.Logging;
using Moq;
using System.Diagnostics.CodeAnalysis;
using System.Thr... | 1.662783 | dca428f28843fb2b12337c989bac7ed9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815625 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "linal/FitFilePreviewer",
"max_stars_repo_path": "FitFilePreviewer.Decode/Fit/Types/File.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134845"
} | starcoder | #region Copyright
////////////////////////////////////////////////////////////////////////////////
// The following FIT Protocol software provided may be used with FIT protocol
// devices only and remains the copyrighted property of Dynastream Innovations Inc.
// The software is being provided on an "as-is" basis and a... | 1.768147 | 491fa09fc2ab119c1510fc488f8652b0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815626 | {
"extension": "c-sharp",
"max_stars_count": "46.0",
"max_stars_repo_name": "mauroservienti/designing-a-ui-for-microservices-demos",
"max_stars_repo_path": "ASP.Net Core API Gateway - 02/Sales.ViewModelComposition/AvailableProductsLoadedSubscriber.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134846"
} | starcoder | <reponame>mauroservienti/designing-a-ui-for-microservices-demos
using JsonUtils;
using Catalog.ViewModelComposition.Events;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Routing;
using ServiceComposer.AspNetCore;
using System;
using System.Net.Http;
using Microsoft.AspNetCore.Mvc;
namespace Sales.ViewMo... | 2.214718 | 6fd579a29d68c36a521e4dc47d010fa7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815627 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Speckoz/BukkitDev-Desktop",
"max_stars_repo_path": "Speckoz.BukkitDev/BukkitDev.Desktop/_dep/PegarInfos.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134847"
} | starcoder | <gh_stars>1-10
namespace Speckoz.BukkitDev._dep
{
/// <summary>
/// Contem informaçoes de configuraçao do software.
/// </summary>
internal static class PegarInfos
{
//======================= Propriedades =======================
/// <summary>
/// Nome do programa Default 'Bu... | 2.356465 | 9070cf81fb61642dfa43a1719acf27c8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815628 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "jreina/new-csharp-features",
"max_stars_repo_path": "c-sharp-7.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134848"
} | starcoder | <filename>c-sharp-7.cs<gh_stars>1-10
using System;
using System.Linq;
using System.Collections.Generic;
using static System.Console;
using System.Collections.Concurrent;
namespace new_csharp_features
{
public class tuples
{
static void OldWay()
{
var pair = Tuple.Create(0, 1);
... | 3.383604 | 21b2d2e1bd02dfaead7892d3cdb43423 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815629 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Gaussian88/Unity3D_Projects",
"max_stars_repo_path": "SpaceShooter/Assets/Scripts/FollowCamera.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134849"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FollowCamera : MonoBehaviour
{
[SerializeField]
private Transform target;
[SerializeField]
private float height=5f;
[SerializeField]
private float distance = 7f;
[SerializeField]
private float m... | 2.371959 | 8f1cebda26b8443d832a9d971990cf2c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815630 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ccrngd1/LoggingLibrary",
"max_stars_repo_path": "backend/objects/DTOs/LogService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134850"
} | starcoder | using System;
using System.Security.Cryptography;
using System.Text;
namespace BaseLogging.Objects
{
public class LogService
{
private string _serviceHash;
public string ServiceHash
{
get
{
//if the backing field isn't set yet
/... | 2.879135 | 18b6fd284cbe89b881b66c520a97c39a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815631 | {
"extension": "c-sharp",
"max_stars_count": "28.0",
"max_stars_repo_name": "NikolaTotev/Learning-Unity",
"max_stars_repo_path": "Learning/Assets/AmplifyShaderEditor/Plugins/Editor/Native/FallbackInt.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134851"
} | starcoder | // Amplify Shader Editor - Visual Shader Editing Tool
// Copyright (c) Amplify Creations, Lda <<EMAIL>>
using System;
using UnityEngine;
namespace AmplifyShaderEditor
{
[Serializable]
public class FallbackInt : IFallbackVars
{
[SerializeField]
private int m_current;
[SerializeField]
private int m_previous;... | 2.504577 | 3bf6ae12053b4dce1272970e97d18513 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815632 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "CCludts/EntitasCSharpClone",
"max_stars_repo_path": "Tests/Tests/Tests/Entitas/Extensions/describe_SystemStringExtension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134852"
} | starcoder | <reponame>CCludts/EntitasCSharpClone<gh_stars>1-10
using Entitas;
using NSpec;
class describe_ : nspec {
const string SYSTEM_SUFFIX = "System";
void when_entity() {
context["when adding SystemSuffix"] = () => {
it["doesn't add system suffix to string ending with SystemSuffix"] = () => ... | 2.633933 | b10a7152b53e9047f456ffb3c2c0b5b1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815633 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DFihnn/dotnetrdf",
"max_stars_repo_path": "Testing/unittest/Storage/FusekiTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134853"
} | starcoder | /*
dotNetRDF is free and open source software licensed under the MIT License
-----------------------------------------------------------------------------
Copyright (c) 2009-2012 dotNetRDF Project (<EMAIL>)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and asso... | 2.015433 | 3ddaa135de9a076436eb9c310c0bad0a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815634 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CloudHub360/waives.net",
"max_stars_repo_path": "samples/BlobStorageProcessor/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134854"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using DocoptNet;
using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Blob;
using Waives.Pipelines;
namespace BlobStorageProcessor
{
public static class Program
{
pri... | 2.734734 | 7ce65a238d9bdaf1ca6825cf0c8c3425 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815635 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "diogodanielsoaresferreira/Condominium",
"max_stars_repo_path": "Condominium_Manager/Condominium_Manager/ValueConverters/ColorValueConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134855"
} | starcoder | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media;
namespace Condominium_Manager
{
public class ColorValueConverter : BaseValueConverter<ColorValueConverter>
{
public override objec... | 2.782058 | 966c822943cbbbb552eb35bccd72f631 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815636 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ThatCSharpGuy/app",
"max_stars_repo_path": "ThatCSharpGuy.Data/Constants.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134856"
} | starcoder | <reponame>ThatCSharpGuy/app
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ThatCSharpGuy.Data
{
public struct Constants
{
public const int PageSize = 15;
}
}
| 1.411893 | 55a68b8f1e44dcb18d9674ee27eaf9fc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815637 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "cuiwenyuan/DotNet.Util",
"max_stars_repo_path": "src/DotNet.IService/IDepartmentService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134857"
} | starcoder | //-----------------------------------------------------------------
// All Rights Reserved. Copyright (C) 2021, DotNet.
//-----------------------------------------------------------------
using System.Collections.Generic;
using System.Data;
namespace DotNet.IService
{
using Model;
using Util;
/// <... | 2.155574 | 90099ebcc6db12bc019735b458c7b1ec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815638 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "logan1977/vc-community",
"max_stars_repo_path": "PLATFORM/Modules/Store/VirtoCommerce.StoreModule.Web/Module.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134858"
} | starcoder | <filename>PLATFORM/Modules/Store/VirtoCommerce.StoreModule.Web/Module.cs
using System;
using Microsoft.Practices.Unity;
using VirtoCommerce.Domain.Store.Services;
using VirtoCommerce.Platform.Core.ExportImport;
using VirtoCommerce.Platform.Core.Modularity;
using VirtoCommerce.Platform.Core.Notifications;
using VirtoCo... | 1.745914 | ab9f546beedc42749e1766a19e0049eb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815639 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "manish1604/azure-sdk-for-net",
"max_stars_repo_path": "sdk/search/Azure.Search/src/Generated/Models/ListDataSourcesResult.Serialization.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134859"
} | starcoder | <reponame>manish1604/azure-sdk-for-net
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Text.Json;
using Azure.Core;
namespace Azure.Search.Models
{
internal partial class ListDataSourcesResult
{
inter... | 1.518581 | 18304cb2aa3ead47232e89758a392d46 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815640 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "RWE-Nexus/EnergyTrading-MDM-Sample",
"max_stars_repo_path": "Code/Service/MDM.Core.Sample/LegalEntityDetails.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134860"
} | starcoder | <gh_stars>1-10
namespace EnergyTrading.MDM
{
public class LegalEntityDetails : PartyRoleDetails
{
public string Address { get; set; }
public string CountryOfIncorporation { get; set; }
public string CustomerAddress { get; set; }
public string Email { get; set; }
publi... | 1.492457 | c4edf3a7d29250f8bb664b4dc3a1c085 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815641 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JeffKryzer/testcentric-gui",
"max_stars_repo_path": "src/Common/testcentric.common/Logger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134861"
} | starcoder | <reponame>JeffKryzer/testcentric-gui
// ***********************************************************************
// Copyright (c) 2018 <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 Softw... | 2.091973 | d8eb341a7746d940c71c3dd3b76dbe2e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815642 | {
"extension": "c-sharp",
"max_stars_count": "6717.0",
"max_stars_repo_name": "crossmob/WinObjC",
"max_stars_repo_path": "tools/xib2xaml/xamltools/XamlDom/XamlDomServices.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134862"
} | starcoder | // ******************************************************************************
//
// Copyright (c) 2016 Microsoft Corporation. All rights reserved.
//
// This code is licensed under the MIT License (MIT).
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING B... | 2.205206 | 8929fad2fe204d2c778418fd1ba2b316 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815643 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "thebevrishot/test-ztm",
"max_stars_repo_path": "src/Ztm.Zcoin.Watching/ITransactionConfirmationWatcherHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134863"
} | starcoder | using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using NBitcoin;
namespace Ztm.Zcoin.Watching
{
public interface ITransactionConfirmationWatcherHandler<TContext> :
IConfirmationWatcherHandler<TContext, TransactionWatch<TContext>, TransactionWatch<TContext>>
{
... | 1.523758 | fd16f623c4c27b1d05d5a1fb7f1d5d5b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815644 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Alxandr/KRuntime",
"max_stars_repo_path": "test/Microsoft.Framework.ApplicationHost.FunctionalTests/KCommandTestUtils.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134864"
} | starcoder | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Microsoft.Framework.FunctionalTestUtils;
using Microsoft.Fr... | 1.954075 | a82dac0d746a274e40de51c0fe7258ec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815645 | {
"extension": "c-sharp",
"max_stars_count": "1854.0",
"max_stars_repo_name": "gvvynplaine/ProceduralToolkit",
"max_stars_repo_path": "Runtime/Buildings/VerticalLayout.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134865"
} | starcoder | <reponame>gvvynplaine/ProceduralToolkit<filename>Runtime/Buildings/VerticalLayout.cs
using UnityEngine;
namespace ProceduralToolkit.Buildings
{
public class VerticalLayout : Layout
{
public override void Add(ILayoutElement element)
{
base.Add(element);
element.origin = V... | 2.115245 | 79e65119676969a9dd34632ac74d08e5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815646 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dmitrijsavickij/playground-microservices",
"max_stars_repo_path": "core/services/service-discovery/Unicorn.Core.Services.ServiceDiscovery.DataAccess/DatabaseExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134866"
} | starcoder | using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
namespace Unicorn.Core.Services.ServiceDiscovery.DataAccess;
public static class DatabaseExtensions
{
public static void AddDatabase(this IServiceCollection services, string connectionSt... | 1.973704 | fbdb2e1b53b5d8965738fa43d28b5806 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815647 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zHaytam/InstanciateBenchmarks",
"max_stars_repo_path": "Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134867"
} | starcoder | <reponame>zHaytam/InstanciateBenchmarks
using BenchmarkDotNet.Running;
using System;
using System.Linq.Expressions;
namespace InstanciateBenchmarks
{
class Program
{
static void Main(string[] args)
{
var summary = BenchmarkRunner.Run<Benchmarks>();
//var _type = typeo... | 1.731667 | f1c50f14363d536765886b44f85a5bb5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815648 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kmranrg/C_Sharp-School",
"max_stars_repo_path": "12_BreakContinue/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134868"
} | starcoder | <reponame>kmranrg/C_Sharp-School
using System;
namespace _12_BreakContinue
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("BREAK/CONTINUE\n");
Console.WriteLine("\nExample: break keyword");
// break : can be used to exit ou... | 3.440283 | 886e5e7fbd0ddbed5bb2e76fd5c95c90 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815649 | {
"extension": "c-sharp",
"max_stars_count": "24.0",
"max_stars_repo_name": "codechem/mobcat",
"max_stars_repo_path": "mobcat_shared/MobCAT.Forms/Converters/ListViewItemSelectedValueConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134869"
} | starcoder | using System;
using System.Globalization;
using Xamarin.Forms;
namespace Microsoft.MobCAT.Forms.Converters
{
public class ListViewSelectedItemValueConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
SelectedIte... | 2.184965 | bb4fda6b2525c0171185b7c348e54827 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815650 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "User972/Surveys",
"max_stars_repo_path": "Comp.Survey.Core/Entities/SurveyQuestion.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134870"
} | starcoder | using System;
using System.Collections.Generic;
namespace Comp.Survey.Core.Entities
{
public class SurveyQuestion : EntityBase
{
public string CreatedBy { get; set; }
public string CreatedDateTime { get; set; }
public string Title { get; set; }
public string SubTitle { get; set... | 1.739765 | 8f100ba3064d7021cc56cfceccc3dda2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815651 | {
"extension": "c-sharp",
"max_stars_count": "28.0",
"max_stars_repo_name": "gauffininteractive/SharpMessaging",
"max_stars_repo_path": "src/lib/SharpMessaging/Frames/FrameFlags.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134871"
} | starcoder | using System;
namespace SharpMessaging.Frames
{
[Flags]
public enum FrameFlags : byte
{
None = 0,
CommandFrame = 1,
ExtensionFrame = 2,
ErrorFrame = 4,
LargeFrame = 8,
Continued = 16
}
} | 1.860479 | 1fe2cea6f74061c6dd19ac66915a2992 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815652 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "philasmar/aws-dotnet-deploy",
"max_stars_repo_path": "src/AWS.Deploy.CLI/ServerMode/Models/RecommendationSummary.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134872"
} | starcoder | <gh_stars>1-10
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Collections.Generic;
using System.Text;
namespace AWS.Deploy.CLI.ServerMode.Models
{
public class RecommendationSummary
{
public string RecipeId { get;... | 1.573477 | 241a3cf73de9b4bd72ff6395b135d3f4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815653 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BlauhausTechnology/Blauhaus.DeviceServices",
"max_stars_repo_path": "src/Blauhaus.DeviceServices.TestHelpers/MockBuilders/DeviceInfoServiceMockBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134873"
} | starcoder | using System;
using Blauhaus.Common.ValueObjects.DeviceType;
using Blauhaus.Common.ValueObjects.RuntimePlatforms;
using Blauhaus.DeviceServices.Abstractions.DeviceInfo;
using Blauhaus.TestHelpers.MockBuilders;
namespace Blauhaus.DeviceServices.TestHelpers.MockBuilders
{
public class DeviceInfoServiceMockBuilder :... | 2.100306 | 74475fa5c19e7806bdc3d8ea69286fd2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815654 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "aranasoft/cobweb",
"max_stars_repo_path": "src/entityframeworkcore/src/entityframeworkcore3.validation/SchemaComparison.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134874"
} | starcoder | using System.Linq;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Scaffolding.Metadata;
namespace Aranasoft.Cobweb.EntityFrameworkCore.Validation {
internal static class SchemaComparison {
public static bool TableExists(this DatabaseMo... | 2.396948 | 7ee64360c84c5debe0262acd3384408f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815655 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AllenHongjun/ddu",
"max_stars_repo_path": "TigerAdminZero/5.8.1/aspnet-core/src/TigerAdmin.Web.Host/Startup/TigerAdminWebHostModule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134875"
} | starcoder | <reponame>AllenHongjun/ddu
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Abp.Modules;
using Abp.Reflection.Extensions;
using TigerAdmin.Configuration;
namespace TigerAdmin.Web.Host.Startup
{
[DependsOn(
typeof(TigerAdminWebCoreModule))]
public class TigerAdminWebHo... | 1.579109 | 12defc18ce9869b185f7320162822023 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815656 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KamenPetrovv/Blog-Practice",
"max_stars_repo_path": "Blog/Blog.Models/Class1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134876"
} | starcoder | <reponame>KamenPetrovv/Blog-Practice
using System;
namespace Blog.Models
{
public class Class1
{
}
}
| 1.018559 | eda7a1b9bb8b83fc8b46c77c6035a83c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815657 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "smolen89/DefaultEcs",
"max_stars_repo_path": "source/Sample/DefaultBrick/System/BallToBarSystem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134877"
} | starcoder | <reponame>smolen89/DefaultEcs<gh_stars>0
using DefaultBrick.Component;
using DefaultEcs;
using DefaultEcs.System;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Input;
namespace DefaultBrick.System
{
public sealed class BallToBarSystem : AEntitySystem<float>
{
private readonly GameWindow... | 2.381934 | 7a282730ca65e901eb7eb07c6a42d8d4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815658 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "jeremybytes/di-dotnet-workshop",
"max_stars_repo_path": "MainDemo-Basics/PersonReader.CSV.Tests/FakeFileLoader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134878"
} | starcoder | <reponame>jeremybytes/di-dotnet-workshop<gh_stars>1-10
using PersonReader.CSV;
namespace PersonReader.CSV.Tests
{
public class FakeFileLoader : ICSVFileLoader
{
private string dataType;
public FakeFileLoader(string dataType)
{
this.dataType = dataType;
}
p... | 2.786099 | e972c0b5d7954299370a8965a5104c36 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815659 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "AxiverseCode/wiki",
"max_stars_repo_path": "Source/Libraries/Axiverse.Interface2/Network/RoutingInterface.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134879"
} | starcoder | using System;
using System.Collections.Generic;
using System.Collections.Concurrent;
using System.Linq;
using System.Net.Sockets;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Net;
namespace Axiverse.Interface2.Network
{
/// <summary>
///
/// </summary>
/// <re... | 2.754092 | 56a1fe29e283a2a3cf57a28507986a58 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815660 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "itsbijay/jewelinventory",
"max_stars_repo_path": "JewelInventory/JewelInventory/frmFirmMaster.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134880"
} | starcoder | <reponame>itsbijay/jewelinventory
namespace JewelInventory
{
partial class frmFirmMaster
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="dis... | 1.556253 | e8a526a068af0c0c0e4a3db26eeda477 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815661 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bogatovse/jeeves",
"max_stars_repo_path": "Jeeves.Server.UnitTests/Workflows/WorkflowStagesTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134881"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using Bogus;
using FakeItEasy;
using FluentAssertions;
using Jeeves.Server.Challenges;
using Jeeves.Server.Challenges.Steps;
using Jeeves.Server.UnitTests.Extensions;
using NUnit.Framework;
namespace Jeeves.Server.UnitTests.Workflows
{
public class... | 2.511611 | 89508ee0efc3c4acbbf9a22ad20ba37e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815662 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dudemcbacon/sp-tarkov",
"max_stars_repo_path": "project/SPTarkov.SinglePlayer/Patches/RaidFix/OnDeadPatch.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134882"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Reflection.Emit;
using UnityEngine;
using HarmonyLib;
using EFT;
using SPTarkov.Common.Utils.Patching;
using SPTarkov.SinglePlayer.Utils;
using SPTarkov.SinglePlayer.Utils.Reflection.CodeWrapper;
namespace SPTarkov.SinglePlayer... | 2.145845 | 77265149d8e3a5d47a58172f61104942 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815663 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "desitynikolova/ExcelAPIProject",
"max_stars_repo_path": "Services/ViewModels/TransferViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134883"
} | starcoder | using CsvHelper.Configuration.Attributes;
using Services.Common;
using System;
using System.ComponentModel.DataAnnotations;
namespace Services.ViewModels
{
public class TransferViewModel
{
[Name("Region")]
[StringLength(Const.MAX_REGION_NAME_CHARS)]
public string RegionName { get; set; ... | 2.11557 | 4bc0d4c8299895e8582071ef5bebc692 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815664 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "negri/wotclans",
"max_stars_repo_path": "WoTStat/WgApi/Nation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134884"
} | starcoder | <filename>WoTStat/WgApi/Nation.cs
using System.ComponentModel;
namespace Negri.Wot.WgApi
{
public enum Nation
{
[Description("Unknown")]
Unknown = 0,
[Description("U.S.A.")]
Usa = 1,
[Description("France")]
France = 2,
[Description("U.S.S.R")]
... | 2.356365 | 5a2b21d6b85840de5caed640488c4c0f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815665 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "konakonall/qcloud-sdk-dotnet",
"max_stars_repo_path": "QCloudCSharpSDK/COSXML/Model/Object/GetObjectACLRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134885"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using COSXML.Common;
namespace COSXML.Model.Object
{
/// <summary>
/// 获取某个存储桶下的某个对象的访问权限
/// <see cref="https://cloud.tencent.com/document/product/436/7744"/>
/// </summary>
public sealed class GetObjectACLRequest : ObjectRequest
... | 2.209786 | a616e51566909adfe99287a9cfb3ccb5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815666 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vip32/dark-sky-core",
"max_stars_repo_path": "src/Services/DarkSkyEnumJsonConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134886"
} | starcoder | <gh_stars>0
namespace DarkSky.Services
{
using System;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
/// <summary>
/// <see cref="JsonConverter"/> for handling Dark Sky enum codes.
/// </summary>
public class DarkSkyEnumJsonConverter : StringEnumConverter
{
/// <summary>
/// Deserialize the val... | 2.676492 | 611257ac90a03e3f1136759973eca9e1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815667 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "vaughanb/UnityMultiplayerARPG_LootBag",
"max_stars_repo_path": "Scripts/IServerStorageMessageHandlers_LootBag.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134887"
} | starcoder | <filename>Scripts/IServerStorageMessageHandlers_LootBag.cs<gh_stars>1-10
using Cysharp.Threading.Tasks;
using LiteNetLibManager;
namespace MultiplayerARPG
{
public partial interface IServerStorageMessageHandlers
{
/// <summary>
/// Handles requests to move all items from storage to player.
... | 1.923141 | cf695b4a3fbc5798c2bacd7ba628a172 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815668 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AyratVV/invest-openapi-csharp-sdk",
"max_stars_repo_path": "src/Tinkoff.Trading.OpenApi/Models/MarketInstrumentList.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134888"
} | starcoder | <gh_stars>0
using System.Collections.Generic;
using Newtonsoft.Json;
namespace Tinkoff.Trading.OpenApi.Models
{
public class MarketInstrumentList
{
public int Total { get; }
public List<MarketInstrument> Instruments { get; }
[JsonConstructor]
public MarketInstrumentList(int tot... | 1.79877 | 2bf803ef596c6ef9bf667f02dc68c8cc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815669 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jieunkang-101/LibraryCatalog.Soluton",
"max_stars_repo_path": "LibraryCatalog/Views/Books/AddAuthor.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:134889"
} | starcoder | @{
Layout = "_Layout";
}
@model LibraryCatalog.Models.Book
<h2>Add a author</h2>
<h4>Add a author to this book: @Html.DisplayFor(model => model.Title)</h4>
@using (Html.BeginForm())
{
@Html.HiddenFor(model => model.BookId)
@Html.Label("Select Author")
@Html.DropDownList("AuthorId")
<input type="submit" ... | 2.193103 | 4973f222bdb459f84593589e0ef1d83b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815670 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "quanljh/WPF",
"max_stars_repo_path": "src/Quan.Word.Web.Server/Data/ApplicationUser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134890"
} | starcoder | using Microsoft.AspNetCore.Identity;
namespace Quan.Word.Web.Server
{
/// <summary>
/// The user data and profile for our application
/// </summary>
public class ApplicationUser : IdentityUser
{
#region Public Properties
/// <summary>
/// The users first name
/// <... | 2.18994 | b763fe2a42a43e6987f5684798c11724 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815671 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "unsafePtr/TestSystem",
"max_stars_repo_path": "examples/IdentityExample/IdentityExample.DbAccess/CommonDbContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134891"
} | starcoder | using System.Data.Entity;
using TestSystem.DbAccess.Context;
using TestSystem.DbAccess.Entities;
using System.Data.Entity.ModelConfiguration.Conventions;
using IdnetityExample.DbAccess.Entities;
using Microsoft.AspNet.Identity.EntityFramework;
namespace IdnetityExample.DbAccess
{
/// <summary>
/// will be use... | 2.035035 | d339ebcdb079087fa42abb45df19ea37 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815672 | {
"extension": "c-sharp",
"max_stars_count": "310.0",
"max_stars_repo_name": "Monaqo/accountgo",
"max_stars_repo_path": "src/Dto/Inventory/Item.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134892"
} | starcoder | <filename>src/Dto/Inventory/Item.cs
using System.ComponentModel.DataAnnotations;
namespace Dto.Inventory
{
public class Item : BaseDto
{
public string No { get; set; }
[Required]
public string Code { get; set; }
[Required]
public string Description { get; set; }
... | 2.106676 | 04db15b91c2201996513b340f9533a8d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815673 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ashmind/fluent-nhibernate",
"max_stars_repo_path": "src/FluentNHibernate/MappingModel/Queries/IQueryMappingInternal.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134893"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace FluentNHibernate.MappingModel.Queries
{
/// <summary>
/// Needed for AutomaticQueryVisitor.
/// </summary>
internal interface IQueryMappingInternal : IQueryMapping
{
b... | 1.464639 | 321a19f34169b6833d39506500f2404c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815674 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RamType-0/RamType0.JsonRpc",
"max_stars_repo_path": "RamType0.JsonRpc.Core/ID.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134894"
} | starcoder | using System;
using System.Diagnostics.CodeAnalysis;
using System.Text;
using System.Threading;
using Utf8Json;
namespace RamType0.JsonRpc
{
[JsonFormatter(typeof(ID.Formatter))]
public readonly struct ID : IEquatable<ID>
{
readonly private long numberValue;
public EscapedUTF8String? Stri... | 2.75713 | 5a7fd74f33f0ddfb45f7275e5976bdab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815675 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "SuicSoft/Little-PDF-Merge-Net",
"max_stars_repo_path": "Windows Desktop/Little's PDF Merge/PDFItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134895"
} | starcoder | <filename>Windows Desktop/Little's PDF Merge/PDFItem.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security;
using System.Text;
using System.Threading.Tasks;
namespace SuicSoft.LittlesPDFMerge.Windows
{
class PDFItem
{
public PDFItem(string _path, Sec... | 2.544285 | 68dbecce34b60378455ef0d7d77834ff |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815676 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "Albeoris/MMXLegacy",
"max_stars_repo_path": "Legacy.Debugger/User32/User32.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134896"
} | starcoder | using System;
using System.Runtime.InteropServices;
using System.Text;
namespace Legacy.Debugger
{
public static class User32
{
public delegate Boolean EnumWindowsPredicate(IntPtr windowHandle, IntPtr stateRef);
[DllImport("user32.dll", SetLastError = true)]
public static extern Boole... | 2.293113 | eec0049eb2112b230c4b63f6f56856dc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815677 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mbikovitsky/OneSchedule",
"max_stars_repo_path": "OneSchedule/Extensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134897"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
namespace OneSchedule
{
internal static class Extensions
{
public static (string, MatchCollection) Remove(this Regex regex, string input)
{
var matches = regex.Matches(input);
... | 3.178039 | 6494201597796ad15f635b7aa051eddb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815678 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jpobst/maui",
"max_stars_repo_path": "src/Core/src/Core/Extensions/IViewExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134898"
} | starcoder | <filename>src/Core/src/Core/Extensions/IViewExtensions.cs
namespace Microsoft.Maui
{
public static class IViewExtensions
{
public static FlowDirection GetEffectiveFlowDirection(this IView view)
{
if (view.FlowDirection != FlowDirection.MatchParent)
{
return view.FlowDirection;
}
// If the FlowD... | 2.500394 | 69ca9c9f2a6823bf3b41c1aa4d771d70 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815679 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "shardoeski/nadekobot",
"max_stars_repo_path": "src/NadekoBot/Services/ICoordinator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134899"
} | starcoder | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace NadekoBot.Services
{
public interface ICoordinator
{
bool RestartBot();
void Die(bool graceful);
bool RestartShard(int shardId);
IList<ShardStatus> GetAllShardStatuses();
int GetGuil... | 2.162588 | 434ed7d5d23290db84f65eaeb1330a30 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815680 | {
"extension": "c-sharp",
"max_stars_count": "3886.0",
"max_stars_repo_name": "artheru/opencvsharp",
"max_stars_repo_path": "src/OpenCvSharp/Modules/objdetect/HistogramNormType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134900"
} | starcoder | namespace OpenCvSharp
{
/// <summary>
/// L2-Hys normalization method
/// </summary>
public enum HistogramNormType
{
/// <summary>
/// [HOGDescriptor::L2Hys]
/// </summary>
L2Hys = HOGDescriptor.L2Hys,
}
}
| 2.127394 | cfc11d87d3c027ab1645b06dc787c91f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815681 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "naed21/TankGame",
"max_stars_repo_path": "TankGame/PlayerController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134901"
} | starcoder | <gh_stars>0
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using System;
using System.Collections.Generic;
using System.Text;
namespace TankGame
{
public class PlayerController
{
//TODO:
/*
* Add turret that points towards the mouse cursor
* Pre... | 2.623911 | afd645537e3fb54fecb0f34c3aa305cb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815682 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Guyang1995/homewebapi",
"max_stars_repo_path": "home.commonfunc/DirectoryAllFiles.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134902"
} | starcoder | <filename>home.commonfunc/DirectoryAllFiles.cs
using System;
namespace home.commonfunc
{
public class DirectoryAllFiles
{
}
}
| 1.081185 | 0a282dca4a1a99c63aa896c56544e109 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815683 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ahmedhamouda78/CofoundryExample.SSOAndContent",
"max_stars_repo_path": "CofoundryExample.SSOAndContent/Bootstrap/DependencyRegistration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134903"
} | starcoder | <reponame>ahmedhamouda78/CofoundryExample.SSOAndContent
using Cofoundry.Core.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace CofoundryExample.SSOAndContent
{
/// <summary>
/// Iv'e created some custom services for this sample so we need to
... | 2.373794 | fb258ac8c0afe60bc96f85806b98bc5e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815684 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "taixihuase/Game-Tips-Design",
"max_stars_repo_path": "Assets/Scripts/Item/View/Modules/ItemTipAttrModule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134904"
} | starcoder | <reponame>taixihuase/Game-Tips-Design<gh_stars>0
using Core;
using Core.UI;
using CsvManager;
using Item.Enum;
using Item.Model;
using JsonData;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TMPro;
using UnityEngine;
using UnityEngine.UI;
nam... | 1.936605 | a1c0dc9191db48096e319aacabcb44e7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815685 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jrharmon/RestRunner",
"max_stars_repo_path": "RestRunner/ViewModels/Pages/CommandChainPageViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134905"
} | starcoder | <reponame>jrharmon/RestRunner<filename>RestRunner/ViewModels/Pages/CommandChainPageViewModel.cs
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;... | 2.201443 | 2fdfa427e7709cb3b19a49620aa240b7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815686 | {
"extension": "c-sharp",
"max_stars_count": "23.0",
"max_stars_repo_name": "yantrajs/yantra",
"max_stars_repo_path": "YantraJS.ExpressionCompiler/Expressions/YUnboxExpression.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134906"
} | starcoder | <gh_stars>10-100
using System;
using System.CodeDom.Compiler;
namespace YantraJS.Expressions
{
public class YUnboxExpression: YExpression
{
public readonly YExpression Target;
public YUnboxExpression(YExpression target, Type type)
: base(YExpressionType.Unbox, type)
... | 2.572483 | 2c8328ad109bdbe48adabc01fd233a0d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815687 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "kiwidoggie/deadlocked-server",
"max_stars_repo_path": "RT.Models/Lobby/MediusAccountUpdateStatsRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134907"
} | starcoder | using RT.Common;
using Server.Common;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace RT.Models
{
[MediusMessage(NetMessageTypes.MessageClassLobby, MediusLobbyMessageIds.AccountUpdateStats)]
public class MediusAccountUpdateStatsRequest : BaseLobbyMessage, IM... | 2.284493 | 329acd05104cd767a094b45daac36742 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815688 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Witchie/BinSerializer",
"max_stars_repo_path": "BinSerializer/Types/BinTypeVersion.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134908"
} | starcoder | using System;
namespace ThirtyNineEighty.BinarySerializer.Types
{
/// <summary>
/// BinTypeVersion
/// </summary>
public sealed class BinTypeVersion
{
/// <summary>
/// Version
/// </summary>
public readonly int Version;
/// <summary>
/// MinSipporte... | 2.610094 | 91be2bfebc607065c2952973bf40ac39 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815689 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "akunzai/NHibernate.Extensions.Logging",
"max_stars_repo_path": "src/NHibernate.Extensions.Logging/MicrosoftLoggerFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134909"
} | starcoder | <gh_stars>1-10
using Microsoft.Extensions.Logging;
namespace NHibernate.Extensions.Logging
{
/// <summary>
/// Implementation of the <see cref="NHibernate.INHibernateLoggerFactory"/> interface
/// to allow the usage of Microsoft.Extensions.Logging with the NHibernate
/// logging infrastructure.
/... | 2.584669 | fd5a35f85a86d38a795cede594bb9361 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815690 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Chris-Han3en/chrises-R.A.T",
"max_stars_repo_path": "Client/Client.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134910"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using System.Net;
using System.Net.Sockets;
using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Timers;
public class Client
{
#region Variables
// Connection Misc Var... | 2.865125 | 8c33e758fc4cda9616987d6a9ed36eca |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815691 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "daikinapplied/DotNetLib",
"max_stars_repo_path": "Daikin.DotNetLib.Network/HttpConnection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134911"
} | starcoder | using System;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Reflection;
using System.Text.RegularExpressions;
namespace Daikin.DotNetLib.Network
{
public static class HttpConnection
{
#region Constants
public const string AccessTokenScheme = "Bearer";
... | 2.7439 | 92528805ec698780a748f0e3f3762488 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815692 | {
"extension": "c-sharp",
"max_stars_count": "142.0",
"max_stars_repo_name": "plundgren-code/CompileScore",
"max_stars_repo_path": "CompileScore/VSIX/Highlight/HighlightTagger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134912"
} | starcoder | using System;
using System.Collections.Generic;
using Microsoft.VisualStudio.Text;
using Microsoft.VisualStudio.Text.Tagging;
namespace CompileScore
{
internal static class SpanExtensions
{
private const PositionAffinity positionAffinity = PositionAffinity.Successor;
public static Span GetSpa... | 2.410774 | ec8825c2266b2582a74fe4b21a30fdf0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815693 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "rexcardan/KinectX",
"max_stars_repo_path": "KinectX/Extensions/CvColorExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134913"
} | starcoder | <gh_stars>10-100
using KinectX.Data;
using KinectX.Registration;
using OpenCvSharp;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KinectX.Extensions
{
public static class CvColorExtensions
{
public static List<Marker> Find... | 2.004354 | 1cdb17e300ebbec69c2abb1e618d8cbf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815694 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Piorosen/atldotnet",
"max_stars_repo_path": "ATL.test/Misc/FileStructureHelperTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134914"
} | starcoder | <reponame>Piorosen/atldotnet
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Commons;
using System.IO;
using ATL.AudioData;
namespace ATL.test
{
[TestClass]
public class FileStructureHelperTest
{
private readonly FileStructureHelper structureHelper = new FileStructureHelper();
p... | 2.228769 | 57a1658ef797d131d81af17a423d692a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815695 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kleberandrade/unity-neural-network",
"max_stars_repo_path": "Assets/Scripts/Neural Net/Synapse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134915"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Synapse
{
public Neuron InputNeuron { get; set; }
public Neuron OutputNeuron { get; set; }
public float Weight { get; set; }
public float WeightDelta { get; set; }
public Synapse(Neuron inputNeuron, Neuron... | 2.273837 | 76cbebfa1c77118984201197fd80d116 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815696 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PillowMetal/Todo",
"max_stars_repo_path": "Api/Todo/Entities/TodoItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134916"
} | starcoder | using System;
using System.ComponentModel.DataAnnotations;
namespace Todo.Entities
{
public class TodoItem
{
public Guid Id { get; set; }
[Required]
public string Name { get; set; }
public string Project { get; set; }
public string Context { get; set; }
public ... | 2.083403 | efc86dc2669759f06eb6e74a160683dc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815697 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "mesta1/s7netplus",
"max_stars_repo_path": "S7.Net/Types/DWord.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134917"
} | starcoder | using System;
namespace S7.Net.Types
{
public static class DWord
{
// publics
#region FromByteArray
public static UInt32 FromByteArray(byte[] bytes)
{
return FromBytes(bytes[3], bytes[2], bytes[1], bytes[0]);
}
#endregion
#region... | 3.092535 | 626153bcc0c46fc350a608f8e3ba2f1c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815698 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "SpencasaurusRex/ARA2D",
"max_stars_repo_path": "Core/Contexts/TickContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134918"
} | starcoder | using Core.Archetypes;
using Core.Plugins;
using DefaultEcs;
namespace Core
{
public class TickContext
{
public int TickNumber { get; set; }
public float TickProgress { get; set; }
public int TicksPassed { get; set; }
public readonly Entity GlobalEntity;
public readonl... | 1.933547 | cff60c447e43ad73a9dc4ae538847ecb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815699 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "shuebner20/dracoon-csharp-sdk",
"max_stars_repo_path": "DracoonSdk/SdkInternal/ApiModel/Nodes/ApiDeletedNodeVersion.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134919"
} | starcoder | using Newtonsoft.Json;
using System;
namespace Dracoon.Sdk.SdkInternal.ApiModel {
internal class ApiDeletedNodeVersion {
[JsonProperty("parentId", NullValueHandling = NullValueHandling.Ignore)]
public long ParentId {
get; set;
}
[JsonProperty("parentPath", NullValueHand... | 1.773672 | 5907e3ec944353c5c3b353dff80304c5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815700 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ShinyTeeth/One-Vote",
"max_stars_repo_path": "src/onevote/Migrations/20180403034606_fullnames.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134920"
} | starcoder | using Microsoft.EntityFrameworkCore.Migrations;
using System;
using System.Collections.Generic;
namespace onevote.Migrations
{
public partial class fullnames : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
... | 2.195058 | 9c9535d1d4b9fa26a3b7602144866a94 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815701 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MyJetMarketingBox/MarketingBox.Affiliate.Service",
"max_stars_repo_path": "src/MarketingBox.Affiliate.Service.Grpc/Requests/Affiliates/AffiliateCreateRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134921"
} | starcoder | <filename>src/MarketingBox.Affiliate.Service.Grpc/Requests/Affiliates/AffiliateCreateRequest.cs
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Runtime.Serialization;
using MarketingBox.Affiliate.Service.Domain.Models.Affiliates;
using MarketingBox.Sdk.Common.Models;
namesp... | 1.743646 | 570cca379b9d14cd7de430f7ecec795f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815702 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Gallimathias/ZigbeeNet",
"max_stars_repo_path": "src/ZigBeeNet/Util/TaskExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134922"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace ZigBeeNet
{
public static class TaskExtensions
{
public static async Task TimeoutAfter(this Task task, int millisecondsTimeout, Action timeoutAction = null)
{
if (task == awai... | 2.731201 | d066bef4e3c8a049735aafc2275ea158 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815703 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Arkzenir/Match3-RPG",
"max_stars_repo_path": "Assets/Added Scripts/Booster Effects/Star.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134923"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using Unity.Mathematics;
using UnityEngine;
public class Star : Booster
{
public override void BoosterEffect(int x, int y, Match3.GemGridPosition caller)
{
int xMax = Match3.instance.GetGridWidth();
int yMax = Match3.instance.GetGridHe... | 2.470692 | 4c2edd8c6557ba781bc19ce8d2f8e637 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815704 | {
"extension": "c-sharp",
"max_stars_count": "260.0",
"max_stars_repo_name": "alexbowers/pulumi-aws",
"max_stars_repo_path": "sdk/dotnet/DataSync/Outputs/EfsLocationEc2Config.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134924"
} | starcoder | // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
names... | 1.799088 | 0f315f5814b2565f489a1605d520322e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815705 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pinterweb/dotnet-webapi-template",
"max_stars_repo_path": "CSharp/src/BusinessApp.CompositionRoot/BatchRegister.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134925"
} | starcoder | using System;
using System.Linq;
using BusinessApp.Infrastructure;
namespace BusinessApp.CompositionRoot
{
/// <summary>
/// Registers null services that may be removed based on the template install flags
/// </summary>
public class BatchRegister : IBootstrapRegister
{
private readonly Regi... | 2.179713 | 4f29ed6bf05356d83407d25ae9da3d67 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815706 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JunYu103022072/UbayWebSample",
"max_stars_repo_path": "AccountingNote/SystemAdmin/AccountingList.aspx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134926"
} | starcoder | using AccountingNote.Auth;
using AccountingNote.DBsourse;
using AccountingNote.Models;
using AccountingNote.ORM.DBModel;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace AccountingNote.SystemAdmin
{
... | 2.25998 | 5d31e513a4b8cd338a6fd4208c3e80ec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815707 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "varianter/now-playing",
"max_stars_repo_path": "src/Functions/Common/SpotifyHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134927"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Functions.Models.KeyVault;
using Functions.Models.Orchestrator;
using Functions.Repositories;
using Microsoft.Extensions.Logging;
using Spotify;
using Spotify.Models;
namespace Functions.Common
{
public class Spo... | 2.317977 | 8709234c8b629759095fd04f4cddab81 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815708 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Marguelgtz/explorer",
"max_stars_repo_path": "unity-client/Assets/Scripts/MainScripts/DCL/Components/LoadableShapes/NFTShape/NFTShapeFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134928"
} | starcoder | using UnityEngine;
public class NFTShapeFactory : ScriptableObject
{
[SerializeField] GameObject[] loaderControllersPrefabs;
static NFTShapeFactory instance = null;
public static NFTShapeFactory i
{
get
{
if (instance == null)
{
instance = Resou... | 2.250084 | 53ab5258041c5d202b96a4c841c923a5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815709 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "hype8912/fluent-nhibernate",
"max_stars_repo_path": "src/FluentNHibernate/Mapping/ManyToManyPart.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134929"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq.Expressions;
using FluentNHibernate.Mapping.Providers;
using FluentNHibernate.MappingModel;
using FluentNHibernate.MappingModel.Collections;
using FluentNHibernate.Utils;
namespace FluentNHibernate.Mappi... | 2.147637 | a7e4e4f862eac04c2d1bdcecdd5cb8de |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815710 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "ymx/RefExplorer",
"max_stars_repo_path": "src/Core/Implementation/MiniReader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134930"
} | starcoder | //-----------------------------------------------------------------------------
// File: MiniReader.cs
// Author: snb
// Created: 12/26/2006
//-----------------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Runtime.... | 2.374158 | 2b9417b442877aafcea935b296f59c01 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815711 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "drobbins329/Discord.Net-Labs",
"max_stars_repo_path": "src/Discord.Net.WebSocket/API/Gateway/ExtendedGuild.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134931"
} | starcoder | <filename>src/Discord.Net.WebSocket/API/Gateway/ExtendedGuild.cs
#pragma warning disable CS1591
using Newtonsoft.Json;
using System;
namespace Discord.API.Gateway
{
internal class ExtendedGuild : Guild
{
[JsonProperty("unavailable")]
public bool? Unavailable { get; set; }
[JsonProperty... | 1.995311 | 770a4e1df6e211b6ff7c15de99a7539a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815712 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "6un9-h0-Dan/Rumpel",
"max_stars_repo_path": "src/Main.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134932"
} | starcoder | <filename>src/Main.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.Json;
using System.Threading.Tasks;
using Rumpel.Models;
if (args.Length == 0)
{
Printer.PrintHelp();
Environment.Exit(0);
}
switch (args[0])
{
c... | 2.537798 | b84892c22243316ddfc782f1c077ed16 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815713 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "hsirtl/devops-for-quantum-computing-azure-function",
"max_stars_repo_path": "src/QApp.Qsharp.Estimations/RandomNumberShould.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134933"
} | starcoder | <filename>src/QApp.Qsharp.Estimations/RandomNumberShould.cs<gh_stars>1-10
using System;
using System.IO;
using Xunit;
using Xunit.Abstractions;
using Microsoft.Quantum.Simulation.Core;
using Microsoft.Quantum.Simulation.Simulators;
using QApp.Qsharp;
namespace QApp.Qsharp.Estimations;
public class RandomNumberShould
... | 2.338085 | e36fc680be9436bc148b10593ce41308 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815714 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bg0jr/Maui",
"max_stars_repo_path": "src/Dynamics/Maui.Dynamics/Glue/ReportExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134934"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Maui.Dynamics
{
public static class ReportExtensions
{
public static string ToH( this object obj )
{
if ( obj is float || obj is double )
{
retur... | 2.535646 | 16568d00406ea0c76c0d0c10b56ed6f3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815715 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "T-rvw/LevelEditor",
"max_stars_repo_path": "ATF/Framework/Atf.Gui/Controls/Timelines/ITimelineObjectCreator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134935"
} | starcoder | <reponame>T-rvw/LevelEditor
//Copyright ?2014 Sony Computer Entertainment America LLC. See License.txt.
namespace Sce.Atf.Controls.Timelines
{
/// <summary>
/// Interface for timeline objects that can create new instances of the same kind of object
/// that they are. Callers should test for this inte... | 2.467003 | b6fc489b7f3abc5ab26d413880877d4e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815716 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Someone999/InfoReader",
"max_stars_repo_path": "InfoReader/ExpressionParser/Function/Converter/INullableConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134936"
} | starcoder | namespace InfoReaderPlugin.ExpressionParser.Function.Converter
{
public interface INullableConverter<T>:IConverterBase where T:struct
{
new T? StoredValue { get; }
new T? Convert(string str);
}
} | 1.892702 | af62aced0f0045fac3465a842e2d03e4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815717 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dz126/CustomerReviewsAPI_public_repo",
"max_stars_repo_path": "CustomerReviewsAPI_/Services/CompanyService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134937"
} | starcoder |
using CustomerReviewsAPI_.Models;
using CustomerReviewsAPI_.ViewModels;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace CustomerReviewsAPI_.Services
{
#region Company service
public class Compan... | 2.545527 | 7ce01b7ab73bf365046de61076d8275d |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.