text:
default_target: all
.PHONY : default_target

#=============================================================================
# Special targets provided by cmake.

# Disable implicit rules so canonical targets will work.
.SUFFIXES:

# Remove some rules from gmake that .SUFFIXES does not remove.
SUFFIXES =

.SUFFIXES: .hpux_make_needs_suffix_list

# Suppress display of executed commands.
$(VERBOSE).SILENT:

# A target that is always out of date.
cmake_force:
.PHONY : cmake_force

#=============================================================================
# Set environment variables for the build.

# The shell in which to execute make rules.
SHELL = /bin/sh

# The CMake executable.
CMAKE_COMMAND = /usr/bin/cmake

# The command to remove a file.
RM = /usr/bin/cmake -E remove -f

# Escaping for special characters.
EQUALS = =

# The program to use to edit the cache.
CMAKE_EDIT_COMMAND = /usr/bin/ccmake

# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /home/chen/pcl-pcl-1.7.2

# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /home/chen/pcl-pcl-1.7.2/build

#=============================================================================
# Targets provided globally by CMake.

# Special rule for the target edit_cache
edit_cache:
	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..."
	/usr/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
.PHONY : edit_cache

# Special rule for the target edit_cache
edit_cache/fast: edit_cache
.PHONY : edit_cache/fast

# Special rule for the target install
install: preinstall
	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
	/usr/bin/cmake -P cmake_install.cmake
.PHONY : install

# Special rule for the target install
install/fast: preinstall/fast
	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
	/usr/bin/cmake -P cmake_install.cmake
.PHONY : install/fast

# Special rule for the target install/local
install/local: preinstall
	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
	/usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
.PHONY : install/local

# Special rule for the target install/local
install/local/fast: install/local
.PHONY : install/local/fast

# Special rule for the target install/strip
install/strip: preinstall
	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
	/usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
.PHONY : install/strip

# Special rule for the target install/strip
install/strip/fast: install/strip
.PHONY : install/strip/fast

# Special rule for the target list_install_components
list_install_components:
	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"pcl_common\" \"pcl_features\" \"pcl_filters\" \"pcl_geometry\" \"pcl_io\" \"pcl_kdtree\" \"pcl_keypoints\" \"pcl_octree\" \"pcl_outofcore\" \"pcl_people\" \"pcl_recognition\" \"pcl_registration\" \"pcl_sample_consensus\" \"pcl_search\" \"pcl_segmentation\" \"pcl_surface\" \"pcl_tools\" \"pcl_tracking\" \"pcl_visualization\" \"pclconfig\""
.PHONY : list_install_components

# Special rule for the target list_install_components
list_install_components/fast: list_install_components
.PHONY : list_install_components/fast

# Special rule for the target package
package: preinstall
	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Run CPack packaging tool..."
	cd /home/chen/pcl-pcl-1.7.2/build && /usr/bin/cpack --config ./CPackConfig.cmake
.PHONY : package

# Special rule for the target package
package/fast: package
.PHONY : package/fast

# Special rule for the target package_source
package_source:
	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Run CPack packaging tool for source..."
	cd /home/chen/pcl-pcl-1.7.2/build && /usr/bin/cpack --config ./CPackSourceConfig.cmake /home/chen/pcl-pcl-1.7.2/build/CPackSourceConfig.cmake
.PHONY : package_source

# Special rule for the target package_source
package_source/fast: package_source
.PHONY : package_source/fast

# Special rule for the target rebuild_cache
rebuild_cache:
	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
	/usr/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
.PHONY : rebuild_cache

# Special rule for the target rebuild_cache
rebuild_cache/fast: rebuild_cache
.PHONY : rebuild_cache/fast

# Special rule for the target test
test:
	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running tests..."
	/usr/bin/ctest --force-new-ctest-process $(ARGS)
.PHONY : test

# Special rule for the target test
test/fast: test
.PHONY : test/fast

# The main all target
all: cmake_check_build_system
	cd /home/chen/pcl-pcl-1.7.2/build && $(CMAKE_COMMAND) -E cmake_progress_start /home/chen/pcl-pcl-1.7.2/build/CMakeFiles /home/chen/pcl-pcl-1.7.2/build/io/CMakeFiles/progress.marks
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f CMakeFiles/Makefile2 io/all
	$(CMAKE_COMMAND) -E cmake_progress_start /home/chen/pcl-pcl-1.7.2/build/CMakeFiles 0
.PHONY : all

# The main clean target
clean:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f CMakeFiles/Makefile2 io/clean
.PHONY : clean

# The main clean target
clean/fast: clean
.PHONY : clean/fast

# Prepare targets for installation.
preinstall: all
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f CMakeFiles/Makefile2 io/preinstall
.PHONY : preinstall

# Prepare targets for installation.
preinstall/fast:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f CMakeFiles/Makefile2 io/preinstall
.PHONY : preinstall/fast

# clear depends
depend:
	cd /home/chen/pcl-pcl-1.7.2/build && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
.PHONY : depend

# Convenience name for target.
io/CMakeFiles/pcl_io.dir/rule:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f CMakeFiles/Makefile2 io/CMakeFiles/pcl_io.dir/rule
.PHONY : io/CMakeFiles/pcl_io.dir/rule

# Convenience name for target.
pcl_io: io/CMakeFiles/pcl_io.dir/rule
.PHONY : pcl_io

# fast build rule for target.
pcl_io/fast:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/build
.PHONY : pcl_io/fast

# Convenience name for target.
io/CMakeFiles/pcl_io_ply.dir/rule:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f CMakeFiles/Makefile2 io/CMakeFiles/pcl_io_ply.dir/rule
.PHONY : io/CMakeFiles/pcl_io_ply.dir/rule

# Convenience name for target.
pcl_io_ply: io/CMakeFiles/pcl_io_ply.dir/rule
.PHONY : pcl_io_ply

# fast build rule for target.
pcl_io_ply/fast:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io_ply.dir/build.make io/CMakeFiles/pcl_io_ply.dir/build
.PHONY : pcl_io_ply/fast

src/ascii_io.o: src/ascii_io.cpp.o
.PHONY : src/ascii_io.o

# target to build an object file
src/ascii_io.cpp.o:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/ascii_io.cpp.o
.PHONY : src/ascii_io.cpp.o

src/ascii_io.i: src/ascii_io.cpp.i
.PHONY : src/ascii_io.i

# target to preprocess a source file
src/ascii_io.cpp.i:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/ascii_io.cpp.i
.PHONY : src/ascii_io.cpp.i

src/ascii_io.s: src/ascii_io.cpp.s
.PHONY : src/ascii_io.s

# target to generate assembly for a file
src/ascii_io.cpp.s:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/ascii_io.cpp.s
.PHONY : src/ascii_io.cpp.s

src/compression.o: src/compression.cpp.o
.PHONY : src/compression.o

# target to build an object file
src/compression.cpp.o:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/compression.cpp.o
.PHONY : src/compression.cpp.o

src/compression.i: src/compression.cpp.i
.PHONY : src/compression.i

# target to preprocess a source file
src/compression.cpp.i:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/compression.cpp.i
.PHONY : src/compression.cpp.i

src/compression.s: src/compression.cpp.s
.PHONY : src/compression.s

# target to generate assembly for a file
src/compression.cpp.s:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/compression.cpp.s
.PHONY : src/compression.cpp.s

src/debayer.o: src/debayer.cpp.o
.PHONY : src/debayer.o

# target to build an object file
src/debayer.cpp.o:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/debayer.cpp.o
.PHONY : src/debayer.cpp.o

src/debayer.i: src/debayer.cpp.i
.PHONY : src/debayer.i

# target to preprocess a source file
src/debayer.cpp.i:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/debayer.cpp.i
.PHONY : src/debayer.cpp.i

src/debayer.s: src/debayer.cpp.s
.PHONY : src/debayer.s

# target to generate assembly for a file
src/debayer.cpp.s:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/debayer.cpp.s
.PHONY : src/debayer.cpp.s

src/dinast_grabber.o: src/dinast_grabber.cpp.o
.PHONY : src/dinast_grabber.o

# target to build an object file
src/dinast_grabber.cpp.o:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/dinast_grabber.cpp.o
.PHONY : src/dinast_grabber.cpp.o

src/dinast_grabber.i: src/dinast_grabber.cpp.i
.PHONY : src/dinast_grabber.i

# target to preprocess a source file
src/dinast_grabber.cpp.i:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/dinast_grabber.cpp.i
.PHONY : src/dinast_grabber.cpp.i

src/dinast_grabber.s: src/dinast_grabber.cpp.s
.PHONY : src/dinast_grabber.s

# target to generate assembly for a file
src/dinast_grabber.cpp.s:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/dinast_grabber.cpp.s
.PHONY : src/dinast_grabber.cpp.s

src/file_io.o: src/file_io.cpp.o
.PHONY : src/file_io.o

# target to build an object file
src/file_io.cpp.o:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/file_io.cpp.o
.PHONY : src/file_io.cpp.o

src/file_io.i: src/file_io.cpp.i
.PHONY : src/file_io.i

# target to preprocess a source file
src/file_io.cpp.i:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/file_io.cpp.i
.PHONY : src/file_io.cpp.i

src/file_io.s: src/file_io.cpp.s
.PHONY : src/file_io.s

# target to generate assembly for a file
src/file_io.cpp.s:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/file_io.cpp.s
.PHONY : src/file_io.cpp.s

src/hdl_grabber.o: src/hdl_grabber.cpp.o
.PHONY : src/hdl_grabber.o

# target to build an object file
src/hdl_grabber.cpp.o:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/hdl_grabber.cpp.o
.PHONY : src/hdl_grabber.cpp.o

src/hdl_grabber.i: src/hdl_grabber.cpp.i
.PHONY : src/hdl_grabber.i

# target to preprocess a source file
src/hdl_grabber.cpp.i:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/hdl_grabber.cpp.i
.PHONY : src/hdl_grabber.cpp.i

src/hdl_grabber.s: src/hdl_grabber.cpp.s
.PHONY : src/hdl_grabber.s

# target to generate assembly for a file
src/hdl_grabber.cpp.s:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/hdl_grabber.cpp.s
.PHONY : src/hdl_grabber.cpp.s

src/ifs_io.o: src/ifs_io.cpp.o
.PHONY : src/ifs_io.o

# target to build an object file
src/ifs_io.cpp.o:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/ifs_io.cpp.o
.PHONY : src/ifs_io.cpp.o

src/ifs_io.i: src/ifs_io.cpp.i
.PHONY : src/ifs_io.i

# target to preprocess a source file
src/ifs_io.cpp.i:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/ifs_io.cpp.i
.PHONY : src/ifs_io.cpp.i

src/ifs_io.s: src/ifs_io.cpp.s
.PHONY : src/ifs_io.s

# target to generate assembly for a file
src/ifs_io.cpp.s:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/ifs_io.cpp.s
.PHONY : src/ifs_io.cpp.s

src/image_depth.o: src/image_depth.cpp.o
.PHONY : src/image_depth.o

# target to build an object file
src/image_depth.cpp.o:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/image_depth.cpp.o
.PHONY : src/image_depth.cpp.o

src/image_depth.i: src/image_depth.cpp.i
.PHONY : src/image_depth.i

