repo_name
stringlengths
6
97
path
stringlengths
3
341
text
stringlengths
8
1.02M
iProfeten/cinder-metal-m1
blocks/Cinder-Metal/include/Context.h
// // Context.hpp // // Created by <NAME> on 1/20/16. // // #pragma once #include "cinder/Color.h" #include "cinder/Cinder.h" #include "RenderEncoder.h" #include "RenderPipelineState.h" #include "DataBuffer.h" namespace cinder { namespace mtl { class Context; typedef std::shared_ptr<Context> ContextRe...
iProfeten/cinder-metal-m1
blocks/Cinder-Metal/include/MetalMacros.h
<reponame>iProfeten/cinder-metal-m1<gh_stars>10-100 // // MetalConstants.h // // Created by <NAME> on 11/8/15. // // #pragma once #include <simd/simd.h> #define MetalConstants \ \ namespace cinder { \ namespace mtl { \ enum DefaultBufferShaderIndices \ { \ ciBufferIndexUniforms = 0,...
iProfeten/cinder-metal-m1
blocks/Cinder-Metal/include/apple/Library.h
// // Library.h // // Created by <NAME> on 1/13/16. // // #pragma once #include "cinder/Cinder.h" #include "MetalHelpers.hpp" #include "MetalEnums.h" namespace cinder { namespace mtl { typedef std::shared_ptr<class Library> LibraryRef; class Library { public: // stati...
iProfeten/cinder-metal-m1
blocks/Cinder-Metal/include/RendererMetal.h
<filename>blocks/Cinder-Metal/include/RendererMetal.h<gh_stars>10-100 #pragma once #include "cinder/Cinder.h" #include "cinder/app/Renderer.h" #include "MetalEnums.h" #if defined( CINDER_COCOA ) //#include "CinderViewCocoaTouch+Metal.h" #if defined __OBJC__ @class RendererMetalImpl; #else class RendererMetalImpl; #en...
iProfeten/cinder-metal-m1
blocks/Cinder-Metal/samples/Batch/include/SharedTypes.h
// // SharedTypes.h // Batch // // Created by <NAME> on 1/10/16. // // #pragma once #include <simd/simd.h> typedef struct { metal::packed_float4 ciPosition; metal::packed_float3 ciNormal; metal::packed_float2 ciTexCoord0; } CubeVertex;
iProfeten/cinder-metal-m1
blocks/Cinder-Metal/samples/ARKit/src/NativeBridge.h
// // NativeBridge.h // CinderARKit // // Created by <NAME> on 7/6/17. // #import <Foundation/Foundation.h> #import <ARKit/ARKit.h> #import "CinderARKitApp.h" @interface NativeBridge : NSObject <ARSessionDelegate> { CinderARKitApp *_app; } - (instancetype)initWithApp:(CinderARKitApp *)app; - (void)handleTap:(...
iProfeten/cinder-metal-m1
blocks/Cinder-Metal/include/apple/ComputeEncoder.h
// // ComputeEncoder.hpp // // Created by <NAME> on 10/17/15. // // #pragma once #include "cinder/Cinder.h" #include "CommandEncoder.h" #include "ComputePipelineState.h" namespace cinder { namespace mtl { typedef std::shared_ptr<class ComputeEncoder> ComputeEncoderRef; class ComputeEncoder : publ...
iProfeten/cinder-metal-m1
blocks/Cinder-Metal/samples/VertexBuffer/include/SharedData.h
<filename>blocks/Cinder-Metal/samples/VertexBuffer/include/SharedData.h // // SharedData.h // Cinder-Metal // // Created by <NAME> on 12/5/15. // // #pragma once #include <simd/simd.h> typedef struct { metal::packed_float3 position; metal::packed_float3 normal; metal::packed_float2 texCoord0; } CubeVe...
iProfeten/cinder-metal-m1
blocks/Cinder-Metal/include/apple/RenderPipelineState.h
<filename>blocks/Cinder-Metal/include/apple/RenderPipelineState.h // // Pipeline.hpp // // Created by <NAME> on 10/13/15. // // #pragma once #include "cinder/Cinder.h" #include "cinder/GeomIo.h" #include "MetalHelpers.hpp" #include "MetalEnums.h" #include "Argument.h" namespace cinder { namespace mtl { ty...
iProfeten/cinder-metal-m1
blocks/Cinder-Metal/include/apple/DataBuffer.h
// // Buffer.hpp // // Created by <NAME> on 10/17/15. // // #pragma once #include "cinder/Cinder.h" #include "MetalHelpers.hpp" #include "MetalEnums.h" namespace cinder { namespace mtl { typedef std::shared_ptr<class DataBuffer> DataBufferRef; class DataBuffer { public: ...
iProfeten/cinder-metal-m1
blocks/Cinder-Metal/include/apple/DepthState.h
<gh_stars>10-100 // // DepthState.hpp // // Created by <NAME> on 11/7/15. // // #pragma once #include "cinder/Cinder.h" #include "MetalHelpers.hpp" #include "MetalEnums.h" namespace cinder { namespace mtl { typedef std::shared_ptr<class DepthState> DepthStateRef; class DepthState { ...
iProfeten/cinder-metal-m1
blocks/Cinder-Metal/include/apple/CommandBuffer.h
<reponame>iProfeten/cinder-metal-m1<filename>blocks/Cinder-Metal/include/apple/CommandBuffer.h // // CommandBuffer.hpp // // Created by <NAME> on 10/17/15. // // #pragma once #include "cinder/Cinder.h" #include "RenderEncoder.h" #include "ComputeEncoder.h" #include "BlitEncoder.h" #include "RenderPassDescriptor.h" ...
iProfeten/cinder-metal-m1
blocks/Cinder-Metal/include/apple/CommandEncoder.h
<reponame>iProfeten/cinder-metal-m1 // // CommandEncoder.hpp // // Created by <NAME> on 11/12/15. // // #pragma once #include "cinder/Cinder.h" #include "MetalGeom.h" #include "DataBuffer.h" #include "TextureBuffer.h" #include "MetalConstants.h" #include "DepthState.h" #include "SamplerState.h" namespace cinder { ...
iProfeten/cinder-metal-m1
blocks/Cinder-Metal/samples/DepthOfField/include/SharedTypes.h
<gh_stars>10-100 // // SharedTypes.h // FoldingCube // // Created by <NAME> on 1/30/16. // // #pragma once // Add structs and types here that will be shared between your App and your Shaders #include <simd/simd.h> typedef struct { // float progress; } myUniforms_t; typedef struct TeapotInstance { vector...
iProfeten/cinder-metal-m1
blocks/Cinder-Metal/samples/ParticleSorting/include/SharedData.h
// // SharedData.h // ParticleSorting // // Created by <NAME> on 11/13/15. // // #pragma once #include "MetalConstants.h" #include <simd/simd.h> // Data shared by both the Cinder app and the Metal shader #define kParticleDimension 128 // Must be a power of 2 for the bitonic sort to work struct sortState_t { ...
iProfeten/cinder-metal-m1
blocks/Cinder-Metal/samples/TextureSlices/include/SharedTypes.h
<reponame>iProfeten/cinder-metal-m1 // // SharedTypes.h // FoldingCube // // Created by <NAME> on 1/30/16. // // #ifndef SharedTypes_h #define SharedTypes_h #include <simd/simd.h> #endif /* SharedTypes_h */
iProfeten/cinder-metal-m1
blocks/Cinder-Metal/include/RendererMetalImpl.h
<reponame>iProfeten/cinder-metal-m1 // // RendererMetalImpl.h // // Created by <NAME> on 10/11/15. // // #pragma once #include <Metal/Metal.h> #include "RendererMetal.h" #include "CommandBuffer.h" #include "Context.h" // IMPORTANT: // Metal doesn't work in the iOS simulator. // If your build is failing here, try ru...
iProfeten/cinder-metal-m1
blocks/Cinder-Metal/include/RenderCommandBuffer.h
// // RenderCommandBuffer.hpp // // Created by <NAME> on 11/15/15. // // #pragma once #include "cinder/Cinder.h" #include "CommandBuffer.h" namespace cinder { namespace mtl { typedef std::shared_ptr<class RenderCommandBuffer> RenderCommandBufferRef; // NOTE: a RenderBuffer is just a CommandBuffer...
iProfeten/cinder-metal-m1
blocks/Cinder-Metal/include/MetalGeom.h
<gh_stars>10-100 // // MetalGeom.h // // Created by <NAME> on 10/17/15. // // #pragma once #include "cinder/GeomIo.h" namespace cinder { namespace mtl { namespace geom { // NOTE: Metal uses "Line" and "Triangle", not the pluralized verions found in GL enum Primitive { POINT, L...
iProfeten/cinder-metal-m1
blocks/Cinder-Metal/include/MetalConstants.h
// // MetalConstants.h // // Created by <NAME> on 4/21/16. // // #pragma once #include "MetalMacros.h" // This is a macro. We've defined them this way so they can be rolled into // online shaders (which don't accept user includes). MetalConstants
iProfeten/cinder-metal-m1
blocks/Cinder-Metal/include/apple/TextureBuffer.h
// // TextureBuffer.hpp // // Created by <NAME> on 10/30/15. // // #pragma once #include "cinder/Cinder.h" #include "cinder/ImageIo.h" #include "MetalHelpers.hpp" #include "MetalEnums.h" namespace cinder { namespace mtl { typedef std::shared_ptr<class TextureBuffer> TextureBufferRef; // http://me...
iProfeten/cinder-metal-m1
blocks/Cinder-Metal/include/CinderMetalCocoa.h
<gh_stars>10-100 // // CinderMetalCocoa.h // // Created by <NAME> on 3/3/17. // // #pragma once #ifdef CINDER_COCOA_TOUCH #import <UIKit/UIKit.h> #endif #import <Metal/Metal.h> #include "cinder/Cinder.h" #include "metal.h" namespace cinder { namespace cocoa { CGImageRef convertMTLTexture(id <MTLTexture> textu...
iProfeten/cinder-metal-m1
blocks/Cinder-Metal/include/MovieMetal.h
// // MovieMetal.h // VideoMetalTexture // // Created by <NAME> on 7/11/17. // #pragma once #include "cinder/Cinder.h" // TODO: Update with OS X support #ifdef CINDER_COCOA_TOUCH #include "metal.h" #include <memory> @class MovieMetalImpl; namespace cinder { namespace mtl { typedef std::shared_ptr<clas...
iProfeten/cinder-metal-m1
blocks/Cinder-Metal/include/apple/ComputePipelineState.h
// // ComputePipelineState.hpp // // Created by <NAME> on 11/13/15. // // #pragma once #include "cinder/Cinder.h" #include "MetalHelpers.hpp" namespace cinder { namespace mtl { typedef std::shared_ptr<class ComputePipelineState> ComputePipelineStateRef; class ComputePipelineState { ...
iProfeten/cinder-metal-m1
blocks/Cinder-Metal/include/Batch.h
<reponame>iProfeten/cinder-metal-m1 // // Batch.hpp // // Created by <NAME> on 1/10/16. // // #pragma once #include "cinder/Cinder.h" #include "cinder/GeomIo.h" #include "MetalGeom.h" #include "DataBuffer.h" #include "RenderEncoder.h" #include "VertexBuffer.h" #include "apple/RenderPipelineState.h" namespace cinde...
iProfeten/cinder-metal-m1
blocks/Cinder-Metal/include/Draw.h
<reponame>iProfeten/cinder-metal-m1 // // Draw.h // // Created by <NAME> on 2/23/16. // // #pragma once #include "cinder/Cinder.h" #include "VertexBuffer.h" #include "RenderPipelineState.h" #include "Context.h" #include "cinder/app/App.h" #include "cinder/CameraUi.h" #include "cinder/GeomIo.h" #include "metal.h" #i...
iProfeten/cinder-metal-m1
blocks/Cinder-Metal/include/Scope.h
<reponame>iProfeten/cinder-metal-m1 // // Scope.hpp // // Created by <NAME> on 11/4/15. // // #pragma once #include "cinder/Cinder.h" #include "cinder/Noncopyable.h" #include "CommandBuffer.h" #include "RenderCommandBuffer.h" #include "Context.h" namespace cinder { namespace mtl { class ScopedRenderEncoder : ...
iProfeten/cinder-metal-m1
blocks/Cinder-Metal/include/VertexBuffer.h
// // GeomTarget.hpp // // Created by <NAME> on 10/24/15. // // #pragma once #include "cinder/Cinder.h" #include "cinder/GeomIo.h" #include "MetalGeom.h" #include "DataBuffer.h" #include "RenderEncoder.h" namespace cinder { namespace mtl { typedef std::shared_ptr<class VertexBuffer> VertexBufferRef; ...
iProfeten/cinder-metal-m1
blocks/Cinder-Metal/include/apple/RenderEncoder.h
<filename>blocks/Cinder-Metal/include/apple/RenderEncoder.h // // RenderEncoder.hpp // // Created by <NAME> on 10/16/15. // // #pragma once #include "cinder/Cinder.h" #include "MetalGeom.h" #include "RenderPipelineState.h" #include "DataBuffer.h" #include "TextureBuffer.h" #include "DepthState.h" #include "SamplerS...
iProfeten/cinder-metal-m1
blocks/Cinder-Metal/include/apple/SamplerState.h
<filename>blocks/Cinder-Metal/include/apple/SamplerState.h<gh_stars>10-100 // // SamplerState.hpp // // Created by <NAME> on 11/7/15. // // #pragma once #include "cinder/Cinder.h" #include "MetalHelpers.hpp" #include "MetalEnums.h" namespace cinder { namespace mtl { typedef std::shared_ptr<class SamplerSt...
iProfeten/cinder-metal-m1
blocks/Cinder-Metal/samples/StockShader/include/SharedTypes.h
<gh_stars>10-100 // // SharedTypes.h // FoldingCube // // Created by <NAME> on 1/30/16. // // #pragma once // Add structs and types here that will be shared between your App and your Shaders #include <simd/simd.h> typedef struct { // float progress; } myUniforms_t;
iProfeten/cinder-metal-m1
blocks/Cinder-Metal/include/apple/RenderPassDescriptor.h
// // MetalRenderPass.hpp // // Created by <NAME> on 10/13/15. // // #pragma once #include "cinder/Cinder.h" #include "MetalHelpers.hpp" #include "MetalEnums.h" #include "TextureBuffer.h" namespace cinder { namespace mtl { typedef std::shared_ptr<class RenderPassDescriptor> RenderPassDescriptorRef; ...
iProfeten/cinder-metal-m1
blocks/Cinder-Metal/include/CameraManager.h
<reponame>iProfeten/cinder-metal-m1 // // CameraManager.h // MetalCamSlices // // Created by <NAME> on 2/10/17. // // #include "cinder/cinder.h" #include "metal.h" #ifdef CINDER_COCOA_TOUCH typedef void (^PixelBufferCallback)( CVPixelBufferRef pxBuffer ); typedef void (^FaceDetectionCallback)( const std::map<long...
dacaiguoguo/bubbleSort
BubbleSort/main.c
// // main.c // BubbleSort // // Created by dacaiguoguo on 2020/8/14. // Copyright © 2020 dacaiguoguo. All rights reserved. // #include <stdio.h> #include <stdbool.h> void bubbleSort(int* array, int length, _Bool betterFlag); void logArray(int* toSortArray, int length); int main(int argc, const char * argv[]) { ...
norio-nomura/RxSwift
RxSwift/RxSwift.h
// // RxSwift.h // RxSwift // // Created by <NAME> on 4/1/15. // Copyright (c) 2015 <NAME>. All rights reserved. // #import <Foundation/Foundation.h> //! Project version number for RxSwift. FOUNDATION_EXPORT double RxSwiftVersionNumber; //! Project version string for RxSwift. FOUNDATION_EXPORT const unsigned cha...
samuelkgutierrez/gladius
source/ui/term/term.h
/* * Copyright (c) 2014-2015 Triad National Security, LLC * All rights reserved. * * This file is part of the Gladius project. See the LICENSE.txt file at the * top-level directory of this distribution. * * Copyright (c) 1992,1993 The Regents of the University of California. * ...
samuelkgutierrez/gladius
source/timeline/graph-widget.h
/** * Copyright (c) 2015 Triad National Security, LLC * All rights reserved. * * This file is part of the Gladius project. See the LICENSE.txt file at the * top-level directory of this distribution. */ #ifndef TIMELINE_GRAPH_WIDGET_H #define TIMELINE_GRAPH_WIDGET_H #include "common....
samuelkgutierrez/gladius
source/tool-be/tool-be.h
/* * Copyright (c) 2014-2016 Triad National Security, LLC * All rights reserved. * * This file is part of the Gladius project. See the LICENSE.txt file at the * top-level directory of this distribution. */ /** * The Back-End (BE) API. The interface to the back-end tool actions. */ #pra...
samuelkgutierrez/gladius
source/dsys/dsi.h
/* * Copyright (c) 2016 Triad National Security, LLC * All rights reserved. * * This file is part of the Gladius project. See the LICENSE.txt file at the * top-level directory of this distribution. */ /** * The Distributed System (dsys) Interface (DSI). */ #pragma once #include "...
samuelkgutierrez/gladius
source/ui/term/term-cmds.h
<gh_stars>1-10 /* * Copyright (c) 2014-2016 Triad National Security, LLC * All rights reserved. * * This file is part of the Gladius project. See the LICENSE.txt file at the * top-level directory of this distribution. */ #pragma once #include "term.h" #include "core/core.h" #include "cor...
samuelkgutierrez/gladius
source/mrnet/mrnet-fe.h
<reponame>samuelkgutierrez/gladius /** * Copyright (c) 2014-2016 Triad National Security, LLC * All rights reserved. * * This file is part of the Gladius project. See the LICENSE.txt file at the * top-level directory of this distribution. * * Copyright (c) 2003-2012 <NAME>, <NAME>, <NAME>...
samuelkgutierrez/gladius
source/plugin/hello/hello-filters.h
/** * Copyright (c) 2015 Triad National Security, LLC * All rights reserved. * * This file is part of the Gladius project. See the LICENSE.txt file at the * top-level directory of this distribution. */ #ifndef GLADIUS_PLUGIN_HELLO_FILTERS_H_INCLUDED #define GLADIUS_PLUGIN_HELLO_FILTE...
samuelkgutierrez/gladius
source/tool-common/session-key.h
/* * Copyright (c) 2016 Triad National Security, LLC * All rights reserved. * * This file is part of the Gladius project. See the LICENSE.txt file at the * top-level directory of this distribution. */ /** * Home to job the SessionKey type. * Session keys are used as a unique ident...
samuelkgutierrez/gladius
source/core/colors.h
/* * Copyright (c) 2014-2016 Triad National Security, LLC * All rights reserved. * * This file is part of the Gladius project. See the LICENSE.txt file at the * top-level directory of this distribution. */ #pragma once #include <string> #include <vector> #include <utility> namespace gla...
samuelkgutierrez/gladius
source/core/gladius-rc.h
<gh_stars>1-10 /* * Copyright (c) 2014-2016 Triad National Security, LLC * All rights reserved. * * This file is part of the Gladius project. See the LICENSE.txt file at the * top-level directory of this distribution. */ #pragma once /** * Return codes. */ enum { GLADIUS_SUCCESS =...
samuelkgutierrez/gladius
source/core/console.h
<filename>source/core/console.h /* * Copyright (c) 2016 Triad National Security, LLC * All rights reserved. * * This file is part of the Gladius project. See the LICENSE.txt file at the * top-level directory of this distribution. */ #pragma once #include <iostream> #include <sstream...
samuelkgutierrez/gladius
testing/legion/mrnet-mapper/tool/tool-proto.h
/* * Copyright (c) 2016 Triad National Security, LLC * All rights reserved. * * This file is part of the Gladius project. See the LICENSE.txt file at the * top-level directory of this distribution. */ #pragma once #include "mrnet/Types.h" #define PROTO_CONN (FirstApplicationTag) #d...
samuelkgutierrez/gladius
source/plugin/core/gp-manager.h
<filename>source/plugin/core/gp-manager.h /* * Copyright (c) 2015-2016 Triad National Security, LLC * All rights reserved. * * This file is part of the Gladius project. See the LICENSE.txt file at the * top-level directory of this distribution. */ /** * The gladius plugin manager. */ #...
samuelkgutierrez/gladius
source/core/process-landscape.h
/* * Copyright (c) 2016 Triad National Security, LLC * All rights reserved. * * This file is part of the Gladius project. See the LICENSE.txt file at the * top-level directory of this distribution. */ /** * Gives the 'process landscape' of a parallel and distributed application * w...
samuelkgutierrez/gladius
source/core/exception.h
/** * Copyright (c) 2014-2016 Triad National Security, LLC * All rights reserved. * * This file is part of the Gladius project. See the LICENSE.txt file at the * top-level directory of this distribution. */ #pragma once #include <string> #include <exception> namespace gladius { namespac...
samuelkgutierrez/gladius
testing/legion/mrnet-mapper/tool/tooli.h
<reponame>samuelkgutierrez/gladius<gh_stars>1-10 /* * Copyright (c) 2016 Triad National Security, LLC * All rights reserved. * * This file is part of the Gladius project. See the LICENSE.txt file at the * top-level directory of this distribution. */ #pragma once #include "tool-proto...
samuelkgutierrez/gladius
source/plugin/hello/hello-common.h
/* * Copyright (c) 2015-2106 Triad National Security, LLC * All rights reserved. * * This file is part of the Gladius project. See the LICENSE.txt file at the * top-level directory of this distribution. */ /** * Common stuff (FE/BE) for the Parallel Step (hello) plugin. */ #pragma once...
samuelkgutierrez/gladius
source/gladius/gladius.h
/* * Copyright (c) 2014-2016 Triad National Security, LLC * All rights reserved. * * This file is part of the Gladius project. See the LICENSE.txt file at the * top-level directory of this distribution. */ #pragma once #include "core/core.h" #include "core/session.h" #include "core/env.h...
samuelkgutierrez/gladius
source/core/session.h
<gh_stars>1-10 /* * Copyright (c) 2014-2016 Triad National Security, LLC * All rights reserved. * * This file is part of the Gladius project. See the LICENSE.txt file at the * top-level directory of this distribution. */ #pragma once #include <string> namespace gladius { namespace core ...
samuelkgutierrez/gladius
source/core/core.h
<reponame>samuelkgutierrez/gladius<filename>source/core/core.h /** * Copyright (c) 2014-2016 Triad National Security, LLC * All rights reserved. * * This file is part of the Gladius project. See the LICENSE.txt file at the * top-level directory of this distribution. */ #pragma once #ifde...
samuelkgutierrez/gladius
source/ui/ui-factory.h
<reponame>samuelkgutierrez/gladius /** * Copyright (c) 2014-2016 Triad National Security, LLC * All rights reserved. * * This file is part of the Gladius project. See the LICENSE.txt file at the * top-level directory of this distribution. */ #pragma once #include "ui.h" #include "term/te...
samuelkgutierrez/gladius
source/tool-common/tool-common.h
/* * Copyright (c) 2014-2016 Triad National Security, LLC * All rights reserved. * * This file is part of the Gladius project. See the LICENSE.txt file at the * top-level directory of this distribution. * * Copyright (c) 2008-2012, Lawrence Livermore National Security, LLC */ /** * Hom...
samuelkgutierrez/gladius
source/tool-common/faux-mpir.h
<reponame>samuelkgutierrez/gladius<filename>source/tool-common/faux-mpir.h /* * Copyright (c) 2016 Triad National Security, LLC * All rights reserved. * * This file is part of the Gladius project. See the LICENSE.txt file at the * top-level directory of this distribution. * * Copyrig...
samuelkgutierrez/gladius
source/mrnet/filters/core-filters.h
<filename>source/mrnet/filters/core-filters.h /** * Copyright (c) 2015 Triad National Security, LLC * All rights reserved. * * This file is part of the Gladius project. See the LICENSE.txt file at the * top-level directory of this distribution. */ #ifndef GLADIUS_MRNET_FILTERS_CORE_F...
samuelkgutierrez/gladius
source/timeline/proc-timeline.h
<filename>source/timeline/proc-timeline.h /** * Copyright (c) 2015 Triad National Security, LLC * All rights reserved. * * This file is part of the Gladius project. See the LICENSE.txt file at the * top-level directory of this distribution. */ #ifndef TIMELINE_PROC_TIMELINE_H_INCLUDE...
samuelkgutierrez/gladius
source/mrnet/mrnet-be.h
<filename>source/mrnet/mrnet-be.h /** * Copyright (c) 2014-2016 Triad National Security, LLC * All rights reserved. * * This file is part of the Gladius project. See the LICENSE.txt file at the * top-level directory of this distribution. * * Copyright (c) 2003-2012 <NAME>, <NAME>, <NAME> ...
samuelkgutierrez/gladius
source/core/macros.h
<reponame>samuelkgutierrez/gladius /* * Copyright (c) 2014-2015 Triad National Security, LLC * All rights reserved. * * This file is part of the Gladius project. See the LICENSE.txt file at the * top-level directory of this distribution. */ #pragma once #ifdef HAVE_CONFIG_H #include "con...
samuelkgutierrez/gladius
source/plugin/core/gladius-plugin.h
/* * Copyright (c) 2015-2016 Triad National Security, LLC * All rights reserved. * * This file is part of the Gladius project. See the LICENSE.txt file at the * top-level directory of this distribution. */ /** * The Gladius Plugin Interface (GPI). */ #pragma once #include "core/args.h...
samuelkgutierrez/gladius
source/timeline/info-types.h
<filename>source/timeline/info-types.h /** * Copyright (c) 2015 Triad National Security, LLC * All rights reserved. * * This file is part of the Gladius project. See the LICENSE.txt file at the * top-level directory of this distribution. */ #ifndef TIMELINE_INFO_TYPES_H_INCLUDED #def...
samuelkgutierrez/gladius
source/timeline/main-window.h
<reponame>samuelkgutierrez/gladius<gh_stars>1-10 /** * Copyright (c) 2015 Triad National Security, LLC * All rights reserved. * * This file is part of the Gladius project. See the LICENSE.txt file at the * top-level directory of this distribution. */ #ifndef TIMELINE_MAIN_WINDOW_H_IN...
samuelkgutierrez/gladius
source/core/env.h
<gh_stars>1-10 /* * Copyright (c) 2014-2016 Triad National Security, LLC * All rights reserved. * * This file is part of the Gladius project. See the LICENSE.txt file at the * top-level directory of this distribution. */ /** * Home to the environment variable registry that impact gladius...
samuelkgutierrez/gladius
source/core/utils.h
<filename>source/core/utils.h /* * Copyright (c) 2014-2016 Triad National Security, LLC * All rights reserved. * * This file is part of the Gladius project. See the LICENSE.txt file at the * top-level directory of this distribution. */ #pragma once #include "core/gladius-rc.h" #include "...
samuelkgutierrez/gladius
source/tool-common/gladius-tli.h
/* * Copyright (c) 2016 Triad National Security, LLC * All rights reserved. * * This file is part of the Gladius project. See the LICENSE.txt file at the * top-level directory of this distribution. */ /** * Home to connection information types. */ #pragma once #include <limits.h>...
samuelkgutierrez/gladius
source/timeline/common.h
<gh_stars>1-10 /** * Copyright (c) 2015 Triad National Security, LLC * All rights reserved. * * This file is part of the Gladius project. See the LICENSE.txt file at the * top-level directory of this distribution. */ #ifndef TIMELINE_COMMON_H #define TIMELINE_COMMON_H #include <QMet...
samuelkgutierrez/gladius
source/timeline/color-palette-factory.h
<gh_stars>1-10 /** * Copyright (c) 2015 Triad National Security, LLC * All rights reserved. * * This file is part of the Gladius project. See the LICENSE.txt file at the * top-level directory of this distribution. */ #ifndef COLOR_PALETTE_FACTORY_H_INCLUDED #define COLOR_PALETTE_FACT...
samuelkgutierrez/gladius
source/timeline/main-frame.h
/** * Copyright (c) 2015 Triad National Security, LLC * All rights reserved. * * This file is part of the Gladius project. See the LICENSE.txt file at the * top-level directory of this distribution. */ #ifndef TIMELINE_MAIN_FRAME_H_INCLUDED #define TIMELINE_MAIN_FRAME_H_INCLUDED #in...
samuelkgutierrez/gladius
source/ui/ui.h
<filename>source/ui/ui.h /* * Copyright (c) 2014-2016 Triad National Security, LLC * All rights reserved. * * This file is part of the Gladius project. See the LICENSE.txt file at the * top-level directory of this distribution. */ #pragma once #include "core/args.h" namespace gladius { ...
samuelkgutierrez/gladius
source/pty/pty.h
/* * Copyright (c) 2015-2016 Triad National Security, LLC * All rights reserved. * * This file is part of the Gladius project. See the LICENSE.txt file at the * top-level directory of this distribution. */ /** * */ #pragma once #include <string> #include <unistd.h> namespace gladius...
samuelkgutierrez/gladius
source/tool-api/gladius-toolbe.h
/* * Copyright (c) 2016 Triad National Security, LLC * All rights reserved. * * This file is part of the Gladius project. See the LICENSE.txt file at the * top-level directory of this distribution. */ /** * Outward facing back-end interface used by tools developers. */ #pragma onc...
samuelkgutierrez/gladius
source/core/args.h
/* * Copyright (c) 2014-2016 Triad National Security, LLC * All rights reserved. * * This file is part of the Gladius project. See the LICENSE.txt file at the * top-level directory of this distribution. */ #pragma once #include "core/utils.h" #include <cstdlib> #include <cstring> #inclu...
samuelkgutierrez/gladius
testing/misc/interpose-mpi-start-end.c
/* * Copyright (c) 2014-2015 Triad National Security, LLC * All rights reserved. * * This file is part of the Gladius project. See the LICENSE.txt file at the * top-level directory of this distribution. */ /** * To Build * mpicc -o interpose-mpi-start-end.so -shared -fPIC interpose-mpi-...
samuelkgutierrez/gladius
source/tool-fe/tool-fe.h
/* * Copyright (c) 2014-2016 Triad National Security, LLC * All rights reserved. * * This file is part of the Gladius project. See the LICENSE.txt file at the * top-level directory of this distribution. */ /** * The Front-End (FE) API. The interface to the tool actions. */ #pragma once...
samuelkgutierrez/gladius
source/dsys/palp.h
/** * Copyright (c) 2016 Triad National Security, LLC * All rights reserved. * * This file is part of the Gladius project. See the LICENSE.txt file at the * top-level directory of this distribution. */ /** * Implements generating launch commands for various parallel launchers like ...
samuelkgutierrez/gladius
source/timeline/legion-prof-log-parser.h
/** * Copyright (c) 2015 Triad National Security, LLC * All rights reserved. * * This file is part of the Gladius project. See the LICENSE.txt file at the * top-level directory of this distribution. */ #ifndef TIMELINE_LEGION_PROF_LOG_PARSER_H #define TIMELINE_LEGION_PROF_LOG_PARSER_...
swiimii/pomegranate
Checkers/Piece.h
// // Created by coltw on 4/7/2018. // #ifndef CHECKERS_PIECE_H #define CHECKERS_PIECE_H #include <iostream> using namespace std; class Piece { private: bool isDead, isKing; int team, row, col; public: Piece(); Piece(int row, int col, int team); void display(); //bool canMove(Spot &c); v...
swiimii/pomegranate
lab9/pointers.h
#ifndef POINTERS_H #define POINTERS_H // Author: <NAME> // Source File: Pointers.h // Description: Implements a convoluted class to exercise pointers, // dynamic memory, and reference manipulations. #include <iostream> using namespace std; class Pointers { public: Pointers(){ a = 5; b = NULL; ...
swiimii/pomegranate
lab9/manip.h
#ifndef MANIP_H #define MANIP_H // Author: <NAME> // Source File: manip.h // Description: A set of functions where you should manipulate // the passed parameters to change the object in a specific way, // so that Pointers_test.h passes all tests. #include "Pointers.h" // A little something to get you going void mani...
swiimii/pomegranate
lab9B/LList.h
#ifndef LLIST_H #define LLIST_H /* Linked List class that store integers, with [] operator. Uses head pointer. <NAME> September 2015 */ #include <ostream> #include <stdexcept> #define int int using namespace std; struct node_t { int data; node_t* next; }; // This implementation will use a h...
swiimii/pomegranate
Checkers/Game.h
<gh_stars>1-10 // // Created by swiim on 4/14/2018. // #ifndef CHECKERS_GAME_H #define CHECKERS_GAME_H #include "spot.cpp" class Game { }; #endif //CHECKERS_GAME_H
swiimii/pomegranate
Checkers/Spot.h
// // Created by swiim on 4/9/2018. // #ifndef CHECKERS_SPOT_H #define CHECKERS_SPOT_H #include <iostream> #include <vector> #include <string> #include "Piece.cpp" using namespace std; class Spot { public: Spot(); //Spot(int row, int col, Piece p); bool isOccupied(); //void assignPiece(Piece &p); ...
moslevin/Mark3C
libs/memutil/public/memutil.h
<filename>libs/memutil/public/memutil.h /*=========================================================================== _____ _____ _____ _____ ___| _|__ __|_ |__ __|__ |__ __| __ |__ ______ | \ / | || \ || | || |/ / ||___ | | \/ | || \ || ...
moslevin/Mark3C
kernel/timerlist.c
/*=========================================================================== _____ _____ _____ _____ ___| _|__ __|_ |__ __|__ |__ __| __ |__ ______ | \ / | || \ || | || |/ / ||___ | | \/ | || \ || \ || \ ||___ | |__/\__...
moslevin/Mark3C
kernel/public/mailbox.h
/*=========================================================================== _____ _____ _____ _____ ___| _|__ __|_ |__ __|__ |__ __| __ |__ ______ | \ / | || \ || | || |/ / ||___ | | \/ | || \ || \ || \ ||___ | |__/\__...
moslevin/Mark3C
kernel/public/thread.h
<filename>kernel/public/thread.h<gh_stars>0 /*=========================================================================== _____ _____ _____ _____ ___| _|__ __|_ |__ __|__ |__ __| __ |__ ______ | \ / | || \ || | || |/ / ||___ | | \/ | || \ ...
moslevin/Mark3C
kernel/quantum.c
/*=========================================================================== _____ _____ _____ _____ ___| _|__ __|_ |__ __|__ |__ __| __ |__ ______ | \ / | || \ || | || |/ / ||___ | | \/ | || \ || \ || \ ||___ | |__/\__...
moslevin/Mark3C
examples/avr/lab2_idle_function/main.c
/*=========================================================================== _____ _____ _____ _____ ___| _|__ __|_ |__ __|__ |__ __| __ |__ ______ | \ / | || \ || | || |/ / ||___ | | \/ | || \ || \ || \ ||___ | |__/\__...
moslevin/Mark3C
tests/kernel_profiling/mark3test.c
<filename>tests/kernel_profiling/mark3test.c #include "kerneltypes.h" #include "mark3cfg.h" #include "kernel.h" #include "thread.h" #include "driver.h" #include "drvUART.h" #include "profile.h" #include "kernelprofile.h" #include "ksemaphore.h" #include "mutex.h" #include "message.h" #include "timerlist.h" //--------...
moslevin/Mark3C
kernel/ksemaphore.c
<reponame>moslevin/Mark3C<filename>kernel/ksemaphore.c /*=========================================================================== _____ _____ _____ _____ ___| _|__ __|_ |__ __|__ |__ __| __ |__ ______ | \ / | || \ || | || |/ / ||___ | | \/ | |...
moslevin/Mark3C
kernel/mailbox.c
<reponame>moslevin/Mark3C<filename>kernel/mailbox.c<gh_stars>0 /*=========================================================================== _____ _____ _____ _____ ___| _|__ __|_ |__ __|__ |__ __| __ |__ ______ | \ / | || \ || | || |/ / ||___ | | ...
moslevin/Mark3C
tests/unit/ut_eventflag/ut_eventflag.c
<gh_stars>0 /*=========================================================================== _____ _____ _____ _____ ___| _|__ __|_ |__ __|__ |__ __| __ |__ ______ | \ / | || \ || | || |/ / ||___ | | \/ | || \ || \ || \ ||___...
moslevin/Mark3C
kernel/message.c
/*=========================================================================== _____ _____ _____ _____ ___| _|__ __|_ |__ __|__ |__ __| __ |__ ______ | \ / | || \ || | || |/ / ||___ | | \/ | || \ || \ || \ ||___ | |__/\__...
moslevin/Mark3C
stage/src/kernelprofile.h
<reponame>moslevin/Mark3C /*=========================================================================== _____ _____ _____ _____ ___| _|__ __|_ |__ __|__ |__ __| __ |__ ______ | \ / | || \ || | || |/ / ||___ | | \/ | || \ || \ || ...
moslevin/Mark3C
kernel/public/tracebuffer.h
<filename>kernel/public/tracebuffer.h /*=========================================================================== _____ _____ _____ _____ ___| _|__ __|_ |__ __|__ |__ __| __ |__ ______ | \ / | || \ || | || |/ / ||___ | | \/ | || \ || ...
moslevin/Mark3C
libs/memutil/memutil.c
/*=========================================================================== _____ _____ _____ _____ ___| _|__ __|_ |__ __|__ |__ __| __ |__ ______ | \ / | || \ || | || |/ / ||___ | | \/ | || \ || \ || \ ||___ | |__/\__...
moslevin/Mark3C
kernel/public/mutex.h
/*=========================================================================== _____ _____ _____ _____ ___| _|__ __|_ |__ __|__ |__ __| __ |__ ______ | \ / | || \ || | || |/ / ||___ | | \/ | || \ || \ || \ ||___ | |__/\__...