added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66933 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "valkin88/CSharp-Fundamentals",
"max_stars_repo_path": "CSharp OOP Basics/Defining Classes - Exercises/OpinionPoll/OpinionPoll/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66934"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
public class Program
{
static void Main(string[] args)
{
var linesOfInput = int.Parse(Console.ReadLine());
Family family = new Family();
for (int i = 0; i < linesOfInput; i++)
{
var input = Console.... | 3.520169 | 726827c9024f243ddd827083c462513a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66934 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "LogoFX/bootstrapping",
"max_stars_repo_path": "src/LogoFX.Server.Bootstrapping/WebApplicationBuilderExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66935"
} | starcoder | <reponame>LogoFX/bootstrapping
using System;
using System.Reflection;
using LogoFX.Server.IoC.Registration;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Solid.Bootstrapping;
using Solid.Core;
using Solid.Extensibility;
using Solid.P... | 2.097525 | 8549bc66ce236b4552bc739cbd06d5b3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66935 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "postsharp/PostSharp.Community.StructuralEquality",
"max_stars_repo_path": "Tests/ReadmeEqualityTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66936"
} | starcoder | <filename>Tests/ReadmeEqualityTest.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Formatters.Binary;
using PostSharp.Extensibility;
using Xunit;
namespace PostSharp.Community.StructuralEquality.Tests
{
public class ReadmeEq... | 2.603669 | 3c41ba44ceee8dbbc4c0cb788b33f6be |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66936 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "carverh/ShiftOS-1",
"max_stars_repo_path": "ShiftOS.Wpf/Applications/TextPad.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66937"
} | starcoder | <reponame>carverh/ShiftOS-1
/*
* MIT License
*
* Copyright (c) 2017 <NAME> and ShiftOS devs
*
* 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 l... | 1.736265 | b25586eb7065fd754f4fa19799aac3f3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66937 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "Bhaskers-Blu-Org2/healthvault-dotnetstandard-sdk",
"max_stars_repo_path": "Microsoft.HealthVault/ItemTypes/DiabeticProfile.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66938"
} | starcoder | <gh_stars>10-100
// Copyright (c) Microsoft Corporation. All rights reserved.
// MIT License
// 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 ... | 1.858821 | a2d0cfbf99f44fbd7b343a2490cd8f78 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66938 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "litsungyi/Camus",
"max_stars_repo_path": "Scripts/Core/Projects/TagInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66939"
} | starcoder | <reponame>litsungyi/Camus
using System;
namespace Camus.Projects
{
public struct TagInfo : IEquatable<TagInfo>
{
public int Index
{
get;
}
public string Name
{
get;
}
public TagInfo(int index, string name)
{
... | 2.886549 | 57c41e75d932df9652ced266f98bb80c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66939 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dswisher/swish-svg",
"max_stars_repo_path": "test/TestApp/Options/LoadSaveOptions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66940"
} | starcoder | <reponame>dswisher/swish-svg
using CommandLine;
namespace TestApp.Options
{
[Verb("load-save", HelpText = "Load an SVG document and save it back to a file.")]
public class LoadSaveOptions
{
[Option("svg", Required = true, HelpText = "The name of the SVG file to load.")]
public string SvgPa... | 2.255413 | 11fb252dae73ec5da9a3e21cff32beec |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66940 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "masterajima/Ajima_Master_WEB315_Assignments",
"max_stars_repo_path": "_ViewImports.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:66941"
} | starcoder | @using ClassExampleRazorPages
@namespace ClassExampleRazorPages.Pages
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
| 1.715843 | 2605e47f241cb8e79c969550cf2b0ad2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66941 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pacmaninbw/Anza-Tenant-Roster",
"max_stars_repo_path": "Forms/ApartmentNumberVerifier.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66942"
} | starcoder |
namespace TenantRosterAutomation
{
partial class ApartmentNumberVerifier
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// ... | 1.954644 | 108b15281bf0b8551eab79b5e6903db8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66942 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fossabot/Ao.ObjectDesign",
"max_stars_repo_path": "src/Ao.ObjectDesign.WpfDesign/MapCdevSceneController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66943"
} | starcoder | using Ao.ObjectDesign.Designing;
using Ao.ObjectDesign.Designing.Level;
using Ao.ObjectDesign.Wpf.Data;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Windows;
using System.Windows.Controls;
namespace Ao.ObjectDesign.WpfDesign
{
public abstract class MapCdevScene... | 2.07303 | f8cf8c3dd23b94be3c4257fdeea0159d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66943 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "majdghada/GeneticAlorithmsLib",
"max_stars_repo_path": "GeneticAlgorithms/PermutationChromosome.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66944"
} | starcoder | <filename>GeneticAlgorithms/PermutationChromosome.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace GeneticAlgorithms
{
namespace Chromosomes
{
public class PermutationChromosome : IChromosome
{
private static Random ra... | 3.478585 | a5743911679144b6d0ee27033b1f7014 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66944 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "trigger-death/ZeldaOracle",
"max_stars_repo_path": "ZeldaOracle/GameWpf/Util/WpfNativeMethods.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66945"
} | starcoder | using System;
using System.Runtime.InteropServices;
using System.Windows.Forms;
using System.ComponentModel;
using System.Reflection;
namespace ZeldaWpf.Util {
/// <summary>A static class for Native Methods used for Wpf.</summary>
public static class WpfNativeMethods {
/// <summary>The DeleteObject function delet... | 2.512104 | 4fcb975d355164b8258cf8090b210309 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66945 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Architect0711/EventAggregator",
"max_stars_repo_path": "EventAggregator/ImplementationDetails/WeakDelegateTable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66946"
} | starcoder | using System;
using System.Collections.Generic;
using System.Reflection;
namespace EventAggregator.ImplementationDetails
{
/// <summary>
/// This class holds a List<WeakDelegate> for every registered Event Type that gets registered with the EventAggregator,
/// so all Subscribers get notified in... | 3.109197 | 82b3016fbc5662b560acd66c6724cdfa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66946 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dejanjaredic/TestProject",
"max_stars_repo_path": "aspnet-core/src/TestProject.Application/Dto/DeviceTypePropertyDtos/DeviceTypePropertyDto.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66947"
} | starcoder | <gh_stars>0
namespace TestProject.Dto.DeviceTypePropertyDtos
{
//[AutoMap(typeof(DeviceTypeProperty))]
public class DeviceTypePropertyDto
{
public string NameProperty { get; set; }
public bool Required { get; set; }
public string Type { get; set; }
}
}
| 1.107451 | 6f08263e2c05c833c85883693fcc1fbf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66947 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "max-ieremenko/ServiceModel.Cancellation",
"max_stars_repo_path": "Sources/ServiceModel.Cancellation/AssemblyInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66948"
} | starcoder | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("WCF.Cancellation")]
[assembly: AssemblyDescription("")]
[assembly: Guid("5eb9caf8-7d01-46cc-bf49-d6a6e90bc879")]
[assembly: InternalsVisibleTo("ServiceModel.Cancellation.Test, PublicKey=00... | 0.939153 | 4a18205e486c2d2a1d5384bb40d510ea |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66948 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KaralinaDubitskaya/Pattern-Recognition-Algorithms",
"max_stars_repo_path": "Clustering/Clustering/ViewModels/ApplicationViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66949"
} | starcoder | using Clustering.Models;
using ClusterModel;
using KMeans;
using MinMax;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Media;
namespace k... | 2.965889 | 8542843733cbdef72f0ab9eb6d87cb10 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66949 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "FlatlinerDOA/FattyRobot",
"max_stars_repo_path": "Fatty.UniversalFramework/Input/LanguageUnderstanding.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66950"
} | starcoder | <gh_stars>1-10
using System;
using System.Linq;
using System.Net.Http;
using System.Reactive.Linq;
using System.Threading.Tasks;
using Fatty.Brain;
using Fatty.Brain.Modules;
namespace Fatty.UniversalFramework.Input
{
public sealed class LanguageUnderstanding : InterpreterBase
{
private co... | 2.492532 | e58fd988841f62b2bb6c5b3572924caa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66950 | {
"extension": "c-sharp",
"max_stars_count": "159.0",
"max_stars_repo_name": "SeanKilleen/Docs",
"max_stars_repo_path": "aspnet/web-forms/overview/older-versions-getting-started/aspnet-ajax/understanding-asp-net-ajax-web-services/samples/sample12.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66951"
} | starcoder | if (typeof(Model.Address) === 'undefined')
{
Model.Address=gtc("Model.Address");
Model.Address.registerClass('Model.Address');
}
Model.Gender = function() { throw Error.invalidOperation(); }
Model.Gender.prototype = {Unknown: 0,Male: 1,Female: 2}
Model.Gender.registerEnum('Model.Gender', true); | 2.287766 | 8c2296654200121648105e678396e021 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66951 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "braegelno5/csharp-sqlite",
"max_stars_repo_path": "TCL/src/base/EventuallyFreed.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66952"
} | starcoder | <reponame>braegelno5/csharp-sqlite
/*
* EventuallyFreed.java --
*
* This class makes sure that certain objects
* aren't disposed when there are nested procedures that
* depend on their existence.
*
* Copyright (c) 1991-1994 The Regents of the University of California.
* Copyright (c) 1994-1998 Sun Microsystems, Inc.
*... | 2.5169 | 583be71aaa86caa6b431e024401f0e15 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66952 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "levinine/NetSel",
"max_stars_repo_path": "src/Levi9.NetSel.Unit.Tests/Elements/InputElementTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66953"
} | starcoder | <gh_stars>1-10
using Levi9.NetSel.Elements;
using Levi9.NetSel.Proxies;
using Moq;
using OpenQA.Selenium;
using Xunit;
namespace Levi9.NetSel.Unit.Tests.Elements
{
public class InputElementTests
{
private readonly Mock<InputElement> _inputElement;
public InputElementTests()
{
... | 2.359301 | e42107ae4853ba0f08854154435305de |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66953 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "terrajobst/apireview.net",
"max_stars_repo_path": "src/ApiReviewDotNet/Services/AreaOwnerService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66954"
} | starcoder | namespace ApiReviewDotNet.Services;
public sealed class AreaOwnerService
{
private readonly ILogger<AreaOwnerService> _logger;
private Dictionary<string, string[]> _ownerByArea = new();
public AreaOwnerService(ILogger<AreaOwnerService> logger)
{
_logger = logger;
}
public IReadOnlyL... | 3.005786 | 1850f619100ea43ba5c6b21b56e3df47 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66954 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Varorbc/alipay-sdk-net-all",
"max_stars_repo_path": "AlipaySDKNet/Domain/KoubeiMarketingCampaignMemberRelationUnbindModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66955"
} | starcoder | <reponame>Varorbc/alipay-sdk-net-all<gh_stars>0
using System;
using System.Xml.Serialization;
namespace Aop.Api.Domain
{
/// <summary>
/// KoubeiMarketingCampaignMemberRelationUnbindModel Data Structure.
/// </summary>
[Serializable]
public class KoubeiMarketingCampaignMemberRelationUnbindModel : A... | 1.153862 | b9c5d4c5494b6420caf1981e44d18faf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66955 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Sayama3/WaveFunctionCollapse",
"max_stars_repo_path": "Assets/Script/FindGameObjectIndex.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66956"
} | starcoder | <filename>Assets/Script/FindGameObjectIndex.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Sirenix.OdinInspector;
namespace Procedural
{
public static class FindGameObjectIndex
{
public static int IndexGameObject(List<GameObject> TheList, GameObject TH... | 2.707399 | 4bc18fc2f898cbe153f42408740ba1a6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66956 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "leacoleaco/LeaSearch",
"max_stars_repo_path": "libs/SmithHtmlEditor/Views/HyperlinkDialog.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66957"
} | starcoder | using System.Windows;
namespace Smith.WPF.HtmlEditor
{
/// <summary>
/// HyperlinkDialog.xaml 的交互逻辑
/// </summary>
public partial class HyperlinkDialog : Window
{
HyperlinkObject bindingContext;
public HyperlinkDialog()
{
InitializeComponent();
Mod... | 2.368237 | 772b7cfd99a21ef2fac351cd5cd6d7da |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66957 | {
"extension": "c-sharp",
"max_stars_count": "176.0",
"max_stars_repo_name": "turcol/blockcore",
"max_stars_repo_path": "src/Blockcore/Interfaces/IBlockRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66958"
} | starcoder | using System.Threading.Tasks;
using Blockcore.Consensus.BlockInfo;
using NBitcoin;
namespace Blockcore.Interfaces
{
public interface INBitcoinBlockRepository
{
Task<Block> GetBlockAsync(uint256 blockId);
}
public interface IBlockTransactionMapStore
{
uint256 GetBlockHash(uint256 t... | 1.548411 | a507ac6d7ee7385f70dfc677d4b8dc76 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66958 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alrazex/IdentityProvider.WanVet",
"max_stars_repo_path": "src/IdentityProvider/obj/Release/netcoreapp1.0/PubTmp/Out/Views/_ViewImports.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:66959"
} | starcoder | <filename>src/IdentityProvider/obj/Release/netcoreapp1.0/PubTmp/Out/Views/_ViewImports.cshtml<gh_stars>0
@using IdentityProvider
@using Microsoft.AspNetCore.Identity
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
| 1.202458 | 632588a807b8de5396ae2c7a5dfd2f4d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66959 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "polgaro/Kno2",
"max_stars_repo_path": "src/Kno2.ApiTestClient.Core/Helpers/TokenRequestType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66960"
} | starcoder | using System;
using System.Net;
using Kno2.ApiTestClient.Core.Extensions;
namespace Kno2.ApiTestClient.Core.Helpers
{
public enum TokenRequestType
{
None,
Password,
ClientCredential,
RefreshToken
}
} | 1.364515 | a7c9c5a13cfca01355a742949bfe32f9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66960 | {
"extension": "c-sharp",
"max_stars_count": "138.0",
"max_stars_repo_name": "legistek/AspNetCore",
"max_stars_repo_path": "src/DataProtection/AzureKeyVault/src/AzureKeyVaultXmlEncryptor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66961"
} | starcoder | <filename>src/DataProtection/AzureKeyVault/src/AzureKeyVaultXmlEncryptor.cs
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.IO;
using System.Security.Cryptography;
using Sy... | 2.095416 | 4f7bfcee7a760a2334edccf54bb7ba6c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66961 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aawadall/Game-Off-2018",
"max_stars_repo_path": "code/Unity Project/Assets/Scripts/PushAboveSprites.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66962"
} | starcoder | <reponame>aawadall/Game-Off-2018<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
// Use this to push text above the sprite sorting layer
public class PushAboveSprites : MonoBehaviour {
public string layerPushTo;
// Use this for initialization
void Start () {
... | 1.559561 | bdf1a992fdf98220654b40bc628fd869 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66962 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "gustavohb/logic-bot",
"max_stars_repo_path": "Logicbot_Project/Assets/Scripts/Audio/AudioCueKey.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66963"
} | starcoder | using System;
public struct AudioCueKey
{
public static AudioCueKey Invalid = new AudioCueKey(-1, null);
internal int Value;
internal AudioCueSO AudioCue;
internal AudioCueKey(int value, AudioCueSO audioCue)
{
Value = value;
AudioCue = audioCue;
}
public override bool Equ... | 2.727997 | 0caebe52487f8b58efc925c743d818d6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66963 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BrianLandes/Singleton-System",
"max_stars_repo_path": "Assets/Plugins/Professional Bad Guys/Singleton System/Data/Editor/SingletonSettingsProviderBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66964"
} | starcoder |
using System.Collections.Generic;
using UnityEditor;
namespace SingletonSystem {
/// <summary>
/// Static class that builds and returns Unity.SettingsProvider that display the Singleton objects in the Project Settings.
/// </summary>
public static class SingletonSettingsProviderBuilder {
[SettingsProviderGro... | 2.572701 | 34b607136fafc41e6e41064ce00ff06e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66964 | {
"extension": "c-sharp",
"max_stars_count": "738.0",
"max_stars_repo_name": "eapbokma/DotSpatial",
"max_stars_repo_path": "Source/DotSpatial.Plugins.WebMap/WMS/WMSServerParameters.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66965"
} | starcoder | <gh_stars>100-1000
// Copyright (c) DotSpatial Team. All rights reserved.
// Licensed under the MIT license. See License.txt file in the project root for full license information.
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Window... | 2.025378 | 293650eb3a8ad68426713f99c3fba3f3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66965 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "danielcirket/OpenEventSourcing",
"max_stars_repo_path": "src/OpenEventSourcing.Testing/Discoverers/BugTraitDiscoverer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66966"
} | starcoder | using System.Collections.Generic;
using Xunit.Abstractions;
using Xunit.Sdk;
namespace OpenEventSourcing.Testing.Discoverers
{
public class BugTraitDiscoverer : ITraitDiscoverer
{
public IEnumerable<KeyValuePair<string, string>> GetTraits(IAttributeInfo traitAttribute)
{
var bugId ... | 2.049582 | d3d6687b6529c96c4e3643b3f8ab820f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66966 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mrodrigues95/ClassroomChat",
"max_stars_repo_path": "api/classroom-messenger-api/Controllers/AuthController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66967"
} | starcoder | using Application.Auth.Commands.RegisterNewUser;
using Application.Auth.Queries.LoginUser;
using Application.Auth.Queries.LogoutUser;
using Application.Auth.Queries.RefreshTokens;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System.Threading.Tasks;
namespace classroom_messenger_api.... | 2.228087 | 41bbb2bfd0759f654fe5f8fcee39668a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66967 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "josesimoes/CoreLibrary",
"max_stars_repo_path": "Tests/NFUnitTestSystemLib/UnitTestSingle.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66968"
} | starcoder | //
// Copyright (c) .NET Foundation and Contributors
// Portions Copyright (c) Microsoft Corporation. All rights reserved.
// See LICENSE file in the project root for full license information.
//
using nanoFramework.TestFramework;
namespace NFUnitTestSystemLib
{
[TestClass]
public class SingleTests
{
... | 2.619879 | c7a348251000a4c3fff47e0cfbf67a1b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66968 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "alphacloud/messagepack",
"max_stars_repo_path": "src/lib/Alphacloud.MessagePack.AspNetCore.Formatters/MessagePackFormatterOptions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66969"
} | starcoder | namespace Alphacloud.MessagePack.AspNetCore.Formatters
{
using System;
using System.Collections.Generic;
using global::MessagePack;
using JetBrains.Annotations;
using Microsoft.AspNetCore.Mvc;
/// <summary>
/// MessagePack MVC formatter options.
/// </summary>
[PublicAPI]
... | 2.221427 | 5dd5fdba851424daffb23d905d4ebef6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66969 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CodeFuller/music-library",
"max_stars_repo_path": "src/PandaPlayer/Adviser/PlaylistAdvisers/FavoriteAdviseGroupsAdviser.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66970"
} | starcoder | <reponame>CodeFuller/music-library
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using PandaPlayer.Adviser.Grouping;
using PandaPlayer.Adviser.Interfaces;
using PandaPlayer.Adviser.Internal;
namespace PandaPlayer.Adviser.PlaylistAdvis... | 2.249338 | f191bbdb2faf3cb99a3de174dc8fc12d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66970 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "cabother/Cabother-Organizer",
"max_stars_repo_path": "src/Cabother.Organizer.Api/ViewModels/Teams/CreateTeamViewModelRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66971"
} | starcoder | <filename>src/Cabother.Organizer.Api/ViewModels/Teams/CreateTeamViewModelRequest.cs
namespace Cabother.Organizer.Api.ViewModels.Teams
{
public class CreateTeamViewModelRequest
{
public string Name { get; set; }
public string Alias { get; set; }
}
} | 1.652072 | d14bf083fc97e4a2b3c1ffe21857c914 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66971 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rubilnik4/VeraBoutique",
"max_stars_repo_path": "BoutiqueDAL/Models/Interfaces/Entities/Clothes/ISizeGroupEntity.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66972"
} | starcoder | using System.Collections.Generic;
using BoutiqueCommon.Models.Common.Interfaces.Clothes.SizeGroups;
using BoutiqueDAL.Models.Implementations.Entities.Clothes.Composite;
using BoutiqueDAL.Models.Interfaces.Entities.Base;
namespace BoutiqueDAL.Models.Interfaces.Entities.Clothes
{
/// <summary>
/// Группа размер... | 2.067963 | dbb31cb5d1915bb233bb402da1ad2d30 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66972 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "qcjxberin/DC.Framework",
"max_stars_repo_path": "src/Ding/Exceptions/Prompts/IExceptionPrompt.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66973"
} | starcoder | <filename>src/Ding/Exceptions/Prompts/IExceptionPrompt.cs
using System;
namespace Ding.Exceptions.Prompts {
/// <summary>
/// 异常提示
/// </summary>
public interface IExceptionPrompt {
/// <summary>
/// 获取异常提示
/// </summary>
/// <param name="exception">异常</param>
s... | 2.220741 | 010d1f2703c1dc98045e2ae477004b35 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66973 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "electecsystem/OSDP.Net",
"max_stars_repo_path": "src/OSDP.Net/Messages/ServerCryptogramCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66974"
} | starcoder | <reponame>electecsystem/OSDP.Net<gh_stars>0
using System;
using System.Collections.Generic;
namespace OSDP.Net.Messages
{
public class ServerCryptogramCommand : Command
{
private readonly byte[] _serverCryptogram;
internal ServerCryptogramCommand(byte address, byte[] serverCryptogram)
... | 2.180561 | 2566c1e2a092747c51a2dcad853b209e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66974 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lianzhao/WikiaWP",
"max_stars_repo_path": "src/WikiaSdk/Mercury/Details.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66975"
} | starcoder | <gh_stars>0
namespace Wikia.Mercury
{
public class Details
{
public int id { get; set; }
public string title { get; set; }
public int ns { get; set; }
public string url { get; set; }
public Revision revision { get; set; }
public int comments { get; set; }... | 1.028756 | a1ff60be38ffc93ad504af3dab12bac1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66975 | {
"extension": "c-sharp",
"max_stars_count": "71.0",
"max_stars_repo_name": "ScriptBox99/msgraph-beta-sdk-dotnet",
"max_stars_repo_path": "src/Microsoft.Graph/Generated/requests/IDocumentRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66976"
} | starcoder | // ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... | 1.826968 | 3e525c6e94c7a4e7473c324d0106ae55 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66976 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "salmanmkc/WindowsCommunityToolkit",
"max_stars_repo_path": "Microsoft.Toolkit/Diagnostics/Generated/Guard.Collection.g.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66977"
} | starcoder | <gh_stars>1-10
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
/* ========================
* Auto generated file
* ===================== */
using System;
using ... | 2.474805 | 4799c9063ed448c4955c4f4efc37c7de |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66977 | {
"extension": "c-sharp",
"max_stars_count": "43.0",
"max_stars_repo_name": "cs17resch01003/gpuverify",
"max_stars_repo_path": "GPUVerifyVCGen/AdversarialAbstraction.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66978"
} | starcoder | <reponame>cs17resch01003/gpuverify
//===-----------------------------------------------------------------------==//
//
// GPUVerify - a Verifier for GPU Kernels
//
// This file is distributed under the Microsoft Public License. See
// LICENSE.TXT for details.
//
//===------------------------------------... | 2.506607 | e0b4f5259d72d3efe96480a91c41b287 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66978 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CookAperture/MusicPlayer",
"max_stars_repo_path": "MusicPlayerTests/UnitTests/JSONDeserializer_UnitTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66979"
} | starcoder | using System;
using Xunit;
using MusicPlayerBackend;
using System.Collections.Generic;
namespace MusicPlayerTests
{
public class JSONDeserializer_UnitTests
{
[Fact]
public void Deserialize_SerializedAppSettings_CorrectAppSetingsStruct()
{
JSONDeserializer jSONDeserializer = ... | 2.598325 | c979b934cf7123c01d231c8a5e250f3c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66979 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Luoz09/hr_wechat",
"max_stars_repo_path": "HR_WeChat/Sgms.Frame/Exs/Exs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66980"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
using Sgms.Frame.Entities;
namespace Sgms.Frame.Exs
{
/// <summary>
/// 扩展类
/// </summary>
public static class Ex
{
/// <summary>
/// 替换
/// </summary>
///... | 3.027392 | ee9193ec663b2370f2a57c4401de65ce |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66980 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Apates-MFD/MFD-BackgroundApp",
"max_stars_repo_path": "NetworkLibrary/NetworkPackage/Commands/CommandInformations.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66981"
} | starcoder | <reponame>Apates-MFD/MFD-BackgroundApp
using System.Collections.Generic;
namespace NetworkLibrary.NetworkPackage.Commands
{
public static class CommandInformations
{
public static readonly Dictionary<Commands_Button, string[]> ButtonParameterCount = new Dictionary<Commands_Button, string[]>()
... | 1.449841 | 4b0191c88580cecfd92b2d21988ea17e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66981 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "groundon113901/MiBank",
"max_stars_repo_path": "MiBankWebsiteA3/Views/Customer/Settings.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:66982"
} | starcoder | <gh_stars>0
@model Customer
@{
ViewData["Title"] = "Accounts";
}
<h1 class="display-4">Welcome, @Model.Name</h1>
<br />
<br />
<div class="row">
@{ if (ViewBag.Edit == null)
{
<div class="table-responsive col-md-6">
<table class="table">
<tr>
<td... | 2.103782 | 57805e724f7350c4ad9adb7d8d25a04b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66982 | {
"extension": "c-sharp",
"max_stars_count": "174.0",
"max_stars_repo_name": "Dasync/Dasync",
"max_stars_repo_path": "src/Modeling/Model/EntityProjectionDefinition.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66983"
} | starcoder | <filename>src/Modeling/Model/EntityProjectionDefinition.cs
using System;
namespace Dasync.Modeling
{
internal class EntityProjectionDefinition : PropertyBag, IMutableEntityProjectionDefinition, IEntityProjectionDefinition, IMutablePropertyBag, IPropertyBag
{
public EntityProjectionDefinition(Communica... | 2.176952 | 671f6f442334a09273874f071d7b7f67 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66983 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "KonradLinkowski/Schwerter-und-Roboter",
"max_stars_repo_path": "Assets/Scripts/Health.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66984"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Health : MonoBehaviour
{
protected Canvas canvas;
protected float healthPoints;
public float maxHealth;
protected bool dead = false;
protected Text text;
public ParticleSystem ... | 2.375574 | 7bd5a3c622cefca8dc96a3ed835d0978 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66984 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "moljac/mobileapp",
"max_stars_repo_path": "Toggl.Droid/Presentation/ViewModelCache.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66985"
} | starcoder | <filename>Toggl.Droid/Presentation/ViewModelCache.cs
using System;
using System.Collections.Generic;
using System.Linq;
using Toggl.Core.UI.ViewModels;
namespace Toggl.Droid.Presentation
{
public sealed class ViewModelCache
{
private readonly Dictionary<Type, IViewModel> cache = new Dictionary<Type, IV... | 2.853157 | 8a3d68e5f0733e18fea9b4cf7aa4f009 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66985 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "jaschrep-msft/azure-storage-net",
"max_stars_repo_path": "Lib/Common/Shared/Protocol/AccountProperties.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66986"
} | starcoder | <filename>Lib/Common/Shared/Protocol/AccountProperties.cs
// -----------------------------------------------------------------------------------------
// <copyright file="ServiceProperties.cs" company="Microsoft">
// Copyright 2013 Microsoft Corporation
//
// Licensed under the Apache License, Version 2.0 (the ... | 2.174706 | d336d1851883cc0a81a995bd54814fb0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66986 | {
"extension": "c-sharp",
"max_stars_count": "40.0",
"max_stars_repo_name": "openrasta/openrasta-core",
"max_stars_repo_path": "src/Tests/Pipeline.Initializer/contributor_throwing/ContributorExecutingAfter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66987"
} | starcoder | <reponame>openrasta/openrasta-core
using OpenRasta.Pipeline;
namespace Tests.Pipeline.Initializer.contributor_throwing
{
class ContributorExecutingAfter<T> : KnownStages.IOperationResultInvocation where T : IPipelineContributor
{
public void Initialize(IPipeline pipelineRunner)
{
pipelineRunner.Notif... | 1.053704 | f09aeb39ad1046f6f1084b59b52a0e1c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66987 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mehmet-yildiz/sample-bank",
"max_stars_repo_path": "src/SampleBank.Persistence/_RepositoryBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66988"
} | starcoder | using System;
using System.Linq;
using System.Linq.Expressions;
using SampleBank.Core.Abstractions.Persistence;
using SampleBank.Core.Entity;
namespace SampleBank.Persistence
{
public class RepositoryBase<TEntity> : IRepositoryBase<TEntity> where TEntity : class, IEntityKey<int>, new()
{
protected rea... | 2.6842 | c05440228c5ccc33882243bd9c7f09e0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66988 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "StefH/OdataToEntity",
"max_stars_repo_path": "test/OdataToEntity.Test.EfCore.PostgreSql/OrderContextOptions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66989"
} | starcoder | <reponame>StefH/OdataToEntity<filename>test/OdataToEntity.Test.EfCore.PostgreSql/OrderContextOptions.cs
using Microsoft.EntityFrameworkCore;
using Microsoft.OData.Edm;
using OdataToEntity.EfCore;
namespace OdataToEntity.Test.Model
{
public static class OrderContextOptions
{
public static EdmModel Buil... | 2.17349 | c12cda67d5ffa0d6019fe426828cffbb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66989 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sebllll/dx11-vvvv",
"max_stars_repo_path": "Nodes/VVVV.DX11.Nodes.kinect2/KinectPreposeGestureNode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66990"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using VVVV.PluginInterfaces.V2;
using SlimDX;
using VVVV.MSKinect.Lib;
using VVVV.PluginInterfaces.V1;
using Microsoft.Kinect;
using Vector4 = SlimDX.Vector4;
using Quaternion = SlimDX.Quaternion;
using Microsoft.Kinect.Face;
using V... | 1.986744 | bf0a8515a2eff0aa4e27e8effc752690 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66990 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "startergames/NLuaUnity",
"max_stars_repo_path": "Runtime/NLua/GenerateEventAssembly/DelegateGenerator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66991"
} | starcoder | using System;
using LuaState = KeraLua.Lua;
namespace NLua
{
class DelegateGenerator
{
private readonly ObjectTranslator _translator;
private readonly Type _delegateType;
public DelegateGenerator(ObjectTranslator objectTranslator, Type type)
{
_translato... | 2.108882 | a5c47fcabafd476f82de506ce5ae4c81 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66991 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "davesspacebar/AppCan",
"max_stars_repo_path": "Samples/RI/CAL/Silverlight/Composite.Presentation/Regions/Behaviors/TabControlRegionSyncBehavior.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66992"
} | starcoder | <reponame>davesspacebar/AppCan
//===================================================================================
// Microsoft patterns & practices
// Composite Application Guidance for Windows Presentation Foundation and Silverlight
//==============================================================================... | 2.214075 | 904fdd708975b09b24ef6cfc91faae5a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66992 | {
"extension": "c-sharp",
"max_stars_count": "105.0",
"max_stars_repo_name": "bewhite/Snapper",
"max_stars_repo_path": "project/Tests/Snapper.TestFrameworkSupport.Tests/NUnitFrameworkSupportTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66993"
} | starcoder | <filename>project/Tests/Snapper.TestFrameworkSupport.Tests/NUnitFrameworkSupportTests.cs
using System.Runtime.CompilerServices;
using NUnit.Framework;
namespace Snapper.TestFrameworkSupport.Tests
{
public class NUnitFrameworkSupportTests
{
[Test]
[MethodImpl(MethodImplOptions.NoInlining)]
... | 2.289656 | 4d86a53e9b43eff0134b76948b20a340 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66993 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "lobodava/dac-deployer",
"max_stars_repo_path": "DacDeployer/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66994"
} | starcoder | <reponame>lobodava/dac-deployer
using System;
using DacDeployer.Helpers;
namespace DacDeployer
{
class Program
{
static void Main()
{
var mode = ModeDefiner.DefineMode();
if (!RunsDirectly())
Logger.AppendEmptyLine();
Logger.AppendLine($"Da... | 2.070052 | c02246f01d165b6f79cb0dd2c058a7f6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66994 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AtomicBlom/SixtyFiveOhTwo",
"max_stars_repo_path": "SixtyFiveOhTwo/Instructions/AddressingModes/AbsoluteInstructionBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66995"
} | starcoder | <reponame>AtomicBlom/SixtyFiveOhTwo
using SixtyFiveOhTwo.Components;
using SixtyFiveOhTwo.Instructions.Debugger;
using SixtyFiveOhTwo.Instructions.Encoding;
namespace SixtyFiveOhTwo.Instructions.AddressingModes
{
public abstract class AbsoluteInstructionBase : InstructionBase, IParameterInstruction<ushort>
{
... | 2.142899 | fa65005fe2667c9de60f06a94b1bea98 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66995 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Myuujinn/ColdBoi",
"max_stars_repo_path": "ColdBoi/CPU/Instructions/Ld/LdAL.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66996"
} | starcoder | <filename>ColdBoi/CPU/Instructions/Ld/LdAL.cs
using System;
namespace ColdBoi.CPU.Instructions
{
public class LdAL : Instruction
{
public const byte OPCODE = 0x7d;
public const string NAME = "ld";
public LdAL(Processor processor) : base(processor, OPCODE, 0, 4, NAME)
{
... | 2.819726 | 369d09e47f3483225566ce8930bf7a4e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66996 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "ProSuite/ProSuite",
"max_stars_repo_path": "src/ProSuite.DomainModel.AO/QA/DefaultTestFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66997"
} | starcoder | using System;
using System.Collections.Generic;
using System.Reflection;
using System.Text;
using ProSuite.Commons.DomainModels;
using ProSuite.Commons.Essentials.Assertions;
using ProSuite.Commons.Essentials.CodeAnnotations;
using ProSuite.Commons.Logging;
using ProSuite.Commons.Reflection;
using ProSuite.QA.Container... | 2.118227 | e223d2f38ca40eb4e8b56510065f7c93 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66997 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "vip32/Naos.Core",
"max_stars_repo_path": "src/Foundation.Infrastructure.Mongo/Repositories/Extensions/SkipIf.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66998"
} | starcoder | namespace Naos.Foundation.Infrastructure
{
using System.Collections.Generic;
using System.Linq;
/// <summary>
/// IQueryable extensions.
/// </summary>
public static partial class Extensions
{
public static IQueryable<TEntity> SkipIf<TEntity>(
this IQueryable<TEntity> s... | 2.7314 | b31ce996187c1f7f74393e0b69843829 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66998 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "phatcher/Meerkat.Security",
"max_stars_repo_path": "code/Meerkat.Security/Security/Activities/IActivityAuthorizer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66999"
} | starcoder | <reponame>phatcher/Meerkat.Security
using System.Collections.Generic;
using System.Security.Principal;
using System.Threading;
using System.Threading.Tasks;
namespace Meerkat.Security.Activities
{
/// <summary>
/// Checks authorization of a user for an activity.
/// </summary>
public interface IActivi... | 2.369928 | b9fa4c8ef8dff4ce7aa82541beb6a642 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66999 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "Dixin/FunctionalProgramming-LINQ",
"max_stars_repo_path": "Tutorial.Tests.Shared/ParallelLinq/PartitioningTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67000"
} | starcoder | <filename>Tutorial.Tests.Shared/ParallelLinq/PartitioningTests.cs
namespace Tutorial.Tests.ParallelLinq
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Tutorial.ParallelLinq;
using Tutori... | 2.537762 | 624d317ff342b8f6b4e2f99a9889cacb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67000 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Alexrgs/CleanStore",
"max_stars_repo_path": "src/Store.Persistence/Configurations/CartItemConfiguration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67001"
} | starcoder | <gh_stars>0
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using Store.Domain.Entities;
using System;
using System.Collections.Generic;
using System.Text;
namespace Store.Persistence.Configurations
{
class CartItemConfiguration : IEntityTypeConfiguration<CartItem>
... | 1.741896 | 1f15b8bfa3bbacec07ca3ba71e1f8be5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67001 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BogdanskiPatryk/DailyChallenge",
"max_stars_repo_path": "Modules/DailyChallenge/DailyChallenge0.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67002"
} | starcoder | <reponame>BogdanskiPatryk/DailyChallenge<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DailyChallenge
{
public class DailyChallenge0
{
/*
* Given an array of integers, return a new array such that each ... | 3.591546 | f97c2e6482ee0aa74abfed6095885ae2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67002 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Dongliang-y/NPlatform",
"max_stars_repo_path": "NPlatform.Infrastructure/Config/ApolloConfiguration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67003"
} | starcoder | using Com.Ctrip.Framework.Apollo;
using Com.Ctrip.Framework.Apollo.Core;
using Com.Ctrip.Framework.Apollo.Model;
using Microsoft.Extensions.Configuration;
using System;
namespace NPlatform.Infrastructure.Config
{
/// <summary>
/// apollo配置获取
/// </summary>
public class ApolloConfiguration
{
... | 2.286657 | b61f78c53491d01fe457e2705d9efbd2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67003 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "TimHeinrich/FeatherMap",
"max_stars_repo_path": "BenchmarkCore/GettersSetters.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67004"
} | starcoder | <filename>BenchmarkCore/GettersSetters.cs<gh_stars>1-10
using System;
using System.Linq.Expressions;
using System.Reflection;
using BenchmarkDotNet.Attributes;
namespace BenchmarkCore
{
[SimpleJob]
public class GettersSetters
{
private Func<TestClass, string> _getDelegate;
private Action<T... | 3.007606 | fc1f301217723e8669d31d4bb67be3ce |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67004 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "tnunnink/L5XParser",
"max_stars_repo_path": "tests/L5Sharp.Core.Tests/ParameterTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67005"
} | starcoder | using System;
using AutoFixture;
using FluentAssertions;
using L5Sharp.Enums;
using L5Sharp.Exceptions;
using L5Sharp.Types;
using NUnit.Framework;
namespace L5Sharp.Core.Tests
{
[TestFixture]
public class ParameterTests
{
[Test]
public void New_InvalidName_ShouldThrowComponentNameInvalidE... | 2.426805 | 1c2f77eef78629a5f0e2796fab3ad928 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67005 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "PacktPublishing/Learning-NHibernate-4",
"max_stars_repo_path": "Chapter 7/Tests.Unit/QueryTests/QueryOverTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67006"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using Domain;
using NHibernate.Criterion;
using NHibernate.Linq;
using NHibernate.Util;
using NUnit.Framework;
namespace Tests.Unit.QueryTests
{
public class QueryOverTests : QueryTest
{
[Test]
public vo... | 2.53493 | c6fe780e3498ff01bbc89f6d1e6545e8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67006 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nhs-digital-gp-it-futures/GPITBuyingCatalogue",
"max_stars_repo_path": "tests/NHSD.GPIT.BuyingCatalogue.E2E.PublicBrowseTests/Areas/Admin/ManageCatalogueSolutions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67007"
} | starcoder | using System.Linq;
using System.Threading.Tasks;
using FluentAssertions;
using Microsoft.EntityFrameworkCore;
using NHSD.GPIT.BuyingCatalogue.E2ETests.Utils;
using NHSD.GPIT.BuyingCatalogue.E2ETests.Utils.TestBases;
using NHSD.GPIT.BuyingCatalogue.EntityFramework.Catalogue.Models;
using NHSD.GPIT.BuyingCatalogue.WebAp... | 1.931058 | a2f2c0ec621ec896a968ac0fd41566ab |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67007 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "garakutanokiseki/Join.NET",
"max_stars_repo_path": "LumiSoftNet/Net/SIP/Message/SIP_t_AuthenticationInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67008"
} | starcoder | <filename>LumiSoftNet/Net/SIP/Message/SIP_t_AuthenticationInfo.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Text;
namespace LumiSoft.Net.SIP.Message
{
/// <summary>
/// Implements SIP "Authentication-Info" value. Defined in RFC 3261.
/// According RFC 3261 authentication in... | 2.870396 | f4da71137d919a554db5830d8d4b5777 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67008 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EZshred/Inventory",
"max_stars_repo_path": "Inventory/PageModel/ItemListPageModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67009"
} | starcoder | using FreshMvvm;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Input;
using Xamarin.Forms;
namespace Inventory
{
public class ItemListPageModel : FreshBasePageModel
{
private Repository _repos... | 2.936702 | bd9a360cc7c6ff2752fa71d5d43705df |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67009 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "john-lioneil/desktop-colorpicker",
"max_stars_repo_path": "Unity3.Eyedropper/Unity3.Eyedropper/EyeDropper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67010"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
using System.Windows.Forms;
using System.Drawing.Drawing2D;
using System.ComponentModel;
namespace Unity3.Eyedropper
{
public class EyeDropper : Control
{
public event EventHandler SelectedColorChan... | 2.468318 | f177c448cb2a934967d54aeee770594a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67010 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "ivandrofly/corefx",
"max_stars_repo_path": "src/System.Linq.Parallel/tests/QueryOperators/CountLongCountTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67011"
} | starcoder | <reponame>ivandrofly/corefx<filename>src/System.Linq.Parallel/tests/QueryOperators/CountLongCountTests.cs<gh_stars>1-10
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more informatio... | 1.850901 | 546f3395a356362b656466c232a3050d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67011 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NikolaySpasov/Softuni",
"max_stars_repo_path": "C# Advanced/08. LINQ/08. Map Districts/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67012"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
public class MapDistricts
{
public static void Main()
{
Dictionary<string, List<long>> towns = new Dictionary<string, List<long>>();
string[] elements = Console.ReadLine().Split(new char[] { ' ' }, StringSplitOptions.RemoveEmp... | 3.683506 | eb36efb4a3045a54ec73ca982d553d07 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67012 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "AndrewRublyov/Leaves",
"max_stars_repo_path": "Parser/Parser.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67013"
} | starcoder | using System;
using System.Collections.Generic;
using LeafS.AST;
using LeafS.AST.Nodes;
using LeafS.AST.Nodes.Leafs;
using LeafS.Exceptions;
using LeafS.Lexer;
namespace LeafS.Parser
{
internal class Parser : IParser
{
private int _currentPosition;
private int _size;
private Token[] _t... | 2.926251 | 9413ee0728e969bf0ae44f9caa5718c6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67141 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Headspin/uaaa",
"max_stars_repo_path": "test/Uaaa.Core.Tests/BusinessRulesCheckerTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67142"
} | starcoder | <filename>test/Uaaa.Core.Tests/BusinessRulesCheckerTests.cs
using System.Linq;
using System.Collections.Generic;
using Xunit;
namespace Uaaa.Core.Tests
{
public class BusinessRulesCheckerTests {
#region -=Support types=-
public class TestModel {
public string Label{ get; set; }
public int Value { get; ... | 2.646185 | 2ca20dae69d31db3490c2ca6d9e7cce3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67142 | {
"extension": "c-sharp",
"max_stars_count": "45.0",
"max_stars_repo_name": "icarus-consulting/Yaapii.Atoms",
"max_stars_repo_path": "src/Yaapii.Atoms/Enumerable/LengthOf.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67143"
} | starcoder | // MIT License
//
// Copyright(c) 2021 ICARUS Consulting GmbH
//
// 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, cop... | 2.715598 | cdeba9892dc0e84c3212f6c14bfa24b5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67143 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rbasereh/bitframework",
"max_stars_repo_path": "src/Client/Web/Playground/Bit.Client.Web.BlazorUI.Playground/Web/Pages/Components/ChoiceGroup/BitChoiceGroupDemo.razor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67144"
} | starcoder | <filename>src/Client/Web/Playground/Bit.Client.Web.BlazorUI.Playground/Web/Pages/Components/ChoiceGroup/BitChoiceGroupDemo.razor.cs
using System;
using System.Collections.Generic;
using Bit.Client.Web.BlazorUI.Playground.Web.Models;
using Bit.Client.Web.BlazorUI.Playground.Web.Pages.Components.ComponentDemoBase;
name... | 2.76963 | 7bad5c01180040f9815a971e03871140 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67144 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TheGrandCoding/discord-bo",
"max_stars_repo_path": "qBitApi/REST/Net/HttpException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67145"
} | starcoder | using System;
using System.Collections.Generic;
using System.Net;
using System.Text;
namespace qBitApi.REST.Net
{
/// <summary>
/// The exception that is thrown if an error occurs while processing an Discord HTTP request.
/// </summary>
public class HttpException : Exception
{
/// <sum... | 3.213957 | 43f191ceb4ec2e4adf3a82628cb4178b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67145 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "losttech/PLS",
"max_stars_repo_path": "src/Analysis/Engine/Impl/Indexing/Symbols.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67146"
} | starcoder | using System;
using System.Collections.Generic;
namespace Microsoft.PythonTools.Analysis.Indexing {
// From LSP.
internal enum SymbolKind {
None = 0,
File = 1,
Module = 2,
Namespace = 3,
Package = 4,
Class = 5,
Method = 6,
Property = 7,
F... | 2.276085 | d916de3a9035b0e92acecd8dd46f4d00 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67146 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "maikebing/dotnetmq",
"max_stars_repo_path": "src/DotNetMQ.Manager/Management/GUI/MDSServers/EditServerForm.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67147"
} | starcoder | /*
DotNetMQ - A Complete Message Broker For .NET
Copyright (C) 2011 <NAME>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later ver... | 2.617236 | 2eba46dd08d8f9c93f5a5097575ff589 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67147 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "TheJVaughan/Amazon",
"max_stars_repo_path": "src/Amazon.Ec2/Models/VolumeDetail.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67148"
} | starcoder | <reponame>TheJVaughan/Amazon<filename>src/Amazon.Ec2/Models/VolumeDetail.cs
namespace Amazon.Ec2;
public sealed class VolumeDetail
{
// in GiB
public long Size { get; set; }
}
| 1.483378 | 2be43b666b9be74ab383767e9a127c5b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67148 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "efenghuo/PaySharp",
"max_stars_repo_path": "src/PaySharp.Wechatpay/ConvertUtil.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67149"
} | starcoder | <reponame>efenghuo/PaySharp
using PaySharp.Core;
using PaySharp.Core.Utils;
using System;
using System.Collections.Generic;
namespace PaySharp.Wechatpay
{
internal static class ConvertUtil
{
public static List<T> ToList<T, TChildren>(GatewayData gatewayData, int index)
{
var flag =... | 2.594062 | 05b5d542e8ae1834041e8f077a16ccbb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67149 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Jmerk523/automatic-graph-layout",
"max_stars_repo_path": "Drawing/PhyloEdge.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67150"
} | starcoder | <filename>Drawing/PhyloEdge.cs
namespace Microsoft.Msagl.Drawing
{
public class PhyloEdge : Edge
{
private double realLength;
private double length = 1.0;
private bool negative;
public double RealLength
{
get
{
return realLength;
}
set
{
realLength = value;
}
}
public doubl... | 2.865128 | 84a3d883964aa94882d1d5abd28b9b26 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67150 | {
"extension": "c-sharp",
"max_stars_count": "283.0",
"max_stars_repo_name": "darovic/LiteDbExplorer",
"max_stars_repo_path": "source/LiteDbExplorer/Modules/Help/ReleaseNotesView.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67151"
} | starcoder | <filename>source/LiteDbExplorer/Modules/Help/ReleaseNotesView.xaml.cs
using System.Windows.Controls;
namespace LiteDbExplorer.Modules.Help
{
/// <summary>
/// Interaction logic for ReleaseNotesView.xaml
/// </summary>
public partial class ReleaseNotesView : UserControl
{
public ReleaseNote... | 1.501864 | 2a996cd656e043dc0802e705527b7952 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67151 | {
"extension": "c-sharp",
"max_stars_count": "42.0",
"max_stars_repo_name": "seventh88/PaymentService",
"max_stars_repo_path": "modules/EasyAbp.PaymentService.Prepayment/src/EasyAbp.PaymentService.Prepayment.HttpApi/EasyAbp/PaymentService/Prepayment/Accounts/AccountController.cs",
"provenance": "train-00000-o... | starcoder | using System;
using System.Threading.Tasks;
using EasyAbp.PaymentService.Prepayment.Accounts.Dtos;
using Microsoft.AspNetCore.Mvc;
using Volo.Abp;
using Volo.Abp.Application.Dtos;
namespace EasyAbp.PaymentService.Prepayment.Accounts
{
[RemoteService(Name = "EasyAbpPaymentServicePrepayment")]
[Route("/api/payme... | 1.94485 | 0cc13312763b2f57f903a8468004d7f6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67152 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AntonKrug/emul8-modded",
"max_stars_repo_path": "Tools/Emul8-Launcher/Emul8-Launcher/Options.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67153"
} | starcoder | //
// Copyright (c) Antmicro
// Copyright (c) Realtime Embedded
//
// This file is part of the Emul8 project.
// Full license details are defined in the 'LICENSE' file.
//
using Antmicro.OptionsParser;
namespace Emul8.Launcher
{
public class BasicOptions
{
[Name("root-path"), Description("Search for bi... | 2.004809 | f1a33aa752debc385605b4aff109f4dc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67153 | {
"extension": "c-sharp",
"max_stars_count": "28.0",
"max_stars_repo_name": "saineshwar/Bugpoint",
"max_stars_repo_path": "BugPoint.Solution/BugPoint.Common/AllMemoryCacheKeys.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67154"
} | starcoder | <reponame>saineshwar/Bugpoint<filename>BugPoint.Solution/BugPoint.Common/AllMemoryCacheKeys.cs
namespace BugPoint.Common
{
public static class AllMemoryCacheKeys
{
public const string MenuCategoryKey = "Portal.MenuCategoryKey";
public const string MenuMasterKey = "Portal.MenuMasterKey";
... | 1.297079 | 724a36bb82335e5a9203a2249d99fd2a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67154 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Ben3094/System.Identity2",
"max_stars_repo_path": "System.Identity/Gender.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67155"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Runtime.CompilerServices;
using System.Text;
namespace System.Identity
{
public class Gender
{
public enum Sex { Unknown, Female, Male, Other };
private Sex sexComponent = Sex.Unknown;
public Sex... | 2.711079 | 9cd82264e55a010806966f65c616f3b2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67155 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "OSDKDev/Panner",
"max_stars_repo_path": "src/Filter/Generators/Operators/SymbolMapper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67156"
} | starcoder | <reponame>OSDKDev/Panner
namespace Panner.Filter
{
using System.Collections.Generic;
using System.Linq;
public static class SymbolMapper
{
private static readonly Dictionary<string, Operator> map = new Dictionary<string, Operator>()
{
{ "=", Operator.Equal },
{ ... | 2.677676 | e7c910fe3421ca49b161de02d791432d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67156 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "codemjoy/calculator",
"max_stars_repo_path": "calculator/calculator/MainWindow.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67157"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... | 2.994818 | 800909905eabd2df4cd1def9b9d72a51 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67157 | {
"extension": "c-sharp",
"max_stars_count": "953.0",
"max_stars_repo_name": "ike709/space-station-14",
"max_stars_repo_path": "Content.Shared/Singularity/SingularitySoundMessage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67158"
} | starcoder | using System;
using Robust.Shared.GameObjects;
using Robust.Shared.Serialization;
namespace Content.Shared.Singularity
{
[Serializable, NetSerializable]
public class SingularitySoundMessage : ComponentMessage
{
public bool Start { get; }
public SingularitySoundMessage(bool start)
{... | 1.838361 | 2e223535a8cbac7150b1c0d136ff71aa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67158 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "stark-lang/stark-roslyn",
"max_stars_repo_path": "src/Compilers/Shared/ExitingTraceListener.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67159"
} | starcoder | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Diagnostics;
using System.IO;
using System.Text;
namespace StarkPlatform.CodeAnalysis.CommandLine
{
/// <summary>
/// Thi... | 2.522192 | 302854fc6a50dbe0e86860454ceae227 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67159 | {
"extension": "c-sharp",
"max_stars_count": "35.0",
"max_stars_repo_name": "Bradinz/Vanjaro.Platform",
"max_stars_repo_path": "DesktopModules/Vanjaro/Installer/Settings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67160"
} | starcoder | using MetroFramework.Forms;
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;
namespace Vanjaro.Installer
{
public partial class Settings : MetroForm
... | 2.264102 | b729ca4074e80841a2bf3aa7c65e4993 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67160 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "mmarkwort/MORYX-Platform",
"max_stars_repo_path": "src/Moryx.Tools.Wcf/WcfAccelerator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67161"
} | starcoder | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
namespace Moryx.Tools.Wcf
{
/// <summary>
/// This class converts ID collections into fast transmittable strings
/// Structure: 8 Char entry count n
/// 2 Char entry lengt... | 3.188642 | 6696f533eb72f4fcf3cb379c02f387bb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.