# target to preprocess a source file
src/image_depth.cpp.i:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/image_depth.cpp.i
.PHONY : src/image_depth.cpp.i

src/image_depth.s: src/image_depth.cpp.s
.PHONY : src/image_depth.s

# target to generate assembly for a file
src/image_depth.cpp.s:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/image_depth.cpp.s
.PHONY : src/image_depth.cpp.s

src/image_grabber.o: src/image_grabber.cpp.o
.PHONY : src/image_grabber.o

# target to build an object file
src/image_grabber.cpp.o:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/image_grabber.cpp.o
.PHONY : src/image_grabber.cpp.o

src/image_grabber.i: src/image_grabber.cpp.i
.PHONY : src/image_grabber.i

# target to preprocess a source file
src/image_grabber.cpp.i:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/image_grabber.cpp.i
.PHONY : src/image_grabber.cpp.i

src/image_grabber.s: src/image_grabber.cpp.s
.PHONY : src/image_grabber.s

# target to generate assembly for a file
src/image_grabber.cpp.s:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/image_grabber.cpp.s
.PHONY : src/image_grabber.cpp.s

src/image_ir.o: src/image_ir.cpp.o
.PHONY : src/image_ir.o

# target to build an object file
src/image_ir.cpp.o:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/image_ir.cpp.o
.PHONY : src/image_ir.cpp.o

src/image_ir.i: src/image_ir.cpp.i
.PHONY : src/image_ir.i

# target to preprocess a source file
src/image_ir.cpp.i:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/image_ir.cpp.i
.PHONY : src/image_ir.cpp.i

src/image_ir.s: src/image_ir.cpp.s
.PHONY : src/image_ir.s

# target to generate assembly for a file
src/image_ir.cpp.s:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/image_ir.cpp.s
.PHONY : src/image_ir.cpp.s

src/image_rgb24.o: src/image_rgb24.cpp.o
.PHONY : src/image_rgb24.o

# target to build an object file
src/image_rgb24.cpp.o:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/image_rgb24.cpp.o
.PHONY : src/image_rgb24.cpp.o

src/image_rgb24.i: src/image_rgb24.cpp.i
.PHONY : src/image_rgb24.i

# target to preprocess a source file
src/image_rgb24.cpp.i:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/image_rgb24.cpp.i
.PHONY : src/image_rgb24.cpp.i

src/image_rgb24.s: src/image_rgb24.cpp.s
.PHONY : src/image_rgb24.s

# target to generate assembly for a file
src/image_rgb24.cpp.s:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/image_rgb24.cpp.s
.PHONY : src/image_rgb24.cpp.s

src/image_yuv422.o: src/image_yuv422.cpp.o
.PHONY : src/image_yuv422.o

# target to build an object file
src/image_yuv422.cpp.o:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/image_yuv422.cpp.o
.PHONY : src/image_yuv422.cpp.o

src/image_yuv422.i: src/image_yuv422.cpp.i
.PHONY : src/image_yuv422.i

# target to preprocess a source file
src/image_yuv422.cpp.i:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/image_yuv422.cpp.i
.PHONY : src/image_yuv422.cpp.i

src/image_yuv422.s: src/image_yuv422.cpp.s
.PHONY : src/image_yuv422.s

# target to generate assembly for a file
src/image_yuv422.cpp.s:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/image_yuv422.cpp.s
.PHONY : src/image_yuv422.cpp.s

src/io_exception.o: src/io_exception.cpp.o
.PHONY : src/io_exception.o

# target to build an object file
src/io_exception.cpp.o:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/io_exception.cpp.o
.PHONY : src/io_exception.cpp.o

src/io_exception.i: src/io_exception.cpp.i
.PHONY : src/io_exception.i

# target to preprocess a source file
src/io_exception.cpp.i:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/io_exception.cpp.i
.PHONY : src/io_exception.cpp.i

src/io_exception.s: src/io_exception.cpp.s
.PHONY : src/io_exception.s

# target to generate assembly for a file
src/io_exception.cpp.s:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/io_exception.cpp.s
.PHONY : src/io_exception.cpp.s

src/libpng_wrapper.o: src/libpng_wrapper.cpp.o
.PHONY : src/libpng_wrapper.o

# target to build an object file
src/libpng_wrapper.cpp.o:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/libpng_wrapper.cpp.o
.PHONY : src/libpng_wrapper.cpp.o

src/libpng_wrapper.i: src/libpng_wrapper.cpp.i
.PHONY : src/libpng_wrapper.i

# target to preprocess a source file
src/libpng_wrapper.cpp.i:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/libpng_wrapper.cpp.i
.PHONY : src/libpng_wrapper.cpp.i

src/libpng_wrapper.s: src/libpng_wrapper.cpp.s
.PHONY : src/libpng_wrapper.s

# target to generate assembly for a file
src/libpng_wrapper.cpp.s:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/libpng_wrapper.cpp.s
.PHONY : src/libpng_wrapper.cpp.s

src/lzf.o: src/lzf.cpp.o
.PHONY : src/lzf.o

# target to build an object file
src/lzf.cpp.o:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/lzf.cpp.o
.PHONY : src/lzf.cpp.o

src/lzf.i: src/lzf.cpp.i
.PHONY : src/lzf.i

# target to preprocess a source file
src/lzf.cpp.i:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/lzf.cpp.i
.PHONY : src/lzf.cpp.i

src/lzf.s: src/lzf.cpp.s
.PHONY : src/lzf.s

# target to generate assembly for a file
src/lzf.cpp.s:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/lzf.cpp.s
.PHONY : src/lzf.cpp.s

src/lzf_image_io.o: src/lzf_image_io.cpp.o
.PHONY : src/lzf_image_io.o

# target to build an object file
src/lzf_image_io.cpp.o:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/lzf_image_io.cpp.o
.PHONY : src/lzf_image_io.cpp.o

src/lzf_image_io.i: src/lzf_image_io.cpp.i
.PHONY : src/lzf_image_io.i

# target to preprocess a source file
src/lzf_image_io.cpp.i:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/lzf_image_io.cpp.i
.PHONY : src/lzf_image_io.cpp.i

src/lzf_image_io.s: src/lzf_image_io.cpp.s
.PHONY : src/lzf_image_io.s

# target to generate assembly for a file
src/lzf_image_io.cpp.s:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/lzf_image_io.cpp.s
.PHONY : src/lzf_image_io.cpp.s

src/obj_io.o: src/obj_io.cpp.o
.PHONY : src/obj_io.o

# target to build an object file
src/obj_io.cpp.o:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/obj_io.cpp.o
.PHONY : src/obj_io.cpp.o

src/obj_io.i: src/obj_io.cpp.i
.PHONY : src/obj_io.i

# target to preprocess a source file
src/obj_io.cpp.i:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/obj_io.cpp.i
.PHONY : src/obj_io.cpp.i

src/obj_io.s: src/obj_io.cpp.s
.PHONY : src/obj_io.s

# target to generate assembly for a file
src/obj_io.cpp.s:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/obj_io.cpp.s
.PHONY : src/obj_io.cpp.s

src/oni_grabber.o: src/oni_grabber.cpp.o
.PHONY : src/oni_grabber.o

# target to build an object file
src/oni_grabber.cpp.o:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/oni_grabber.cpp.o
.PHONY : src/oni_grabber.cpp.o

src/oni_grabber.i: src/oni_grabber.cpp.i
.PHONY : src/oni_grabber.i

# target to preprocess a source file
src/oni_grabber.cpp.i:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/oni_grabber.cpp.i
.PHONY : src/oni_grabber.cpp.i

src/oni_grabber.s: src/oni_grabber.cpp.s
.PHONY : src/oni_grabber.s

# target to generate assembly for a file
src/oni_grabber.cpp.s:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/oni_grabber.cpp.s
.PHONY : src/oni_grabber.cpp.s

src/openni_camera/openni_depth_image.o: src/openni_camera/openni_depth_image.cpp.o
.PHONY : src/openni_camera/openni_depth_image.o

# target to build an object file
src/openni_camera/openni_depth_image.cpp.o:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/openni_camera/openni_depth_image.cpp.o
.PHONY : src/openni_camera/openni_depth_image.cpp.o

src/openni_camera/openni_depth_image.i: src/openni_camera/openni_depth_image.cpp.i
.PHONY : src/openni_camera/openni_depth_image.i

# target to preprocess a source file
src/openni_camera/openni_depth_image.cpp.i:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/openni_camera/openni_depth_image.cpp.i
.PHONY : src/openni_camera/openni_depth_image.cpp.i

src/openni_camera/openni_depth_image.s: src/openni_camera/openni_depth_image.cpp.s
.PHONY : src/openni_camera/openni_depth_image.s

# target to generate assembly for a file
src/openni_camera/openni_depth_image.cpp.s:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/openni_camera/openni_depth_image.cpp.s
.PHONY : src/openni_camera/openni_depth_image.cpp.s

src/openni_camera/openni_device.o: src/openni_camera/openni_device.cpp.o
.PHONY : src/openni_camera/openni_device.o

# target to build an object file
src/openni_camera/openni_device.cpp.o:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/openni_camera/openni_device.cpp.o
.PHONY : src/openni_camera/openni_device.cpp.o

src/openni_camera/openni_device.i: src/openni_camera/openni_device.cpp.i
.PHONY : src/openni_camera/openni_device.i

# target to preprocess a source file
src/openni_camera/openni_device.cpp.i:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/openni_camera/openni_device.cpp.i
.PHONY : src/openni_camera/openni_device.cpp.i

src/openni_camera/openni_device.s: src/openni_camera/openni_device.cpp.s
.PHONY : src/openni_camera/openni_device.s

# target to generate assembly for a file
src/openni_camera/openni_device.cpp.s:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/openni_camera/openni_device.cpp.s
.PHONY : src/openni_camera/openni_device.cpp.s

src/openni_camera/openni_device_kinect.o: src/openni_camera/openni_device_kinect.cpp.o
.PHONY : src/openni_camera/openni_device_kinect.o

# target to build an object file
src/openni_camera/openni_device_kinect.cpp.o:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/openni_camera/openni_device_kinect.cpp.o
.PHONY : src/openni_camera/openni_device_kinect.cpp.o

src/openni_camera/openni_device_kinect.i: src/openni_camera/openni_device_kinect.cpp.i
.PHONY : src/openni_camera/openni_device_kinect.i

# target to preprocess a source file
src/openni_camera/openni_device_kinect.cpp.i:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/openni_camera/openni_device_kinect.cpp.i
.PHONY : src/openni_camera/openni_device_kinect.cpp.i

src/openni_camera/openni_device_kinect.s: src/openni_camera/openni_device_kinect.cpp.s
.PHONY : src/openni_camera/openni_device_kinect.s

# target to generate assembly for a file
src/openni_camera/openni_device_kinect.cpp.s:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/openni_camera/openni_device_kinect.cpp.s
.PHONY : src/openni_camera/openni_device_kinect.cpp.s

src/openni_camera/openni_device_oni.o: src/openni_camera/openni_device_oni.cpp.o
.PHONY : src/openni_camera/openni_device_oni.o

# target to build an object file
src/openni_camera/openni_device_oni.cpp.o:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/openni_camera/openni_device_oni.cpp.o
.PHONY : src/openni_camera/openni_device_oni.cpp.o

src/openni_camera/openni_device_oni.i: src/openni_camera/openni_device_oni.cpp.i
.PHONY : src/openni_camera/openni_device_oni.i

# target to preprocess a source file
src/openni_camera/openni_device_oni.cpp.i:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/openni_camera/openni_device_oni.cpp.i
.PHONY : src/openni_camera/openni_device_oni.cpp.i

src/openni_camera/openni_device_oni.s: src/openni_camera/openni_device_oni.cpp.s
.PHONY : src/openni_camera/openni_device_oni.s

# target to generate assembly for a file
src/openni_camera/openni_device_oni.cpp.s:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/openni_camera/openni_device_oni.cpp.s
.PHONY : src/openni_camera/openni_device_oni.cpp.s

src/openni_camera/openni_device_primesense.o: src/openni_camera/openni_device_primesense.cpp.o
.PHONY : src/openni_camera/openni_device_primesense.o

# target to build an object file
src/openni_camera/openni_device_primesense.cpp.o:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/openni_camera/openni_device_primesense.cpp.o
.PHONY : src/openni_camera/openni_device_primesense.cpp.o

src/openni_camera/openni_device_primesense.i: src/openni_camera/openni_device_primesense.cpp.i
.PHONY : src/openni_camera/openni_device_primesense.i

# target to preprocess a source file
src/openni_camera/openni_device_primesense.cpp.i:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/openni_camera/openni_device_primesense.cpp.i
.PHONY : src/openni_camera/openni_device_primesense.cpp.i

src/openni_camera/openni_device_primesense.s: src/openni_camera/openni_device_primesense.cpp.s
.PHONY : src/openni_camera/openni_device_primesense.s

# target to generate assembly for a file
src/openni_camera/openni_device_primesense.cpp.s:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/openni_camera/openni_device_primesense.cpp.s
.PHONY : src/openni_camera/openni_device_primesense.cpp.s

src/openni_camera/openni_device_xtion.o: src/openni_camera/openni_device_xtion.cpp.o
.PHONY : src/openni_camera/openni_device_xtion.o

# target to build an object file
src/openni_camera/openni_device_xtion.cpp.o:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/openni_camera/openni_device_xtion.cpp.o
.PHONY : src/openni_camera/openni_device_xtion.cpp.o

src/openni_camera/openni_device_xtion.i: src/openni_camera/openni_device_xtion.cpp.i
.PHONY : src/openni_camera/openni_device_xtion.i

# target to preprocess a source file
src/openni_camera/openni_device_xtion.cpp.i:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/openni_camera/openni_device_xtion.cpp.i
.PHONY : src/openni_camera/openni_device_xtion.cpp.i

src/openni_camera/openni_device_xtion.s: src/openni_camera/openni_device_xtion.cpp.s
.PHONY : src/openni_camera/openni_device_xtion.s

# target to generate assembly for a file
src/openni_camera/openni_device_xtion.cpp.s:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/openni_camera/openni_device_xtion.cpp.s
.PHONY : src/openni_camera/openni_device_xtion.cpp.s

src/openni_camera/openni_driver.o: src/openni_camera/openni_driver.cpp.o
.PHONY : src/openni_camera/openni_driver.o

# target to build an object file
src/openni_camera/openni_driver.cpp.o:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/openni_camera/openni_driver.cpp.o
.PHONY : src/openni_camera/openni_driver.cpp.o

src/openni_camera/openni_driver.i: src/openni_camera/openni_driver.cpp.i
.PHONY : src/openni_camera/openni_driver.i

# target to preprocess a source file
src/openni_camera/openni_driver.cpp.i:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/openni_camera/openni_driver.cpp.i
.PHONY : src/openni_camera/openni_driver.cpp.i

src/openni_camera/openni_driver.s: src/openni_camera/openni_driver.cpp.s
.PHONY : src/openni_camera/openni_driver.s

# target to generate assembly for a file
src/openni_camera/openni_driver.cpp.s:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/openni_camera/openni_driver.cpp.s
.PHONY : src/openni_camera/openni_driver.cpp.s

src/openni_camera/openni_exception.o: src/openni_camera/openni_exception.cpp.o
.PHONY : src/openni_camera/openni_exception.o

# target to build an object file
src/openni_camera/openni_exception.cpp.o:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/openni_camera/openni_exception.cpp.o
.PHONY : src/openni_camera/openni_exception.cpp.o

src/openni_camera/openni_exception.i: src/openni_camera/openni_exception.cpp.i
.PHONY : src/openni_camera/openni_exception.i

# target to preprocess a source file
src/openni_camera/openni_exception.cpp.i:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/openni_camera/openni_exception.cpp.i
.PHONY : src/openni_camera/openni_exception.cpp.i

src/openni_camera/openni_exception.s: src/openni_camera/openni_exception.cpp.s
.PHONY : src/openni_camera/openni_exception.s

# target to generate assembly for a file
src/openni_camera/openni_exception.cpp.s:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/openni_camera/openni_exception.cpp.s
.PHONY : src/openni_camera/openni_exception.cpp.s

src/openni_camera/openni_image_bayer_grbg.o: src/openni_camera/openni_image_bayer_grbg.cpp.o
.PHONY : src/openni_camera/openni_image_bayer_grbg.o

# target to build an object file
src/openni_camera/openni_image_bayer_grbg.cpp.o:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/openni_camera/openni_image_bayer_grbg.cpp.o
.PHONY : src/openni_camera/openni_image_bayer_grbg.cpp.o

src/openni_camera/openni_image_bayer_grbg.i: src/openni_camera/openni_image_bayer_grbg.cpp.i
.PHONY : src/openni_camera/openni_image_bayer_grbg.i

# target to preprocess a source file
src/openni_camera/openni_image_bayer_grbg.cpp.i:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/openni_camera/openni_image_bayer_grbg.cpp.i
.PHONY : src/openni_camera/openni_image_bayer_grbg.cpp.i

src/openni_camera/openni_image_bayer_grbg.s: src/openni_camera/openni_image_bayer_grbg.cpp.s
.PHONY : src/openni_camera/openni_image_bayer_grbg.s

# target to generate assembly for a file
src/openni_camera/openni_image_bayer_grbg.cpp.s:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/openni_camera/openni_image_bayer_grbg.cpp.s
.PHONY : src/openni_camera/openni_image_bayer_grbg.cpp.s

src/openni_camera/openni_image_rgb24.o: src/openni_camera/openni_image_rgb24.cpp.o
.PHONY : src/openni_camera/openni_image_rgb24.o

# target to build an object file
src/openni_camera/openni_image_rgb24.cpp.o:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/openni_camera/openni_image_rgb24.cpp.o
.PHONY : src/openni_camera/openni_image_rgb24.cpp.o

src/openni_camera/openni_image_rgb24.i: src/openni_camera/openni_image_rgb24.cpp.i
.PHONY : src/openni_camera/openni_image_rgb24.i

# target to preprocess a source file
src/openni_camera/openni_image_rgb24.cpp.i:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/openni_camera/openni_image_rgb24.cpp.i
.PHONY : src/openni_camera/openni_image_rgb24.cpp.i

src/openni_camera/openni_image_rgb24.s: src/openni_camera/openni_image_rgb24.cpp.s
.PHONY : src/openni_camera/openni_image_rgb24.s

# target to generate assembly for a file
src/openni_camera/openni_image_rgb24.cpp.s:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/openni_camera/openni_image_rgb24.cpp.s
.PHONY : src/openni_camera/openni_image_rgb24.cpp.s

src/openni_camera/openni_image_yuv_422.o: src/openni_camera/openni_image_yuv_422.cpp.o
.PHONY : src/openni_camera/openni_image_yuv_422.o

# target to build an object file
src/openni_camera/openni_image_yuv_422.cpp.o:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/openni_camera/openni_image_yuv_422.cpp.o
.PHONY : src/openni_camera/openni_image_yuv_422.cpp.o

src/openni_camera/openni_image_yuv_422.i: src/openni_camera/openni_image_yuv_422.cpp.i
.PHONY : src/openni_camera/openni_image_yuv_422.i

# target to preprocess a source file
src/openni_camera/openni_image_yuv_422.cpp.i:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/openni_camera/openni_image_yuv_422.cpp.i
.PHONY : src/openni_camera/openni_image_yuv_422.cpp.i

src/openni_camera/openni_image_yuv_422.s: src/openni_camera/openni_image_yuv_422.cpp.s
.PHONY : src/openni_camera/openni_image_yuv_422.s

# target to generate assembly for a file
src/openni_camera/openni_image_yuv_422.cpp.s:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/openni_camera/openni_image_yuv_422.cpp.s
.PHONY : src/openni_camera/openni_image_yuv_422.cpp.s

src/openni_camera/openni_ir_image.o: src/openni_camera/openni_ir_image.cpp.o
.PHONY : src/openni_camera/openni_ir_image.o

# target to build an object file
src/openni_camera/openni_ir_image.cpp.o:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/openni_camera/openni_ir_image.cpp.o
.PHONY : src/openni_camera/openni_ir_image.cpp.o

src/openni_camera/openni_ir_image.i: src/openni_camera/openni_ir_image.cpp.i
.PHONY : src/openni_camera/openni_ir_image.i

# target to preprocess a source file
src/openni_camera/openni_ir_image.cpp.i:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/openni_camera/openni_ir_image.cpp.i
.PHONY : src/openni_camera/openni_ir_image.cpp.i

src/openni_camera/openni_ir_image.s: src/openni_camera/openni_ir_image.cpp.s
.PHONY : src/openni_camera/openni_ir_image.s

# target to generate assembly for a file
src/openni_camera/openni_ir_image.cpp.s:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/openni_camera/openni_ir_image.cpp.s
.PHONY : src/openni_camera/openni_ir_image.cpp.s

src/openni_grabber.o: src/openni_grabber.cpp.o
.PHONY : src/openni_grabber.o

# target to build an object file
src/openni_grabber.cpp.o:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/openni_grabber.cpp.o
.PHONY : src/openni_grabber.cpp.o

src/openni_grabber.i: src/openni_grabber.cpp.i
.PHONY : src/openni_grabber.i

# target to preprocess a source file
src/openni_grabber.cpp.i:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/openni_grabber.cpp.i
.PHONY : src/openni_grabber.cpp.i

src/openni_grabber.s: src/openni_grabber.cpp.s
.PHONY : src/openni_grabber.s

# target to generate assembly for a file
src/openni_grabber.cpp.s:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/openni_grabber.cpp.s
.PHONY : src/openni_grabber.cpp.s

src/pcd_grabber.o: src/pcd_grabber.cpp.o
.PHONY : src/pcd_grabber.o

# target to build an object file
src/pcd_grabber.cpp.o:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/pcd_grabber.cpp.o
.PHONY : src/pcd_grabber.cpp.o

src/pcd_grabber.i: src/pcd_grabber.cpp.i
.PHONY : src/pcd_grabber.i

# target to preprocess a source file
src/pcd_grabber.cpp.i:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/pcd_grabber.cpp.i
.PHONY : src/pcd_grabber.cpp.i

src/pcd_grabber.s: src/pcd_grabber.cpp.s
.PHONY : src/pcd_grabber.s

# target to generate assembly for a file
src/pcd_grabber.cpp.s:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/pcd_grabber.cpp.s
.PHONY : src/pcd_grabber.cpp.s

src/pcd_io.o: src/pcd_io.cpp.o
.PHONY : src/pcd_io.o

# target to build an object file
src/pcd_io.cpp.o:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/pcd_io.cpp.o
.PHONY : src/pcd_io.cpp.o

src/pcd_io.i: src/pcd_io.cpp.i
.PHONY : src/pcd_io.i

# target to preprocess a source file
src/pcd_io.cpp.i:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/pcd_io.cpp.i
.PHONY : src/pcd_io.cpp.i

src/pcd_io.s: src/pcd_io.cpp.s
.PHONY : src/pcd_io.s

# target to generate assembly for a file
src/pcd_io.cpp.s:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/pcd_io.cpp.s
.PHONY : src/pcd_io.cpp.s

src/ply/ply_parser.o: src/ply/ply_parser.cpp.o
.PHONY : src/ply/ply_parser.o

# target to build an object file
src/ply/ply_parser.cpp.o:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io_ply.dir/build.make io/CMakeFiles/pcl_io_ply.dir/src/ply/ply_parser.cpp.o
.PHONY : src/ply/ply_parser.cpp.o

src/ply/ply_parser.i: src/ply/ply_parser.cpp.i
.PHONY : src/ply/ply_parser.i

# target to preprocess a source file
src/ply/ply_parser.cpp.i:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io_ply.dir/build.make io/CMakeFiles/pcl_io_ply.dir/src/ply/ply_parser.cpp.i
.PHONY : src/ply/ply_parser.cpp.i

src/ply/ply_parser.s: src/ply/ply_parser.cpp.s
.PHONY : src/ply/ply_parser.s

# target to generate assembly for a file
src/ply/ply_parser.cpp.s:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io_ply.dir/build.make io/CMakeFiles/pcl_io_ply.dir/src/ply/ply_parser.cpp.s
.PHONY : src/ply/ply_parser.cpp.s

src/ply_io.o: src/ply_io.cpp.o
.PHONY : src/ply_io.o

# target to build an object file
src/ply_io.cpp.o:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/ply_io.cpp.o
.PHONY : src/ply_io.cpp.o

src/ply_io.i: src/ply_io.cpp.i
.PHONY : src/ply_io.i

# target to preprocess a source file
src/ply_io.cpp.i:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/ply_io.cpp.i
.PHONY : src/ply_io.cpp.i

src/ply_io.s: src/ply_io.cpp.s
.PHONY : src/ply_io.s

# target to generate assembly for a file
src/ply_io.cpp.s:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/ply_io.cpp.s
.PHONY : src/ply_io.cpp.s

src/png_io.o: src/png_io.cpp.o
.PHONY : src/png_io.o

# target to build an object file
src/png_io.cpp.o:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/png_io.cpp.o
.PHONY : src/png_io.cpp.o

src/png_io.i: src/png_io.cpp.i
.PHONY : src/png_io.i

# target to preprocess a source file
src/png_io.cpp.i:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/png_io.cpp.i
.PHONY : src/png_io.cpp.i

src/png_io.s: src/png_io.cpp.s
.PHONY : src/png_io.s

# target to generate assembly for a file
src/png_io.cpp.s:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/png_io.cpp.s
.PHONY : src/png_io.cpp.s

src/robot_eye_grabber.o: src/robot_eye_grabber.cpp.o
.PHONY : src/robot_eye_grabber.o

# target to build an object file
src/robot_eye_grabber.cpp.o:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/robot_eye_grabber.cpp.o
.PHONY : src/robot_eye_grabber.cpp.o

src/robot_eye_grabber.i: src/robot_eye_grabber.cpp.i
.PHONY : src/robot_eye_grabber.i

# target to preprocess a source file
src/robot_eye_grabber.cpp.i:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/robot_eye_grabber.cpp.i
.PHONY : src/robot_eye_grabber.cpp.i

src/robot_eye_grabber.s: src/robot_eye_grabber.cpp.s
.PHONY : src/robot_eye_grabber.s

# target to generate assembly for a file
src/robot_eye_grabber.cpp.s:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/robot_eye_grabber.cpp.s
.PHONY : src/robot_eye_grabber.cpp.s

src/vtk_io.o: src/vtk_io.cpp.o
.PHONY : src/vtk_io.o

# target to build an object file
src/vtk_io.cpp.o:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/vtk_io.cpp.o
.PHONY : src/vtk_io.cpp.o

src/vtk_io.i: src/vtk_io.cpp.i
.PHONY : src/vtk_io.i

# target to preprocess a source file
src/vtk_io.cpp.i:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/vtk_io.cpp.i
.PHONY : src/vtk_io.cpp.i

src/vtk_io.s: src/vtk_io.cpp.s
.PHONY : src/vtk_io.s

# target to generate assembly for a file
src/vtk_io.cpp.s:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/vtk_io.cpp.s
.PHONY : src/vtk_io.cpp.s

src/vtk_lib_io.o: src/vtk_lib_io.cpp.o
.PHONY : src/vtk_lib_io.o

# target to build an object file
src/vtk_lib_io.cpp.o:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/vtk_lib_io.cpp.o
.PHONY : src/vtk_lib_io.cpp.o

src/vtk_lib_io.i: src/vtk_lib_io.cpp.i
.PHONY : src/vtk_lib_io.i

# target to preprocess a source file
src/vtk_lib_io.cpp.i:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/vtk_lib_io.cpp.i
.PHONY : src/vtk_lib_io.cpp.i

src/vtk_lib_io.s: src/vtk_lib_io.cpp.s
.PHONY : src/vtk_lib_io.s

# target to generate assembly for a file
src/vtk_lib_io.cpp.s:
	cd /home/chen/pcl-pcl-1.7.2/build && $(MAKE) -f io/CMakeFiles/pcl_io.dir/build.make io/CMakeFiles/pcl_io.dir/src/vtk_lib_io.cpp.s
.PHONY : src/vtk_lib_io.cpp.s

# Help Target
help:
	@echo "The following are some of the valid targets for this Makefile:"
	@echo "... all (the default if no target is provided)"
	@echo "... clean"
	@echo "... depend"
	@echo "... edit_cache"
	@echo "... install"
	@echo "... install/local"
	@echo "... install/strip"
	@echo "... list_install_components"
	@echo "... package"
	@echo "... package_source"
	@echo "... pcl_io"
	@echo "... pcl_io_ply"
	@echo "... rebuild_cache"
	@echo "... test"
	@echo "... src/ascii_io.o"
	@echo "... src/ascii_io.i"
	@echo "... src/ascii_io.s"
	@echo "... src/compression.o"
	@echo "... src/compression.i"
	@echo "... src/compression.s"
	@echo "... src/debayer.o"
	@echo "... src/debayer.i"
	@echo "... src/debayer.s"
	@echo "... src/dinast_grabber.o"
	@echo "... src/dinast_grabber.i"
	@echo "... src/dinast_grabber.s"
	@echo "... src/file_io.o"
	@echo "... src/file_io.i"
	@echo "... src/file_io.s"
	@echo "... src/hdl_grabber.o"
	@echo "... src/hdl_grabber.i"
	@echo "... src/hdl_grabber.s"
	@echo "... src/ifs_io.o"
	@echo "... src/ifs_io.i"
	@echo "... src/ifs_io.s"
	@echo "... src/image_depth.o"
	@echo "... src/image_depth.i"
	@echo "... src/image_depth.s"
	@echo "... src/image_grabber.o"
	@echo "... src/image_grabber.i"
	@echo "... src/image_grabber.s"
	@echo "... src/image_ir.o"
	@echo "... src/image_ir.i"
	@echo "... src/image_ir.s"
	@echo "... src/image_rgb24.o"
	@echo "... src/image_rgb24.i"
	@echo "... src/image_rgb24.s"
	@echo "... src/image_yuv422.o"
	@echo "... src/image_yuv422.i"
	@echo "... src/image_yuv422.s"
	@echo "... src/io_exception.o"
	@echo "... src/io_exception.i"
	@echo "... src/io_exception.s"
	@echo "... src/libpng_wrapper.o"
	@echo "... src/libpng_wrapper.i"
	@echo "... src/libpng_wrapper.s"
	@echo "... src/lzf.o"
	@echo "... src/lzf.i"
	@echo "... src/lzf.s"
	@echo "... src/lzf_image_io.o"
	@echo "... src/lzf_image_io.i"
	@echo "... src/lzf_image_io.s"
	@echo "... src/obj_io.o"
	@echo "... src/obj_io.i"
	@echo "... src/obj_io.s"
	@echo "... src/oni_grabber.o"
	@echo "... src/oni_grabber.i"
	@echo "... src/oni_grabber.s"
	@echo "... src/openni_camera/openni_depth_image.o"
	@echo "... src/openni_camera/openni_depth_image.i"
	@echo "... src/openni_camera/openni_depth_image.s"
	@echo "... src/openni_camera/openni_device.o"
	@echo "... src/openni_camera/openni_device.i"
	@echo "... src/openni_camera/openni_device.s"
	@echo "... src/openni_camera/openni_device_kinect.o"
	@echo "... src/openni_camera/openni_device_kinect.i"
	@echo "... src/openni_camera/openni_device_kinect.s"
	@echo "... src/openni_camera/openni_device_oni.o"
	@echo "... src/openni_camera/openni_device_oni.i"
	@echo "... src/openni_camera/openni_device_oni.s"
	@echo "... src/openni_camera/openni_device_primesense.o"
	@echo "... src/openni_camera/openni_device_primesense.i"
	@echo "... src/openni_camera/openni_device_primesense.s"
	@echo "... src/openni_camera/openni_device_xtion.o"
	@echo "... src/openni_camera/openni_device_xtion.i"
	@echo "... src/openni_camera/openni_device_xtion.s"
	@echo "... src/openni_camera/openni_driver.o"
	@echo "... src/openni_camera/openni_driver.i"
	@echo "... src/openni_camera/openni_driver.s"
	@echo "... src/openni_camera/openni_exception.o"
	@echo "... src/openni_camera/openni_exception.i"
	@echo "... src/openni_camera/openni_exception.s"
	@echo "... src/openni_camera/openni_image_bayer_grbg.o"
	@echo "... src/openni_camera/openni_image_bayer_grbg.i"
	@echo "... src/openni_camera/openni_image_bayer_grbg.s"
	@echo "... src/openni_camera/openni_image_rgb24.o"
	@echo "... src/openni_camera/openni_image_rgb24.i"
	@echo "... src/openni_camera/openni_image_rgb24.s"
	@echo "... src/openni_camera/openni_image_yuv_422.o"
	@echo "... src/openni_camera/openni_image_yuv_422.i"
	@echo "... src/openni_camera/openni_image_yuv_422.s"
	@echo "... src/openni_camera/openni_ir_image.o"
	@echo "... src/openni_camera/openni_ir_image.i"
	@echo "... src/openni_camera/openni_ir_image.s"
	@echo "... src/openni_grabber.o"
	@echo "... src/openni_grabber.i"
	@echo "... src/openni_grabber.s"
	@echo "... src/pcd_grabber.o"
	@echo "... src/pcd_grabber.i"
	@echo "... src/pcd_grabber.s"
	@echo "... src/pcd_io.o"
	@echo "... src/pcd_io.i"
	@echo "... src/pcd_io.s"
	@echo "... src/ply/ply_parser.o"
	@echo "... src/ply/ply_parser.i"
	@echo "... src/ply/ply_parser.s"
	@echo "... src/ply_io.o"
	@echo "... src/ply_io.i"
	@echo "... src/ply_io.s"
	@echo "... src/png_io.o"
	@echo "... src/png_io.i"
	@echo "... src/png_io.s"
	@echo "... src/robot_eye_grabber.o"
	@echo "... src/robot_eye_grabber.i"
	@echo "... src/robot_eye_grabber.s"
	@echo "... src/vtk_io.o"
	@echo "... src/vtk_io.i"
	@echo "... src/vtk_io.s"
	@echo "... src/vtk_lib_io.o"
	@echo "... src/vtk_lib_io.i"
	@echo "... src/vtk_lib_io.s"
.PHONY : help

#=============================================================================
# Special targets to cleanup operation of make.

# Special rule to run CMake to check the build system integrity.
# No rule that depends on this can have commands that come from listfiles
# because they might be regenerated.
cmake_check_build_system:
	cd /home/chen/pcl-pcl-1.7.2/build && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
.PHONY : cmake_check_build_system


text:
package org.apache.tinkerpop.gremlin.server.util;

import com.codahale.metrics.ConsoleReporter;
import com.codahale.metrics.Counter;
import com.codahale.metrics.CsvReporter;
import com.codahale.metrics.Gauge;
import com.codahale.metrics.Histogram;
import com.codahale.metrics.JmxReporter;
import com.codahale.metrics.Meter;
import com.codahale.metrics.MetricFilter;
import com.codahale.metrics.MetricRegistry;
import com.codahale.metrics.Slf4jReporter;
import com.codahale.metrics.Timer;
import com.codahale.metrics.ganglia.GangliaReporter;
import com.codahale.metrics.graphite.Graphite;
import com.codahale.metrics.graphite.GraphiteReporter;
import info.ganglia.gmetric4j.gmetric.GMetric;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import javax.management.MBeanServer;
import javax.management.MBeanServerFactory;
import java.io.File;
import java.io.IOException;
import java.net.InetSocketAddress;
import java.util.List;
import java.util.Optional;
import java.util.UUID;
import java.util.concurrent.TimeUnit;

/**
 * Singleton that contains and configures Gremlin Server's {@code MetricRegistry}. Borrowed from Titan's approach to
 * managing Metrics.
 *
 * @author Stephen Mallette (http://stephen.genoprime.com)
 */
public enum MetricManager {
    INSTANCE;

    private static final Logger log = LoggerFactory.getLogger(MetricManager.class);

    private final MetricRegistry registry = new MetricRegistry();
    private ConsoleReporter consoleReporter = null;
    private CsvReporter csvReporter = null;
    private JmxReporter jmxReporter = null;
    private Slf4jReporter slf4jReporter = null;
    private GangliaReporter gangliaReporter = null;
    private GraphiteReporter graphiteReporter = null;

    /**
     * Return the Titan Metrics registry.
     *
     * @return the single {@code MetricRegistry} used for all of Titan's Metrics
     * monitoring
     */
    public MetricRegistry getRegistry() {
        return registry;
    }

    /**
     * Create a {@link ConsoleReporter} attached to the Titan Metrics registry.
     *
     * @param reportIntervalInMS milliseconds to wait between dumping metrics to the console
     */
    public synchronized void addConsoleReporter(final long reportIntervalInMS) {
        if (null != consoleReporter) {
            log.debug("Metrics ConsoleReporter already active; not creating another");
            return;
        }

        consoleReporter = ConsoleReporter.forRegistry(getRegistry()).build();
        consoleReporter.start(reportIntervalInMS, TimeUnit.MILLISECONDS);

        log.info("Configured Metrics ConsoleReporter configured with report interval={}ms", reportIntervalInMS);
    }

    /**
     * Stop a {@link ConsoleReporter} previously created by a call to
     * {@link #addConsoleReporter(long)} and release it for GC. Idempotent
     * between calls to the associated add method. Does nothing before the first
     * call to the associated add method.
     */
    public synchronized void removeConsoleReporter() {
        if (null != consoleReporter)
            consoleReporter.stop();

        consoleReporter = null;
    }

    /**
     * Create a {@link CsvReporter} attached to the Titan Metrics registry.
     *

     * The {@code output} argument must be non-null but need not exist. If it
     * doesn't already exist, this method attempts to create it by calling
     * {@link File#mkdirs()}.
     *
     * @param reportIntervalInMS milliseconds to wait between dumping metrics to CSV files in
     *                           the configured directory
     * @param output             the path to a directory into which Metrics will periodically
     *                           write CSV data
     */
    public synchronized void addCsvReporter(final long reportIntervalInMS,
                                            final String output) {

        File outputDir = new File(output);

        if (null != csvReporter) {
            log.debug("Metrics CsvReporter already active; not creating another");
            return;
        }

        if (!outputDir.exists()) {
            if (!outputDir.mkdirs()) {
                log.warn("Failed to create CSV metrics dir {}", outputDir);
            }
        }

        csvReporter = CsvReporter.forRegistry(getRegistry()).build(outputDir);
        csvReporter.start(reportIntervalInMS, TimeUnit.MILLISECONDS);

        log.info("Configured Metrics CsvReporter configured with report interval={}ms to fileName={}", reportIntervalInMS, output);
    }

    /**
     * Stop a {@link CsvReporter} previously created by a call to
     * {@link #addCsvReporter(long, String)} and release it for GC. Idempotent
     * between calls to the associated add method. Does nothing before the first
     * call to the associated add method.
     */
    public synchronized void removeCsvReporter() {
        if (null != csvReporter)
            csvReporter.stop();

        csvReporter = null;
    }

    /**
     * Create a {@link JmxReporter} attached to the Titan Metrics registry.
     *

     * If {@code domain} or {@code agentId} is null, then Metrics's uses its own
     * internal default value(s).
     *

     * If {@code agentId} is non-null, then
     * MBeanServerFactory#findMBeanServer(agentId) must return exactly
     * one {@code MBeanServer}. The reporter will register with that server. If
     * the {@code findMBeanServer(agentId)} call returns no or multiple servers,
     * then this method logs an error and falls back on the Metrics default for
     * {@code agentId}.
     *
     * @param domain  the JMX domain in which to continuously expose metrics
     * @param agentId the JMX agent ID
     */
    public synchronized void addJmxReporter(final String domain, final String agentId) {
        if (null != jmxReporter) {
            log.debug("Metrics JmxReporter already active; not creating another");
            return;
        }

        JmxReporter.Builder b = JmxReporter.forRegistry(getRegistry());

        if (null != domain) {
            b.inDomain(domain);
        }

        if (null != agentId) {
            List<MBeanServer> servs = MBeanServerFactory.findMBeanServer(agentId);
            if (null != servs && 1 == servs.size()) {
                b.registerWith(servs.get(0));
            } else {
                log.error("Metrics Slf4jReporter agentId {} does not resolve to a single MBeanServer", agentId);
            }
        }

        jmxReporter = b.build();
        jmxReporter.start();

        log.info("Configured Metrics JmxReporter configured with domain={} and agentId={}",
                Optional.ofNullable(domain).orElse(""), Optional.ofNullable(agentId).orElse(""));
    }

    /**
     * Stop a {@link JmxReporter} previously created by a call to
     * {@link #addJmxReporter(String, String)} and release it for GC. Idempotent
     * between calls to the associated add method. Does nothing before the first
     * call to the associated add method.
     */
    public synchronized void removeJmxReporter() {
        if (null != jmxReporter)
            jmxReporter.stop();

        jmxReporter = null;
    }

    /**
     * Create a {@link Slf4jReporter} attached to the Titan Metrics registry.
     *

     * If {@code loggerName} is null, or if it is non-null but
     * LoggerFactory.getLogger(loggerName) returns null, then Metrics's
     * default Slf4j logger name is used instead.
     *
     * @param reportIntervalInMS milliseconds to wait between writing metrics to the Slf4j
     *                           logger
     * @param loggerName         the name of the Slf4j logger that receives metrics
     */
    public synchronized void addSlf4jReporter(final long reportIntervalInMS, final String loggerName) {
        if (null != slf4jReporter) {
            log.debug("Metrics Slf4jReporter already active; not creating another");
            return;
        }

        Slf4jReporter.Builder b = Slf4jReporter.forRegistry(getRegistry());

        if (null != loggerName) {
            Logger l = LoggerFactory.getLogger(loggerName);
            if (null != l) {
                b.outputTo(l);
            } else {
                log.error("Logger with name {} could not be obtained", loggerName);
            }
        }

        slf4jReporter = b.build();
        slf4jReporter.start(reportIntervalInMS, TimeUnit.MILLISECONDS);

        log.info("Configured Metrics Slf4jReporter configured with interval={}ms and loggerName={}", reportIntervalInMS, loggerName);
    }

    /**
     * Stop a {@link Slf4jReporter} previously created by a call to
     * {@link #addSlf4jReporter(long, String)} and release it for GC. Idempotent
     * between calls to the associated add method. Does nothing before the first
     * call to the associated add method.
     */
    public synchronized void removeSlf4jReporter() {
        if (null != slf4jReporter)
            slf4jReporter.stop();

        slf4jReporter = null;
    }

    /**
     * Create a {@link GangliaReporter} attached to the Titan Metrics registry.
     *

     * {@code groupOrHost} and {@code addressingMode} must be non-null. The
     * remaining non-primitive arguments may be null. If {@code protocol31} is
     * null, then true is assumed. Null values of {@code hostUUID} or
     * {@code spoof} are passed into the {@link GMetric} constructor, which
     * causes Ganglia to use its internal logic for generating a default UUID
     * and default reporting hostname (respectively).
     *
     * @param groupOrHost        the multicast group or unicast hostname to which Ganglia
     *                           events are sent
     * @param port               the port to which events are sent
     * @param addressingMode     whether to send events with multicast or unicast
     * @param ttl                multicast ttl (ignored for unicast)
     * @param protocol31         true to use Ganglia protocol version 3.1, false to use 3.0
     * @param hostUUID           uuid for the host
     * @param spoof              override this machine's IP/hostname as it appears on the
     *                           Ganglia server
     * @param reportIntervalInMS milliseconds to wait before sending data to the ganglia
     *                           unicast host or multicast group
     * @throws IOException when a {@link GMetric} can't be instantiated using the
     *                     provided arguments
     */
    public synchronized void addGangliaReporter(final String groupOrHost, final int port,
                                                final GMetric.UDPAddressingMode addressingMode, final int ttl, final Boolean protocol31,
                                                final UUID hostUUID, final String spoof, final long reportIntervalInMS) throws IOException {
        if (null == groupOrHost || groupOrHost.isEmpty())
            throw new IllegalArgumentException("groupOrHost cannot be null or empty");

        if (null == addressingMode)
            throw new IllegalArgumentException("addressing mode cannot be null");

        if (null != gangliaReporter) {
            log.debug("Metrics GangliaReporter already active; not creating another");
            return;
        }

        final boolean protocol = null == protocol31 ? true : protocol31;
        GMetric ganglia = new GMetric(groupOrHost, port, addressingMode, ttl,
                protocol, hostUUID, spoof);

        GangliaReporter.Builder b = GangliaReporter.forRegistry(getRegistry());

        gangliaReporter = b.build(ganglia);
        gangliaReporter.start(reportIntervalInMS, TimeUnit.MILLISECONDS);

        log.info("Configured Ganglia Metrics reporter host={} interval={}ms port={} addrmode={} ttl={} proto31={} uuid={} spoof={}",
                new Object[]{groupOrHost, reportIntervalInMS, port, addressingMode, ttl, protocol31, hostUUID, spoof});
    }

    /**
     * Stop a {@link GangliaReporter} previously created by a call to
     * addGangliaReporter(String, int, GMetric.UDPAddressingMode, int, Boolean, UUID, long)
     * and release it for GC. Idempotent between calls to the associated add
     * method. Does nothing before the first call to the associated add method.
     */
    public synchronized void removeGangliaReporter() {
        if (null != gangliaReporter)
            gangliaReporter.stop();

        gangliaReporter = null;
    }

    /**
     * Create a {@link GraphiteReporter} attached to the Titan Metrics registry.
     *

     * If {@code prefix} is null, then Metrics's internal default prefix is used
     * (empty string at the time this comment was written).
     *
     * @param host               the host to which Graphite reports are sent
     * @param port               the port to which Graphite reports are sent
     * @param prefix             the optional metrics prefix
     * @param reportIntervalInMS milliseconds to wait between sending metrics to the configured
     *                           Graphite host and port
     */
    public synchronized void addGraphiteReporter(final String host, final int port,
                                                 final String prefix, final long reportIntervalInMS) {
        if (host == null || host.isEmpty())
            throw new IllegalArgumentException("Host cannot be null or empty");

        Graphite graphite = new Graphite(new InetSocketAddress(host, port));

        GraphiteReporter.Builder b = GraphiteReporter
                .forRegistry(getRegistry());

        if (null != prefix)
            b.prefixedWith(prefix);

        b.filter(MetricFilter.ALL);

        graphiteReporter = b.build(graphite);
        graphiteReporter.start(reportIntervalInMS, TimeUnit.MILLISECONDS);
        log.info("Configured Graphite reporter host={} interval={}ms port={} prefix={}",
                new Object[]{host, reportIntervalInMS, port, prefix});
    }

    /**
     * Stop a {@link GraphiteReporter} previously created by a call to
     * {@link #addGraphiteReporter(String, int, String, long)} and release it
     * for GC. Idempotent between calls to the associated add method. Does
     * nothing before the first call to the associated add method.
     */
    public synchronized void removeGraphiteReporter() {
        if (null != graphiteReporter)
            graphiteReporter.stop();

        graphiteReporter = null;
    }

    /**
     * Remove all Titan Metrics reporters previously configured through the
     * {@code add*} methods on this class.
     */
    public synchronized void removeAllReporters() {
        removeConsoleReporter();
        removeCsvReporter();
        removeJmxReporter();
        removeSlf4jReporter();
        removeGangliaReporter();
        removeGraphiteReporter();
    }

    public Counter getCounter(final String name) {
        return getRegistry().counter(name);
    }

    public Counter getCounter(final String prefix, final String... names) {
        return getRegistry().counter(MetricRegistry.name(prefix, names));
    }

    public <T> Gauge<T> getGuage(final Gauge<T> gauge, final String name) {
        return getRegistry().register(name, gauge);
    }

    public <T> Gauge<T> getGuage(final Gauge<T> gauge, final String prefix, final String... names) {
        return getRegistry().register(MetricRegistry.name(prefix, names), gauge);
    }

    public Meter getMeter(final String name) {
        return getRegistry().meter(name);
    }

    public Meter getMeter(final String prefix, final String... names) {
        return getRegistry().meter(MetricRegistry.name(prefix, names));
    }

    public Timer getTimer(final String name) {
        return getRegistry().timer(name);
    }

    public Timer getTimer(final String prefix, final String... names) {
        return getRegistry().timer(MetricRegistry.name(prefix, names));
    }

    public Histogram getHistogram(final String name) {
        return getRegistry().histogram(name);
    }

    public Histogram getHistogram(final String prefix, final String... names) {
        return getRegistry().histogram(MetricRegistry.name(prefix, names));
    }
}

redpajama_set_name: RedPajamaGithub


text:
<?php

namespace NetSuite\Classes;

class Location extends Record {
    /**
     * @var string
     */
    public $name;
    /**
     * @var \NetSuite\Classes\RecordRef
     */
    public $parent;
    /**
     * @var boolean
     */
    public $includeChildren;
    /**
     * @var \NetSuite\Classes\RecordRefList
     */
    public $subsidiaryList;
    /**
     * @var boolean
     */
    public $isInactive;
    /**
     * @var string
     */
    public $tranPrefix;
    /**
     * @var \NetSuite\Classes\Address
     */
    public $mainAddress;
    /**
     * @var \NetSuite\Classes\Address
     */
    public $returnAddress;
    /**
     * @var \NetSuite\Classes\LocationType
     */
    public $locationType;
    /**
     * @var \NetSuite\Classes\LocationTimeZone
     */
    public $timeZone;
    /**
     * @var float
     */
    public $latitude;
    /**
     * @var float
     */
    public $longitude;
    /**
     * @var \NetSuite\Classes\RecordRef
     */
    public $logo;
    /**
     * @var boolean
     */
    public $useBins;
    /**
     * @var boolean
     */
    public $makeInventoryAvailable;
    /**
     * @var boolean
     */
    public $makeInventoryAvailableStore;
    /**
     * @var \NetSuite\Classes\LocationGeolocationMethod
     */
    public $geolocationMethod;
    /**
     * @var \NetSuite\Classes\LocationAutoAssignmentRegionSetting
     */
    public $autoAssignmentRegionSetting;
    /**
     * @var string
     */
    public $nextPickupCutOffTime;
    /**
     * @var integer
     */
    public $bufferStock;
    /**
     * @var boolean
     */
    public $allowStorePickup;
    /**
     * @var float
     */
    public $storePickupBufferStock;
    /**
     * @var integer
     */
    public $dailyShippingCapacity;
    /**
     * @var integer
     */
    public $totalShippingCapacity;
    /**
     * @var \NetSuite\Classes\LocationRegionsList
     */
    public $includeLocationRegionsList;
    /**
     * @var \NetSuite\Classes\LocationRegionsList
     */
    public $excludeLocationRegionsList;
    /**
     * @var \NetSuite\Classes\LocationBusinessHoursList
     */
    public $businessHoursList;
    /**
     * @var \NetSuite\Classes\ClassTranslationList
     */
    public $classTranslationList;
    /**
     * @var boolean
     */
    public $includeInControlTower;
    /**
     * @var \NetSuite\Classes\CustomFieldList
     */
    public $customFieldList;
    /**
     * @var string
     */
    public $internalId;
    /**
     * @var string
     */
    public $externalId;
    static $paramtypesmap = array(
        "name" => "string",
        "parent" => "RecordRef",
        "includeChildren" => "boolean",
        "subsidiaryList" => "RecordRefList",
        "isInactive" => "boolean",
        "tranPrefix" => "string",
        "mainAddress" => "Address",
        "returnAddress" => "Address",
        "locationType" => "LocationType",
        "timeZone" => "LocationTimeZone",
        "latitude" => "float",
        "longitude" => "float",
        "logo" => "RecordRef",
        "useBins" => "boolean",
        "makeInventoryAvailable" => "boolean",
        "makeInventoryAvailableStore" => "boolean",
        "geolocationMethod" => "LocationGeolocationMethod",
        "autoAssignmentRegionSetting" => "LocationAutoAssignmentRegionSetting",
        "nextPickupCutOffTime" => "dateTime",
        "bufferStock" => "integer",
        "allowStorePickup" => "boolean",
        "storePickupBufferStock" => "float",
        "dailyShippingCapacity" => "integer",
        "totalShippingCapacity" => "integer",
        "includeLocationRegionsList" => "LocationRegionsList",
        "excludeLocationRegionsList" => "LocationRegionsList",
        "businessHoursList" => "LocationBusinessHoursList",
        "classTranslationList" => "ClassTranslationList",
        "includeInControlTower" => "boolean",
        "customFieldList" => "CustomFieldList",
        "internalId" => "string",
        "externalId" => "string",
    );
}


text:
It's not to easy to set the locale of an emulator or device from ADB directly.

*DevSet* provides a system protected `BroadcastReceiver` to do so with just one
(simple) command.

### Usage

    adb shell am broadcast -n dev.set/.locale --es l {locale}

`{locale}` must be a representation or tag of a `java.util.Locale`
like *en*, *en_US* or *en-US*.

##### Required permission
The receiver itself requires the system permission
`android.permission.CHANGE_CONFIGURATION` to protect against abuse.

### Installation

    gradle install

Gradle handles the installation and grants the permission needed to change the
device locale.

##### Granting the permission
Granting the permission manually can be done with

    adb shell pm grant dev.set android.permission.CHANGE_CONFIGURATION


text:
package com.netopyr.wurmloch.store;

import com.netopyr.wurmloch.crdt.Crdt;
import com.netopyr.wurmloch.crdt.CrdtCommand;
import com.netopyr.wurmloch.crdt.GCounter;
import com.netopyr.wurmloch.crdt.GSet;
import com.netopyr.wurmloch.crdt.LWWRegister;
import com.netopyr.wurmloch.crdt.MVRegister;
import com.netopyr.wurmloch.crdt.ORSet;
import com.netopyr.wurmloch.crdt.PNCounter;
import com.netopyr.wurmloch.crdt.RGA;
import io.reactivex.Flowable;
import io.reactivex.processors.BehaviorProcessor;
import io.reactivex.processors.ReplayProcessor;
import io.reactivex.subscribers.DefaultSubscriber;
import javaslang.collection.HashMap;
import javaslang.collection.Map;
import javaslang.control.Option;
import org.reactivestreams.Processor;
import org.reactivestreams.Publisher;
import org.reactivestreams.Subscriber;

import java.util.Objects;
import java.util.UUID;
import java.util.function.BiFunction;

@SuppressWarnings({"WeakerAccess", "unused", "SameParameterValue"})
public class CrdtStore implements Publisher<CrdtDefinition> {

    // fields
    private final String nodeId;
    private final Processor<CrdtDefinition, CrdtDefinition> definitions = ReplayProcessor.create();
    private Map<CrdtStore, CrdtStoreSubscriber> subscribers = HashMap.empty();

    private Map<String, Crdt> crdts = HashMap.empty();
    private Map<Class<? extends Crdt>, BiFunction<String, String, ? extends Crdt>> factories = HashMap.empty();

    // constructor
    public CrdtStore() {
        this(UUID.randomUUID().toString());
    }

    public CrdtStore(String nodeId) {
        this.nodeId = nodeId;
        registerDefaultFactories();
    }

    @SuppressWarnings("unchecked")
    private void registerDefaultFactories() {
        registerFactory(LWWRegister.class, (BiFunction<String, String, LWWRegister>) LWWRegister::new);
        registerFactory(MVRegister.class, (BiFunction<String, String, MVRegister>) MVRegister::new);
        registerFactory(GCounter.class, GCounter::new);
        registerFactory(PNCounter.class, PNCounter::new);
        registerFactory(GSet.class, (nodeId, crdtId) -> new GSet(crdtId));
        registerFactory(ORSet.class, (nodeId, crdtId) -> new ORSet(crdtId));
        registerFactory(RGA.class, (BiFunction<String, String, RGA>) RGA::new);
    }

    // find- and factory-methods
    public <T extends Crdt<T, ? extends CrdtCommand>> void registerFactory(Class<T> crdtClass, BiFunction<String, String, T> builder) {
        factories = factories.put(crdtClass, builder);
    }

    public Option<? extends Crdt> findCrdt(String crdtId) {
        return crdts.get(crdtId);
    }

    public <T extends Crdt> T createCrdt(Class<T> crdtClass) {
        return createCrdt(crdtClass, UUID.randomUUID().toString());
    }

    @SuppressWarnings("unchecked")
    public <T extends Crdt> T createCrdt(Class<T> crdtClass, String crdtId) {
        Objects.requireNonNull(crdtClass, "CrdtClass must not be null");
        Objects.requireNonNull(crdtId, "CrdtId must not be null");
        final Option<BiFunction<String, String, ? extends Crdt>> factory = factories.get(crdtClass);
        if (factory.isEmpty()) {
            throw new IllegalArgumentException("Factory for class " + crdtClass + " not defined");
        }
        final T result = (T) factory.get().apply(nodeId, crdtId);
        register(result);
        return result;
    }

    public <T> LWWRegister<T> createLWWRegister() {
        return createLWWRegister(UUID.randomUUID().toString());
    }

    public <T> LWWRegister<T> createLWWRegister(String id) {
        Objects.requireNonNull(id, "id must not be null");
        final LWWRegister<T> result = new LWWRegister<>(nodeId, id);
        register(result);
        return result;
    }

    @SuppressWarnings("unchecked")
    public <T> Option<LWWRegister<T>> findLWWRegister(String crtdId) {
        final Option<? extends Crdt> option = findCrdt(crtdId);
        return option.flatMap(crtd -> crtd instanceof LWWRegister ? Option.of((LWWRegister<T>) crtd) : Option.none());
    }

    public <T> MVRegister<T> createMVRegister() {
        return createMVRegister(UUID.randomUUID().toString());
    }

    public <T> MVRegister<T> createMVRegister(String id) {
        Objects.requireNonNull(id, "id must not be null");
        final MVRegister<T> result = new MVRegister<>(nodeId, id);
        register(result);
        return result;
    }

    @SuppressWarnings("unchecked")
    public <T> Option<MVRegister<T>> findMVRegister(String crtdId) {
        final Option<? extends Crdt> option = findCrdt(crtdId);
        return option.flatMap(crtd -> crtd instanceof MVRegister ? Option.of((MVRegister<T>) crtd) : Option.none());
    }

    public GCounter createGCounter() {
        return createGCounter(UUID.randomUUID().toString());
    }

    public GCounter createGCounter(String id) {
        Objects.requireNonNull(id, "id must not be null");
        final GCounter result = new GCounter(nodeId, id);
        register(result);
        return result;
    }

    public Option<GCounter> findGCounter(String crtdId) {
        final Option<? extends Crdt> option = findCrdt(crtdId);
        return option.flatMap(crtd -> crtd instanceof GCounter ? Option.of((GCounter) crtd) : Option.none());
    }

    public PNCounter createPNCounter() {
        return createPNCounter(UUID.randomUUID().toString());
    }

    public PNCounter createPNCounter(String id) {
        Objects.requireNonNull(id, "id must not be null");
        final PNCounter result = new PNCounter(nodeId, id);
        register(result);
        return result;
    }

    public Option<PNCounter> findPNCounter(String crtdId) {
        final Option<? extends Crdt> option = findCrdt(crtdId);
        return option.flatMap(crtd -> crtd instanceof PNCounter ? Option.of((PNCounter) crtd) : Option.none());
    }

    public <E> GSet<E> createGSet() {
        return createGSet(UUID.randomUUID().toString());
    }

    public <E> GSet<E> createGSet(String id) {
        Objects.requireNonNull(id, "id must not be null");
        final GSet<E> result = new GSet<>(id);
        register(result);
        return result;
    }

    @SuppressWarnings("unchecked")
    public <E> Option<GSet<E>> findGSet(String crtdId) {
        final Option<? extends Crdt> option = findCrdt(crtdId);
        return option.flatMap(crtd -> crtd instanceof GSet ? Option.of((GSet<E>) crtd) : Option.none());
    }

    public <E> ORSet<E> createORSet() {
        return createORSet(UUID.randomUUID().toString());
    }

    public <E> ORSet<E> createORSet(String id) {
        Objects.requireNonNull(id, "id must not be null");
        final ORSet<E> result = new ORSet<>(id);
        register(result);
        return result;
    }

    @SuppressWarnings("unchecked")
    public <E> Option<ORSet<E>> findORSet(String crtdId) {
        final Option<? extends Crdt> option = findCrdt(crtdId);
        return option.flatMap(crtd -> crtd instanceof ORSet ? Option.of((ORSet<E>) crtd) : Option.none());
    }

    public <E> RGA<E> createRGA() {
        return createRGA(UUID.randomUUID().toString());
    }

    public <E> RGA<E> createRGA(String id) {
        Objects.requireNonNull(id, "id must not be null");
        final RGA<E> result = new RGA<>(nodeId, id);
        register(result);
        return result;
    }

    @SuppressWarnings("unchecked")
    public <E> Option<RGA<E>> findRGA(String crtdId) {
        final Option<? extends Crdt> option = findCrdt(crtdId);
        return option.flatMap(crtd -> crtd instanceof RGA ? Option.of((RGA<E>) crtd) : Option.none());
    }

    // implementation
    @SuppressWarnings("unchecked")
    private void register(Crdt crdt) {
        crdts = crdts.put(crdt.getCrdtId(), crdt);
        definitions.onNext(new CrdtDefinition(crdt.getCrdtId(), crdt.getClass(), crdt));
    }

    // subscribe
    @Override
    public void subscribe(Subscriber<? super CrdtDefinition> subscriber) {
        definitions.subscribe(subscriber);
    }

    public void subscribeTo(Publisher<? extends CrdtDefinition> publisher) {
        Flowable.fromPublisher(publisher).onTerminateDetach().subscribe(new CrdtStoreSubscriber());
    }

    public void connect(CrdtStore other) {
        if (!subscribers.containsKey(other)) {
            final CrdtStoreSubscriber subscriber = new CrdtStoreSubscriber();
            other.subscribe(subscriber);
            subscribers = subscribers.put(other, subscriber);
            other.connect(this);
        }
    }

    public void disconnect(CrdtStore other) {
        subscribers.get(other).peek(
                subscriber -> {
                    subscriber.dispose();
                    subscribers = subscribers.remove(other);
                    other.disconnect(this);
                }
        );
    }

    protected class CrdtStoreSubscriber extends DefaultSubscriber<CrdtDefinition> {

        private final Processor<Boolean, Boolean> cancelProcessor = BehaviorProcessor.create();

        @SuppressWarnings("unchecked")
        @Override
        public void onNext(CrdtDefinition definition) {
            final String crdtId = definition.getCrdtId();
            final Flowable<? extends CrdtCommand> publisher = Flowable.fromPublisher(definition.getPublisher()).takeUntil(cancelProcessor);
            final Option<? extends Crdt> existingCrdt = findCrdt(crdtId);
            if (existingCrdt.isDefined()) {
                existingCrdt.get().subscribeTo(publisher);
            } else {
                final Class<? extends Crdt> crdtClass = definition.getCrdtClass();
                factories.get(crdtClass)
                        .map(factory -> factory.apply(nodeId, crdtId))
                        .peek(CrdtStore.this::register)
                        .peek(crdt -> crdt.subscribeTo(publisher));
            }
        }

        @Override
        public void onError(Throwable throwable) {
            cancel();
        }

        @Override
        public void onComplete() {
            cancel();
        }

        public void dispose() {
            cancelProcessor.onNext(true);
            cancelProcessor.onComplete();
        }
    }
}


text:
<?php namespace Modules\Translation\Repositories\Cache;

use Modules\Core\Repositories\Cache\BaseCacheDecorator;
use Modules\Translation\Entities\TranslationTranslation;
use Modules\Translation\Repositories\TranslationRepository;

class CacheTranslationDecorator extends BaseCacheDecorator implements TranslationRepository
{
    public function __construct(TranslationRepository $recipe)
    {
        parent::__construct();
        $this->entityName = 'translation.translations';
        $this->repository = $recipe;
    }

    /**
     * @param string $key
     * @param string $locale
     * @return string
     */
    public function findByKeyAndLocale($key, $locale = null)
    {
        $cleanKey = $this->cleanKey($key);

        $locale = $locale ?: app()->getLocale();

        return $this->cache
            ->tags($this->entityName, 'global')
            ->rememberForever("{$this->entityName}.findByKeyAndLocale.{$cleanKey}.{$locale}",
                function () use ($key, $locale) {
                    return $this->repository->findByKeyAndLocale($key, $locale);
                }
            );
    }

    public function allFormatted()
    {
        return $this->cache
            ->tags($this->entityName, 'global')
            ->rememberForever("{$this->locale}.{$this->entityName}.allFormatted",
                function () {
                    return $this->repository->allFormatted();
                }
            );
    }

    public function saveTranslationForLocaleAndKey($locale, $key, $value)
    {
        $this->cache->tags($this->entityName)->flush();

        return $this->repository->saveTranslationForLocaleAndKey($locale, $key, $value);
    }

    public function findTranslationByKey($key)
    {
        $cleanKey = $this->cleanKey($key);

        return $this->cache
            ->tags($this->entityName, 'global')
            ->rememberForever("{$this->locale}.{$this->entityName}.findTranslationByKey.{$cleanKey}",
                function () use ($key) {
                    return $this->repository->findTranslationByKey($key);
                }
            );
    }

    /**
     * Update the given translation key with the given data
     * @param string $key
     * @param array $data
     * @return mixed
     */
    public function updateFromImport($key, array $data)
    {
        $this->cache->tags($this->entityName)->flush();

        return $this->repository->updateFromImport($key, $data);
    }

    /**
     * Set the given value on the given TranslationTranslation
     * @param TranslationTranslation $translationTranslation
     * @param string $value
     * @return void
     */
    public function updateTranslationToValue(TranslationTranslation $translationTranslation, $value)
    {
        $this->cache->tags($this->entityName)->flush();

        return $this->repository->updateTranslationToValue($translationTranslation, $value);
    }

    /**
     * Clean a Cache Key so it is safe for use
     * @param string $key   Potentially unsafe key
     * @return string
     */
    protected function cleanKey($key)
    {
        return str_replace(" ", "--", $key);
    }
}


text:
using namespace std;
using namespace sdsl;

class Interrogator_V3 {

	int8_t versionID;
	vector<string> compactStructure;
	vector<rrr_vector<>> compactPositions;
	vector<RangeQuery_V3> range_set;
	vector<TopkQuery_V3> topk_set;
	string refDate;
	int32_t normalize;
	int32_t refYear = 0;
	int32_t refMonth = 0;
	int32_t refDay = 0;
	int32_t refHour = 0;

	inline void referenceDate()

	{
			refYear = stoi(refDate.substr(0, 4));
			refMonth = stoi(refDate.substr(4, 2));
			refDay = stoi(refDate.substr(6, 2));
			refHour = stoi(refDate.substr(9, 2));

	}

	inline int32_t compressDate(const string & time)
	{
		string year = time.substr(0, 4);
		string month = time.substr(4, 2);
		string day = time.substr(6, 2);
		string hour = time.substr(9, 2);

		int32_t ID = 0;
		ID += stoi(hour) - refHour;
		ID += (stoi(day) - refDay) * 24;
		ID += (stoi(month) - refMonth) * 744;
		ID += (stoi(year) - refYear) * 8928;

		return ID;
	}

	inline void saveOp(const string & operation,
						const string & time1,
	                    const string & time2,
	                    const string & page,
	                    const string & K)
	{

		if (operation == "range")
		{
			RangeQuery_V3 query(compressDate(time1) + normalize, compressDate(time2) + normalize, page);
			range_set.push_back(query);
		}

		if (operation == "top_k")
		{
			int64_t k = stoi(K);
			if (k <= 0) return;
			TopkQuery_V3 query(compressDate(time1) + normalize, compressDate(time2) + normalize, page, k);
			topk_set.push_back(query);
		}

	}

public:

	Interrogator_V3 (int8_t versionID) {

		this->versionID = versionID;
	}

	inline void deserialize() {

		string fileindex = string("index.") + to_string(versionID);
		ifstream ss(fileindex,ios::binary);
		vector<vector<char>> serialStructure;
		vector<char> data;

		if (ss.is_open())
		{
				load(compactPositions, ss);
				load(normalize, ss);
				load(serialStructure, ss);
				load(data, ss);

				ss.close();
		}

		refDate = string(data.begin(), data.end());

		vector<string> structure (serialStructure.size());
		int32_t i = 0;

		for (const auto vec : serialStructure)
		{
			string data (vec.begin(), vec.end());
			structure[i] = ref(data);
			i++;
		}

		compactStructure = ref(structure);

		referenceDate();

	}

	inline void readQueryset(string queryset) {

		ifstream qry(queryset);

		if (qry.is_open())
		{
			string line = "";
			string operation = "";
			string time1 = "";
			string time2 = "";
			string page = "";
			string K = "";

			uint8_t c;
			istringstream iss(line);

			while (getline(qry, line))
			{
				iss.clear();
				iss.str(line + "\t0");
				c = 0;

				while (getline(iss, K, '\t'))

				{

					if (c == 0)
						operation = K;
					else
					if (c == 1)
						time1 = K;
					else
					if (c == 2)
						time2 = K;
					else
					if (c == 3)
						page = K;
					else
					if (c == 4)
						saveOp(operation, time1, time2, page, K);
					else break;
					c++;
				}
			}
			qry.close();
		}

	}

	inline void performQueries()
	{

		for (RangeQuery_V3 query : range_set)
		{
			query.performQuery(compactStructure, compactPositions);
		}

		for (TopkQuery_V3 query : topk_set)
		{
			query.performQuery(compactStructure, compactPositions);
		}

	}

};


text:
from django.test import Client, TestCase

from app.timetables.factories import ServingFactory
from .utils import create_admin_account, make_request

class ReviewApiTest(TestCase):
    """Test for Review API."""

    def setUp(self):
        self.client = Client()
        create_admin_account()
        self.serving = ServingFactory()
        self.first_review = self.create_review(
            self.serving.public_id.hashid,
            3,
            'Fair meal'
        )['review']
        self.reviews = (
            (self.serving.public_id.hashid, 4, 'Good meal'),
            (self.serving.public_id.hashid, 5, 'Excellent meal')
        )

    def create_review(self, serving_public_id, value, comment):
        query = '''
                mutation{
                    createReview(input: {serving: "%s", value: "%s", comment: "%s"}){
                        review{
                            id,
                            originalId,
                            value,
                            comment,
                            serving{
                                publicId
                            }
                        }
                    }
                }
                ''' % (serving_public_id, value, comment)
        return make_request(self.client, query, 'POST')

    def retrieve_review(self, review_id):
        query = '''query {
                    review(id: "%s") {
                        id,
                        originalId,
                        value,
                        comment,
                        serving{
                            publicId
                        }
                    }
                }
                ''' % (review_id)

        return make_request(self.client, query)

    def create_multiple_reviews(self):
        return [self.create_review(public_id, value, comment)
                for public_id, value, comment in self.reviews]

    def test_creation_of_review_object(self):
        # For new review record
        response = self.create_review(self.serving.public_id.hashid, 1, 'Terrible meal')
        created_review = response['review']
        expected = {
            'review': {
                'id': created_review['id'],
                'originalId': created_review['originalId'],
                'value': 1,
                'comment': 'Terrible meal',
                'serving': {
                    'publicId': self.serving.public_id.hashid
                }
            }
        }
        self.assertEqual(expected, response)

    def test_retrieve_review_object(self):
        # Retrieve with valid id
        response = self.retrieve_review(self.first_review['id'])
        expected = {
            'review': {
                'id': self.first_review['id'],
                'originalId': self.first_review['originalId'],
                'value': self.first_review['value'],
                'comment': self.first_review['comment'],
                'serving': self.first_review['serving'],
            }
        }
        self.assertEqual(expected, response)

        # Retrieve with invalid id
        self.assertEqual({'review': None}, self.retrieve_review('jnejkndjkdyhwie'))

    def test_retrieve_multiple_reviews_without_filtering(self):
        self.create_multiple_reviews()

        query = 'query {reviews{edges{node{value,comment}}}}'

        expected = {
            'reviews': [
                {
                    'value': self.first_review['value'],
                    'comment': self.first_review['comment'],
                },
                {
                    'value': self.reviews[0][1],
                    'comment': self.reviews[0][2],
                },
                {
                    'value': self.reviews[1][1],
                    'comment': self.reviews[1][2],
                },
            ]
        }

        response = make_request(self.client, query)

        self.assertEqual(expected, response)

    def test_retrieve_multiple_reviews_filter_by_comment(self):
        self.create_multiple_reviews()
        query = 'query {reviews(comment_Icontains: "meal") {edges{node{value,comment}}}}'

        expected = {
            'reviews': [
                {
                    'value': self.first_review['value'],
                    'comment': self.first_review['comment'],
                },
                {
                    'value': self.reviews[0][1],
                    'comment': self.reviews[0][2],
                },
                {
                    'value': self.reviews[1][1],
                    'comment': self.reviews[1][2],
                },
            ]
        }

        response = make_request(self.client, query)

        self.assertEqual(expected, response)

    def test_update_review_object(self):
        # Update with valid id
        query = '''
            mutation{
                updateReview(
                    input: {
                        id: "%s",
                        value: "1"
                    }
                )
                {
                    review{
                        id,
                        originalId,
                        value,
                        comment,
                        serving{
                            publicId
                        }
                    }
                }
            }
        ''' % (self.first_review['id'])
        response = make_request(self.client, query, 'POST')
        expected = {
            'review': {
                'id': self.first_review['id'],
                'originalId': self.first_review['originalId'],
                'value': 1,
                'comment': self.first_review['comment'],
                'serving': self.first_review['serving'],
            }
        }
        self.assertEqual(expected, response)

        # Update with invalid id
        query = '''
            mutation{
                updateReview(
                    input: {
                        id: "%s",
                        value: "1"
                    }
                )
                {
                    review{
                        id,
                        originalId,
                        value,
                        comment,
                        serving{
                            publicId
                        }
                    }
                }
            }
        ''' % ('hbhjbjkbijhiehokdj')
        self.assertEqual({'review': None},
                         make_request(self.client, query, 'POST'))

    def test_deletion_review_object(self):
        # Delete with valid id
        query = '''
            mutation{
                deleteReview(input: {id: "%s"}){
                    review{
                        value,
                        comment
                    }
                }
            }
        ''' % (self.first_review['id'])
        response = make_request(self.client, query, 'POST')
        expected = {
            'review': {
                'value': self.first_review['value'],
                'comment': self.first_review['comment'],
            }
        }
        self.assertEqual(expected, response)
        self.assertEqual({'review': None}, self.retrieve_review(self.first_review['id']))

        # Delete with invalid id
        query = '''
            mutation{
                deleteReview(input: {id: "%s"}){
                    review{
                        value,
                        comment
                    }
                }
            }
        ''' % ('jjjkhfihokjojf')
        self.assertEqual({'review': None}, make_request(self.client, query, 'POST'))


text:
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE124_Buffer_Underwrite__malloc_wchar_t_memcpy_83_bad.cpp
Label Definition File: CWE124_Buffer_Underwrite__malloc.label.xml
Template File: sources-sink-83_bad.tmpl.cpp
*/
/*
 * @description
 * CWE: 124 Buffer Underwrite
 * BadSource:  Set data pointer to before the allocated memory buffer
 * GoodSource: Set data pointer to the allocated memory buffer
 * Sinks: memcpy
 *    BadSink : Copy string to data using memcpy
 * Flow Variant: 83 Data flow: data passed to class constructor and destructor by declaring the class object on the stack
 *
 * */
#ifndef OMITBAD

#include "std_testcase.h"
#include "CWE124_Buffer_Underwrite__malloc_wchar_t_memcpy_83.h"

namespace CWE124_Buffer_Underwrite__malloc_wchar_t_memcpy_83
{
CWE124_Buffer_Underwrite__malloc_wchar_t_memcpy_83_bad::CWE124_Buffer_Underwrite__malloc_wchar_t_memcpy_83_bad(wchar_t * dataCopy)
{
    data = dataCopy;
    {
        wchar_t * dataBuffer = (wchar_t *)malloc(100*sizeof(wchar_t));
        wmemset(dataBuffer, L'A', 100-1);
        dataBuffer[100-1] = L'\0';
        /* FLAW: Set data pointer to before the allocated memory buffer */
        data = dataBuffer - 8;
    }
}

CWE124_Buffer_Underwrite__malloc_wchar_t_memcpy_83_bad::~CWE124_Buffer_Underwrite__malloc_wchar_t_memcpy_83_bad()
{
    {
        wchar_t source[100];
        wmemset(source, L'C', 100-1); /* fill with 'C's */
        source[100-1] = L'\0'; /* null terminate */
        /* POTENTIAL FLAW: Possibly copying data to memory before the destination buffer */
        memcpy(data, source, 100*sizeof(wchar_t));
        /* Ensure the destination buffer is null terminated */
        data[100-1] = L'\0';
        printWLine(data);
        /* INCIDENTAL CWE-401: Memory Leak - data may not point to location
         * returned by malloc() so can't safely call free() on it */
    }
}
}
#endif /* OMITBAD */