diff
stringlengths 41
2.03M
| msg
stringlengths 1
1.5k
⌀ | repo
stringlengths 5
40
| sha
stringlengths 40
40
| time
stringlengths 20
20
|
---|---|---|---|---|
deleted file mode 100644 <nl> index fd97ece8d73 . . 00000000000 <nl> mmm a / CMake / FindGMock . cmake <nl> ppp / dev / null <nl> <nl> - # <nl> - # Find libgmock <nl> - # <nl> - # LIBGMOCK_DEFINES - List of defines when using libgmock . <nl> - # LIBGMOCK_INCLUDE_DIR - where to find gmock / gmock . h , etc . <nl> - # LIBGMOCK_LIBRARIES - List of libraries when using libgmock . <nl> - # LIBGMOCK_FOUND - True if libgmock found . <nl> - <nl> - IF ( LIBGMOCK_INCLUDE_DIR ) <nl> - # Already in cache , be silent <nl> - SET ( LIBGMOCK_FIND_QUIETLY TRUE ) <nl> - ENDIF ( ) <nl> - <nl> - FIND_PATH ( LIBGMOCK_INCLUDE_DIR gmock / gmock . h ) <nl> - <nl> - FIND_LIBRARY ( LIBGMOCK_MAIN_LIBRARY_DEBUG NAMES gmock_maind ) <nl> - FIND_LIBRARY ( LIBGMOCK_MAIN_LIBRARY_RELEASE NAMES gmock_main ) <nl> - FIND_LIBRARY ( LIBGMOCK_LIBRARY_DEBUG NAMES gmockd ) <nl> - FIND_LIBRARY ( LIBGMOCK_LIBRARY_RELEASE NAMES gmock ) <nl> - FIND_LIBRARY ( LIBGTEST_LIBRARY_DEBUG NAMES gtestd ) <nl> - FIND_LIBRARY ( LIBGTEST_LIBRARY_RELEASE NAMES gtest ) <nl> - <nl> - find_package ( Threads REQUIRED ) <nl> - INCLUDE ( SelectLibraryConfigurations ) <nl> - SELECT_LIBRARY_CONFIGURATIONS ( LIBGMOCK_MAIN ) <nl> - SELECT_LIBRARY_CONFIGURATIONS ( LIBGMOCK ) <nl> - SELECT_LIBRARY_CONFIGURATIONS ( LIBGTEST ) <nl> - <nl> - set ( LIBGMOCK_LIBRARIES <nl> - $ { LIBGMOCK_MAIN_LIBRARY } <nl> - $ { LIBGMOCK_LIBRARY } <nl> - $ { LIBGTEST_LIBRARY } <nl> - Threads : : Threads <nl> - ) <nl> - <nl> - if ( CMAKE_SYSTEM_NAME STREQUAL " Windows " ) <nl> - # The GTEST_LINKED_AS_SHARED_LIBRARY macro must be set properly on Windows . <nl> - # <nl> - # There isn ' t currently an easy way to determine if a library was compiled as <nl> - # a shared library on Windows , so just assume we ' ve been built against a <nl> - # shared build of gmock for now . <nl> - SET ( LIBGMOCK_DEFINES " GTEST_LINKED_AS_SHARED_LIBRARY = 1 " CACHE STRING " " ) <nl> - endif ( ) <nl> - <nl> - # handle the QUIETLY and REQUIRED arguments and set LIBGMOCK_FOUND to TRUE if <nl> - # all listed variables are TRUE <nl> - INCLUDE ( FindPackageHandleStandardArgs ) <nl> - FIND_PACKAGE_HANDLE_STANDARD_ARGS ( <nl> - GMock <nl> - DEFAULT_MSG <nl> - LIBGMOCK_MAIN_LIBRARY <nl> - LIBGMOCK_LIBRARY <nl> - LIBGTEST_LIBRARY <nl> - LIBGMOCK_LIBRARIES <nl> - LIBGMOCK_INCLUDE_DIR <nl> - ) <nl> - <nl> - MARK_AS_ADVANCED ( <nl> - LIBGMOCK_DEFINES <nl> - LIBGMOCK_MAIN_LIBRARY <nl> - LIBGMOCK_LIBRARY <nl> - LIBGTEST_LIBRARY <nl> - LIBGMOCK_LIBRARIES <nl> - LIBGMOCK_INCLUDE_DIR <nl> - ) <nl> new file mode 100644 <nl> index 00000000000 . . 7a785044a0c <nl> mmm / dev / null <nl> ppp b / build / fbcode_builder / CMake / FindGMock . cmake <nl> <nl> + # <nl> + # Find libgmock <nl> + # <nl> + # LIBGMOCK_DEFINES - List of defines when using libgmock . <nl> + # LIBGMOCK_INCLUDE_DIR - where to find gmock / gmock . h , etc . <nl> + # LIBGMOCK_LIBRARIES - List of libraries when using libgmock . <nl> + # LIBGMOCK_FOUND - True if libgmock found . <nl> + <nl> + IF ( LIBGMOCK_INCLUDE_DIR ) <nl> + # Already in cache , be silent <nl> + SET ( LIBGMOCK_FIND_QUIETLY TRUE ) <nl> + ENDIF ( ) <nl> + <nl> + find_package ( GTest CONFIG QUIET ) <nl> + if ( TARGET GTest : : gmock ) <nl> + get_target_property ( LIBGMOCK_DEFINES GTest : : gtest INTERFACE_COMPILE_DEFINITIONS ) <nl> + if ( NOT $ { LIBGMOCK_DEFINES } ) <nl> + # Explicitly set to empty string if not found to avoid it being <nl> + # set to NOTFOUND and breaking compilation <nl> + set ( LIBGMOCK_DEFINES " " ) <nl> + endif ( ) <nl> + get_target_property ( LIBGMOCK_INCLUDE_DIR GTest : : gtest INTERFACE_INCLUDE_DIRECTORIES ) <nl> + set ( LIBGMOCK_LIBRARIES GTest : : gmock_main GTest : : gmock GTest : : gtest ) <nl> + set ( LIBGMOCK_FOUND ON ) <nl> + message ( STATUS " Found gmock via config , defines = $ { LIBGMOCK_DEFINES } , include = $ { LIBGMOCK_INCLUDE_DIR } , libs = $ { LIBGMOCK_LIBRARIES } " ) <nl> + else ( ) <nl> + <nl> + FIND_PATH ( LIBGMOCK_INCLUDE_DIR gmock / gmock . h ) <nl> + <nl> + FIND_LIBRARY ( LIBGMOCK_MAIN_LIBRARY_DEBUG NAMES gmock_maind ) <nl> + FIND_LIBRARY ( LIBGMOCK_MAIN_LIBRARY_RELEASE NAMES gmock_main ) <nl> + FIND_LIBRARY ( LIBGMOCK_LIBRARY_DEBUG NAMES gmockd ) <nl> + FIND_LIBRARY ( LIBGMOCK_LIBRARY_RELEASE NAMES gmock ) <nl> + FIND_LIBRARY ( LIBGTEST_LIBRARY_DEBUG NAMES gtestd ) <nl> + FIND_LIBRARY ( LIBGTEST_LIBRARY_RELEASE NAMES gtest ) <nl> + <nl> + find_package ( Threads REQUIRED ) <nl> + INCLUDE ( SelectLibraryConfigurations ) <nl> + SELECT_LIBRARY_CONFIGURATIONS ( LIBGMOCK_MAIN ) <nl> + SELECT_LIBRARY_CONFIGURATIONS ( LIBGMOCK ) <nl> + SELECT_LIBRARY_CONFIGURATIONS ( LIBGTEST ) <nl> + <nl> + set ( LIBGMOCK_LIBRARIES <nl> + $ { LIBGMOCK_MAIN_LIBRARY } <nl> + $ { LIBGMOCK_LIBRARY } <nl> + $ { LIBGTEST_LIBRARY } <nl> + Threads : : Threads <nl> + ) <nl> + <nl> + if ( CMAKE_SYSTEM_NAME STREQUAL " Windows " ) <nl> + # The GTEST_LINKED_AS_SHARED_LIBRARY macro must be set properly on Windows . <nl> + # <nl> + # There isn ' t currently an easy way to determine if a library was compiled as <nl> + # a shared library on Windows , so just assume we ' ve been built against a <nl> + # shared build of gmock for now . <nl> + SET ( LIBGMOCK_DEFINES " GTEST_LINKED_AS_SHARED_LIBRARY = 1 " CACHE STRING " " ) <nl> + endif ( ) <nl> + <nl> + # handle the QUIETLY and REQUIRED arguments and set LIBGMOCK_FOUND to TRUE if <nl> + # all listed variables are TRUE <nl> + INCLUDE ( FindPackageHandleStandardArgs ) <nl> + FIND_PACKAGE_HANDLE_STANDARD_ARGS ( <nl> + GMock <nl> + DEFAULT_MSG <nl> + LIBGMOCK_MAIN_LIBRARY <nl> + LIBGMOCK_LIBRARY <nl> + LIBGTEST_LIBRARY <nl> + LIBGMOCK_LIBRARIES <nl> + LIBGMOCK_INCLUDE_DIR <nl> + ) <nl> + <nl> + MARK_AS_ADVANCED ( <nl> + LIBGMOCK_DEFINES <nl> + LIBGMOCK_MAIN_LIBRARY <nl> + LIBGMOCK_LIBRARY <nl> + LIBGTEST_LIBRARY <nl> + LIBGMOCK_LIBRARIES <nl> + LIBGMOCK_INCLUDE_DIR <nl> + ) <nl> + endif ( ) <nl> | folly : wangle : centralize FindGMock . cmake | facebook/folly | 638a7454ab76d3d9b4f6e7b71e94d0f0e8395045 | 2019-04-02T15:10:21Z |
mmm a / modules / core / include / opencv2 / core / cvstd . inl . hpp <nl> ppp b / modules / core / include / opencv2 / core / cvstd . inl . hpp <nl> inline <nl> String : : String ( const std : : string & str ) <nl> : cstr_ ( 0 ) , len_ ( 0 ) <nl> { <nl> - if ( ! str . empty ( ) ) <nl> - { <nl> - size_t len = str . size ( ) ; <nl> - if ( len ) memcpy ( allocate ( len ) , str . c_str ( ) , len ) ; <nl> - } <nl> + size_t len = str . size ( ) ; <nl> + if ( len ) memcpy ( allocate ( len ) , str . c_str ( ) , len ) ; <nl> } <nl> <nl> inline <nl> inline <nl> String & String : : operator = ( const std : : string & str ) <nl> { <nl> deallocate ( ) ; <nl> - if ( ! str . empty ( ) ) <nl> - { <nl> - size_t len = str . size ( ) ; <nl> - if ( len ) memcpy ( allocate ( len ) , str . c_str ( ) , len ) ; <nl> - } <nl> + size_t len = str . size ( ) ; <nl> + if ( len ) memcpy ( allocate ( len ) , str . c_str ( ) , len ) ; <nl> return * this ; <nl> } <nl> <nl> | Merge pull request from alalek : issue_11648 | opencv/opencv | ccbc0b91ea21772515129fb41d91966afb6030ab | 2018-06-04T10:22:44Z |
mmm a / include / taichi / common / asset_manager . h <nl> ppp b / include / taichi / common / asset_manager . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / common / bit . h <nl> ppp b / include / taichi / common / bit . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> # include < taichi / util . h > <nl> <nl> mmm a / include / taichi / common / config . cpp <nl> ppp b / include / taichi / common / config . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2017 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include < map > <nl> mmm a / include / taichi / common / config . h <nl> ppp b / include / taichi / common / config . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / common / interface . h <nl> ppp b / include / taichi / common / interface . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2017 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / common / loader . h <nl> ppp b / include / taichi / common / loader . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / common / meta . h <nl> ppp b / include / taichi / common / meta . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2017 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / common / serialization . h <nl> ppp b / include / taichi / common / serialization . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2017 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / common / string_utils . h <nl> ppp b / include / taichi / common / string_utils . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / common / task . h <nl> ppp b / include / taichi / common / task . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2017 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / common / testing . h <nl> ppp b / include / taichi / common / testing . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2017 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / common / util . h <nl> ppp b / include / taichi / common / util . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / dynamics / fluid2d / apic . cpp <nl> ppp b / include / taichi / dynamics / fluid2d / apic . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include " taichi / dynamics / fluid2d / apic . h " <nl> mmm a / include / taichi / dynamics / fluid2d / apic . h <nl> ppp b / include / taichi / dynamics / fluid2d / apic . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / dynamics / fluid2d / euler_liquid . cpp <nl> ppp b / include / taichi / dynamics / fluid2d / euler_liquid . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include < taichi / common / util . h > <nl> mmm a / include / taichi / dynamics / fluid2d / euler_liquid . h <nl> ppp b / include / taichi / dynamics / fluid2d / euler_liquid . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / dynamics / fluid2d / euler_smoke . cpp <nl> ppp b / include / taichi / dynamics / fluid2d / euler_smoke . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include " euler_smoke . h " <nl> mmm a / include / taichi / dynamics / fluid2d / euler_smoke . h <nl> ppp b / include / taichi / dynamics / fluid2d / euler_smoke . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / dynamics / fluid2d / flip_liquid . cpp <nl> ppp b / include / taichi / dynamics / fluid2d / flip_liquid . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include " flip_liquid . h " <nl> mmm a / include / taichi / dynamics / fluid2d / flip_liquid . h <nl> ppp b / include / taichi / dynamics / fluid2d / flip_liquid . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / dynamics / fluid2d / flip_smoke . h <nl> ppp b / include / taichi / dynamics / fluid2d / flip_smoke . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / dynamics / fluid2d / fluid . cpp <nl> ppp b / include / taichi / dynamics / fluid2d / fluid . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include " fluid . h " <nl> mmm a / include / taichi / dynamics / fluid2d / fluid . h <nl> ppp b / include / taichi / dynamics / fluid2d / fluid . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / dynamics / inertia . h <nl> ppp b / include / taichi / dynamics / inertia . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2017 Andre Pradhana Tampubolon <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / dynamics / poisson_solver . h <nl> ppp b / include / taichi / dynamics / poisson_solver . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / dynamics / rigid_body . cpp <nl> ppp b / include / taichi / dynamics / rigid_body . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> # include < taichi / geometry / mesh . h > <nl> # include < taichi / visualization / pakua . h > <nl> mmm a / include / taichi / dynamics / rigid_body . h <nl> ppp b / include / taichi / dynamics / rigid_body . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> + <nl> # pragma once <nl> <nl> # include < taichi / geometry / factory . h > <nl> mmm a / include / taichi / dynamics / simulation . h <nl> ppp b / include / taichi / dynamics / simulation . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - 2017 Yu Fang < squarefk @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / geometry / factory . cpp <nl> ppp b / include / taichi / geometry / factory . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include < taichi / geometry / factory . h > <nl> mmm a / include / taichi / geometry / factory . h <nl> ppp b / include / taichi / geometry / factory . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2017 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / geometry / mesh . h <nl> ppp b / include / taichi / geometry / mesh . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2017 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / geometry / primitives . h <nl> ppp b / include / taichi / geometry / primitives . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / image / image_buffer . h <nl> ppp b / include / taichi / image / image_buffer . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / image / operations . cpp <nl> ppp b / include / taichi / image / operations . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2017 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include " operations . h " <nl> mmm a / include / taichi / image / operations . h <nl> ppp b / include / taichi / image / operations . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2017 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / image / tone_mapper . h <nl> ppp b / include / taichi / image / tone_mapper . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / image / tone_mapper_deprecated . h <nl> ppp b / include / taichi / image / tone_mapper_deprecated . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / io / binary_stream . h <nl> ppp b / include / taichi / io / binary_stream . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / io / image_reader . h <nl> ppp b / include / taichi / io / image_reader . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / io / io . h <nl> ppp b / include / taichi / io / io . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / io / ply_writer . h <nl> ppp b / include / taichi / io / ply_writer . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> # include < taichi / util . h > <nl> <nl> mmm a / include / taichi / main . cpp <nl> ppp b / include / taichi / main . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2017 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> mmm a / include / taichi / math . h <nl> ppp b / include / taichi / math . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2017 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include " math / math . h " <nl> mmm a / include / taichi / math / angular . h <nl> ppp b / include / taichi / math / angular . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2017 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / math / array . h <nl> ppp b / include / taichi / math / array . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2017 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / math / array_1d . h <nl> ppp b / include / taichi / math / array_1d . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / math / array_2d . h <nl> ppp b / include / taichi / math / array_2d . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / math / array_3d . h <nl> ppp b / include / taichi / math / array_3d . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / math / array_fwd . h <nl> ppp b / include / taichi / math / array_fwd . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2017 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / math / array_op . h <nl> ppp b / include / taichi / math / array_op . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / math / averager . h <nl> ppp b / include / taichi / math / averager . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / math / discrete_sampler . h <nl> ppp b / include / taichi / math / discrete_sampler . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / math / eigen . h <nl> ppp b / include / taichi / math / eigen . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> # pragma once <nl> <nl> mmm a / include / taichi / math / geometry_util . h <nl> ppp b / include / taichi / math / geometry_util . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2017 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / math / interpolation . h <nl> ppp b / include / taichi / math / interpolation . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / math / levelset . cpp <nl> ppp b / include / taichi / math / levelset . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - 2017 Yu Fang < squarefk @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include " levelset . h " <nl> mmm a / include / taichi / math / levelset . h <nl> ppp b / include / taichi / math / levelset . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2017 Yuanming Hu < yuanmhu @ gmail . com > <nl> - 2017 Yu Fang < squarefk @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / math / math . h <nl> ppp b / include / taichi / math / math . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2017 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / math / qr_svd . h <nl> ppp b / include / taichi / math / qr_svd . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / math / scalar . h <nl> ppp b / include / taichi / math / scalar . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / math / sdf . h <nl> ppp b / include / taichi / math / sdf . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / math / sparse . h <nl> ppp b / include / taichi / math / sparse . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / math / stencils . h <nl> ppp b / include / taichi / math / stencils . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / math / svd . cpp <nl> ppp b / include / taichi / math / svd . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma GCC diagnostic push <nl> mmm a / include / taichi / math / svd . h <nl> ppp b / include / taichi / math / svd . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / math / test_math . cpp <nl> ppp b / include / taichi / math / test_math . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include < cmath > <nl> mmm a / include / taichi / math / vector . h <nl> ppp b / include / taichi / math / vector . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2017 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / nearest_neighbour / nnkdtree_2d . cpp <nl> ppp b / include / taichi / nearest_neighbour / nnkdtree_2d . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> / / My old , Olympiad for Informatics version of Kd - tree . . . just for a <nl> mmm a / include / taichi / nearest_neighbour / point_cloud . cpp <nl> ppp b / include / taichi / nearest_neighbour / point_cloud . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include < taichi / nearest_neighbour / point_cloud . h > <nl> mmm a / include / taichi / nearest_neighbour / point_cloud . h <nl> ppp b / include / taichi / nearest_neighbour / point_cloud . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / physics / physics_constants . h <nl> ppp b / include / taichi / physics / physics_constants . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / physics / spectrum . cpp <nl> ppp b / include / taichi / physics / spectrum . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include " physics_constants . h " <nl> mmm a / include / taichi / physics / spectrum . h <nl> ppp b / include / taichi / physics / spectrum . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / physics / spectrum_demo . cpp <nl> ppp b / include / taichi / physics / spectrum_demo . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> / * <nl> mmm a / include / taichi / physics / spectrum_demo . h <nl> ppp b / include / taichi / physics / spectrum_demo . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / python / exception . h <nl> ppp b / include / taichi / python / exception . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / python / export . h <nl> ppp b / include / taichi / python / export . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / system / benchmark . h <nl> ppp b / include / taichi / system / benchmark . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / system / opengl . h <nl> ppp b / include / taichi / system / opengl . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / system / profiler . h <nl> ppp b / include / taichi / system / profiler . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2017 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / system / threading . h <nl> ppp b / include / taichi / system / threading . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / system / timer . h <nl> ppp b / include / taichi / system / timer . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / system / unit_dll . h <nl> ppp b / include / taichi / system / unit_dll . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # ifdef WIN32 <nl> mmm a / include / taichi / testing . h <nl> ppp b / include / taichi / testing . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2017 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include < taichi / common / testing . h > <nl> mmm a / include / taichi / tests / tests . cpp <nl> ppp b / include / taichi / tests / tests . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include < taichi / math / array_3d . h > <nl> mmm a / include / taichi / util . h <nl> ppp b / include / taichi / util . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2017 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include < taichi / common / util . h > <nl> mmm a / include / taichi / visual / bsdf . h <nl> ppp b / include / taichi / visual / bsdf . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / visual / camera . h <nl> ppp b / include / taichi / visual / camera . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / visual / constants . cpp <nl> ppp b / include / taichi / visual / constants . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include " taichi / geometry / primitives . h " <nl> mmm a / include / taichi / visual / envmap . h <nl> ppp b / include / taichi / visual / envmap . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / visual / framebuffer . cpp <nl> ppp b / include / taichi / visual / framebuffer . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include " framebuffer . h " <nl> mmm a / include / taichi / visual / framebuffer . h <nl> ppp b / include / taichi / visual / framebuffer . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / visual / ray_intersection . cpp <nl> ppp b / include / taichi / visual / ray_intersection . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include " ray_intersection . h " <nl> mmm a / include / taichi / visual / ray_intersection . h <nl> ppp b / include / taichi / visual / ray_intersection . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / visual / renderer . h <nl> ppp b / include / taichi / visual / renderer . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / visual / sampler . h <nl> ppp b / include / taichi / visual / sampler . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / visual / scene . cpp <nl> ppp b / include / taichi / visual / scene . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include < taichi / visual / scene . h > <nl> mmm a / include / taichi / visual / scene . h <nl> ppp b / include / taichi / visual / scene . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / visual / scene_geometry . h <nl> ppp b / include / taichi / visual / scene_geometry . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / visual / surface_material . h <nl> ppp b / include / taichi / visual / surface_material . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / visual / texture . h <nl> ppp b / include / taichi / visual / texture . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / visual / volume_material . h <nl> ppp b / include / taichi / visual / volume_material . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / visual / voxelizer . cpp <nl> ppp b / include / taichi / visual / voxelizer . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include " voxelizer . h " <nl> mmm a / include / taichi / visual / voxelizer . h <nl> ppp b / include / taichi / visual / voxelizer . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / visualization / image_buffer . cpp <nl> ppp b / include / taichi / visualization / image_buffer . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include < taichi / visualization / image_buffer . h > <nl> mmm a / include / taichi / visualization / image_buffer . h <nl> ppp b / include / taichi / visualization / image_buffer . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / visualization / json_pakua . cpp <nl> ppp b / include / taichi / visualization / json_pakua . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2017 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include < thread > <nl> mmm a / include / taichi / visualization / pakua . h <nl> ppp b / include / taichi / visualization / pakua . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / visualization / particle_visualization . cpp <nl> ppp b / include / taichi / visualization / particle_visualization . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include " particle_visualization . h " <nl> mmm a / include / taichi / visualization / particle_visualization . h <nl> ppp b / include / taichi / visualization / particle_visualization . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / visualization / point_renderer . cpp <nl> ppp b / include / taichi / visualization / point_renderer . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include < taichi / visualization / point_renderer . h > <nl> mmm a / include / taichi / visualization / point_renderer . h <nl> ppp b / include / taichi / visualization / point_renderer . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / include / taichi / visualization / rgb . h <nl> ppp b / include / taichi / visualization / rgb . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / src / benchmark / mpm3_details . cpp <nl> ppp b / src / benchmark / mpm3_details . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2017 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include < taichi / system / benchmark . h > <nl> mmm a / src / benchmark / simd . cpp <nl> ppp b / src / benchmark / simd . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2017 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include < taichi / math / math . h > <nl> mmm a / src / benchmark / spgrid . cpp <nl> ppp b / src / benchmark / spgrid . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2017 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> / / # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # <nl> mmm a / src / camera / pinhole . cpp <nl> ppp b / src / camera / pinhole . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include < taichi / visual / camera . h > <nl> mmm a / src / camera / thinlens . cpp <nl> ppp b / src / camera / thinlens . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include < taichi / visual / camera . h > <nl> mmm a / src / core / bit . cpp <nl> ppp b / src / core / bit . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2018 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include < taichi / testing . h > <nl> mmm a / src / core / core . cpp <nl> ppp b / src / core / core . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2017 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include < taichi / common / util . h > <nl> mmm a / src / core / interface . cpp <nl> ppp b / src / core / interface . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include < taichi / common / interface . h > <nl> mmm a / src / core / interfaces . cpp <nl> ppp b / src / core / interfaces . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include < functional > <nl> mmm a / src / core / logging . cpp <nl> ppp b / src / core / logging . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2017 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include < taichi / util . h > <nl> mmm a / src / core / testing . cpp <nl> ppp b / src / core / testing . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2017 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # define CATCH_CONFIG_RUNNER <nl> mmm a / src / environment_map / envmap . cpp <nl> ppp b / src / environment_map / envmap . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include < taichi / visual / envmap . h > <nl> mmm a / src / hdr / hdr . cpp <nl> ppp b / src / hdr / hdr . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include < taichi / image / tone_mapper . h > <nl> mmm a / src / hdr / histogram_equalization . cpp <nl> ppp b / src / hdr / histogram_equalization . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include < taichi / image / tone_mapper . h > <nl> mmm a / src / io / dcraw . h <nl> ppp b / src / io / dcraw . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / src / io / image_reader . cpp <nl> ppp b / src / io / image_reader . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include " dcraw . h " <nl> mmm a / src / io / ply . cpp <nl> ppp b / src / io / ply . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2017 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include < taichi / io / ply_writer . h > <nl> mmm a / src / levelset / sdf . cpp <nl> ppp b / src / levelset / sdf . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include < taichi / math / sdf . h > <nl> mmm a / src / python / exception . cpp <nl> ppp b / src / python / exception . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include < taichi / python / exception . h > <nl> mmm a / src / python / export . cpp <nl> ppp b / src / python / export . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include < taichi / python / export . h > <nl> mmm a / src / python / export_dynamics . cpp <nl> ppp b / src / python / export_dynamics . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include < taichi / python / export . h > <nl> mmm a / src / python / export_io . cpp <nl> ppp b / src / python / export_io . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include < taichi / python / export . h > <nl> mmm a / src / python / export_math . cpp <nl> ppp b / src / python / export_math . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - 2017 Yu Fang < squarefk @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include < taichi / python / export . h > <nl> mmm a / src / python / export_misc . cpp <nl> ppp b / src / python / export_misc . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include < taichi / common / task . h > <nl> mmm a / src / python / export_visual . cpp <nl> ppp b / src / python / export_visual . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include < taichi / python / export . h > <nl> mmm a / src / renderer / amcmcppm . cpp <nl> ppp b / src / renderer / amcmcppm . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include < taichi / visual / renderer . h > <nl> mmm a / src / renderer / bdpt . cpp <nl> ppp b / src / renderer / bdpt . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include " bidirectional_renderer . h " <nl> mmm a / src / renderer / bidirectional_renderer . cpp <nl> ppp b / src / renderer / bidirectional_renderer . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include " bidirectional_renderer . h " <nl> mmm a / src / renderer / bidirectional_renderer . h <nl> ppp b / src / renderer / bidirectional_renderer . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / src / renderer / hash_grid . h <nl> ppp b / src / renderer / hash_grid . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / src / renderer / lt . cpp <nl> ppp b / src / renderer / lt . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include < taichi / visual / renderer . h > <nl> mmm a / src / renderer / markov_chain . h <nl> ppp b / src / renderer / markov_chain . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / src / renderer / mcmcups . cpp <nl> ppp b / src / renderer / mcmcups . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include < taichi / math / averager . h > <nl> mmm a / src / renderer / mdas . cpp <nl> ppp b / src / renderer / mdas . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include < taichi / visual / renderer . h > <nl> mmm a / src / renderer / mlt . cpp <nl> ppp b / src / renderer / mlt . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include < taichi / math / discrete_sampler . h > <nl> mmm a / src / renderer / pt . cpp <nl> ppp b / src / renderer / pt . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include < taichi / system / threading . h > <nl> mmm a / src / renderer / renderer . cpp <nl> ppp b / src / renderer / renderer . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include < taichi / visual / renderer . h > <nl> mmm a / src / renderer / sppm . cpp <nl> ppp b / src / renderer / sppm . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include " sppm . h " <nl> mmm a / src / renderer / sppm . h <nl> ppp b / src / renderer / sppm . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / src / renderer / vcm . cpp <nl> ppp b / src / renderer / vcm . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include " bidirectional_renderer . h " <nl> mmm a / src / sampler / sampler . cpp <nl> ppp b / src / sampler / sampler . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include < taichi / visual / sampler . h > <nl> mmm a / src / simulation / fluid_3d . cpp <nl> ppp b / src / simulation / fluid_3d . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include " fluid_3d . h " <nl> mmm a / src / simulation / fluid_3d . h <nl> ppp b / src / simulation / fluid_3d . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # pragma once <nl> mmm a / src / simulation / nbody . cpp <nl> ppp b / src / simulation / nbody . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include < taichi / dynamics / simulation . h > <nl> mmm a / src / simulation / poisson_solver . cpp <nl> ppp b / src / simulation / poisson_solver . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include < taichi / system / threading . h > <nl> mmm a / src / simulation / poisson_solver3d . cpp <nl> ppp b / src / simulation / poisson_solver3d . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include < taichi / system / threading . h > <nl> mmm a / src / surface_material / bsdf . cpp <nl> ppp b / src / surface_material / bsdf . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include < taichi / visual / bsdf . h > <nl> mmm a / src / surface_material / microfacet . cpp <nl> ppp b / src / surface_material / microfacet . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include < taichi / visual / surface_material . h > <nl> mmm a / src / surface_material / surface_material . cpp <nl> ppp b / src / surface_material / surface_material . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include < taichi / visual / surface_material . h > <nl> mmm a / src / surface_material / transparent . cpp <nl> ppp b / src / surface_material / transparent . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include < taichi / visual / surface_material . h > <nl> mmm a / src / system / demangling . cpp <nl> ppp b / src / system / demangling . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2017 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include < taichi / common / util . h > <nl> mmm a / src / system / loader . cpp <nl> ppp b / src / system / loader . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> mmm a / src / system / opengl . cpp <nl> ppp b / src / system / opengl . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # ifdef TC_USE_OPENGL <nl> mmm a / src / system / run_tests . cpp <nl> ppp b / src / system / run_tests . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2017 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include < taichi / common / util . h > <nl> mmm a / src / system / threading . cpp <nl> ppp b / src / system / threading . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include < taichi / system / threading . h > <nl> mmm a / src / system / timer . cpp <nl> ppp b / src / system / timer . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include < taichi / system / timer . h > <nl> mmm a / src / system / traceback . cpp <nl> ppp b / src / system / traceback . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2017 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include < taichi / common / util . h > <nl> mmm a / src / tests / test_array . cpp <nl> ppp b / src / tests / test_array . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include < taichi / common / util . h > <nl> mmm a / src / tests / test_config . cpp <nl> ppp b / src / tests / test_config . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2017 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include < taichi / util . h > <nl> mmm a / src / tests / test_linalg . cpp <nl> ppp b / src / tests / test_linalg . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2017 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include < taichi / util . h > <nl> mmm a / src / tests / test_volumetric_io . cpp <nl> ppp b / src / tests / test_volumetric_io . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include < taichi / io / io . h > <nl> mmm a / src / texture / fractals . cpp <nl> ppp b / src / texture / fractals . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include < taichi / visual / texture . h > <nl> mmm a / src / texture / gradient_texture . cpp <nl> ppp b / src / texture / gradient_texture . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2017 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include < taichi / visual / texture . h > <nl> mmm a / src / texture / perlin . cpp <nl> ppp b / src / texture / perlin . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include < taichi / visual / texture . h > <nl> mmm a / src / texture / sky_texture . cpp <nl> ppp b / src / texture / sky_texture . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2017 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include < taichi / visual / texture . h > <nl> mmm a / src / texture / sources . cpp <nl> ppp b / src / texture / sources . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include < taichi / visual / texture . h > <nl> mmm a / src / texture / texture_op . cpp <nl> ppp b / src / texture / texture_op . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include < taichi / visual / texture . h > <nl> mmm a / src / volume_material / volume_material . cpp <nl> ppp b / src / volume_material / volume_material . cpp <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - Taichi - Physically based Computer Graphics Library <nl> - <nl> - Copyright ( c ) 2016 Yuanming Hu < yuanmhu @ gmail . com > <nl> - <nl> - All rights reserved . Use of this source code is governed by <nl> - the MIT license as written in the LICENSE file . <nl> + Copyright ( c ) The Taichi Authors ( 2016 - ) . All Rights Reserved . <nl> + The use of this software is governed by the LICENSE file . <nl> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> <nl> # include < taichi / visual / volume_material . h > <nl> | Update copyright notice | taichi-dev/taichi | 785730d2b94a7e18206773ad02bc3651ca1ead83 | 2018-01-21T15:51:06Z |
mmm a / docker / test / coverage / Dockerfile <nl> ppp b / docker / test / coverage / Dockerfile <nl> RUN apt - get - - allow - unauthenticated update - y \ <nl> software - properties - common <nl> <nl> <nl> - RUN echo " deb [ trusted = yes ] http : / / apt . llvm . org / bionic / llvm - toolchain - bionic - 9 main " > > / etc / apt / sources . list <nl> - <nl> RUN apt - get - - allow - unauthenticated update - y \ <nl> & & env DEBIAN_FRONTEND = noninteractive \ <nl> apt - get - - allow - unauthenticated install - - yes - - no - install - recommends \ <nl> perl \ <nl> lcov \ <nl> - llvm - 9 \ <nl> + clang - 10 \ <nl> + llvm - 10 \ <nl> tzdata <nl> <nl> <nl> ENV OUTPUT_DIR = / output <nl> ENV IGNORE = ' . * contrib . * ' <nl> <nl> <nl> - CMD mkdir - p / build / obj - x86_64 - linux - gnu & & cd / build / obj - x86_64 - linux - gnu & & CC = clang - 9 CXX = clang + + - 9 cmake . . & & cd / ; \ <nl> + CMD mkdir - p / build / obj - x86_64 - linux - gnu & & cd / build / obj - x86_64 - linux - gnu & & CC = clang - 10 CXX = clang + + - 10 cmake . . & & cd / ; \ <nl> dpkg - i / package_folder / clickhouse - common - static_ * . deb ; \ <nl> - llvm - profdata - 9 merge - sparse $ { COVERAGE_DIR } / * - o clickhouse . profdata & & \ <nl> - llvm - cov - 9 export / usr / bin / clickhouse - instr - profile = clickhouse . profdata - j = 16 - format = lcov - skip - functions - ignore - filename - regex $ IGNORE > output . lcov & & \ <nl> + llvm - profdata - 10 merge - sparse $ { COVERAGE_DIR } / * - o clickhouse . profdata & & \ <nl> + llvm - cov - 10 export / usr / bin / clickhouse - instr - profile = clickhouse . profdata - j = 16 - format = lcov - skip - functions - ignore - filename - regex $ IGNORE > output . lcov & & \ <nl> genhtml output . lcov - - ignore - errors source - - output - directory $ { OUTPUT_DIR } <nl> mmm a / docker / test / stateful_with_coverage / Dockerfile <nl> ppp b / docker / test / stateful_with_coverage / Dockerfile <nl> RUN echo " deb [ trusted = yes ] http : / / apt . llvm . org / bionic / llvm - toolchain - bionic - 9 <nl> RUN apt - get update - y \ <nl> & & env DEBIAN_FRONTEND = noninteractive \ <nl> apt - get install - - yes - - no - install - recommends \ <nl> - python - requests \ <nl> - llvm - 8 \ <nl> - llvm - 9 <nl> + python - requests <nl> <nl> COPY s3downloader / s3downloader <nl> COPY run . sh / run . sh <nl> mmm a / docker / test / stateful_with_coverage / run . sh <nl> ppp b / docker / test / stateful_with_coverage / run . sh <nl> start_clickhouse ( ) { <nl> } <nl> <nl> wait_llvm_profdata ( ) { <nl> - while kill - 0 ` pgrep llvm - profdata - 9 ` ; <nl> + while kill - 0 ` pgrep llvm - profdata - 10 ` ; <nl> do <nl> - echo " Waiting for profdata " ` pgrep llvm - profdata - 9 ` " still alive " <nl> + echo " Waiting for profdata " ` pgrep llvm - profdata - 10 ` " still alive " <nl> sleep 3 <nl> done <nl> } <nl> merge_client_files_in_background ( ) { <nl> client_files = ` ls / client_ * profraw 2 > / dev / null ` <nl> if [ ! - z " $ client_files " ] <nl> then <nl> - llvm - profdata - 9 merge - sparse $ client_files - o merged_client_ ` date + % s ` . profraw <nl> + llvm - profdata - 10 merge - sparse $ client_files - o merged_client_ ` date + % s ` . profraw <nl> rm $ client_files <nl> fi <nl> } <nl> mmm a / docker / test / stateless_with_coverage / Dockerfile <nl> ppp b / docker / test / stateless_with_coverage / Dockerfile <nl> FROM yandex / clickhouse - deb - builder <nl> <nl> ARG odbc_driver_url = " https : / / github . com / ClickHouse / clickhouse - odbc / releases / download / v1 . 1 . 4 . 20200302 / clickhouse - odbc - 1 . 1 . 4 - Linux . tar . gz " <nl> <nl> - RUN echo " deb [ trusted = yes ] http : / / apt . llvm . org / bionic / llvm - toolchain - bionic - 9 main " > > / etc / apt / sources . list <nl> - <nl> RUN apt - get update - y \ <nl> & & env DEBIAN_FRONTEND = noninteractive \ <nl> apt - get install - - yes - - no - install - recommends \ <nl> RUN apt - get update - y \ <nl> brotli \ <nl> gdb \ <nl> lsof \ <nl> - llvm - 9 \ <nl> unixodbc \ <nl> wget \ <nl> qemu - user - static <nl> | update coverage tools to llvm - 10 | ClickHouse/ClickHouse | 5a90709afe619da8a547926630c200907c4bf253 | 2020-05-07T08:06:25Z |
mmm a / include / swift / SIL / SILArgumentConvention . h <nl> ppp b / include / swift / SIL / SILArgumentConvention . h <nl> enum class InoutAliasingAssumption { <nl> / / / By design , this is exactly the same as ParameterConvention , plus <nl> / / / Indirect_Out . <nl> struct SILArgumentConvention { <nl> - enum : uint8_t { <nl> + enum ConventionType : uint8_t { <nl> Indirect_In , <nl> Indirect_In_Guaranteed , <nl> Indirect_Inout , <nl> struct SILArgumentConvention { <nl> llvm_unreachable ( " covered switch isn ' t covered ? ! " ) ; <nl> } <nl> <nl> - operator decltype ( Value ) ( ) const { return Value ; } <nl> + operator ConventionType ( ) const { return Value ; } <nl> <nl> bool isIndirectConvention ( ) const { <nl> return Value < = SILArgumentConvention : : Indirect_Out ; <nl> mmm a / include / swift / SILOptimizer / PassManager / PassPipeline . h <nl> ppp b / include / swift / SILOptimizer / PassManager / PassPipeline . h <nl> class SILPassPipelinePlan final { <nl> SILPassPipelinePlan ( ) = default ; <nl> ~ SILPassPipelinePlan ( ) = default ; <nl> SILPassPipelinePlan ( const SILPassPipelinePlan & ) = default ; <nl> - SILPassPipelinePlan ( SILPassPipelinePlan & & ) = delete ; <nl> <nl> / / Each pass gets its own add - function . <nl> # define PASS ( ID , NAME , DESCRIPTION ) \ <nl> mmm a / lib / SILGen / ArgumentSource . cpp <nl> ppp b / lib / SILGen / ArgumentSource . cpp <nl> bool ArgumentSource : : requiresCalleeToEvaluate ( ) { <nl> case Kind : : Expr : <nl> return isa < TupleShuffleExpr > ( asKnownExpr ( ) ) ; <nl> } <nl> + <nl> + llvm_unreachable ( " Unhandled Kind in switch . " ) ; <nl> } <nl> <nl> RValue ArgumentSource : : getAsRValue ( SILGenFunction & gen , SGFContext C ) & & { <nl> mmm a / lib / SILGen / RValue . cpp <nl> ppp b / lib / SILGen / RValue . cpp <nl> class ImplodeLoadableTupleValue <nl> case ImplodeKind : : Copy : <nl> return v . copyUnmanaged ( gen , l ) . forward ( gen ) ; <nl> } <nl> + <nl> + llvm_unreachable ( " Unhandled ImplodeKind in switch . " ) ; <nl> } <nl> <nl> ImplodeLoadableTupleValue ( ArrayRef < ManagedValue > values , <nl> mmm a / lib / SILGen / SILGenApply . cpp <nl> ppp b / lib / SILGen / SILGenApply . cpp <nl> class Callee { <nl> case Kind : : DynamicMethod : <nl> return Constant . uncurryLevel ; <nl> } <nl> + <nl> + llvm_unreachable ( " Unhandled Kind in switch . " ) ; <nl> } <nl> <nl> EnumElementDecl * getEnumElementDecl ( ) { <nl> class SILGenApply : public Lowering : : ExprVisitor < SILGenApply > { <nl> <nl> Callee getCallee ( ) { <nl> assert ( ApplyCallee & & " did not find callee ? ! " ) ; <nl> - return * std : : move ( ApplyCallee ) ; <nl> + return std : : move ( * ApplyCallee ) ; <nl> } <nl> <nl> / / / Ignore parentheses and implicit conversions . <nl> void ArgEmitter : : emitShuffle ( Expr * inner , <nl> / / fill out varargsAddrs if necessary . <nl> for ( auto & extent : innerExtents ) { <nl> assert ( extent . Used & & " didn ' t use all the inner tuple elements ! " ) ; <nl> - innerParams . append ( extent . Params . begin ( ) , extent . Params . end ( ) ) ; <nl> + <nl> + for ( auto param : extent . Params ) { <nl> + innerParams . push_back ( param ) ; <nl> + } <nl> <nl> / / Fill in the special destinations array . <nl> if ( innerSpecialDests ) { <nl> mmm a / lib / SILGen / SILGenConvert . cpp <nl> ppp b / lib / SILGen / SILGenConvert . cpp <nl> ManagedValue SILGenFunction : : emitExistentialErasure ( <nl> return manageBufferForExprResult ( existential , existentialTL , C ) ; <nl> } <nl> } <nl> + <nl> + llvm_unreachable ( " Unhandled ExistentialRepresentation in switch . " ) ; <nl> } <nl> <nl> ManagedValue SILGenFunction : : emitClassMetatypeToObject ( SILLocation loc , <nl> mmm a / lib / SILGen / SILGenExpr . cpp <nl> ppp b / lib / SILGen / SILGenExpr . cpp <nl> visitMagicIdentifierLiteralExpr ( MagicIdentifierLiteralExpr * E , SGFContext C ) { <nl> return RValue ( SGF , E , ManagedValue : : forUnmanaged ( UnsafeRawPtrStruct ) ) ; <nl> } <nl> } <nl> + <nl> + llvm_unreachable ( " Unhandled MagicIdentifierLiteralExpr in switch . " ) ; <nl> } <nl> <nl> RValue RValueEmitter : : visitCollectionExpr ( CollectionExpr * E , SGFContext C ) { <nl> mmm a / lib / SILGen / SILGenFunction . cpp <nl> ppp b / lib / SILGen / SILGenFunction . cpp <nl> DeclName SILGenModule : : getMagicFunctionName ( SILDeclRef ref ) { <nl> return getMagicFunctionName ( cast < EnumElementDecl > ( ref . getDecl ( ) ) <nl> - > getDeclContext ( ) ) ; <nl> } <nl> + <nl> + llvm_unreachable ( " Unhandled SILDeclRefKind in switch . " ) ; <nl> } <nl> <nl> SILValue SILGenFunction : : emitGlobalFunctionRef ( SILLocation loc , <nl> mmm a / lib / SILGen / SILGenPattern . cpp <nl> ppp b / lib / SILGen / SILGenPattern . cpp <nl> static bool isWildcardPattern ( const Pattern * p ) { <nl> case PatternKind : : Var : <nl> return isWildcardPattern ( p - > getSemanticsProvidingPattern ( ) ) ; <nl> } <nl> + <nl> + llvm_unreachable ( " Unhandled PatternKind in switch . " ) ; <nl> } <nl> <nl> / / / Check to see if the given pattern is a specializing pattern , <nl> static Pattern * getSimilarSpecializingPattern ( Pattern * p , Pattern * first ) { <nl> case PatternKind : : Typed : <nl> llvm_unreachable ( " not semantic " ) ; <nl> } <nl> + <nl> + llvm_unreachable ( " Unhandled PatternKind in switch . " ) ; <nl> } <nl> <nl> namespace { <nl> mmm a / lib / SILGen / SILGenPoly . cpp <nl> ppp b / lib / SILGen / SILGenPoly . cpp <nl> getWitnessFunctionType ( SILGenModule & SGM , <nl> case WitnessDispatchKind : : Class : <nl> return SGM . Types . getConstantOverrideType ( witness ) ; <nl> } <nl> + <nl> + llvm_unreachable ( " Unhandled WitnessDispatchKind in switch . " ) ; <nl> } <nl> <nl> static SILValue <nl> getWitnessFunctionRef ( SILGenFunction & gen , <nl> SILValue selfPtr = witnessParams . back ( ) . getValue ( ) ; <nl> return gen . B . createClassMethod ( loc , selfPtr , witness ) ; <nl> } <nl> + <nl> + llvm_unreachable ( " Unhandled WitnessDispatchKind in switch . " ) ; <nl> } <nl> <nl> static CanType dropLastElement ( CanType type ) { <nl> mmm a / lib / SILGen / SILGenProfiling . cpp <nl> ppp b / lib / SILGen / SILGenProfiling . cpp <nl> class CounterExpr { <nl> case Kind : : Ref : <nl> return LHS - > expand ( Builder , Counters ) ; <nl> } <nl> + <nl> + llvm_unreachable ( " Unhandled Kind in switch . " ) ; <nl> } <nl> } ; <nl> <nl> getEquivalentPGOLinkage ( FormalLinkage Linkage ) { <nl> case FormalLinkage : : Private : <nl> return llvm : : GlobalValue : : PrivateLinkage ; <nl> } <nl> + <nl> + llvm_unreachable ( " Unhandled FormalLinkage in switch . " ) ; <nl> } <nl> <nl> void SILGenProfiling : : assignRegionCounters ( Decl * Root ) { <nl> mmm a / lib / SILOptimizer / IPO / CapturePromotion . cpp <nl> ppp b / lib / SILOptimizer / IPO / CapturePromotion . cpp <nl> static std : : string getSpecializedName ( SILFunction * F , <nl> IsFragile_t Fragile , <nl> IndicesSet & PromotableIndices ) { <nl> Mangle : : Mangler M ; <nl> - auto P = SpecializationPass : : CapturePromotion ; <nl> + auto P = Demangle : : SpecializationPass : : CapturePromotion ; <nl> FunctionSignatureSpecializationMangler OldFSSM ( P , M , Fragile , F ) ; <nl> NewMangling : : FunctionSignatureSpecializationMangler NewFSSM ( P , Fragile , F ) ; <nl> CanSILFunctionType FTy = F - > getLoweredFunctionType ( ) ; <nl> mmm a / lib / SILOptimizer / IPO / CapturePropagation . cpp <nl> ppp b / lib / SILOptimizer / IPO / CapturePropagation . cpp <nl> static std : : string getClonedName ( PartialApplyInst * PAI , IsFragile_t Fragile , <nl> SILFunction * F ) { <nl> <nl> Mangle : : Mangler M ; <nl> - auto P = SpecializationPass : : CapturePropagation ; <nl> + auto P = Demangle : : SpecializationPass : : CapturePropagation ; <nl> FunctionSignatureSpecializationMangler OldMangler ( P , M , Fragile , F ) ; <nl> NewMangling : : FunctionSignatureSpecializationMangler NewMangler ( P , Fragile , F ) ; <nl> <nl> mmm a / lib / SILOptimizer / IPO / ClosureSpecializer . cpp <nl> ppp b / lib / SILOptimizer / IPO / ClosureSpecializer . cpp <nl> IsFragile_t CallSiteDescriptor : : isFragile ( ) const { <nl> <nl> std : : string CallSiteDescriptor : : createName ( ) const { <nl> Mangle : : Mangler M ; <nl> - auto P = SpecializationPass : : ClosureSpecializer ; <nl> + auto P = Demangle : : SpecializationPass : : ClosureSpecializer ; <nl> FunctionSignatureSpecializationMangler OldFSSM ( P , M , isFragile ( ) , <nl> getApplyCallee ( ) ) ; <nl> NewMangling : : FunctionSignatureSpecializationMangler NewFSSM ( P , isFragile ( ) , <nl> mmm a / lib / SILOptimizer / PassManager / Passes . cpp <nl> ppp b / lib / SILOptimizer / PassManager / Passes . cpp <nl> StringRef swift : : PassKindName ( PassKind Kind ) { <nl> case PassKind : : invalidPassKind : <nl> llvm_unreachable ( " Invalid pass kind ? ! " ) ; <nl> } <nl> + <nl> + llvm_unreachable ( " Unhandled PassKind in switch . " ) ; <nl> } <nl> <nl> StringRef swift : : PassKindID ( PassKind Kind ) { <nl> StringRef swift : : PassKindID ( PassKind Kind ) { <nl> case PassKind : : invalidPassKind : <nl> llvm_unreachable ( " Invalid pass kind ? ! " ) ; <nl> } <nl> + <nl> + llvm_unreachable ( " Unhandled PassKind in switch . " ) ; <nl> } <nl> mmm a / lib / SILOptimizer / Transforms / AllocBoxToStack . cpp <nl> ppp b / lib / SILOptimizer / Transforms / AllocBoxToStack . cpp <nl> static std : : string getClonedName ( SILFunction * F , <nl> IsFragile_t Fragile , <nl> ParamIndexList & PromotedParamIndices ) { <nl> Mangle : : Mangler M ; <nl> - auto P = SpecializationPass : : AllocBoxToStack ; <nl> + auto P = Demangle : : SpecializationPass : : AllocBoxToStack ; <nl> FunctionSignatureSpecializationMangler OldFSSM ( P , M , Fragile , F ) ; <nl> NewMangling : : FunctionSignatureSpecializationMangler NewFSSM ( P , Fragile , F ) ; <nl> for ( unsigned i : PromotedParamIndices ) { <nl> mmm a / lib / SILOptimizer / Transforms / FunctionSignatureOpts . cpp <nl> ppp b / lib / SILOptimizer / Transforms / FunctionSignatureOpts . cpp <nl> class FunctionSignatureOpts : public SILFunctionTransform { <nl> / / going to change , make sure the mangler is aware of all the changes done <nl> / / to the function . <nl> Mangle : : Mangler M ; <nl> - auto P = SpecializationPass : : FunctionSignatureOpts ; <nl> + auto P = Demangle : : SpecializationPass : : FunctionSignatureOpts ; <nl> FunctionSignatureSpecializationMangler OldFM ( P , M , F - > isFragile ( ) , F ) ; <nl> NewMangling : : FunctionSignatureSpecializationMangler NewFM ( P , F - > isFragile ( ) , <nl> F ) ; <nl> mmm a / lib / SILOptimizer / Utils / SpecializationMangler . cpp <nl> ppp b / lib / SILOptimizer / Utils / SpecializationMangler . cpp <nl> std : : string PartialSpecializationMangler : : mangle ( ) { <nl> / / = = = mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - = = = / / <nl> <nl> FunctionSignatureSpecializationMangler : : <nl> - FunctionSignatureSpecializationMangler ( SpecializationPass P , <nl> + FunctionSignatureSpecializationMangler ( Demangle : : SpecializationPass P , <nl> IsFragile_t Fragile , SILFunction * F ) <nl> : SpecializationMangler ( P , Fragile , F ) { <nl> for ( unsigned i = 0 , e = F - > getLoweredFunctionType ( ) - > getNumSILArguments ( ) ; <nl> | Merge pull request from hughbe / silgen - msvc | apple/swift | 8f3c7eb7d60982a0360a4e178b4051e371bd0e77 | 2016-12-22T21:25:49Z |
mmm a / include / swift / AST / Module . h <nl> ppp b / include / swift / AST / Module . h <nl> class ClangModule : public Module { <nl> / / / actually invokes the Objective - C alloc / init or new . <nl> ArrayRef < Decl * > getExternalDefinitions ( ) const { return ExternalDefs ; } <nl> <nl> + / / / \ brief Clear out the external definitions . <nl> + / / / FIXME : This is a hack that should go away . <nl> + void clearExternalDefinitions ( ) { <nl> + std : : vector < Decl * > ( ) . swap ( ExternalDefs ) ; <nl> + } <nl> + <nl> static bool classof ( const DeclContext * DC ) { <nl> return DC - > getContextKind ( ) = = DeclContextKind : : ClangModule ; <nl> } <nl> mmm a / lib / ClangImporter / ImportDecl . cpp <nl> ppp b / lib / ClangImporter / ImportDecl . cpp <nl> namespace { <nl> thisTy , <nl> Impl . firstClangModule ) ; <nl> Pattern * thisPat = new ( Impl . SwiftContext ) NamedPattern ( thisVar ) ; <nl> + thisPat - > setType ( thisVar - > getType ( ) ) ; <nl> thisPat <nl> = new ( Impl . SwiftContext ) TypedPattern ( thisPat , <nl> TypeLoc : : withoutLoc ( thisTy ) ) ; <nl> + thisPat - > setType ( thisVar - > getType ( ) ) ; <nl> argPatterns . push_back ( thisPat ) ; <nl> bodyPatterns . push_back ( thisPat ) ; <nl> <nl> namespace { <nl> thisMetaTy , <nl> Impl . firstClangModule ) ; <nl> Pattern * thisPat = new ( Impl . SwiftContext ) NamedPattern ( thisMetaVar ) ; <nl> + thisPat - > setType ( thisMetaTy ) ; <nl> thisPat <nl> = new ( Impl . SwiftContext ) TypedPattern ( thisPat , <nl> TypeLoc : : withoutLoc ( thisMetaTy ) ) ; <nl> - <nl> + thisPat - > setType ( thisMetaTy ) ; <nl> + <nl> argPatterns . push_back ( thisPat ) ; <nl> bodyPatterns . push_back ( thisPat ) ; <nl> <nl> namespace { <nl> / / Create the actual constructor . <nl> / / FIXME : Losing body patterns here . <nl> auto result = new ( Impl . SwiftContext ) ConstructorDecl ( name , loc , <nl> - argPatterns . front ( ) , <nl> + argPatterns . back ( ) , <nl> thisVar , <nl> / * GenericParams = * / 0 , <nl> dc ) ; <nl> namespace { <nl> <nl> / / Create the body of the constructor , which will call the appropriate <nl> / / underlying method ( and ' alloc ' , if needed ) . <nl> - auto refThisMeta <nl> - = new ( Impl . SwiftContext ) DeclRefExpr ( <nl> - thisMetaVar , loc , <nl> - thisMetaVar - > getTypeOfReference ( ) ) ; <nl> - Expr * initExpr = refThisMeta ; <nl> + / / FIXME : Use the ' this ' of metaclass type rather than a metatype <nl> + / / expression . <nl> + Expr * initExpr = new ( Impl . SwiftContext ) MetatypeExpr ( nullptr , loc , <nl> + thisMetaTy ) ; <nl> <nl> if ( objcMethod - > getMethodFamily ( ) = = clang : : OMF_init ) { <nl> / / For an ' init ' method , we need to call alloc first . <nl> mmm a / lib / ClangImporter / ImportType . cpp <nl> ppp b / lib / ClangImporter / ImportType . cpp <nl> Type ClangImporter : : Implementation : : importFunctionType ( <nl> / / Form the body and argument patterns . <nl> bodyPatterns . push_back ( TuplePattern : : create ( SwiftContext , SourceLoc ( ) , <nl> bodyPatternElts , SourceLoc ( ) ) ) ; <nl> + bodyPatterns . back ( ) - > setType ( paramsTy ) ; <nl> argPatterns . push_back ( TuplePattern : : create ( SwiftContext , SourceLoc ( ) , <nl> argPatternElts , SourceLoc ( ) ) ) ; <nl> + argPatterns . back ( ) - > setType ( paramsTy ) ; <nl> <nl> / / Form the function type . <nl> return FunctionType : : get ( paramsTy , swiftResultTy , SwiftContext ) ; <nl> mmm a / lib / IRGen / GenClass . cpp <nl> ppp b / lib / IRGen / GenClass . cpp <nl> static void emitClassConstructor ( IRGenModule & IGM , ConstructorDecl * CD ) { <nl> IGF . emitConstructorBody ( CD ) ; <nl> } <nl> <nl> + void IRGenModule : : emitClassConstructor ( ConstructorDecl * D ) { <nl> + return : : emitClassConstructor ( * this , D ) ; <nl> + } <nl> + <nl> / / / emitClassDecl - Emit all the declarations associated with this class type . <nl> void IRGenModule : : emitClassDecl ( ClassDecl * D ) { <nl> auto & classTI = Types . getFragileTypeInfo ( D ) . as < ClassTypeInfo > ( ) ; <nl> void IRGenModule : : emitClassDecl ( ClassDecl * D ) { <nl> continue ; <nl> } <nl> case DeclKind : : Constructor : { <nl> - emitClassConstructor ( * this , cast < ConstructorDecl > ( member ) ) ; <nl> + : : emitClassConstructor ( * this , cast < ConstructorDecl > ( member ) ) ; <nl> continue ; <nl> } <nl> case DeclKind : : Destructor : { <nl> mmm a / lib / IRGen / GenDecl . cpp <nl> ppp b / lib / IRGen / GenDecl . cpp <nl> void IRGenFunction : : emitGlobalTopLevel ( TranslationUnit * TU , unsigned StartElem ) <nl> assert ( Builder . hasValidIP ( ) ) ; <nl> emitGlobalDecl ( TU - > Decls [ i ] ) ; <nl> } <nl> + <nl> + / / For any Clang modules imported by this translation unit , emit external <nl> + / / definitions . <nl> + for ( auto mod : TU - > getImportedModules ( ) ) { <nl> + auto clangMod = dyn_cast < ClangModule > ( mod . second ) ; <nl> + if ( ! clangMod ) <nl> + continue ; <nl> + <nl> + for ( auto def : clangMod - > getExternalDefinitions ( ) ) { <nl> + emitExternalDefinition ( def ) ; <nl> + } <nl> + <nl> + / / FIXME : Total hack . Removing these declarations makes sure that we <nl> + / / don ' t generate them again . We need to teach either IRGenModule or the <nl> + / / REPL code to track which declarations have been IRgenerated already . <nl> + clangMod - > clearExternalDefinitions ( ) ; <nl> + } <nl> } <nl> <nl> static bool isLocalLinkageDecl ( Decl * D ) { <nl> void IRGenFunction : : emitGlobalDecl ( Decl * D ) { <nl> llvm_unreachable ( " bad decl kind ! " ) ; <nl> } <nl> <nl> + void IRGenFunction : : emitExternalDefinition ( Decl * D ) { <nl> + switch ( D - > getKind ( ) ) { <nl> + case DeclKind : : Extension : <nl> + case DeclKind : : Protocol : <nl> + case DeclKind : : PatternBinding : <nl> + case DeclKind : : OneOfElement : <nl> + case DeclKind : : OneOf : <nl> + case DeclKind : : Class : <nl> + case DeclKind : : Struct : <nl> + case DeclKind : : TopLevelCode : <nl> + case DeclKind : : TypeAlias : <nl> + case DeclKind : : Var : <nl> + case DeclKind : : Func : <nl> + case DeclKind : : Import : <nl> + llvm_unreachable ( " Not a valid external definition for IRgen " ) ; <nl> + <nl> + case DeclKind : : Constructor : <nl> + if ( D - > getDeclContext ( ) - > getDeclaredTypeOfContext ( ) <nl> + - > getClassOrBoundGenericClass ( ) ) { <nl> + IGM . emitClassConstructor ( cast < ConstructorDecl > ( D ) ) ; <nl> + } else { <nl> + IGM . emitConstructor ( cast < ConstructorDecl > ( D ) ) ; <nl> + } <nl> + break ; <nl> + <nl> + case DeclKind : : Destructor : <nl> + llvm_unreachable ( " Cannot handle destructors yet " ) ; <nl> + break ; <nl> + <nl> + case DeclKind : : Subscript : <nl> + llvm_unreachable ( " Cannot handle subscripts yet " ) ; <nl> + break ; <nl> + } <nl> + } <nl> + <nl> / / / Find the address of a ( fragile , constant - size ) global variable <nl> / / / declaration . The address value is always an llvm : : GlobalVariable * . <nl> Address IRGenModule : : getAddrOfGlobalVariable ( VarDecl * var ) { <nl> mmm a / lib / IRGen / IRGenFunction . h <nl> ppp b / lib / IRGen / IRGenFunction . h <nl> class IRGenFunction { <nl> void emitGlobalTopLevel ( TranslationUnit * TU , unsigned StartElem ) ; <nl> private : <nl> void emitGlobalDecl ( Decl * D ) ; <nl> + void emitExternalDefinition ( Decl * D ) ; <nl> <nl> / / mmm Type emission mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm <nl> public : <nl> mmm a / lib / IRGen / IRGenModule . h <nl> ppp b / lib / IRGen / IRGenModule . h <nl> class IRGenModule { <nl> void emitStaticMethod ( FuncDecl * D ) ; <nl> void emitInstanceMethod ( FuncDecl * D ) ; <nl> void emitConstructor ( ConstructorDecl * D ) ; <nl> + void emitClassConstructor ( ConstructorDecl * D ) ; <nl> <nl> llvm : : FunctionType * getFunctionType ( CanType fnType , ExplosionKind kind , <nl> unsigned uncurryLevel , <nl> mmm a / lib / Sema / TypeChecker . cpp <nl> ppp b / lib / Sema / TypeChecker . cpp <nl> void swift : : performTypeChecking ( TranslationUnit * TU , unsigned StartElem ) { <nl> } <nl> } <nl> <nl> - / / Type - check any externally - sourced definition . <nl> - for ( auto imported : TC . TU . getImportedModules ( ) ) { <nl> - auto clangModule = dyn_cast < ClangModule > ( imported . second ) ; <nl> - if ( ! clangModule ) <nl> - continue ; <nl> - <nl> - for ( auto decl : clangModule - > getExternalDefinitions ( ) ) { <nl> - if ( auto constructor = dyn_cast < ConstructorDecl > ( decl ) ) { <nl> - prePass . FuncExprs . push_back ( constructor ) ; <nl> - continue ; <nl> - } <nl> - if ( auto destructor = dyn_cast < DestructorDecl > ( decl ) ) { <nl> - prePass . FuncExprs . push_back ( destructor ) ; <nl> + / / FIXME : This is a painful hack . There are interesting architectural issues <nl> + / / with the organization of name binding / type checking / IR generation . <nl> + llvm : : SmallPtrSet < Decl * , 16 > externalDefinitionsChecked ; <nl> + unsigned currentFuncExpr = 0 ; <nl> + do { <nl> + / / Type check the body of each of the FuncExpr in turn . Note that outside <nl> + / / FuncExprs must be visited before nested FuncExprs for type - checking to <nl> + / / work correctly . <nl> + for ( unsigned n = prePass . FuncExprs . size ( ) ; currentFuncExpr ! = n ; <nl> + + + currentFuncExpr ) { <nl> + auto func = prePass . FuncExprs [ currentFuncExpr ] ; <nl> + <nl> + if ( ConstructorDecl * CD = func . dyn_cast < ConstructorDecl * > ( ) ) { <nl> + TC . typeCheckConstructorBody ( CD ) ; <nl> continue ; <nl> } <nl> - if ( auto func = dyn_cast < FuncDecl > ( decl ) ) { <nl> - prePass . FuncExprs . push_back ( func - > getBody ( ) ) ; <nl> + if ( DestructorDecl * DD = func . dyn_cast < DestructorDecl * > ( ) ) { <nl> + TC . typeCheckDestructorBody ( DD ) ; <nl> continue ; <nl> } <nl> + FuncExpr * FE = func . get < FuncExpr * > ( ) ; <nl> + PrettyStackTraceExpr StackEntry ( TC . Context , " type - checking " , FE ) ; <nl> <nl> - llvm_unreachable ( " Unknown externally - sourced definition " ) ; <nl> + TC . typeCheckFunctionBody ( FE ) ; <nl> } <nl> - } <nl> <nl> - / / Type check the body of each of the FuncExpr in turn . Note that outside <nl> - / / FuncExprs must be visited before nested FuncExprs for type - checking to <nl> - / / work correctly . <nl> - for ( auto func : prePass . FuncExprs ) { <nl> - if ( ConstructorDecl * CD = func . dyn_cast < ConstructorDecl * > ( ) ) { <nl> - TC . typeCheckConstructorBody ( CD ) ; <nl> - continue ; <nl> - } <nl> - if ( DestructorDecl * DD = func . dyn_cast < DestructorDecl * > ( ) ) { <nl> - TC . typeCheckDestructorBody ( DD ) ; <nl> - continue ; <nl> - } <nl> - FuncExpr * FE = func . get < FuncExpr * > ( ) ; <nl> - PrettyStackTraceExpr StackEntry ( TC . Context , " type - checking " , FE ) ; <nl> + / / Type - check any externally - sourced definition . <nl> + for ( auto imported : TC . TU . getImportedModules ( ) ) { <nl> + auto clangModule = dyn_cast < ClangModule > ( imported . second ) ; <nl> + if ( ! clangModule ) <nl> + continue ; <nl> <nl> - TC . typeCheckFunctionBody ( FE ) ; <nl> - } <nl> + for ( auto decl : clangModule - > getExternalDefinitions ( ) ) { <nl> + if ( ! externalDefinitionsChecked . insert ( decl ) ) <nl> + continue ; <nl> <nl> + if ( auto constructor = dyn_cast < ConstructorDecl > ( decl ) ) { <nl> + prePass . FuncExprs . push_back ( constructor ) ; <nl> + continue ; <nl> + } <nl> + if ( auto destructor = dyn_cast < DestructorDecl > ( decl ) ) { <nl> + prePass . FuncExprs . push_back ( destructor ) ; <nl> + continue ; <nl> + } <nl> + if ( auto func = dyn_cast < FuncDecl > ( decl ) ) { <nl> + prePass . FuncExprs . push_back ( func - > getBody ( ) ) ; <nl> + continue ; <nl> + } <nl> + <nl> + llvm_unreachable ( " Unknown externally - sourced definition " ) ; <nl> + } <nl> + } <nl> + } while ( currentFuncExpr < prePass . FuncExprs . size ( ) ) ; <nl> + <nl> / / Verify that we ' ve checked types correctly . <nl> TU - > ASTStage = TranslationUnit : : TypeChecked ; <nl> verify ( TU ) ; <nl> | Emit the constructors synthesized by the Clang importer for ObjC init / new methods . | apple/swift | 1f45f28837a66ba0f6940d20129f477578f9b568 | 2012-12-05T22:01:38Z |
mmm a / src / crypto / crypto . cc <nl> ppp b / src / crypto / crypto . cc <nl> string Base64Key : : printable_key ( void ) const <nl> } <nl> <nl> Session : : Session ( Base64Key s_key ) <nl> - : key ( s_key ) , ctx ( NULL ) , blocks_encrypted ( 0 ) <nl> + : key ( s_key ) , ctx_buf ( ae_ctx_sizeof ( ) ) , <nl> + ctx ( ( ae_ctx * ) ctx_buf . data ( ) ) , blocks_encrypted ( 0 ) <nl> { <nl> - ctx = ae_allocate ( NULL ) ; <nl> - if ( ctx = = NULL ) { <nl> - throw CryptoException ( " Could not allocate AES - OCB context . " ) ; <nl> - } <nl> - <nl> if ( AE_SUCCESS ! = ae_init ( ctx , key . data ( ) , 16 , 12 , 16 ) ) { <nl> throw CryptoException ( " Could not initialize AES - OCB context . " ) ; <nl> } <nl> Session : : ~ Session ( ) <nl> if ( ae_clear ( ctx ) ! = AE_SUCCESS ) { <nl> throw CryptoException ( " Could not clear AES - OCB context . " ) ; <nl> } <nl> - <nl> - ae_free ( ctx ) ; <nl> } <nl> <nl> Nonce : : Nonce ( uint64_t val ) <nl> mmm a / src / crypto / crypto . h <nl> ppp b / src / crypto / crypto . h <nl> namespace Crypto { <nl> class Session { <nl> private : <nl> Base64Key key ; <nl> + AlignedBuffer ctx_buf ; <nl> ae_ctx * ctx ; <nl> uint64_t blocks_encrypted ; <nl> <nl> mmm a / src / crypto / ocb . cc <nl> ppp b / src / crypto / ocb . cc <nl> static block getL ( const ae_ctx * ctx , unsigned tz ) <nl> / * 32 - bit SSE2 and Altivec systems need to be forced to allocate memory <nl> on 16 - byte alignments . ( I believe all major 64 - bit systems do already . ) * / <nl> <nl> - ae_ctx * ae_allocate ( void * misc ) <nl> - { <nl> - void * p ; <nl> - ( void ) misc ; / * misc unused in this implementation * / <nl> - # if ( __SSE2__ & & ! _M_X64 & & ! _M_AMD64 & & ! __amd64__ ) <nl> - p = _mm_malloc ( sizeof ( ae_ctx ) , 16 ) ; <nl> - # elif ( __ALTIVEC__ & & ! __PPC64__ ) <nl> - if ( posix_memalign ( & p , 16 , sizeof ( ae_ctx ) ) ! = 0 ) p = NULL ; <nl> - # else <nl> - p = malloc ( sizeof ( ae_ctx ) ) ; <nl> - # endif <nl> - return ( ae_ctx * ) p ; <nl> - } <nl> - <nl> - void ae_free ( ae_ctx * ctx ) <nl> - { <nl> - # if ( __SSE2__ & & ! _M_X64 & & ! _M_AMD64 & & ! __amd64__ ) <nl> - _mm_free ( ctx ) ; <nl> - # else <nl> - free ( ctx ) ; <nl> - # endif <nl> - } <nl> + / * Mosh uses its own AlignedBuffer class , not ae_allocate ( ) or ae_free ( ) . * / <nl> <nl> / * mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - * / <nl> <nl> | Use AlignedBuffer stedda posix_memalign ( ) . Should work on PPC OS X 10 . 5 . | mobile-shell/mosh | e8236c5fd41f0f64402a43563a7f97aa1fd96a1a | 2012-04-23T02:46:49Z |
mmm a / tools / optimizer / optimizer . cpp <nl> ppp b / tools / optimizer / optimizer . cpp <nl> void registerizeHarder ( Ref ast ) { <nl> <nl> for ( auto name : junc . live ) { <nl> if ( junctionVariables . count ( name ) = = 0 ) initializeJunctionVariable ( name ) ; <nl> + JuncVar & jvar = junctionVariables [ name ] ; <nl> / / It conflicts with all other names live at this junction . <nl> - junctionVariables [ name ] . conf . insert ( junc . live . begin ( ) , junc . live . end ( ) ) ; / / XXX this operation is very expensive <nl> - junctionVariables [ name ] . conf . erase ( name ) ; / / except for itself , of course <nl> + jvar . conf . insert ( junc . live . begin ( ) , junc . live . end ( ) ) ; / / XXX this operation is very expensive <nl> + jvar . conf . erase ( name ) ; / / except for itself , of course <nl> <nl> / / It conflicts with any output vars of successor blocks , <nl> / / if they ' re assigned before it goes dead in that block . <nl> void registerizeHarder ( Ref ast ) { <nl> for ( auto block : kv . second ) { <nl> if ( block - > lastKillLoc [ otherName ] < block - > firstDeadLoc [ name ] ) { <nl> if ( junctionVariables . count ( otherName ) = = 0 ) initializeJunctionVariable ( otherName ) ; <nl> - junctionVariables [ name ] . conf . insert ( otherName ) ; <nl> + jvar . conf . insert ( otherName ) ; <nl> junctionVariables [ otherName ] . conf . insert ( name ) ; <nl> } <nl> } <nl> void registerizeHarder ( Ref ast ) { <nl> for ( auto block : possibleBlockLinks [ name ] ) { <nl> IString linkName = block - > link [ name ] ; <nl> if ( junctionVariables . count ( linkName ) = = 0 ) initializeJunctionVariable ( linkName ) ; <nl> - junctionVariables [ name ] . link . insert ( linkName ) ; <nl> + jvar . link . insert ( linkName ) ; <nl> junctionVariables [ linkName ] . link . insert ( name ) ; <nl> } <nl> } <nl> | Ensure we don ' t query map on every junction var access | emscripten-core/emscripten | 06d364ad4dce5c66bb9b7e0d906412d61926fa4d | 2015-04-18T01:52:14Z |
mmm a / src / mongo / platform / random . h <nl> ppp b / src / mongo / platform / random . h <nl> <nl> <nl> # pragma once <nl> <nl> - # include < cstdlib > <nl> # ifdef _WIN32 <nl> # include < cstdint > <nl> # else <nl> # include < inttypes . h > <nl> # endif <nl> <nl> + # include < cstdlib > <nl> + <nl> namespace mongo { <nl> <nl> class PseudoRandom { <nl> | fix include order | mongodb/mongo | 347c00a5fde35f6e5acef9f58e3c8a056d532d9f | 2012-10-15T22:07:07Z |
mmm a / python / mxnet / libinfo . py <nl> ppp b / python / mxnet / libinfo . py <nl> def find_lib_path ( ) : <nl> dll_path . append ( os . path . join ( curr_path , ' . . / . . / build ' , vs_configuration ) ) <nl> dll_path . append ( os . path . join ( curr_path , ' . . / . . / windows ' , vs_configuration ) ) <nl> elif os . name = = " posix " and os . environ . get ( ' LD_LIBRARY_PATH ' , None ) : <nl> - dll_path . extend ( [ p . strip ( ) for p in os . environ [ ' LD_LIBRARY_PATH ' ] . split ( " : " ) ] ) <nl> + dll_path [ 0 : 0 ] = [ p . strip ( ) for p in os . environ [ ' LD_LIBRARY_PATH ' ] . split ( " : " ) ] <nl> if os . name = = ' nt ' : <nl> os . environ [ ' PATH ' ] = os . path . dirname ( __file__ ) + ' ; ' + os . environ [ ' PATH ' ] <nl> dll_path = [ os . path . join ( p , ' libmxnet . dll ' ) for p in dll_path ] <nl> | Prepend LD_LIBRARY_PATH to dll_path in find_lib_path ( ) | apache/incubator-mxnet | b596cf65def4c1f29c1e19ecba864d7e505cc5a0 | 2018-01-05T19:26:56Z |
mmm a / src / mongo / db / client . cpp <nl> ppp b / src / mongo / db / client . cpp <nl> namespace mongo { <nl> } <nl> <nl> void AutoGetCollectionForRead : : _init ( ) { <nl> - massert ( 28534 , " need a non - empty collection name " , ! _nss . coll ( ) . empty ( ) ) ; <nl> + massert ( 28535 , " need a non - empty collection name " , ! _nss . coll ( ) . empty ( ) ) ; <nl> <nl> / / TODO : Client : : Context legacy , needs to be removed <nl> _txn - > getCurOp ( ) - > ensureStarted ( ) ; <nl> | assert codes | mongodb/mongo | 3683225e1184bd8119b4651d4ec10ea17a25e730 | 2014-10-20T13:13:41Z |
mmm a / xbmc / GUIInfoManager . cpp <nl> ppp b / xbmc / GUIInfoManager . cpp <nl> void CGUIInfoManager : : SetCurrentItem ( const CFileItem & item ) <nl> <nl> SetChanged ( ) ; <nl> NotifyObservers ( ObservableMessageCurrentItem ) ; <nl> + / / todo this should be handled by one of the observers above and forwarded <nl> + g_application . m_ServiceManager - > GetAnnouncementManager ( ) . Announce ( ANNOUNCEMENT : : Info , " xbmc " , " OnChanged " ) ; <nl> } <nl> <nl> void CGUIInfoManager : : SetCurrentAlbumThumb ( const std : : string & thumbFileName ) <nl> | GUIInfoManager : Send Announcement when fileitem changes | xbmc/xbmc | 26687651ab5384b9df80c4d08481cadca1b6c374 | 2018-03-18T18:18:09Z |
mmm a / src / layer / binaryop . cpp <nl> ppp b / src / layer / binaryop . cpp <nl> <nl> # include " binaryop . h " <nl> # include < math . h > <nl> # include < algorithm > <nl> + # include < functional > <nl> <nl> namespace ncnn { <nl> <nl> int BinaryOp : : load_param ( const unsigned char * & mem ) <nl> return 0 ; <nl> } <nl> <nl> - int BinaryOp : : forward ( const std : : vector < Mat > & bottom_blobs , std : : vector < Mat > & top_blobs ) const <nl> + template < typename Op > <nl> + static int binary_op ( const Mat & a , const Mat & b , Mat & c ) <nl> { <nl> - const Mat & bottom_blob = bottom_blobs [ 0 ] ; <nl> - const Mat & bottom_blob1 = bottom_blobs [ 1 ] ; <nl> + Op op ; <nl> <nl> - int w = bottom_blob . w ; <nl> - int h = bottom_blob . h ; <nl> - int channels = bottom_blob . c ; <nl> + int w = a . w ; <nl> + int h = a . h ; <nl> + int channels = a . c ; <nl> int size = w * h ; <nl> <nl> - Mat & top_blob = top_blobs [ 0 ] ; <nl> - top_blob . create ( w , h , channels ) ; <nl> - if ( top_blob . empty ( ) ) <nl> - return - 100 ; <nl> + int w1 = b . w ; <nl> + int h1 = b . h ; <nl> + int channels1 = b . c ; <nl> <nl> - if ( op_type = = Operation_ADD ) <nl> + if ( a . dims = = 3 ) <nl> { <nl> - # pragma omp parallel for <nl> - for ( int q = 0 ; q < channels ; q + + ) <nl> + c . create ( w , h , channels ) ; <nl> + if ( c . empty ( ) ) <nl> + return - 100 ; <nl> + <nl> + if ( b . dims = = 3 ) <nl> { <nl> - const float * ptr = bottom_blob . channel ( q ) ; <nl> - const float * ptr1 = bottom_blob1 . channel ( q ) ; <nl> - float * outptr = top_blob . channel ( q ) ; <nl> + # pragma omp parallel for <nl> + for ( int q = 0 ; q < channels ; q + + ) <nl> + { <nl> + const float * ptr = a . channel ( q ) ; <nl> + const float * ptr1 = b . channel ( q ) ; <nl> + float * outptr = c . channel ( q ) ; <nl> <nl> - for ( int i = 0 ; i < size ; i + + ) <nl> + for ( int i = 0 ; i < size ; i + + ) <nl> + { <nl> + outptr [ i ] = op ( ptr [ i ] , ptr1 [ i ] ) ; <nl> + } <nl> + } <nl> + <nl> + return 0 ; <nl> + } <nl> + <nl> + if ( b . dims = = 2 ) <nl> + { <nl> + # pragma omp parallel for <nl> + for ( int q = 0 ; q < channels ; q + + ) <nl> + { <nl> + const float * ptr = a . channel ( q ) ; <nl> + const float * ptr1 = b . data + h * q ; <nl> + float * outptr = c . channel ( q ) ; <nl> + <nl> + for ( int y = 0 ; y < h ; y + + ) <nl> + { <nl> + const float b0 = ptr1 [ y ] ; <nl> + for ( int x = 0 ; x < w ; x + + ) <nl> + { <nl> + outptr [ x ] = op ( ptr [ x ] , b0 ) ; <nl> + } <nl> + <nl> + ptr + = w ; <nl> + outptr + = w ; <nl> + } <nl> + } <nl> + <nl> + return 0 ; <nl> + } <nl> + <nl> + if ( b . dims = = 1 ) <nl> + { <nl> + # pragma omp parallel for <nl> + for ( int q = 0 ; q < channels ; q + + ) <nl> { <nl> - outptr [ i ] = ptr [ i ] + ptr1 [ i ] ; <nl> + const float * ptr = a . channel ( q ) ; <nl> + const float b0 = b . data [ q ] ; <nl> + float * outptr = c . channel ( q ) ; <nl> + <nl> + for ( int i = 0 ; i < size ; i + + ) <nl> + { <nl> + outptr [ i ] = op ( ptr [ i ] , b0 ) ; <nl> + } <nl> + <nl> + ptr + = w ; <nl> + outptr + = w ; <nl> } <nl> + <nl> + return 0 ; <nl> } <nl> } <nl> - else if ( op_type = = Operation_SUB ) <nl> + else if ( a . dims = = 2 ) <nl> { <nl> - # pragma omp parallel for <nl> - for ( int q = 0 ; q < channels ; q + + ) <nl> + if ( b . dims = = 3 ) <nl> { <nl> - const float * ptr = bottom_blob . channel ( q ) ; <nl> - const float * ptr1 = bottom_blob1 . channel ( q ) ; <nl> - float * outptr = top_blob . channel ( q ) ; <nl> + c . create ( w1 , h1 , channels1 ) ; <nl> + if ( c . empty ( ) ) <nl> + return - 100 ; <nl> <nl> - for ( int i = 0 ; i < size ; i + + ) <nl> + # pragma omp parallel for <nl> + for ( int q = 0 ; q < channels1 ; q + + ) <nl> { <nl> - outptr [ i ] = ptr [ i ] - ptr1 [ i ] ; <nl> + const float * ptr = a . data + h1 * q ; <nl> + const float * ptr1 = b . channel ( q ) ; <nl> + float * outptr = c . channel ( q ) ; <nl> + <nl> + for ( int y = 0 ; y < h1 ; y + + ) <nl> + { <nl> + const float a0 = ptr [ y ] ; <nl> + for ( int x = 0 ; x < w1 ; x + + ) <nl> + { <nl> + outptr [ x ] = op ( a0 , ptr1 [ x ] ) ; <nl> + } <nl> + <nl> + ptr1 + = w1 ; <nl> + outptr + = w1 ; <nl> + } <nl> } <nl> + <nl> + return 0 ; <nl> } <nl> - } <nl> - else if ( op_type = = Operation_MUL ) <nl> - { <nl> - # pragma omp parallel for <nl> - for ( int q = 0 ; q < channels ; q + + ) <nl> + <nl> + c . create ( w , h ) ; <nl> + if ( c . empty ( ) ) <nl> + return - 100 ; <nl> + <nl> + if ( b . dims = = 2 ) <nl> { <nl> - const float * ptr = bottom_blob . channel ( q ) ; <nl> - const float * ptr1 = bottom_blob1 . channel ( q ) ; <nl> - float * outptr = top_blob . channel ( q ) ; <nl> + const float * ptr = a ; <nl> + const float * ptr1 = b ; <nl> + float * outptr = c ; <nl> <nl> for ( int i = 0 ; i < size ; i + + ) <nl> { <nl> - outptr [ i ] = ptr [ i ] * ptr1 [ i ] ; <nl> + outptr [ i ] = op ( ptr [ i ] , ptr1 [ i ] ) ; <nl> } <nl> + <nl> + return 0 ; <nl> } <nl> - } <nl> - else if ( op_type = = Operation_DIV ) <nl> - { <nl> - # pragma omp parallel for <nl> - for ( int q = 0 ; q < channels ; q + + ) <nl> + <nl> + if ( b . dims = = 1 ) <nl> { <nl> - const float * ptr = bottom_blob . channel ( q ) ; <nl> - const float * ptr1 = bottom_blob1 . channel ( q ) ; <nl> - float * outptr = top_blob . channel ( q ) ; <nl> + c . create ( w , h ) ; <nl> + if ( c . empty ( ) ) <nl> + return - 100 ; <nl> <nl> - for ( int i = 0 ; i < size ; i + + ) <nl> + const float * ptr = a ; <nl> + const float * ptr1 = b ; <nl> + float * outptr = c ; <nl> + <nl> + for ( int y = 0 ; y < h ; y + + ) <nl> { <nl> - outptr [ i ] = ptr [ i ] / ptr1 [ i ] ; <nl> + const float b0 = ptr1 [ y ] ; <nl> + for ( int x = 0 ; x < w ; x + + ) <nl> + { <nl> + outptr [ x ] = op ( ptr [ x ] , b0 ) ; <nl> + } <nl> + <nl> + ptr + = w ; <nl> + outptr + = w ; <nl> } <nl> + <nl> + return 0 ; <nl> } <nl> } <nl> - else if ( op_type = = Operation_MAX ) <nl> + else if ( a . dims = = 1 ) <nl> { <nl> - # pragma omp parallel for <nl> - for ( int q = 0 ; q < channels ; q + + ) <nl> + if ( b . dims = = 3 ) <nl> { <nl> - const float * ptr = bottom_blob . channel ( q ) ; <nl> - const float * ptr1 = bottom_blob1 . channel ( q ) ; <nl> - float * outptr = top_blob . channel ( q ) ; <nl> + c . create ( w1 , h1 , channels1 ) ; <nl> + if ( c . empty ( ) ) <nl> + return - 100 ; <nl> <nl> - for ( int i = 0 ; i < size ; i + + ) <nl> + # pragma omp parallel for <nl> + for ( int q = 0 ; q < channels1 ; q + + ) <nl> { <nl> - outptr [ i ] = std : : max ( ptr [ i ] , ptr1 [ i ] ) ; <nl> + const float a0 = a . data [ q ] ; <nl> + const float * ptr1 = b . channel ( q ) ; <nl> + float * outptr = c . channel ( q ) ; <nl> + <nl> + for ( int i = 0 ; i < size ; i + + ) <nl> + { <nl> + outptr [ i ] = op ( a0 , ptr1 [ i ] ) ; <nl> + } <nl> + <nl> + ptr1 + = w1 ; <nl> + outptr + = w1 ; <nl> } <nl> + <nl> + return 0 ; <nl> } <nl> - } <nl> - else if ( op_type = = Operation_MIN ) <nl> - { <nl> - # pragma omp parallel for <nl> - for ( int q = 0 ; q < channels ; q + + ) <nl> + <nl> + if ( b . dims = = 2 ) <nl> { <nl> - const float * ptr = bottom_blob . channel ( q ) ; <nl> - const float * ptr1 = bottom_blob1 . channel ( q ) ; <nl> - float * outptr = top_blob . channel ( q ) ; <nl> + c . create ( w1 , h1 ) ; <nl> + if ( c . empty ( ) ) <nl> + return - 100 ; <nl> <nl> - for ( int i = 0 ; i < size ; i + + ) <nl> + const float * ptr = a ; <nl> + const float * ptr1 = b ; <nl> + float * outptr = c ; <nl> + <nl> + for ( int y = 0 ; y < h1 ; y + + ) <nl> { <nl> - outptr [ i ] = std : : min ( ptr [ i ] , ptr1 [ i ] ) ; <nl> + const float a0 = ptr [ y ] ; <nl> + for ( int x = 0 ; x < w1 ; x + + ) <nl> + { <nl> + outptr [ x ] = op ( a0 , ptr1 [ x ] ) ; <nl> + } <nl> + <nl> + ptr1 + = w1 ; <nl> + outptr + = w1 ; <nl> } <nl> + <nl> + return 0 ; <nl> } <nl> - } <nl> - else if ( op_type = = Operation_POW ) <nl> - { <nl> - # pragma omp parallel for <nl> - for ( int q = 0 ; q < channels ; q + + ) <nl> + <nl> + if ( b . dims = = 1 ) <nl> { <nl> - const float * ptr = bottom_blob . channel ( q ) ; <nl> - const float * ptr1 = bottom_blob1 . channel ( q ) ; <nl> - float * outptr = top_blob . channel ( q ) ; <nl> + c . create ( w ) ; <nl> + if ( c . empty ( ) ) <nl> + return - 100 ; <nl> + <nl> + const float * ptr = a ; <nl> + const float * ptr1 = b ; <nl> + float * outptr = c ; <nl> <nl> for ( int i = 0 ; i < size ; i + + ) <nl> { <nl> - outptr [ i ] = pow ( ptr [ i ] , ptr1 [ i ] ) ; <nl> + outptr [ i ] = op ( ptr [ i ] , ptr1 [ i ] ) ; <nl> } <nl> } <nl> } <nl> int BinaryOp : : forward ( const std : : vector < Mat > & bottom_blobs , std : : vector < Mat > & to <nl> return 0 ; <nl> } <nl> <nl> + template < typename T > <nl> + struct binary_op_max : std : : binary_function < T , T , T > { <nl> + T operator ( ) ( const T & x , const T & y ) const { return std : : max ( x , y ) ; } <nl> + } ; <nl> + <nl> + template < typename T > <nl> + struct binary_op_min : std : : binary_function < T , T , T > { <nl> + T operator ( ) ( const T & x , const T & y ) const { return std : : min ( x , y ) ; } <nl> + } ; <nl> + <nl> + template < typename T > <nl> + struct binary_op_pow : std : : binary_function < T , T , T > { <nl> + T operator ( ) ( const T & x , const T & y ) const { return pow ( x , y ) ; } <nl> + } ; <nl> + <nl> + int BinaryOp : : forward ( const std : : vector < Mat > & bottom_blobs , std : : vector < Mat > & top_blobs ) const <nl> + { <nl> + const Mat & bottom_blob = bottom_blobs [ 0 ] ; <nl> + const Mat & bottom_blob1 = bottom_blobs [ 1 ] ; <nl> + <nl> + Mat & top_blob = top_blobs [ 0 ] ; <nl> + <nl> + if ( op_type = = Operation_ADD ) <nl> + return binary_op < std : : plus < float > > ( bottom_blob , bottom_blob1 , top_blob ) ; <nl> + <nl> + if ( op_type = = Operation_SUB ) <nl> + return binary_op < std : : minus < float > > ( bottom_blob , bottom_blob1 , top_blob ) ; <nl> + <nl> + if ( op_type = = Operation_MUL ) <nl> + return binary_op < std : : multiplies < float > > ( bottom_blob , bottom_blob1 , top_blob ) ; <nl> + <nl> + if ( op_type = = Operation_DIV ) <nl> + return binary_op < std : : divides < float > > ( bottom_blob , bottom_blob1 , top_blob ) ; <nl> + <nl> + if ( op_type = = Operation_MAX ) <nl> + return binary_op < binary_op_max < float > > ( bottom_blob , bottom_blob1 , top_blob ) ; <nl> + <nl> + if ( op_type = = Operation_MIN ) <nl> + return binary_op < binary_op_min < float > > ( bottom_blob , bottom_blob1 , top_blob ) ; <nl> + <nl> + if ( op_type = = Operation_POW ) <nl> + return binary_op < binary_op_pow < float > > ( bottom_blob , bottom_blob1 , top_blob ) ; <nl> + <nl> + return 0 ; <nl> + } <nl> + <nl> } / / namespace ncnn <nl> mmm a / src / layer / unaryop . cpp <nl> ppp b / src / layer / unaryop . cpp <nl> <nl> <nl> # include " unaryop . h " <nl> # include < math . h > <nl> + # include < functional > <nl> <nl> namespace ncnn { <nl> <nl> int UnaryOp : : load_param ( const unsigned char * & mem ) <nl> return 0 ; <nl> } <nl> <nl> - int UnaryOp : : forward ( const Mat & bottom_blob , Mat & top_blob ) const <nl> + template < typename Op > <nl> + static int unary_op ( const Mat & a , Mat & b ) <nl> { <nl> - int w = bottom_blob . w ; <nl> - int h = bottom_blob . h ; <nl> - int channels = bottom_blob . c ; <nl> - int size = w * h ; <nl> + Op op ; <nl> <nl> - top_blob . create ( w , h , channels ) ; <nl> - if ( top_blob . empty ( ) ) <nl> - return - 100 ; <nl> + int w = a . w ; <nl> + int h = a . h ; <nl> + int channels = a . c ; <nl> + int size = w * h * channels ; <nl> <nl> - if ( op_type = = Operation_ABS ) <nl> - { <nl> - # pragma omp parallel for <nl> - for ( int q = 0 ; q < channels ; q + + ) <nl> - { <nl> - const float * ptr = bottom_blob . channel ( q ) ; <nl> - float * outptr = top_blob . channel ( q ) ; <nl> - <nl> - for ( int i = 0 ; i < size ; i + + ) <nl> - { <nl> - outptr [ i ] = fabs ( ptr [ i ] ) ; <nl> - } <nl> - } <nl> - } <nl> - else if ( op_type = = Operation_NEG ) <nl> + if ( a . dims = = 3 ) <nl> { <nl> - # pragma omp parallel for <nl> - for ( int q = 0 ; q < channels ; q + + ) <nl> - { <nl> - const float * ptr = bottom_blob . channel ( q ) ; <nl> - float * outptr = top_blob . channel ( q ) ; <nl> - <nl> - for ( int i = 0 ; i < size ; i + + ) <nl> - { <nl> - outptr [ i ] = - ptr [ i ] ; <nl> - } <nl> - } <nl> + b . create ( w , h , channels ) ; <nl> + if ( b . empty ( ) ) <nl> + return - 100 ; <nl> } <nl> - else if ( op_type = = Operation_FLOOR ) <nl> + else if ( a . dims = = 2 ) <nl> { <nl> - # pragma omp parallel for <nl> - for ( int q = 0 ; q < channels ; q + + ) <nl> - { <nl> - const float * ptr = bottom_blob . channel ( q ) ; <nl> - float * outptr = top_blob . channel ( q ) ; <nl> - <nl> - for ( int i = 0 ; i < size ; i + + ) <nl> - { <nl> - outptr [ i ] = floor ( ptr [ i ] ) ; <nl> - } <nl> - } <nl> + b . create ( w , h ) ; <nl> + if ( b . empty ( ) ) <nl> + return - 100 ; <nl> } <nl> - else if ( op_type = = Operation_CEIL ) <nl> + else if ( a . dims = = 1 ) <nl> { <nl> - # pragma omp parallel for <nl> - for ( int q = 0 ; q < channels ; q + + ) <nl> - { <nl> - const float * ptr = bottom_blob . channel ( q ) ; <nl> - float * outptr = top_blob . channel ( q ) ; <nl> - <nl> - for ( int i = 0 ; i < size ; i + + ) <nl> - { <nl> - outptr [ i ] = ceil ( ptr [ i ] ) ; <nl> - } <nl> - } <nl> + b . create ( w ) ; <nl> + if ( b . empty ( ) ) <nl> + return - 100 ; <nl> } <nl> - else if ( op_type = = Operation_SQUARE ) <nl> - { <nl> - # pragma omp parallel for <nl> - for ( int q = 0 ; q < channels ; q + + ) <nl> - { <nl> - const float * ptr = bottom_blob . channel ( q ) ; <nl> - float * outptr = top_blob . channel ( q ) ; <nl> - <nl> - for ( int i = 0 ; i < size ; i + + ) <nl> - { <nl> - outptr [ i ] = ptr [ i ] * ptr [ i ] ; <nl> - } <nl> - } <nl> - } <nl> - else if ( op_type = = Operation_SQRT ) <nl> - { <nl> - # pragma omp parallel for <nl> - for ( int q = 0 ; q < channels ; q + + ) <nl> - { <nl> - const float * ptr = bottom_blob . channel ( q ) ; <nl> - float * outptr = top_blob . channel ( q ) ; <nl> - <nl> - for ( int i = 0 ; i < size ; i + + ) <nl> - { <nl> - outptr [ i ] = sqrt ( ptr [ i ] ) ; <nl> - } <nl> - } <nl> - } <nl> - else if ( op_type = = Operation_RSQRT ) <nl> - { <nl> - # pragma omp parallel for <nl> - for ( int q = 0 ; q < channels ; q + + ) <nl> - { <nl> - const float * ptr = bottom_blob . channel ( q ) ; <nl> - float * outptr = top_blob . channel ( q ) ; <nl> - <nl> - for ( int i = 0 ; i < size ; i + + ) <nl> - { <nl> - outptr [ i ] = 1 . f / sqrt ( ptr [ i ] ) ; <nl> - } <nl> - } <nl> - } <nl> - else if ( op_type = = Operation_EXP ) <nl> - { <nl> - # pragma omp parallel for <nl> - for ( int q = 0 ; q < channels ; q + + ) <nl> - { <nl> - const float * ptr = bottom_blob . channel ( q ) ; <nl> - float * outptr = top_blob . channel ( q ) ; <nl> - <nl> - for ( int i = 0 ; i < size ; i + + ) <nl> - { <nl> - outptr [ i ] = exp ( ptr [ i ] ) ; <nl> - } <nl> - } <nl> - } <nl> - else if ( op_type = = Operation_LOG ) <nl> - { <nl> - # pragma omp parallel for <nl> - for ( int q = 0 ; q < channels ; q + + ) <nl> - { <nl> - const float * ptr = bottom_blob . channel ( q ) ; <nl> - float * outptr = top_blob . channel ( q ) ; <nl> - <nl> - for ( int i = 0 ; i < size ; i + + ) <nl> - { <nl> - outptr [ i ] = log ( ptr [ i ] ) ; <nl> - } <nl> - } <nl> - } <nl> - else if ( op_type = = Operation_SIN ) <nl> - { <nl> - # pragma omp parallel for <nl> - for ( int q = 0 ; q < channels ; q + + ) <nl> - { <nl> - const float * ptr = bottom_blob . channel ( q ) ; <nl> - float * outptr = top_blob . channel ( q ) ; <nl> - <nl> - for ( int i = 0 ; i < size ; i + + ) <nl> - { <nl> - outptr [ i ] = sin ( ptr [ i ] ) ; <nl> - } <nl> - } <nl> - } <nl> - else if ( op_type = = Operation_COS ) <nl> - { <nl> - # pragma omp parallel for <nl> - for ( int q = 0 ; q < channels ; q + + ) <nl> - { <nl> - const float * ptr = bottom_blob . channel ( q ) ; <nl> - float * outptr = top_blob . channel ( q ) ; <nl> - <nl> - for ( int i = 0 ; i < size ; i + + ) <nl> - { <nl> - outptr [ i ] = cos ( ptr [ i ] ) ; <nl> - } <nl> - } <nl> - } <nl> - else if ( op_type = = Operation_TAN ) <nl> - { <nl> - # pragma omp parallel for <nl> - for ( int q = 0 ; q < channels ; q + + ) <nl> - { <nl> - const float * ptr = bottom_blob . channel ( q ) ; <nl> - float * outptr = top_blob . channel ( q ) ; <nl> - <nl> - for ( int i = 0 ; i < size ; i + + ) <nl> - { <nl> - outptr [ i ] = tan ( ptr [ i ] ) ; <nl> - } <nl> - } <nl> - } <nl> - else if ( op_type = = Operation_ASIN ) <nl> - { <nl> - # pragma omp parallel for <nl> - for ( int q = 0 ; q < channels ; q + + ) <nl> - { <nl> - const float * ptr = bottom_blob . channel ( q ) ; <nl> - float * outptr = top_blob . channel ( q ) ; <nl> - <nl> - for ( int i = 0 ; i < size ; i + + ) <nl> - { <nl> - outptr [ i ] = asin ( ptr [ i ] ) ; <nl> - } <nl> - } <nl> - } <nl> - else if ( op_type = = Operation_ACOS ) <nl> + <nl> + const float * ptr = a ; <nl> + float * outptr = b ; <nl> + <nl> + # pragma omp parallel for <nl> + for ( int i = 0 ; i < size ; i + + ) <nl> { <nl> - # pragma omp parallel for <nl> - for ( int q = 0 ; q < channels ; q + + ) <nl> - { <nl> - const float * ptr = bottom_blob . channel ( q ) ; <nl> - float * outptr = top_blob . channel ( q ) ; <nl> - <nl> - for ( int i = 0 ; i < size ; i + + ) <nl> - { <nl> - outptr [ i ] = acos ( ptr [ i ] ) ; <nl> - } <nl> - } <nl> + outptr [ i ] = op ( ptr [ i ] ) ; <nl> } <nl> - else if ( op_type = = Operation_ATAN ) <nl> + <nl> + return 0 ; <nl> + } <nl> + <nl> + template < typename Op > <nl> + static int unary_op_inplace ( Mat & a ) <nl> + { <nl> + Op op ; <nl> + <nl> + int size = a . total ( ) ; <nl> + <nl> + float * ptr = a ; <nl> + <nl> + # pragma omp parallel for <nl> + for ( int i = 0 ; i < size ; i + + ) <nl> { <nl> - # pragma omp parallel for <nl> - for ( int q = 0 ; q < channels ; q + + ) <nl> - { <nl> - const float * ptr = bottom_blob . channel ( q ) ; <nl> - float * outptr = top_blob . channel ( q ) ; <nl> - <nl> - for ( int i = 0 ; i < size ; i + + ) <nl> - { <nl> - outptr [ i ] = atan ( ptr [ i ] ) ; <nl> - } <nl> - } <nl> + ptr [ i ] = op ( ptr [ i ] ) ; <nl> } <nl> <nl> return 0 ; <nl> } <nl> <nl> - int UnaryOp : : forward_inplace ( Mat & bottom_top_blob ) const <nl> + template < typename T > <nl> + struct binary_op_abs : std : : unary_function < T , T > { <nl> + T operator ( ) ( const T & x ) const { return fabs ( x ) ; } <nl> + } ; <nl> + <nl> + template < typename T > <nl> + struct binary_op_neg : std : : unary_function < T , T > { <nl> + T operator ( ) ( const T & x ) const { return - x ; } <nl> + } ; <nl> + <nl> + template < typename T > <nl> + struct binary_op_floor : std : : unary_function < T , T > { <nl> + T operator ( ) ( const T & x ) const { return floor ( x ) ; } <nl> + } ; <nl> + <nl> + template < typename T > <nl> + struct binary_op_ceil : std : : unary_function < T , T > { <nl> + T operator ( ) ( const T & x ) const { return ceil ( x ) ; } <nl> + } ; <nl> + <nl> + template < typename T > <nl> + struct binary_op_square : std : : unary_function < T , T > { <nl> + T operator ( ) ( const T & x ) const { return x * x ; } <nl> + } ; <nl> + <nl> + template < typename T > <nl> + struct binary_op_sqrt : std : : unary_function < T , T > { <nl> + T operator ( ) ( const T & x ) const { return sqrt ( x ) ; } <nl> + } ; <nl> + <nl> + template < typename T > <nl> + struct binary_op_rsqrt : std : : unary_function < T , T > { <nl> + T operator ( ) ( const T & x ) const { return 1 . f / sqrt ( x ) ; } <nl> + } ; <nl> + <nl> + template < typename T > <nl> + struct binary_op_exp : std : : unary_function < T , T > { <nl> + T operator ( ) ( const T & x ) const { return exp ( x ) ; } <nl> + } ; <nl> + <nl> + template < typename T > <nl> + struct binary_op_log : std : : unary_function < T , T > { <nl> + T operator ( ) ( const T & x ) const { return log ( x ) ; } <nl> + } ; <nl> + <nl> + template < typename T > <nl> + struct binary_op_sin : std : : unary_function < T , T > { <nl> + T operator ( ) ( const T & x ) const { return sin ( x ) ; } <nl> + } ; <nl> + <nl> + template < typename T > <nl> + struct binary_op_cos : std : : unary_function < T , T > { <nl> + T operator ( ) ( const T & x ) const { return cos ( x ) ; } <nl> + } ; <nl> + <nl> + template < typename T > <nl> + struct binary_op_tan : std : : unary_function < T , T > { <nl> + T operator ( ) ( const T & x ) const { return tan ( x ) ; } <nl> + } ; <nl> + <nl> + template < typename T > <nl> + struct binary_op_asin : std : : unary_function < T , T > { <nl> + T operator ( ) ( const T & x ) const { return asin ( x ) ; } <nl> + } ; <nl> + <nl> + template < typename T > <nl> + struct binary_op_acos : std : : unary_function < T , T > { <nl> + T operator ( ) ( const T & x ) const { return acos ( x ) ; } <nl> + } ; <nl> + <nl> + template < typename T > <nl> + struct binary_op_atan : std : : unary_function < T , T > { <nl> + T operator ( ) ( const T & x ) const { return atan ( x ) ; } <nl> + } ; <nl> + <nl> + int UnaryOp : : forward ( const Mat & bottom_blob , Mat & top_blob ) const <nl> { <nl> - int w = bottom_top_blob . w ; <nl> - int h = bottom_top_blob . h ; <nl> - int channels = bottom_top_blob . c ; <nl> - int size = w * h ; <nl> + if ( op_type = = Operation_ABS ) <nl> + return unary_op < binary_op_abs < float > > ( bottom_blob , top_blob ) ; <nl> + <nl> + if ( op_type = = Operation_NEG ) <nl> + return unary_op < binary_op_neg < float > > ( bottom_blob , top_blob ) ; <nl> + <nl> + if ( op_type = = Operation_FLOOR ) <nl> + return unary_op < binary_op_floor < float > > ( bottom_blob , top_blob ) ; <nl> + <nl> + if ( op_type = = Operation_CEIL ) <nl> + return unary_op < binary_op_ceil < float > > ( bottom_blob , top_blob ) ; <nl> + <nl> + if ( op_type = = Operation_SQUARE ) <nl> + return unary_op < binary_op_square < float > > ( bottom_blob , top_blob ) ; <nl> + <nl> + if ( op_type = = Operation_SQRT ) <nl> + return unary_op < binary_op_sqrt < float > > ( bottom_blob , top_blob ) ; <nl> + <nl> + if ( op_type = = Operation_RSQRT ) <nl> + return unary_op < binary_op_rsqrt < float > > ( bottom_blob , top_blob ) ; <nl> + <nl> + if ( op_type = = Operation_EXP ) <nl> + return unary_op < binary_op_exp < float > > ( bottom_blob , top_blob ) ; <nl> + <nl> + if ( op_type = = Operation_LOG ) <nl> + return unary_op < binary_op_log < float > > ( bottom_blob , top_blob ) ; <nl> + <nl> + if ( op_type = = Operation_SIN ) <nl> + return unary_op < binary_op_sin < float > > ( bottom_blob , top_blob ) ; <nl> + <nl> + if ( op_type = = Operation_COS ) <nl> + return unary_op < binary_op_cos < float > > ( bottom_blob , top_blob ) ; <nl> + <nl> + if ( op_type = = Operation_TAN ) <nl> + return unary_op < binary_op_tan < float > > ( bottom_blob , top_blob ) ; <nl> + <nl> + if ( op_type = = Operation_ASIN ) <nl> + return unary_op < binary_op_asin < float > > ( bottom_blob , top_blob ) ; <nl> + <nl> + if ( op_type = = Operation_ACOS ) <nl> + return unary_op < binary_op_acos < float > > ( bottom_blob , top_blob ) ; <nl> + <nl> + if ( op_type = = Operation_ATAN ) <nl> + return unary_op < binary_op_atan < float > > ( bottom_blob , top_blob ) ; <nl> <nl> + return 0 ; <nl> + } <nl> + <nl> + int UnaryOp : : forward_inplace ( Mat & bottom_top_blob ) const <nl> + { <nl> if ( op_type = = Operation_ABS ) <nl> - { <nl> - # pragma omp parallel for <nl> - for ( int q = 0 ; q < channels ; q + + ) <nl> - { <nl> - float * ptr = bottom_top_blob . channel ( q ) ; <nl> - <nl> - for ( int i = 0 ; i < size ; i + + ) <nl> - { <nl> - ptr [ i ] = fabs ( ptr [ i ] ) ; <nl> - } <nl> - } <nl> - } <nl> - else if ( op_type = = Operation_NEG ) <nl> - { <nl> - # pragma omp parallel for <nl> - for ( int q = 0 ; q < channels ; q + + ) <nl> - { <nl> - float * ptr = bottom_top_blob . channel ( q ) ; <nl> - <nl> - for ( int i = 0 ; i < size ; i + + ) <nl> - { <nl> - ptr [ i ] = - ptr [ i ] ; <nl> - } <nl> - } <nl> - } <nl> - else if ( op_type = = Operation_FLOOR ) <nl> - { <nl> - # pragma omp parallel for <nl> - for ( int q = 0 ; q < channels ; q + + ) <nl> - { <nl> - float * ptr = bottom_top_blob . channel ( q ) ; <nl> - <nl> - for ( int i = 0 ; i < size ; i + + ) <nl> - { <nl> - ptr [ i ] = floor ( ptr [ i ] ) ; <nl> - } <nl> - } <nl> - } <nl> - else if ( op_type = = Operation_CEIL ) <nl> - { <nl> - # pragma omp parallel for <nl> - for ( int q = 0 ; q < channels ; q + + ) <nl> - { <nl> - float * ptr = bottom_top_blob . channel ( q ) ; <nl> - <nl> - for ( int i = 0 ; i < size ; i + + ) <nl> - { <nl> - ptr [ i ] = ceil ( ptr [ i ] ) ; <nl> - } <nl> - } <nl> - } <nl> - else if ( op_type = = Operation_SQUARE ) <nl> - { <nl> - # pragma omp parallel for <nl> - for ( int q = 0 ; q < channels ; q + + ) <nl> - { <nl> - float * ptr = bottom_top_blob . channel ( q ) ; <nl> - <nl> - for ( int i = 0 ; i < size ; i + + ) <nl> - { <nl> - ptr [ i ] = ptr [ i ] * ptr [ i ] ; <nl> - } <nl> - } <nl> - } <nl> - else if ( op_type = = Operation_SQRT ) <nl> - { <nl> - # pragma omp parallel for <nl> - for ( int q = 0 ; q < channels ; q + + ) <nl> - { <nl> - float * ptr = bottom_top_blob . channel ( q ) ; <nl> - <nl> - for ( int i = 0 ; i < size ; i + + ) <nl> - { <nl> - ptr [ i ] = sqrt ( ptr [ i ] ) ; <nl> - } <nl> - } <nl> - } <nl> - else if ( op_type = = Operation_RSQRT ) <nl> - { <nl> - # pragma omp parallel for <nl> - for ( int q = 0 ; q < channels ; q + + ) <nl> - { <nl> - float * ptr = bottom_top_blob . channel ( q ) ; <nl> - <nl> - for ( int i = 0 ; i < size ; i + + ) <nl> - { <nl> - ptr [ i ] = 1 . f / sqrt ( ptr [ i ] ) ; <nl> - } <nl> - } <nl> - } <nl> - else if ( op_type = = Operation_EXP ) <nl> - { <nl> - # pragma omp parallel for <nl> - for ( int q = 0 ; q < channels ; q + + ) <nl> - { <nl> - float * ptr = bottom_top_blob . channel ( q ) ; <nl> - <nl> - for ( int i = 0 ; i < size ; i + + ) <nl> - { <nl> - ptr [ i ] = exp ( ptr [ i ] ) ; <nl> - } <nl> - } <nl> - } <nl> - else if ( op_type = = Operation_LOG ) <nl> - { <nl> - # pragma omp parallel for <nl> - for ( int q = 0 ; q < channels ; q + + ) <nl> - { <nl> - float * ptr = bottom_top_blob . channel ( q ) ; <nl> - <nl> - for ( int i = 0 ; i < size ; i + + ) <nl> - { <nl> - ptr [ i ] = log ( ptr [ i ] ) ; <nl> - } <nl> - } <nl> - } <nl> - else if ( op_type = = Operation_SIN ) <nl> - { <nl> - # pragma omp parallel for <nl> - for ( int q = 0 ; q < channels ; q + + ) <nl> - { <nl> - float * ptr = bottom_top_blob . channel ( q ) ; <nl> - <nl> - for ( int i = 0 ; i < size ; i + + ) <nl> - { <nl> - ptr [ i ] = sin ( ptr [ i ] ) ; <nl> - } <nl> - } <nl> - } <nl> - else if ( op_type = = Operation_COS ) <nl> - { <nl> - # pragma omp parallel for <nl> - for ( int q = 0 ; q < channels ; q + + ) <nl> - { <nl> - float * ptr = bottom_top_blob . channel ( q ) ; <nl> - <nl> - for ( int i = 0 ; i < size ; i + + ) <nl> - { <nl> - ptr [ i ] = cos ( ptr [ i ] ) ; <nl> - } <nl> - } <nl> - } <nl> - else if ( op_type = = Operation_TAN ) <nl> - { <nl> - # pragma omp parallel for <nl> - for ( int q = 0 ; q < channels ; q + + ) <nl> - { <nl> - float * ptr = bottom_top_blob . channel ( q ) ; <nl> - <nl> - for ( int i = 0 ; i < size ; i + + ) <nl> - { <nl> - ptr [ i ] = tan ( ptr [ i ] ) ; <nl> - } <nl> - } <nl> - } <nl> - else if ( op_type = = Operation_ASIN ) <nl> - { <nl> - # pragma omp parallel for <nl> - for ( int q = 0 ; q < channels ; q + + ) <nl> - { <nl> - float * ptr = bottom_top_blob . channel ( q ) ; <nl> - <nl> - for ( int i = 0 ; i < size ; i + + ) <nl> - { <nl> - ptr [ i ] = asin ( ptr [ i ] ) ; <nl> - } <nl> - } <nl> - } <nl> - else if ( op_type = = Operation_ACOS ) <nl> - { <nl> - # pragma omp parallel for <nl> - for ( int q = 0 ; q < channels ; q + + ) <nl> - { <nl> - float * ptr = bottom_top_blob . channel ( q ) ; <nl> - <nl> - for ( int i = 0 ; i < size ; i + + ) <nl> - { <nl> - ptr [ i ] = acos ( ptr [ i ] ) ; <nl> - } <nl> - } <nl> - } <nl> - else if ( op_type = = Operation_ATAN ) <nl> - { <nl> - # pragma omp parallel for <nl> - for ( int q = 0 ; q < channels ; q + + ) <nl> - { <nl> - float * ptr = bottom_top_blob . channel ( q ) ; <nl> - <nl> - for ( int i = 0 ; i < size ; i + + ) <nl> - { <nl> - ptr [ i ] = atan ( ptr [ i ] ) ; <nl> - } <nl> - } <nl> - } <nl> + return unary_op_inplace < binary_op_abs < float > > ( bottom_top_blob ) ; <nl> + <nl> + if ( op_type = = Operation_NEG ) <nl> + return unary_op_inplace < binary_op_neg < float > > ( bottom_top_blob ) ; <nl> + <nl> + if ( op_type = = Operation_FLOOR ) <nl> + return unary_op_inplace < binary_op_floor < float > > ( bottom_top_blob ) ; <nl> + <nl> + if ( op_type = = Operation_CEIL ) <nl> + return unary_op_inplace < binary_op_ceil < float > > ( bottom_top_blob ) ; <nl> + <nl> + if ( op_type = = Operation_SQUARE ) <nl> + return unary_op_inplace < binary_op_square < float > > ( bottom_top_blob ) ; <nl> + <nl> + if ( op_type = = Operation_SQRT ) <nl> + return unary_op_inplace < binary_op_sqrt < float > > ( bottom_top_blob ) ; <nl> + <nl> + if ( op_type = = Operation_RSQRT ) <nl> + return unary_op_inplace < binary_op_rsqrt < float > > ( bottom_top_blob ) ; <nl> + <nl> + if ( op_type = = Operation_EXP ) <nl> + return unary_op_inplace < binary_op_exp < float > > ( bottom_top_blob ) ; <nl> + <nl> + if ( op_type = = Operation_LOG ) <nl> + return unary_op_inplace < binary_op_log < float > > ( bottom_top_blob ) ; <nl> + <nl> + if ( op_type = = Operation_SIN ) <nl> + return unary_op_inplace < binary_op_sin < float > > ( bottom_top_blob ) ; <nl> + <nl> + if ( op_type = = Operation_COS ) <nl> + return unary_op_inplace < binary_op_cos < float > > ( bottom_top_blob ) ; <nl> + <nl> + if ( op_type = = Operation_TAN ) <nl> + return unary_op_inplace < binary_op_tan < float > > ( bottom_top_blob ) ; <nl> + <nl> + if ( op_type = = Operation_ASIN ) <nl> + return unary_op_inplace < binary_op_asin < float > > ( bottom_top_blob ) ; <nl> + <nl> + if ( op_type = = Operation_ACOS ) <nl> + return unary_op_inplace < binary_op_acos < float > > ( bottom_top_blob ) ; <nl> + <nl> + if ( op_type = = Operation_ATAN ) <nl> + return unary_op_inplace < binary_op_atan < float > > ( bottom_top_blob ) ; <nl> <nl> return 0 ; <nl> } <nl> | implement binaryop and unaryop with operator template , binaryop between blobs with different dims | Tencent/ncnn | 091a43676a654b17d25261780ccc9bb1bc8ad302 | 2017-09-01T06:28:56Z |
mmm a / cmake / OpenCVCompilerOptimizations . cmake <nl> ppp b / cmake / OpenCVCompilerOptimizations . cmake <nl> macro ( ocv_compiler_optimization_process_sources SOURCES_VAR_NAME LIBS_VAR_NAME T <nl> ocv_append_dependant_targets ( $ { TARGET_BASE_NAME } $ { TARGET_BASE_NAME } _ $ { OPT } ) <nl> set_target_properties ( $ { TARGET_BASE_NAME } _ $ { OPT } PROPERTIES COMPILE_DEFINITIONS " $ { CPU_DISPATCH_DEFINITIONS_ $ { OPT } } " ) <nl> set_target_properties ( $ { TARGET_BASE_NAME } _ $ { OPT } PROPERTIES COMPILE_FLAGS " $ { CPU_DISPATCH_FLAGS_ $ { OPT } } " ) <nl> + target_include_directories ( $ { TARGET_BASE_NAME } _ $ { OPT } PRIVATE $ < TARGET_PROPERTY : $ { TARGET_BASE_NAME } , INCLUDE_DIRECTORIES > ) <nl> # list ( APPEND __result_libs $ { TARGET_BASE_NAME } _ $ { OPT } ) <nl> list ( APPEND __result " $ < TARGET_OBJECTS : $ { TARGET_BASE_NAME } _ $ { OPT } > " ) <nl> else ( ) <nl> | cmake : dispatcher : add handling of include dirs | opencv/opencv | cdc7f10767d1474a1b939b362b1a439cbe8ed4ad | 2017-04-27T15:11:32Z |
mmm a / src / heap / remembered - set . cc <nl> ppp b / src / heap / remembered - set . cc <nl> void RememberedSet < direction > : : ClearInvalidSlots ( Heap * heap ) { <nl> } ) ; <nl> } <nl> } <nl> + if ( Heap : : ShouldZapGarbage ( ) ) { <nl> + / / Need to filter invalid slots as we overwrite them with zap values in <nl> + / / during sweeping which runs concurrently with pointer updating . <nl> + for ( MemoryChunk * chunk : * heap - > map_space ( ) ) { <nl> + SlotSet * slots = GetSlotSet ( chunk ) ; <nl> + if ( slots ! = nullptr ) { <nl> + slots - > Iterate ( [ heap , chunk ] ( Address addr ) { <nl> + Object * * slot = reinterpret_cast < Object * * > ( addr ) ; <nl> + return IsValidSlot ( heap , chunk , slot ) ? KEEP_SLOT : REMOVE_SLOT ; <nl> + } ) ; <nl> + } <nl> + } <nl> + } <nl> } <nl> <nl> template < PointerDirection direction > <nl> | [ heap ] Clear slots for map space when writing zap values | v8/v8 | 9a4132aad254894df4e8e7f41bb8ceefd266d721 | 2016-07-05T17:00:12Z |
mmm a / . gitignore <nl> ppp b / . gitignore <nl> @ @ - 1 + 1 , 2 @ @ <nl> - * . pro . user <nl> + * . pro . user * <nl> + * . xcodeproj <nl> new file mode 100644 <nl> index 000000000 . . 432866fa1 <nl> mmm / dev / null <nl> ppp b / src / consts . h <nl> <nl> + # ifndef CONSTS_H <nl> + # define CONSTS_H <nl> + <nl> + / / Current Version : 1 . 1 . 0 <nl> + # define PHANTOMJS_VERSION_MAJOR 1 <nl> + # define PHANTOMJS_VERSION_MINOR 1 <nl> + # define PHANTOMJS_VERSION_PATCH 0 <nl> + # define PHANTOMJS_VERSION_STRING " PHANTOMJS_VERSION_MAJOR . PHANTOMJS_VERSION_MINOR . PHANTOMJS_VERSION_PATCH " <nl> + <nl> + # endif / / CONSTS_H <nl> mmm a / src / csconverter . cpp <nl> ppp b / src / csconverter . cpp <nl> <nl> # include < QWebFrame > <nl> # include < QDebug > <nl> <nl> + / / public : <nl> CSConverter : : CSConverter ( QObject * parent ) <nl> : QObject ( parent ) <nl> { <nl> new file mode 100644 <nl> index 000000000 . . c5913b9da <nl> mmm / dev / null <nl> ppp b / src / main . cpp <nl> <nl> + / * <nl> + This file is part of the PhantomJS project from Ofi Labs . <nl> + <nl> + Copyright ( C ) 2011 Ariya Hidayat < ariya . hidayat @ gmail . com > <nl> + Copyright ( C ) 2010 Ariya Hidayat < ariya . hidayat @ gmail . com > <nl> + <nl> + Redistribution and use in source and binary forms , with or without <nl> + modification , are permitted provided that the following conditions are met : <nl> + <nl> + * Redistributions of source code must retain the above copyright <nl> + notice , this list of conditions and the following disclaimer . <nl> + * Redistributions in binary form must reproduce the above copyright <nl> + notice , this list of conditions and the following disclaimer in the <nl> + documentation and / or other materials provided with the distribution . <nl> + * Neither the name of the < organization > nor the <nl> + names of its contributors may be used to endorse or promote products <nl> + derived from this software without specific prior written permission . <nl> + <nl> + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS " AS IS " <nl> + AND ANY EXPRESS OR IMPLIED WARRANTIES , INCLUDING , BUT NOT LIMITED TO , THE <nl> + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE <nl> + ARE DISCLAIMED . IN NO EVENT SHALL < COPYRIGHT HOLDER > BE LIABLE FOR ANY <nl> + DIRECT , INDIRECT , INCIDENTAL , SPECIAL , EXEMPLARY , OR CONSEQUENTIAL DAMAGES <nl> + ( INCLUDING , BUT NOT LIMITED TO , PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES ; <nl> + LOSS OF USE , DATA , OR PROFITS ; OR BUSINESS INTERRUPTION ) HOWEVER CAUSED AND <nl> + ON ANY THEORY OF LIABILITY , WHETHER IN CONTRACT , STRICT LIABILITY , OR TORT <nl> + ( INCLUDING NEGLIGENCE OR OTHERWISE ) ARISING IN ANY WAY OUT OF THE USE OF <nl> + THIS SOFTWARE , EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE . <nl> + * / <nl> + <nl> + # include " consts . h " <nl> + # include " utils . h " <nl> + # include " phantom . h " <nl> + <nl> + # if QT_VERSION < QT_VERSION_CHECK ( 4 , 5 , 0 ) <nl> + # error Use Qt 4 . 5 or later version <nl> + # endif <nl> + <nl> + int main ( int argc , char * * argv ) <nl> + { <nl> + if ( argc < 2 ) { <nl> + Utils : : showUsage ( ) ; <nl> + return 1 ; <nl> + } <nl> + <nl> + QApplication app ( argc , argv ) ; <nl> + <nl> + app . setWindowIcon ( QIcon ( " : / phantomjs - icon . png " ) ) ; <nl> + app . setApplicationName ( " PhantomJS " ) ; <nl> + app . setOrganizationName ( " Ofi Labs " ) ; <nl> + app . setOrganizationDomain ( " www . ofilabs . com " ) ; <nl> + app . setApplicationVersion ( PHANTOMJS_VERSION_STRING ) ; <nl> + <nl> + Phantom phantom ; <nl> + if ( phantom . execute ( ) ) { <nl> + app . exec ( ) ; <nl> + } <nl> + return phantom . returnValue ( ) ; <nl> + } <nl> similarity index 65 % <nl> rename from src / phantomjs . cpp <nl> rename to src / phantom . cpp <nl> mmm a / src / phantomjs . cpp <nl> ppp b / src / phantom . cpp <nl> <nl> - / * <nl> - This file is part of the PhantomJS project from Ofi Labs . <nl> - <nl> - Copyright ( C ) 2011 Ariya Hidayat < ariya . hidayat @ gmail . com > <nl> - Copyright ( C ) 2010 Ariya Hidayat < ariya . hidayat @ gmail . com > <nl> - <nl> - Redistribution and use in source and binary forms , with or without <nl> - modification , are permitted provided that the following conditions are met : <nl> - <nl> - * Redistributions of source code must retain the above copyright <nl> - notice , this list of conditions and the following disclaimer . <nl> - * Redistributions in binary form must reproduce the above copyright <nl> - notice , this list of conditions and the following disclaimer in the <nl> - documentation and / or other materials provided with the distribution . <nl> - * Neither the name of the < organization > nor the <nl> - names of its contributors may be used to endorse or promote products <nl> - derived from this software without specific prior written permission . <nl> - <nl> - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS " AS IS " <nl> - AND ANY EXPRESS OR IMPLIED WARRANTIES , INCLUDING , BUT NOT LIMITED TO , THE <nl> - IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE <nl> - ARE DISCLAIMED . IN NO EVENT SHALL < COPYRIGHT HOLDER > BE LIABLE FOR ANY <nl> - DIRECT , INDIRECT , INCIDENTAL , SPECIAL , EXEMPLARY , OR CONSEQUENTIAL DAMAGES <nl> - ( INCLUDING , BUT NOT LIMITED TO , PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES ; <nl> - LOSS OF USE , DATA , OR PROFITS ; OR BUSINESS INTERRUPTION ) HOWEVER CAUSED AND <nl> - ON ANY THEORY OF LIABILITY , WHETHER IN CONTRACT , STRICT LIABILITY , OR TORT <nl> - ( INCLUDING NEGLIGENCE OR OTHERWISE ) ARISING IN ANY WAY OUT OF THE USE OF <nl> - THIS SOFTWARE , EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE . <nl> - * / <nl> - <nl> - # include < QDebug > <nl> - # include < QtGui > <nl> - # include < QtWebKit > <nl> # include < iostream > <nl> + # include < QDebug > <nl> <nl> # include < gifwriter . h > <nl> - # include " csconverter . h " <nl> - <nl> - # if QT_VERSION < QT_VERSION_CHECK ( 4 , 5 , 0 ) <nl> - # error Use Qt 4 . 5 or later version <nl> - # endif <nl> - <nl> - # define PHANTOMJS_VERSION_MAJOR 1 <nl> - # define PHANTOMJS_VERSION_MINOR 1 <nl> - # define PHANTOMJS_VERSION_PATCH 0 <nl> - # define PHANTOMJS_VERSION_STRING " 1 . 1 . 0 " <nl> + # include " consts . h " <nl> + # include " utils . h " <nl> <nl> + # include " phantom . h " <nl> <nl> # define JS_MOUSEEVENT_CLICK_WEBELEMENT " ( function ( target ) { " \ <nl> " var evt = document . createEvent ( ' MouseEvents ' ) ; " \ <nl> <nl> " el . src = ' % 1 ' ; " \ <nl> " document . body . appendChild ( el ) ; " <nl> <nl> - # define PHANTOMJS_PDF_DPI 72 / / Different defaults . OSX : 72 , X11 : 75 ( ? ) , Windows : 96 <nl> - <nl> - void showUsage ( ) <nl> - { <nl> - QFile file ; <nl> - file . setFileName ( " : / usage . txt " ) ; <nl> - if ( ! file . open ( QFile : : ReadOnly ) ) { <nl> - qFatal ( " Unable to print the usage message " ) ; <nl> - exit ( 1 ) ; <nl> - } <nl> - std : : cerr < < qPrintable ( QString : : fromUtf8 ( file . readAll ( ) ) ) ; <nl> - file . close ( ) ; <nl> - } <nl> - <nl> - class WebPage : public QWebPage <nl> - { <nl> - Q_OBJECT <nl> - public : <nl> - WebPage ( QObject * parent = 0 ) ; <nl> - <nl> - public slots : <nl> - bool shouldInterruptJavaScript ( ) ; <nl> - <nl> - private slots : <nl> - void handleFrameUrlChanged ( const QUrl & url ) ; <nl> - void handleLinkClicked ( const QUrl & url ) ; <nl> - <nl> - protected : <nl> - void javaScriptAlert ( QWebFrame * originatingFrame , const QString & msg ) ; <nl> - void javaScriptConsoleMessage ( const QString & message , int lineNumber , const QString & sourceID ) ; <nl> - QString userAgentForUrl ( const QUrl & url ) const ; <nl> - QString chooseFile ( QWebFrame * parentFrame , const QString & suggestedFile ) ; <nl> - <nl> - private : <nl> - QString m_userAgent ; <nl> - QMap < QString , QString > m_allowedFiles ; <nl> - QString m_nextFileTag ; <nl> - friend class Phantom ; <nl> - } ; <nl> - <nl> - WebPage : : WebPage ( QObject * parent ) <nl> - : QWebPage ( parent ) <nl> - { <nl> - m_userAgent = QWebPage : : userAgentForUrl ( QUrl ( ) ) ; <nl> - connect ( this - > currentFrame ( ) , SIGNAL ( urlChanged ( QUrl ) ) , this , SLOT ( handleFrameUrlChanged ( QUrl ) ) ) ; <nl> - connect ( this , SIGNAL ( linkClicked ( QUrl ) ) , this , SLOT ( handleLinkClicked ( QUrl ) ) ) ; <nl> - } <nl> - <nl> - void WebPage : : handleFrameUrlChanged ( const QUrl & url ) { <nl> - qDebug ( ) < < " URL Changed : " < < qPrintable ( url . toString ( ) ) ; <nl> - } <nl> - <nl> - void WebPage : : handleLinkClicked ( const QUrl & url ) { <nl> - qDebug ( ) < < " URL Clicked : " < < qPrintable ( url . toString ( ) ) ; <nl> - } <nl> - <nl> - void WebPage : : javaScriptAlert ( QWebFrame * originatingFrame , const QString & msg ) <nl> - { <nl> - Q_UNUSED ( originatingFrame ) ; <nl> - std : : cout < < " JavaScript alert : " < < qPrintable ( msg ) < < std : : endl ; <nl> - } <nl> - <nl> - void WebPage : : javaScriptConsoleMessage ( const QString & message , int lineNumber , const QString & sourceID ) <nl> - { <nl> - if ( ! sourceID . isEmpty ( ) ) <nl> - std : : cout < < qPrintable ( sourceID ) < < " : " < < lineNumber < < " " ; <nl> - std : : cout < < qPrintable ( message ) < < std : : endl ; <nl> - } <nl> - <nl> - bool WebPage : : shouldInterruptJavaScript ( ) <nl> - { <nl> - QApplication : : processEvents ( QEventLoop : : AllEvents , 42 ) ; <nl> - return false ; <nl> - } <nl> - <nl> - QString WebPage : : userAgentForUrl ( const QUrl & url ) const <nl> - { <nl> - Q_UNUSED ( url ) ; <nl> - return m_userAgent ; <nl> - } <nl> - <nl> - QString WebPage : : chooseFile ( QWebFrame * parentFrame , const QString & suggestedFile ) <nl> - { <nl> - Q_UNUSED ( parentFrame ) ; <nl> - Q_UNUSED ( suggestedFile ) ; <nl> - if ( m_allowedFiles . contains ( m_nextFileTag ) ) <nl> - return m_allowedFiles . value ( m_nextFileTag ) ; <nl> - return QString ( ) ; <nl> - } <nl> - <nl> - class Phantom : public QObject <nl> - { <nl> - Q_OBJECT <nl> - Q_PROPERTY ( QStringList args READ args ) <nl> - Q_PROPERTY ( QString content READ content WRITE setContent ) <nl> - Q_PROPERTY ( QString loadStatus READ loadStatus ) <nl> - Q_PROPERTY ( QString state READ state WRITE setState ) <nl> - Q_PROPERTY ( QString userAgent READ userAgent WRITE setUserAgent ) <nl> - Q_PROPERTY ( QVariantMap version READ version ) <nl> - Q_PROPERTY ( QVariantMap viewportSize READ viewportSize WRITE setViewportSize ) <nl> - Q_PROPERTY ( QVariantMap paperSize READ paperSize WRITE setPaperSize ) <nl> - Q_PROPERTY ( QVariantMap clipRect READ clipRect WRITE setClipRect ) <nl> - <nl> - public : <nl> - Phantom ( QObject * parent = 0 ) ; <nl> - <nl> - QStringList args ( ) const ; <nl> - <nl> - QString content ( ) const ; <nl> - void setContent ( const QString & content ) ; <nl> - <nl> - bool execute ( ) ; <nl> - int returnValue ( ) const ; <nl> - <nl> - QString loadStatus ( ) const ; <nl> - <nl> - void setState ( const QString & value ) ; <nl> - QString state ( ) const ; <nl> - <nl> - void setUserAgent ( const QString & ua ) ; <nl> - QString userAgent ( ) const ; <nl> - <nl> - QVariantMap version ( ) const ; <nl> - <nl> - void setViewportSize ( const QVariantMap & size ) ; <nl> - QVariantMap viewportSize ( ) const ; <nl> - <nl> - void setClipRect ( const QVariantMap & size ) ; <nl> - QVariantMap clipRect ( ) const ; <nl> - <nl> - void setPaperSize ( const QVariantMap & size ) ; <nl> - QVariantMap paperSize ( ) const ; <nl> - <nl> - public slots : <nl> - void exit ( int code = 0 ) ; <nl> - void open ( const QString & address ) ; <nl> - void setFormInputFile ( QWebElement el , const QString & fileTag ) ; <nl> - void simulateMouseClick ( const QString & selector ) ; <nl> - bool loadJs ( const QString & jsFilePath ) ; <nl> - void includeJs ( const QString & jsFilePath , const QString & callback = " undefined " ) ; <nl> - bool render ( const QString & fileName ) ; <nl> - void sleep ( int ms ) ; <nl> - <nl> - private slots : <nl> - void inject ( ) ; <nl> - void finish ( bool ) ; <nl> - bool renderPdf ( const QString & fileName ) ; <nl> - <nl> - private : <nl> - QString m_scriptFile ; <nl> - QStringList m_args ; <nl> - QString m_proxyHost ; <nl> - int m_proxyPort ; <nl> - QString m_loadStatus ; <nl> - WebPage m_page ; <nl> - int m_returnValue ; <nl> - QString m_script ; <nl> - QString m_state ; <nl> - CSConverter * m_converter ; <nl> - QVariantMap m_paperSize ; / / For PDF output via render ( ) <nl> - QRect m_clipRect ; <nl> - } ; <nl> + # define PHANTOMJS_PDF_DPI 72 / / Different defaults . OSX : 72 , X11 : 75 ( ? ) , Windows : 96 <nl> <nl> + / / public : <nl> Phantom : : Phantom ( QObject * parent ) <nl> : QObject ( parent ) <nl> , m_proxyPort ( 1080 ) <nl> Phantom : : Phantom ( QObject * parent ) <nl> } <nl> <nl> if ( m_scriptFile . isEmpty ( ) ) { <nl> - showUsage ( ) ; <nl> + Utils : : showUsage ( ) ; <nl> return ; <nl> } <nl> <nl> bool Phantom : : execute ( ) <nl> return true ; <nl> } <nl> <nl> - void Phantom : : exit ( int code ) <nl> + int Phantom : : returnValue ( ) const <nl> { <nl> - m_returnValue = code ; <nl> - disconnect ( & m_page , SIGNAL ( loadFinished ( bool ) ) , this , SLOT ( finish ( bool ) ) ) ; <nl> - QTimer : : singleShot ( 0 , qApp , SLOT ( quit ( ) ) ) ; <nl> + return m_returnValue ; <nl> } <nl> <nl> - void Phantom : : finish ( bool success ) <nl> + QString Phantom : : loadStatus ( ) const <nl> { <nl> - m_loadStatus = success ? " success " : " fail " ; <nl> - m_page . mainFrame ( ) - > evaluateJavaScript ( m_script ) ; <nl> + return m_loadStatus ; <nl> } <nl> <nl> - void Phantom : : inject ( ) <nl> + void Phantom : : setState ( const QString & value ) <nl> { <nl> - m_page . mainFrame ( ) - > addToJavaScriptWindowObject ( " phantom " , this ) ; <nl> + m_state = value ; <nl> } <nl> <nl> - QString Phantom : : loadStatus ( ) const <nl> + QString Phantom : : state ( ) const <nl> { <nl> - return m_loadStatus ; <nl> + return m_state ; <nl> + } <nl> + <nl> + void Phantom : : setUserAgent ( const QString & ua ) <nl> + { <nl> + m_page . m_userAgent = ua ; <nl> + } <nl> + <nl> + QString Phantom : : userAgent ( ) const <nl> + { <nl> + return m_page . m_userAgent ; <nl> + } <nl> + <nl> + QVariantMap Phantom : : version ( ) const <nl> + { <nl> + QVariantMap result ; <nl> + result [ " major " ] = PHANTOMJS_VERSION_MAJOR ; <nl> + result [ " minor " ] = PHANTOMJS_VERSION_MINOR ; <nl> + result [ " patch " ] = PHANTOMJS_VERSION_PATCH ; <nl> + return result ; <nl> + } <nl> + <nl> + void Phantom : : setViewportSize ( const QVariantMap & size ) <nl> + { <nl> + int w = size . value ( " width " ) . toInt ( ) ; <nl> + int h = size . value ( " height " ) . toInt ( ) ; <nl> + if ( w > 0 & & h > 0 ) <nl> + m_page . setViewportSize ( QSize ( w , h ) ) ; <nl> + } <nl> + <nl> + QVariantMap Phantom : : viewportSize ( ) const <nl> + { <nl> + QVariantMap result ; <nl> + QSize size = m_page . viewportSize ( ) ; <nl> + result [ " width " ] = size . width ( ) ; <nl> + result [ " height " ] = size . height ( ) ; <nl> + return result ; <nl> + } <nl> + <nl> + void Phantom : : setClipRect ( const QVariantMap & size ) <nl> + { <nl> + int w = size . value ( " width " ) . toInt ( ) ; <nl> + int h = size . value ( " height " ) . toInt ( ) ; <nl> + int top = size . value ( " top " ) . toInt ( ) ; <nl> + int left = size . value ( " left " ) . toInt ( ) ; <nl> + <nl> + if ( w > 0 & & h > 0 ) <nl> + m_clipRect = QRect ( left , top , w , h ) ; <nl> + } <nl> + <nl> + QVariantMap Phantom : : clipRect ( ) const <nl> + { <nl> + QVariantMap result ; <nl> + result [ " width " ] = m_clipRect . width ( ) ; <nl> + result [ " height " ] = m_clipRect . height ( ) ; <nl> + result [ " top " ] = m_clipRect . top ( ) ; <nl> + result [ " left " ] = m_clipRect . left ( ) ; <nl> + return result ; <nl> + } <nl> + <nl> + void Phantom : : setPaperSize ( const QVariantMap & size ) <nl> + { <nl> + m_paperSize = size ; <nl> + } <nl> + <nl> + QVariantMap Phantom : : paperSize ( ) const <nl> + { <nl> + return m_paperSize ; <nl> + } <nl> + <nl> + / / public slots : <nl> + void Phantom : : exit ( int code ) <nl> + { <nl> + m_returnValue = code ; <nl> + disconnect ( & m_page , SIGNAL ( loadFinished ( bool ) ) , this , SLOT ( finish ( bool ) ) ) ; <nl> + QTimer : : singleShot ( 0 , qApp , SLOT ( quit ( ) ) ) ; <nl> } <nl> <nl> void Phantom : : open ( const QString & address ) <nl> bool Phantom : : render ( const QString & fileName ) <nl> return renderPdf ( fileName ) ; <nl> <nl> QSize viewportSize = m_page . viewportSize ( ) ; <nl> - <nl> - QSize pageSize = m_page . mainFrame ( ) - > contentsSize ( ) ; <nl> - <nl> + <nl> + QSize pageSize = m_page . mainFrame ( ) - > contentsSize ( ) ; <nl> + <nl> QSize bufferSize ; <nl> if ( ! m_clipRect . isEmpty ( ) ) { <nl> bufferSize = m_clipRect . size ( ) ; <nl> } else { <nl> bufferSize = m_page . mainFrame ( ) - > contentsSize ( ) ; <nl> } <nl> - <nl> + <nl> if ( pageSize . isEmpty ( ) ) <nl> return false ; <nl> <nl> QImage buffer ( bufferSize , QImage : : Format_ARGB32 ) ; <nl> buffer . fill ( qRgba ( 255 , 255 , 255 , 0 ) ) ; <nl> QPainter p ( & buffer ) ; <nl> - <nl> + <nl> p . setRenderHint ( QPainter : : Antialiasing , true ) ; <nl> p . setRenderHint ( QPainter : : TextAntialiasing , true ) ; <nl> p . setRenderHint ( QPainter : : SmoothPixmapTransform , true ) ; <nl> <nl> m_page . setViewportSize ( pageSize ) ; <nl> - <nl> + <nl> if ( ! m_clipRect . isEmpty ( ) ) { <nl> p . translate ( - m_clipRect . left ( ) , - m_clipRect . top ( ) ) ; <nl> m_page . mainFrame ( ) - > render ( & p , QRegion ( m_clipRect ) ) ; <nl> } else { <nl> m_page . mainFrame ( ) - > render ( & p ) ; <nl> } <nl> - <nl> + <nl> p . end ( ) ; <nl> m_page . setViewportSize ( viewportSize ) ; <nl> <nl> bool Phantom : : render ( const QString & fileName ) <nl> return buffer . save ( fileName ) ; <nl> } <nl> <nl> - int Phantom : : returnValue ( ) const <nl> - { <nl> - return m_returnValue ; <nl> - } <nl> - <nl> void Phantom : : sleep ( int ms ) <nl> { <nl> QTime startTime = QTime : : currentTime ( ) ; <nl> void Phantom : : sleep ( int ms ) <nl> } <nl> } <nl> <nl> - <nl> void Phantom : : setFormInputFile ( QWebElement el , const QString & fileTag ) <nl> { <nl> m_page . m_nextFileTag = fileTag ; <nl> void Phantom : : includeJs ( const QString & jsFilePath , const QString & callback ) { <nl> m_page . mainFrame ( ) - > evaluateJavaScript ( QString ( JS_INCLUDE_SCRIPT_TAG ) . arg ( jsFilePath , callback ) ) ; <nl> } <nl> <nl> - void Phantom : : setState ( const QString & value ) <nl> - { <nl> - m_state = value ; <nl> - } <nl> - <nl> - QString Phantom : : state ( ) const <nl> - { <nl> - return m_state ; <nl> - } <nl> - <nl> - void Phantom : : setUserAgent ( const QString & ua ) <nl> - { <nl> - m_page . m_userAgent = ua ; <nl> - } <nl> - <nl> - QString Phantom : : userAgent ( ) const <nl> - { <nl> - return m_page . m_userAgent ; <nl> - } <nl> - <nl> - QVariantMap Phantom : : version ( ) const <nl> - { <nl> - QVariantMap result ; <nl> - result [ " major " ] = PHANTOMJS_VERSION_MAJOR ; <nl> - result [ " minor " ] = PHANTOMJS_VERSION_MINOR ; <nl> - result [ " patch " ] = PHANTOMJS_VERSION_PATCH ; <nl> - return result ; <nl> - } <nl> - <nl> - void Phantom : : setViewportSize ( const QVariantMap & size ) <nl> - { <nl> - int w = size . value ( " width " ) . toInt ( ) ; <nl> - int h = size . value ( " height " ) . toInt ( ) ; <nl> - if ( w > 0 & & h > 0 ) <nl> - m_page . setViewportSize ( QSize ( w , h ) ) ; <nl> - } <nl> - <nl> - QVariantMap Phantom : : viewportSize ( ) const <nl> - { <nl> - QVariantMap result ; <nl> - QSize size = m_page . viewportSize ( ) ; <nl> - result [ " width " ] = size . width ( ) ; <nl> - result [ " height " ] = size . height ( ) ; <nl> - return result ; <nl> - } <nl> - <nl> - void Phantom : : setClipRect ( const QVariantMap & size ) <nl> - { <nl> - int w = size . value ( " width " ) . toInt ( ) ; <nl> - int h = size . value ( " height " ) . toInt ( ) ; <nl> - int top = size . value ( " top " ) . toInt ( ) ; <nl> - int left = size . value ( " left " ) . toInt ( ) ; <nl> - <nl> - if ( w > 0 & & h > 0 ) <nl> - m_clipRect = QRect ( left , top , w , h ) ; <nl> - } <nl> - <nl> - QVariantMap Phantom : : clipRect ( ) const <nl> - { <nl> - QVariantMap result ; <nl> - result [ " width " ] = m_clipRect . width ( ) ; <nl> - result [ " height " ] = m_clipRect . height ( ) ; <nl> - result [ " top " ] = m_clipRect . top ( ) ; <nl> - result [ " left " ] = m_clipRect . left ( ) ; <nl> - return result ; <nl> - } <nl> - <nl> - void Phantom : : setPaperSize ( const QVariantMap & size ) <nl> - { <nl> - m_paperSize = size ; <nl> - } <nl> - <nl> - QVariantMap Phantom : : paperSize ( ) const <nl> + / / private slots : <nl> + void Phantom : : finish ( bool success ) <nl> { <nl> - return m_paperSize ; <nl> + m_loadStatus = success ? " success " : " fail " ; <nl> + m_page . mainFrame ( ) - > evaluateJavaScript ( m_script ) ; <nl> } <nl> <nl> - static qreal stringToPointSize ( const QString & string ) <nl> + void Phantom : : inject ( ) <nl> { <nl> - static const struct { <nl> - QString unit ; <nl> - qreal factor ; <nl> - } units [ ] = { <nl> - { " mm " , 72 / 25 . 4 } , <nl> - { " cm " , 72 / 2 . 54 } , <nl> - { " in " , 72 } , <nl> - { " px " , 72 . 0 / PHANTOMJS_PDF_DPI / 2 . 54 } , <nl> - { " " , 72 . 0 / PHANTOMJS_PDF_DPI / 2 . 54 } <nl> - } ; <nl> - for ( uint i = 0 ; i < sizeof ( units ) / sizeof ( units [ 0 ] ) ; + + i ) { <nl> - if ( string . endsWith ( units [ i ] . unit ) ) { <nl> - QString value = string ; <nl> - value . chop ( units [ i ] . unit . length ( ) ) ; <nl> - return value . toDouble ( ) * units [ i ] . factor ; <nl> - } <nl> - } <nl> - return 0 ; <nl> + m_page . mainFrame ( ) - > addToJavaScriptWindowObject ( " phantom " , this ) ; <nl> } <nl> <nl> bool Phantom : : renderPdf ( const QString & fileName ) <nl> bool Phantom : : renderPdf ( const QString & fileName ) <nl> return true ; <nl> } <nl> <nl> - # include " phantomjs . moc " <nl> - <nl> - int main ( int argc , char * * argv ) <nl> + / / private : <nl> + qreal Phantom : : stringToPointSize ( const QString & string ) <nl> { <nl> - if ( argc < 2 ) { <nl> - showUsage ( ) ; <nl> - return 1 ; <nl> - } <nl> - <nl> - QApplication app ( argc , argv ) ; <nl> - <nl> - app . setWindowIcon ( QIcon ( " : / phantomjs - icon . png " ) ) ; <nl> - app . setApplicationName ( " PhantomJS " ) ; <nl> - app . setOrganizationName ( " Ofi Labs " ) ; <nl> - app . setOrganizationDomain ( " www . ofilabs . com " ) ; <nl> - app . setApplicationVersion ( PHANTOMJS_VERSION_STRING ) ; <nl> - <nl> - Phantom phantom ; <nl> - if ( phantom . execute ( ) ) { <nl> - app . exec ( ) ; <nl> + static const struct { <nl> + QString unit ; <nl> + qreal factor ; <nl> + } units [ ] = { <nl> + { " mm " , 72 / 25 . 4 } , <nl> + { " cm " , 72 / 2 . 54 } , <nl> + { " in " , 72 } , <nl> + { " px " , 72 . 0 / PHANTOMJS_PDF_DPI / 2 . 54 } , <nl> + { " " , 72 . 0 / PHANTOMJS_PDF_DPI / 2 . 54 } <nl> + } ; <nl> + for ( uint i = 0 ; i < sizeof ( units ) / sizeof ( units [ 0 ] ) ; + + i ) { <nl> + if ( string . endsWith ( units [ i ] . unit ) ) { <nl> + QString value = string ; <nl> + value . chop ( units [ i ] . unit . length ( ) ) ; <nl> + return value . toDouble ( ) * units [ i ] . factor ; <nl> + } <nl> } <nl> - return phantom . returnValue ( ) ; <nl> + return 0 ; <nl> } <nl> new file mode 100644 <nl> index 000000000 . . 797ab2e9a <nl> mmm / dev / null <nl> ppp b / src / phantom . h <nl> <nl> + # include < QtGui > <nl> + <nl> + # include " webpage . h " <nl> + # include " csconverter . h " <nl> + <nl> + class Phantom : public QObject <nl> + { <nl> + Q_OBJECT <nl> + Q_PROPERTY ( QStringList args READ args ) <nl> + Q_PROPERTY ( QString content READ content WRITE setContent ) <nl> + Q_PROPERTY ( QString loadStatus READ loadStatus ) <nl> + Q_PROPERTY ( QString state READ state WRITE setState ) <nl> + Q_PROPERTY ( QString userAgent READ userAgent WRITE setUserAgent ) <nl> + Q_PROPERTY ( QVariantMap version READ version ) <nl> + Q_PROPERTY ( QVariantMap viewportSize READ viewportSize WRITE setViewportSize ) <nl> + Q_PROPERTY ( QVariantMap paperSize READ paperSize WRITE setPaperSize ) <nl> + Q_PROPERTY ( QVariantMap clipRect READ clipRect WRITE setClipRect ) <nl> + <nl> + public : <nl> + Phantom ( QObject * parent = 0 ) ; <nl> + <nl> + QStringList args ( ) const ; <nl> + <nl> + QString content ( ) const ; <nl> + void setContent ( const QString & content ) ; <nl> + <nl> + bool execute ( ) ; <nl> + int returnValue ( ) const ; <nl> + <nl> + QString loadStatus ( ) const ; <nl> + <nl> + void setState ( const QString & value ) ; <nl> + QString state ( ) const ; <nl> + <nl> + void setUserAgent ( const QString & ua ) ; <nl> + QString userAgent ( ) const ; <nl> + <nl> + QVariantMap version ( ) const ; <nl> + <nl> + void setViewportSize ( const QVariantMap & size ) ; <nl> + QVariantMap viewportSize ( ) const ; <nl> + <nl> + void setClipRect ( const QVariantMap & size ) ; <nl> + QVariantMap clipRect ( ) const ; <nl> + <nl> + void setPaperSize ( const QVariantMap & size ) ; <nl> + QVariantMap paperSize ( ) const ; <nl> + <nl> + public slots : <nl> + void exit ( int code = 0 ) ; <nl> + void open ( const QString & address ) ; <nl> + void setFormInputFile ( QWebElement el , const QString & fileTag ) ; <nl> + void simulateMouseClick ( const QString & selector ) ; <nl> + bool loadJs ( const QString & jsFilePath ) ; <nl> + void includeJs ( const QString & jsFilePath , const QString & callback = " undefined " ) ; <nl> + bool render ( const QString & fileName ) ; <nl> + void sleep ( int ms ) ; <nl> + <nl> + private slots : <nl> + void inject ( ) ; <nl> + void finish ( bool ) ; <nl> + bool renderPdf ( const QString & fileName ) ; <nl> + <nl> + private : <nl> + static qreal stringToPointSize ( const QString & string ) ; <nl> + <nl> + QString m_scriptFile ; <nl> + QStringList m_args ; <nl> + QString m_proxyHost ; <nl> + int m_proxyPort ; <nl> + QString m_loadStatus ; <nl> + WebPage m_page ; <nl> + int m_returnValue ; <nl> + QString m_script ; <nl> + QString m_state ; <nl> + CSConverter * m_converter ; <nl> + QVariantMap m_paperSize ; / / For PDF output via render ( ) <nl> + QRect m_clipRect ; <nl> + } ; <nl> mmm a / src / phantomjs . pro <nl> ppp b / src / phantomjs . pro <nl> <nl> TEMPLATE = app <nl> TARGET = phantomjs <nl> - DESTDIR = . . / bin <nl> - HEADERS + = csconverter . h <nl> - SOURCES = phantomjs . cpp csconverter . cpp <nl> - RESOURCES = phantomjs . qrc <nl> QT + = network webkit <nl> CONFIG + = console <nl> - DEFINES + = QT_NO_DEBUG_OUTPUT <nl> + # DEFINES + = QT_NO_DEBUG_OUTPUT <nl> + <nl> + DESTDIR = . . / bin <nl> + <nl> + RESOURCES = phantomjs . qrc <nl> + <nl> + HEADERS + = csconverter . h \ <nl> + phantom . h \ <nl> + webpage . h \ <nl> + consts . h \ <nl> + utils . h <nl> + SOURCES + = phantom . cpp \ <nl> + webpage . cpp \ <nl> + main . cpp \ <nl> + csconverter . cpp \ <nl> + utils . cpp <nl> <nl> include ( gif / gif . pri ) <nl> <nl> new file mode 100644 <nl> index 000000000 . . 5458ebba8 <nl> mmm / dev / null <nl> ppp b / src / utils . cpp <nl> <nl> + # include < QFile > <nl> + # include < QDebug > <nl> + # include < iostream > <nl> + <nl> + # include " utils . h " <nl> + <nl> + / / public : <nl> + void Utils : : showUsage ( ) <nl> + { <nl> + QFile file ; <nl> + file . setFileName ( " : / usage . txt " ) ; <nl> + if ( ! file . open ( QFile : : ReadOnly ) ) { <nl> + qFatal ( " Unable to print the usage message " ) ; <nl> + exit ( 1 ) ; <nl> + } <nl> + std : : cerr < < qPrintable ( QString : : fromUtf8 ( file . readAll ( ) ) ) ; <nl> + file . close ( ) ; <nl> + } <nl> + <nl> + / / private : <nl> + Utils : : Utils ( ) <nl> + { <nl> + / / Nothing to do here <nl> + } <nl> new file mode 100644 <nl> index 000000000 . . 6cd15f2e2 <nl> mmm / dev / null <nl> ppp b / src / utils . h <nl> <nl> + # ifndef UTILS_H <nl> + # define UTILS_H <nl> + <nl> + / * * <nl> + * Aggregate common utility functions . <nl> + * Functions are static methods . <nl> + * It ' s important to notice that , at the moment , this class can ' t be instantiated by design . <nl> + * / <nl> + class Utils <nl> + { <nl> + public : <nl> + static void showUsage ( ) ; <nl> + <nl> + private : <nl> + Utils ( ) ; / / < This class shouldn ' t be instantiated <nl> + } ; <nl> + <nl> + # endif / / UTILS_H <nl> new file mode 100644 <nl> index 000000000 . . 982039e59 <nl> mmm / dev / null <nl> ppp b / src / webpage . cpp <nl> <nl> + # include < iostream > <nl> + # include < QApplication > <nl> + <nl> + # include " webpage . h " <nl> + <nl> + / / public : <nl> + WebPage : : WebPage ( QObject * parent ) <nl> + : QWebPage ( parent ) <nl> + { <nl> + m_userAgent = QWebPage : : userAgentForUrl ( QUrl ( ) ) ; <nl> + connect ( this - > currentFrame ( ) , SIGNAL ( urlChanged ( QUrl ) ) , this , SLOT ( handleFrameUrlChanged ( QUrl ) ) ) ; <nl> + connect ( this , SIGNAL ( linkClicked ( QUrl ) ) , this , SLOT ( handleLinkClicked ( QUrl ) ) ) ; <nl> + } <nl> + <nl> + / / public slots : <nl> + bool WebPage : : shouldInterruptJavaScript ( ) <nl> + { <nl> + QApplication : : processEvents ( QEventLoop : : AllEvents , 42 ) ; <nl> + return false ; <nl> + } <nl> + <nl> + / / private slots : <nl> + void WebPage : : handleFrameUrlChanged ( const QUrl & url ) { <nl> + qDebug ( ) < < " URL Changed : " < < qPrintable ( url . toString ( ) ) ; <nl> + } <nl> + <nl> + void WebPage : : handleLinkClicked ( const QUrl & url ) { <nl> + qDebug ( ) < < " URL Clicked : " < < qPrintable ( url . toString ( ) ) ; <nl> + } <nl> + <nl> + / / protected : <nl> + void WebPage : : javaScriptAlert ( QWebFrame * originatingFrame , const QString & msg ) <nl> + { <nl> + Q_UNUSED ( originatingFrame ) ; <nl> + std : : cout < < " JavaScript alert : " < < qPrintable ( msg ) < < std : : endl ; <nl> + } <nl> + <nl> + void WebPage : : javaScriptConsoleMessage ( const QString & message , int lineNumber , const QString & sourceID ) <nl> + { <nl> + if ( ! sourceID . isEmpty ( ) ) <nl> + std : : cout < < qPrintable ( sourceID ) < < " : " < < lineNumber < < " " ; <nl> + std : : cout < < qPrintable ( message ) < < std : : endl ; <nl> + } <nl> + <nl> + QString WebPage : : userAgentForUrl ( const QUrl & url ) const <nl> + { <nl> + Q_UNUSED ( url ) ; <nl> + return m_userAgent ; <nl> + } <nl> + <nl> + QString WebPage : : chooseFile ( QWebFrame * parentFrame , const QString & suggestedFile ) <nl> + { <nl> + Q_UNUSED ( parentFrame ) ; <nl> + Q_UNUSED ( suggestedFile ) ; <nl> + if ( m_allowedFiles . contains ( m_nextFileTag ) ) <nl> + return m_allowedFiles . value ( m_nextFileTag ) ; <nl> + return QString ( ) ; <nl> + } <nl> new file mode 100644 <nl> index 000000000 . . bfc8b76f1 <nl> mmm / dev / null <nl> ppp b / src / webpage . h <nl> <nl> + # include < QtWebKit > <nl> + <nl> + class WebPage : public QWebPage <nl> + { <nl> + Q_OBJECT <nl> + public : <nl> + WebPage ( QObject * parent = 0 ) ; <nl> + <nl> + public slots : <nl> + bool shouldInterruptJavaScript ( ) ; <nl> + <nl> + private slots : <nl> + void handleFrameUrlChanged ( const QUrl & url ) ; <nl> + void handleLinkClicked ( const QUrl & url ) ; <nl> + <nl> + protected : <nl> + void javaScriptAlert ( QWebFrame * originatingFrame , const QString & msg ) ; <nl> + void javaScriptConsoleMessage ( const QString & message , int lineNumber , const QString & sourceID ) ; <nl> + QString userAgentForUrl ( const QUrl & url ) const ; <nl> + QString chooseFile ( QWebFrame * parentFrame , const QString & suggestedFile ) ; <nl> + <nl> + private : <nl> + QString m_userAgent ; <nl> + QMap < QString , QString > m_allowedFiles ; <nl> + QString m_nextFileTag ; <nl> + friend class Phantom ; <nl> + } ; <nl> | Major refactoring of the CPP code into separate classes . | ariya/phantomjs | a45b8e8401ccd8534fc5de76467a487dcbea5f6f | 2011-04-08T13:30:50Z |
mmm a / xbmc / playlists / SmartPlayList . cpp <nl> ppp b / xbmc / playlists / SmartPlayList . cpp <nl> CSmartPlaylistRule : : CSmartPlaylistRule ( ) <nl> m_parameter . clear ( ) ; <nl> } <nl> <nl> - bool CSmartPlaylistRule : : Load ( TiXmlElement * element , const CStdString & encoding / * = " UTF - 8 " * / ) <nl> + bool CSmartPlaylistRule : : Load ( const TiXmlNode * node , const std : : string & encoding / * = " UTF - 8 " * / ) <nl> { <nl> + if ( node = = NULL ) <nl> + return false ; <nl> + <nl> + const TiXmlElement * element = node - > ToElement ( ) ; <nl> if ( element = = NULL ) <nl> return false ; <nl> <nl> bool CSmartPlaylistRule : : Load ( TiXmlElement * element , const CStdString & encoding <nl> if ( m_operator = = OPERATOR_TRUE | | m_operator = = OPERATOR_FALSE ) <nl> return true ; <nl> <nl> - TiXmlNode * parameter = element - > FirstChild ( ) ; <nl> + const TiXmlNode * parameter = element - > FirstChild ( ) ; <nl> if ( parameter = = NULL ) <nl> return false ; <nl> <nl> if ( parameter - > Type ( ) = = TiXmlNode : : TINYXML_TEXT ) <nl> { <nl> CStdString utf8Parameter ; <nl> - if ( encoding . IsEmpty ( ) ) / / utf8 <nl> + if ( encoding . empty ( ) ) / / utf8 <nl> utf8Parameter = parameter - > ValueStr ( ) ; <nl> else <nl> g_charsetConverter . stringCharsetToUtf8 ( encoding , parameter - > ValueStr ( ) , utf8Parameter ) ; <nl> bool CSmartPlaylistRule : : Load ( TiXmlElement * element , const CStdString & encoding <nl> } <nl> else if ( parameter - > Type ( ) = = TiXmlNode : : TINYXML_ELEMENT ) <nl> { <nl> - TiXmlElement * valueElem = element - > FirstChildElement ( " value " ) ; <nl> - while ( valueElem ! = NULL ) <nl> + const TiXmlNode * valueNode = element - > FirstChild ( " value " ) ; <nl> + while ( valueNode ! = NULL ) <nl> { <nl> - TiXmlNode * value = valueElem - > FirstChild ( ) ; <nl> + const TiXmlNode * value = valueNode - > FirstChild ( ) ; <nl> if ( value ! = NULL & & value - > Type ( ) = = TiXmlNode : : TINYXML_TEXT ) <nl> { <nl> CStdString utf8Parameter ; <nl> - if ( encoding . IsEmpty ( ) ) / / utf8 <nl> + if ( encoding . empty ( ) ) / / utf8 <nl> utf8Parameter = value - > ValueStr ( ) ; <nl> else <nl> g_charsetConverter . stringCharsetToUtf8 ( encoding , value - > ValueStr ( ) , utf8Parameter ) ; <nl> bool CSmartPlaylistRule : : Load ( TiXmlElement * element , const CStdString & encoding <nl> m_parameter . push_back ( utf8Parameter ) ; <nl> } <nl> <nl> - valueElem = valueElem - > NextSiblingElement ( " value " ) ; <nl> + valueNode = valueNode - > NextSibling ( " value " ) ; <nl> } <nl> } <nl> else <nl> CSmartPlaylist : : CSmartPlaylist ( ) <nl> Reset ( ) ; <nl> } <nl> <nl> - TiXmlElement * CSmartPlaylist : : OpenAndReadName ( const CStdString & path ) <nl> + bool CSmartPlaylist : : OpenAndReadName ( const CStdString & path ) <nl> { <nl> - CFileStream file ; <nl> - if ( ! file . Open ( path ) ) <nl> - { <nl> - CLog : : Log ( LOGERROR , " Error loading Smart playlist % s ( failed to read file ) " , path . c_str ( ) ) ; <nl> - return NULL ; <nl> - } <nl> - <nl> - m_xmlDoc . Clear ( ) ; <nl> - file > > m_xmlDoc ; <nl> + if ( readNameFromPath ( path ) = = NULL ) <nl> + return false ; <nl> <nl> - TiXmlElement * root = readName ( ) ; <nl> - if ( m_playlistName . empty ( ) ) <nl> - { <nl> - m_playlistName = CUtil : : GetTitleFromPath ( path ) ; <nl> - if ( URIUtils : : GetExtension ( m_playlistName ) = = " . xsp " ) <nl> - URIUtils : : RemoveExtension ( m_playlistName ) ; <nl> - } <nl> - return root ; <nl> + return ! m_playlistName . empty ( ) ; <nl> } <nl> <nl> - TiXmlElement * CSmartPlaylist : : readName ( ) <nl> + const TiXmlNode * CSmartPlaylist : : readName ( const TiXmlNode * root ) <nl> { <nl> - if ( m_xmlDoc . Error ( ) ) <nl> - { <nl> - CLog : : Log ( LOGERROR , " Error loading Smart playlist ( failed to parse xml : % s ) " , m_xmlDoc . ErrorDesc ( ) ) ; <nl> + if ( root = = NULL ) <nl> + return NULL ; <nl> + <nl> + const TiXmlElement * rootElem = root - > ToElement ( ) ; <nl> + if ( rootElem = = NULL ) <nl> return NULL ; <nl> - } <nl> <nl> - TiXmlElement * root = m_xmlDoc . RootElement ( ) ; <nl> if ( ! root | | ! StringUtils : : EqualsNoCase ( root - > Value ( ) , " smartplaylist " ) ) <nl> { <nl> CLog : : Log ( LOGERROR , " Error loading Smart playlist " ) ; <nl> return NULL ; <nl> } <nl> + <nl> / / load the playlist type <nl> - const char * type = root - > Attribute ( " type " ) ; <nl> + const char * type = rootElem - > Attribute ( " type " ) ; <nl> if ( type ) <nl> m_playlistType = type ; <nl> / / backward compatibility : <nl> TiXmlElement * CSmartPlaylist : : readName ( ) <nl> m_playlistType = " musicvideos " ; <nl> <nl> / / load the playlist name <nl> - TiXmlHandle name = ( ( TiXmlHandle ) root - > FirstChild ( " name " ) ) . FirstChild ( ) ; <nl> - if ( name . Node ( ) ) <nl> - m_playlistName = name . Node ( ) - > Value ( ) ; <nl> + const TiXmlNode * name = rootElem - > FirstChild ( " name " ) ; <nl> + if ( name ! = NULL & & name - > FirstChild ( ) ! = NULL ) <nl> + m_playlistName = name - > FirstChild ( ) - > Value ( ) ; <nl> <nl> return root ; <nl> } <nl> <nl> - TiXmlElement * CSmartPlaylist : : readNameFromXml ( const CStdString & xml ) <nl> + const TiXmlNode * CSmartPlaylist : : readNameFromPath ( const CStdString & path ) <nl> + { <nl> + CFileStream file ; <nl> + if ( ! file . Open ( path ) ) <nl> + { <nl> + CLog : : Log ( LOGERROR , " Error loading Smart playlist % s ( failed to read file ) " , path . c_str ( ) ) ; <nl> + return NULL ; <nl> + } <nl> + <nl> + m_xmlDoc . Clear ( ) ; <nl> + file > > m_xmlDoc ; <nl> + <nl> + const TiXmlNode * root = readName ( m_xmlDoc . RootElement ( ) ) ; <nl> + if ( m_playlistName . empty ( ) ) <nl> + { <nl> + m_playlistName = CUtil : : GetTitleFromPath ( path ) ; <nl> + if ( URIUtils : : GetExtension ( m_playlistName ) = = " . xsp " ) <nl> + URIUtils : : RemoveExtension ( m_playlistName ) ; <nl> + } <nl> + <nl> + return root ; <nl> + } <nl> + <nl> + const TiXmlNode * CSmartPlaylist : : readNameFromXml ( const CStdString & xml ) <nl> { <nl> if ( xml . empty ( ) ) <nl> { <nl> TiXmlElement * CSmartPlaylist : : readNameFromXml ( const CStdString & xml ) <nl> return NULL ; <nl> } <nl> <nl> - return readName ( ) ; <nl> + const TiXmlNode * root = readName ( m_xmlDoc . RootElement ( ) ) ; <nl> + <nl> + return root ; <nl> + } <nl> + <nl> + bool CSmartPlaylist : : load ( const TiXmlNode * root ) <nl> + { <nl> + if ( root = = NULL ) <nl> + return false ; <nl> + <nl> + CStdString encoding ; <nl> + XMLUtils : : GetEncoding ( & m_xmlDoc , encoding ) ; <nl> + <nl> + return LoadFromXML ( root , encoding ) ; <nl> } <nl> <nl> bool CSmartPlaylist : : Load ( const CStdString & path ) <nl> { <nl> - return load ( OpenAndReadName ( path ) ) ; <nl> + return load ( readNameFromPath ( path ) ) ; <nl> } <nl> <nl> bool CSmartPlaylist : : Load ( const CVariant & obj ) <nl> bool CSmartPlaylist : : LoadFromXml ( const CStdString & xml ) <nl> return load ( readNameFromXml ( xml ) ) ; <nl> } <nl> <nl> - bool CSmartPlaylist : : load ( TiXmlElement * root ) <nl> - { <nl> - if ( ! root ) <nl> - return false ; <nl> - <nl> - / / encoding : <nl> - CStdString encoding ; <nl> - XMLUtils : : GetEncoding ( & m_xmlDoc , encoding ) ; <nl> - <nl> - / / from here we decode from XML <nl> - return LoadFromXML ( root , encoding ) ; <nl> - } <nl> - <nl> - bool CSmartPlaylist : : LoadFromXML ( TiXmlElement * root , const CStdString & encoding ) <nl> + bool CSmartPlaylist : : LoadFromXML ( const TiXmlNode * root , const CStdString & encoding ) <nl> { <nl> if ( ! root ) <nl> return false ; <nl> <nl> - TiXmlHandle match = ( ( TiXmlHandle ) root - > FirstChild ( " match " ) ) . FirstChild ( ) ; <nl> - if ( match . Node ( ) ) <nl> - m_ruleCombination . SetType ( StringUtils : : EqualsNoCase ( match . Node ( ) - > ValueStr ( ) , " all " ) ? CSmartPlaylistRuleCombination : : CombinationAnd : CSmartPlaylistRuleCombination : : CombinationOr ) ; <nl> + const TiXmlNode * match = root - > FirstChild ( " match " ) ; <nl> + if ( match ! = NULL & & match - > FirstChild ( ) ! = NULL ) <nl> + m_ruleCombination . SetType ( StringUtils : : EqualsNoCase ( match - > FirstChild ( ) - > ValueStr ( ) , " all " ) ? CSmartPlaylistRuleCombination : : CombinationAnd : CSmartPlaylistRuleCombination : : CombinationOr ) ; <nl> <nl> / / now the rules <nl> - TiXmlElement * ruleElement = root - > FirstChildElement ( " rule " ) ; <nl> - while ( ruleElement ) <nl> + const TiXmlNode * ruleNode = root - > FirstChild ( " rule " ) ; <nl> + while ( ruleNode ) <nl> { <nl> CSmartPlaylistRule rule ; <nl> - if ( rule . Load ( ruleElement , encoding ) ) <nl> + if ( rule . Load ( ruleNode , encoding ) ) <nl> m_ruleCombination . AddRule ( rule ) ; <nl> <nl> - ruleElement = ruleElement - > NextSiblingElement ( " rule " ) ; <nl> + ruleNode = ruleNode - > NextSibling ( " rule " ) ; <nl> } <nl> <nl> / / now any limits <nl> / / format is < limit > 25 < / limit > <nl> - TiXmlHandle limit = ( ( TiXmlHandle ) root - > FirstChild ( " limit " ) ) . FirstChild ( ) ; <nl> - if ( limit . Node ( ) ) <nl> - m_limit = atoi ( limit . Node ( ) - > Value ( ) ) ; <nl> + const TiXmlNode * limit = root - > FirstChild ( " limit " ) ; <nl> + if ( limit ! = NULL & & limit - > FirstChild ( ) ! = NULL ) <nl> + m_limit = strtol ( limit - > FirstChild ( ) - > Value ( ) , NULL , 0 ) ; <nl> <nl> / / and order <nl> / / format is < order direction = " ascending " > field < / order > <nl> - TiXmlElement * order = root - > FirstChildElement ( " order " ) ; <nl> + const TiXmlElement * order = root - > FirstChildElement ( " order " ) ; <nl> if ( order & & order - > FirstChild ( ) ) <nl> { <nl> const char * direction = order - > Attribute ( " direction " ) ; <nl> mmm a / xbmc / playlists / SmartPlayList . h <nl> ppp b / xbmc / playlists / SmartPlayList . h <nl> class ISmartPlaylistRule <nl> public : <nl> virtual ~ ISmartPlaylistRule ( ) { } <nl> <nl> - virtual bool Load ( TiXmlElement * element , const CStdString & encoding = " UTF - 8 " ) = 0 ; <nl> + virtual bool Load ( const TiXmlNode * node , const std : : string & encoding = " UTF - 8 " ) = 0 ; <nl> virtual bool Load ( const CVariant & obj ) = 0 ; <nl> virtual bool Save ( TiXmlNode * parent ) const = 0 ; <nl> virtual bool Save ( CVariant & obj ) const = 0 ; <nl> class CSmartPlaylistRule : public ISmartPlaylistRule <nl> { <nl> public : <nl> CSmartPlaylistRule ( ) ; <nl> + virtual ~ CSmartPlaylistRule ( ) { } <nl> <nl> enum SEARCH_OPERATOR { OPERATOR_START = 0 , <nl> OPERATOR_CONTAINS , <nl> class CSmartPlaylistRule : public ISmartPlaylistRule <nl> TEXTIN_FIELD <nl> } ; <nl> <nl> - virtual bool Load ( TiXmlElement * element , const CStdString & encoding = " UTF - 8 " ) ; <nl> + virtual bool Load ( const TiXmlNode * node , const std : : string & encoding = " UTF - 8 " ) ; <nl> virtual bool Load ( const CVariant & obj ) ; <nl> virtual bool Save ( TiXmlNode * parent ) const ; <nl> virtual bool Save ( CVariant & obj ) const ; <nl> class CSmartPlaylistRuleCombination : public ISmartPlaylistRule <nl> { <nl> public : <nl> CSmartPlaylistRuleCombination ( ) ; <nl> + virtual ~ CSmartPlaylistRuleCombination ( ) { } <nl> <nl> typedef enum { <nl> CombinationOr = 0 , <nl> CombinationAnd <nl> } Combination ; <nl> <nl> - virtual bool Load ( TiXmlElement * element , const CStdString & encoding = " UTF - 8 " ) { return false ; } <nl> + virtual bool Load ( const TiXmlNode * node , const std : : string & encoding = " UTF - 8 " ) { return false ; } <nl> virtual bool Load ( const CVariant & obj ) ; <nl> virtual bool Save ( TiXmlNode * parent ) const { return false ; } <nl> virtual bool Save ( CVariant & obj ) const ; <nl> class CSmartPlaylist <nl> { <nl> public : <nl> CSmartPlaylist ( ) ; <nl> + virtual ~ CSmartPlaylist ( ) { } <nl> <nl> bool Load ( const CStdString & path ) ; <nl> bool Load ( const CVariant & obj ) ; <nl> class CSmartPlaylist <nl> bool Save ( CVariant & obj , bool full = true ) const ; <nl> bool SaveAsJson ( CStdString & json , bool full = true ) const ; <nl> <nl> - TiXmlElement * OpenAndReadName ( const CStdString & path ) ; <nl> - bool LoadFromXML ( TiXmlElement * root , const CStdString & encoding = " UTF - 8 " ) ; <nl> + bool OpenAndReadName ( const CStdString & path ) ; <nl> + bool LoadFromXML ( const TiXmlNode * root , const CStdString & encoding = " UTF - 8 " ) ; <nl> <nl> void Reset ( ) ; <nl> <nl> class CSmartPlaylist <nl> friend class CGUIDialogSmartPlaylistEditor ; <nl> friend class CGUIDialogMediaFilter ; <nl> <nl> - TiXmlElement * readName ( ) ; <nl> - TiXmlElement * readNameFromXml ( const CStdString & xml ) ; <nl> - bool load ( TiXmlElement * root ) ; <nl> + const TiXmlNode * readName ( const TiXmlNode * root ) ; <nl> + const TiXmlNode * readNameFromPath ( const CStdString & path ) ; <nl> + const TiXmlNode * readNameFromXml ( const CStdString & xml ) ; <nl> + bool load ( const TiXmlNode * root ) ; <nl> <nl> CSmartPlaylistRuleCombination m_ruleCombination ; <nl> CStdString m_playlistName ; <nl> | smartplaylists : refactor XML reading / writing | xbmc/xbmc | 7c72901efd229a0748ca5bc625440031d1c718b4 | 2013-02-02T09:14:14Z |
mmm a / include / swift / AST / Attr . h <nl> ppp b / include / swift / AST / Attr . h <nl> class OriginallyDefinedInAttr : public DeclAttribute { <nl> const llvm : : VersionTuple MovedVersion ; <nl> <nl> struct ActiveVersion { <nl> + StringRef ModuleName ; <nl> PlatformKind Platform ; <nl> bool IsSimulator ; <nl> llvm : : VersionTuple Version ; <nl> mmm a / include / swift / AST / Decl . h <nl> ppp b / include / swift / AST / Decl . h <nl> class alignas ( 1 < < DeclAlignInBits ) Decl { <nl> return Attrs ; <nl> } <nl> <nl> + / / / Returns the introduced OS version in the given platform kind specified <nl> + / / / by @ available attribute . <nl> + / / / This function won ' t consider the parent context to get the information . <nl> + Optional < llvm : : VersionTuple > getIntroducedOSVersion ( PlatformKind Kind ) const ; <nl> + <nl> / / / Returns the starting location of the entire declaration . <nl> SourceLoc getStartLoc ( ) const { return getSourceRange ( ) . Start ; } <nl> <nl> mmm a / include / swift / AST / DiagnosticsFrontend . def <nl> ppp b / include / swift / AST / DiagnosticsFrontend . def <nl> REMARK ( platform_previous_install_name , none , <nl> ERROR ( unknown_platform_name , none , <nl> " unkown platform name % 0 " , ( StringRef ) ) <nl> <nl> + ERROR ( cannot_find_install_name , none , <nl> + " cannot find previous install name for module % 0 in % 1 " , ( StringRef , StringRef ) ) <nl> + <nl> ERROR ( symbol_in_tbd_not_in_ir , none , <nl> " symbol ' % 0 ' ( % 1 ) is in TBD file , but not in generated IR " , <nl> ( StringRef , StringRef ) ) <nl> mmm a / lib / AST / Attr . cpp <nl> ppp b / lib / AST / Attr . cpp <nl> OriginallyDefinedInAttr : : isActivePlatform ( const ASTContext & ctx ) const { <nl> OriginallyDefinedInAttr : : ActiveVersion Result ; <nl> Result . Platform = Platform ; <nl> Result . Version = MovedVersion ; <nl> + Result . ModuleName = OriginalModuleName ; <nl> if ( isPlatformActive ( Platform , ctx . LangOpts ) ) { <nl> Result . IsSimulator = ctx . LangOpts . Target . isSimulatorEnvironment ( ) ; <nl> return Result ; <nl> mmm a / lib / AST / Decl . cpp <nl> ppp b / lib / AST / Decl . cpp <nl> StringRef Decl : : getDescriptiveKindName ( DescriptiveDeclKind K ) { <nl> llvm_unreachable ( " bad DescriptiveDeclKind " ) ; <nl> } <nl> <nl> + Optional < llvm : : VersionTuple > <nl> + Decl : : getIntroducedOSVersion ( PlatformKind Kind ) const { <nl> + for ( auto * attr : getAttrs ( ) ) { <nl> + if ( auto * ava = dyn_cast < AvailableAttr > ( attr ) ) { <nl> + if ( ava - > Platform = = Kind & & ava - > Introduced ) { <nl> + return ava - > Introduced ; <nl> + } <nl> + } <nl> + } <nl> + return None ; <nl> + } <nl> + <nl> llvm : : raw_ostream & swift : : operator < < ( llvm : : raw_ostream & OS , <nl> StaticSpellingKind SSK ) { <nl> switch ( SSK ) { <nl> mmm a / lib / TBDGen / TBDGen . cpp <nl> ppp b / lib / TBDGen / TBDGen . cpp <nl> getAllMovedPlatformVersions ( Decl * D ) { <nl> return Results ; <nl> } <nl> <nl> - static Optional < llvm : : VersionTuple > <nl> - getIntroducedOSVersion ( Decl * D , PlatformKind Kind ) { <nl> - for ( auto * attr : D - > getAttrs ( ) ) { <nl> - if ( auto * ava = dyn_cast < AvailableAttr > ( attr ) ) { <nl> - if ( ava - > Platform = = Kind & & ava - > Introduced ) { <nl> - return ava - > Introduced ; <nl> - } <nl> - } <nl> - } <nl> - return None ; <nl> - } <nl> - <nl> static StringRef getLinkerPlatformName ( uint8_t Id ) { <nl> switch ( Id ) { <nl> # define LD_PLATFORM ( Name , Id ) case Id : return # Name ; <nl> TBDGenVisitor : : parsePreviousModuleInstallNameMap ( ) { <nl> return pResult ; <nl> } <nl> <nl> - void TBDGenVisitor : : addLinkerDirectiveSymbols ( StringRef name , <nl> - llvm : : MachO : : SymbolKind kind ) { <nl> + static LinkerPlatformId <nl> + getLinkerPlatformId ( OriginallyDefinedInAttr : : ActiveVersion Ver ) { <nl> + switch ( Ver . Platform ) { <nl> + case swift : : PlatformKind : : none : <nl> + llvm_unreachable ( " cannot find platform kind " ) ; <nl> + case swift : : PlatformKind : : iOS : <nl> + case swift : : PlatformKind : : iOSApplicationExtension : <nl> + return Ver . IsSimulator ? LinkerPlatformId : : iOS_sim : <nl> + LinkerPlatformId : : iOS ; <nl> + case swift : : PlatformKind : : tvOS : <nl> + case swift : : PlatformKind : : tvOSApplicationExtension : <nl> + return Ver . IsSimulator ? LinkerPlatformId : : tvOS_sim : <nl> + LinkerPlatformId : : tvOS ; <nl> + case swift : : PlatformKind : : watchOS : <nl> + case swift : : PlatformKind : : watchOSApplicationExtension : <nl> + return Ver . IsSimulator ? LinkerPlatformId : : watchOS_sim : <nl> + LinkerPlatformId : : watchOS ; <nl> + case swift : : PlatformKind : : OSX : <nl> + case swift : : PlatformKind : : OSXApplicationExtension : <nl> + return LinkerPlatformId : : macOS ; <nl> + } <nl> + } <nl> + <nl> + static StringRef <nl> + getLinkerPlatformName ( OriginallyDefinedInAttr : : ActiveVersion Ver ) { <nl> + return getLinkerPlatformName ( ( uint8_t ) getLinkerPlatformId ( Ver ) ) ; <nl> + } <nl> + <nl> + void TBDGenVisitor : : addLinkerDirectiveSymbolsLdPrevious ( StringRef name , <nl> + llvm : : MachO : : SymbolKind kind ) { <nl> + if ( kind ! = llvm : : MachO : : SymbolKind : : GlobalSymbol ) <nl> + return ; <nl> + if ( ! TopLevelDecl ) <nl> + return ; <nl> + auto MovedVers = getAllMovedPlatformVersions ( TopLevelDecl ) ; <nl> + if ( MovedVers . empty ( ) ) <nl> + return ; <nl> + assert ( ! MovedVers . empty ( ) ) ; <nl> + assert ( previousInstallNameMap ) ; <nl> + auto & Ctx = TopLevelDecl - > getASTContext ( ) ; <nl> + for ( auto & Ver : MovedVers ) { <nl> + auto IntroVer = TopLevelDecl - > getIntroducedOSVersion ( Ver . Platform ) ; <nl> + assert ( IntroVer & & " cannot find OS intro version " ) ; <nl> + if ( ! IntroVer . hasValue ( ) ) <nl> + continue ; <nl> + auto PlatformNumber = getLinkerPlatformId ( Ver ) ; <nl> + auto It = previousInstallNameMap - > find ( Ver . ModuleName ) ; <nl> + if ( It = = previousInstallNameMap - > end ( ) ) { <nl> + Ctx . Diags . diagnose ( SourceLoc ( ) , diag : : cannot_find_install_name , <nl> + Ver . ModuleName , getLinkerPlatformName ( Ver ) ) ; <nl> + continue ; <nl> + } <nl> + auto InstallName = It - > second . getInstallName ( PlatformNumber ) ; <nl> + if ( InstallName . empty ( ) ) { <nl> + Ctx . Diags . diagnose ( SourceLoc ( ) , diag : : cannot_find_install_name , <nl> + Ver . ModuleName , getLinkerPlatformName ( Ver ) ) ; <nl> + continue ; <nl> + } <nl> + llvm : : SmallString < 64 > Buffer ; <nl> + llvm : : raw_svector_ostream OS ( Buffer ) ; <nl> + / / Empty compatible version indicates using the current compatible version . <nl> + StringRef ComptibleVersion = " " ; <nl> + OS < < " $ ld $ previous $ " ; <nl> + OS < < InstallName < < " $ " ; <nl> + OS < < ComptibleVersion < < " $ " ; <nl> + OS < < std : : to_string ( ( uint8_t ) PlatformNumber ) < < " $ " ; <nl> + static auto getMinor = [ ] ( Optional < unsigned > Minor ) { <nl> + return Minor . hasValue ( ) ? * Minor : 0 ; <nl> + } ; <nl> + OS < < IntroVer - > getMajor ( ) < < " . " < < getMinor ( IntroVer - > getMinor ( ) ) < < " $ " ; <nl> + OS < < Ver . Version . getMajor ( ) < < " . " < < getMinor ( Ver . Version . getMinor ( ) ) < < " $ " ; <nl> + OS < < name < < " $ " ; <nl> + addSymbolInternal ( OS . str ( ) , llvm : : MachO : : SymbolKind : : GlobalSymbol , <nl> + / * LinkerDirective * / true ) ; <nl> + } <nl> + } <nl> + <nl> + void TBDGenVisitor : : addLinkerDirectiveSymbolsLdHide ( StringRef name , <nl> + llvm : : MachO : : SymbolKind kind ) { <nl> if ( kind ! = llvm : : MachO : : SymbolKind : : GlobalSymbol ) <nl> return ; <nl> if ( ! TopLevelDecl ) <nl> void TBDGenVisitor : : addLinkerDirectiveSymbols ( StringRef name , <nl> unsigned Minor [ 2 ] ; <nl> Major [ 1 ] = MovedVer . getMajor ( ) ; <nl> Minor [ 1 ] = MovedVer . getMinor ( ) . hasValue ( ) ? * MovedVer . getMinor ( ) : 0 ; <nl> - auto IntroVer = getIntroducedOSVersion ( TopLevelDecl , Platform ) ; <nl> + auto IntroVer = TopLevelDecl - > getIntroducedOSVersion ( Platform ) ; <nl> assert ( IntroVer & & " cannot find the start point of availability " ) ; <nl> if ( ! IntroVer . hasValue ( ) ) <nl> return ; <nl> void TBDGenVisitor : : addSymbol ( StringRef name , SymbolKind kind ) { <nl> SmallString < 32 > mangled ; <nl> llvm : : Mangler : : getNameWithPrefix ( mangled , name , DataLayout ) ; <nl> addSymbolInternal ( mangled , kind ) ; <nl> - addLinkerDirectiveSymbols ( mangled , kind ) ; <nl> + if ( previousInstallNameMap ) { <nl> + addLinkerDirectiveSymbolsLdPrevious ( mangled , kind ) ; <nl> + } else { <nl> + addLinkerDirectiveSymbolsLdHide ( mangled , kind ) ; <nl> + } <nl> } <nl> <nl> void TBDGenVisitor : : addSymbol ( SILDeclRef declRef ) { <nl> mmm a / lib / TBDGen / TBDGenVisitor . h <nl> ppp b / lib / TBDGen / TBDGenVisitor . h <nl> class TBDGenVisitor : public ASTVisitor < TBDGenVisitor > { <nl> parsePreviousModuleInstallNameMap ( ) ; <nl> void addSymbolInternal ( StringRef name , llvm : : MachO : : SymbolKind kind , <nl> bool isLinkerDirective = false ) ; <nl> - void addLinkerDirectiveSymbols ( StringRef name , llvm : : MachO : : SymbolKind kind ) ; <nl> + void addLinkerDirectiveSymbolsLdHide ( StringRef name , llvm : : MachO : : SymbolKind kind ) ; <nl> + void addLinkerDirectiveSymbolsLdPrevious ( StringRef name , llvm : : MachO : : SymbolKind kind ) ; <nl> void addSymbol ( StringRef name , llvm : : MachO : : SymbolKind kind = <nl> llvm : : MachO : : SymbolKind : : GlobalSymbol ) ; <nl> <nl> new file mode 100644 <nl> index 000000000000 . . 311c64646c3f <nl> mmm / dev / null <nl> ppp b / test / SILOptimizer / escape_analysis_reduced . sil <nl> <nl> + / / RUN : % target - sil - opt % s - escapes - dump - o / dev / null | % FileCheck % s <nl> + <nl> + / / REQUIRES : asserts <nl> + / / REQUIRES : OS = macosx <nl> + / / REQUIRES : PTRSIZE = 64 <nl> + <nl> + sil_stage canonical <nl> + <nl> + import Builtin <nl> + import Swift <nl> + import SwiftShims <nl> + <nl> + / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> + / / Test call to array . uninitialized that has extra release_value uses <nl> + <nl> + class C { <nl> + var c : C <nl> + } <nl> + <nl> + class DummyArrayStorage < Element > { <nl> + @ _hasStorage var count : Int { get } <nl> + @ _hasStorage var capacity : Int { get } <nl> + init ( ) <nl> + } <nl> + <nl> + / / init_any_array_with_buffer <nl> + sil [ _semantics " array . uninitialized " ] @ init_any_array_with_buffer : $ @ convention ( thin ) ( @ owned DummyArrayStorage < AnyObject > , Int32 , @ thin Array < AnyObject > . Type ) - > ( @ owned Array < AnyObject > , UnsafeMutablePointer < AnyObject > ) <nl> + <nl> + / / CHECK - LABEL : CG of testBadArrayUninit <nl> + / / CHECK - NEXT : Val [ ref ] % 2 Esc : , Succ : ( % 2 . 1 ) <nl> + / / CHECK - NEXT : Con [ int ] % 2 . 1 Esc : G , Succ : ( % 2 . 2 ) <nl> + / / CHECK - NEXT : Con [ ref ] % 2 . 2 Esc : G , Succ : <nl> + / / CHECK - NEXT : Val % 5 Esc : , Succ : ( % 5 . 1 ) <nl> + / / CHECK - NEXT : Con % 5 . 1 Esc : G , Succ : % 10 <nl> + / / CHECK - NEXT : Val [ ref ] % 10 Esc : G , Succ : ( % 10 . 1 ) <nl> + / / CHECK - NEXT : Con % 10 . 1 Esc : G , Succ : <nl> + / / CHECK - LABEL : End <nl> + sil hidden @ testBadArrayUninit : $ @ convention ( thin ) ( Builtin . Word , Int32 ) - > ( ) { <nl> + bb0 ( % 0 : $ Builtin . Word , % 1 : $ Int32 ) : <nl> + / / create an array <nl> + % 2 = alloc_ref [ tail_elems $ AnyObject * % 0 : $ Builtin . Word ] $ DummyArrayStorage < AnyObject > <nl> + % 3 = metatype $ @ thin Array < AnyObject > . Type <nl> + % 4 = function_ref @ init_any_array_with_buffer : $ @ convention ( thin ) ( @ owned DummyArrayStorage < AnyObject > , Int32 , @ thin Array < AnyObject > . Type ) - > ( @ owned Array < AnyObject > , UnsafeMutablePointer < AnyObject > ) <nl> + % 5 = apply % 4 ( % 2 , % 1 , % 3 ) : $ @ convention ( thin ) ( @ owned DummyArrayStorage < AnyObject > , Int32 , @ thin Array < AnyObject > . Type ) - > ( @ owned Array < AnyObject > , UnsafeMutablePointer < AnyObject > ) <nl> + % 6 = tuple_extract % 5 : $ ( Array < AnyObject > , UnsafeMutablePointer < AnyObject > ) , 0 <nl> + % 7 = tuple_extract % 5 : $ ( Array < AnyObject > , UnsafeMutablePointer < AnyObject > ) , 1 <nl> + % 8 = struct_extract % 7 : $ UnsafeMutablePointer < AnyObject > , # UnsafeMutablePointer . _rawValue <nl> + % 9 = pointer_to_address % 8 : $ Builtin . RawPointer to [ strict ] $ * AnyObject <nl> + <nl> + / / store an elt <nl> + % 10 = alloc_ref $ C <nl> + % 11 = init_existential_ref % 10 : $ C : $ C , $ AnyObject <nl> + store % 11 to % 9 : $ * AnyObject <nl> + <nl> + / / extra use of the call <nl> + release_value % 5 : $ ( Array < AnyObject > , UnsafeMutablePointer < AnyObject > ) / / id : % 228 <nl> + % 13 = tuple ( ) <nl> + return % 13 : $ ( ) <nl> + } <nl> + <nl> + / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> + / / testArrayEscapeToBox : test that an array is marked escaping when <nl> + / / assigned to a box . When multiple arrays are merged into the same <nl> + / / box , ensure that a previous mapping from the project_box address to <nl> + / / the box ' s content is not lost during the merge . <nl> + <nl> + class ElementClass { <nl> + init ( ) <nl> + } <nl> + <nl> + class StagedContext { <nl> + init ( ) <nl> + } <nl> + <nl> + class VFSStagedContext : StagedContext { <nl> + override init ( ) <nl> + } <nl> + <nl> + / / specialized Array . init ( ) <nl> + sil @ $ sS2ayxGycfCSo12ElementClassC_Tg5 : $ @ convention ( method ) ( @ thin Array < ElementClass > . Type ) - > @ owned Array < ElementClass > <nl> + <nl> + / / specialized Array . _getCount ( ) <nl> + sil @ $ sSa9_getCountSiyFSo12ElementClassC_Tg5 : $ @ convention ( method ) ( @ guaranteed Array < ElementClass > ) - > Int <nl> + <nl> + / / specialized static Array . _adoptStorage ( _ : count : ) <nl> + sil shared [ _semantics " array . uninitialized " ] @ $ sSa13_adoptStorage_5countSayxG_SpyxGts016_ContiguousArrayB0CyxGn_SitFZSo12ElementClassC_Tg5 : $ @ convention ( method ) ( @ owned _ContiguousArrayStorage < ElementClass > , Int , @ thin Array < ElementClass > . Type ) - > ( @ owned Array < ElementClass > , UnsafeMutablePointer < ElementClass > ) { <nl> + / / % 0 / / users : % 13 , % 3 <nl> + / / % 1 / / users : % 9 , % 4 <nl> + bb0 ( % 0 : $ _ContiguousArrayStorage < ElementClass > , % 1 : $ Int , % 2 : $ @ thin Array < ElementClass > . Type ) : <nl> + % 3 = upcast % 0 : $ _ContiguousArrayStorage < ElementClass > to $ __ContiguousArrayStorageBase / / users : % 17 , % 11 <nl> + % 4 = struct_extract % 1 : $ Int , # Int . _value / / user : % 6 <nl> + % 5 = integer_literal $ Builtin . Int64 , 1 / / users : % 7 , % 6 <nl> + % 6 = builtin " shl_Int64 " ( % 4 : $ Builtin . Int64 , % 5 : $ Builtin . Int64 ) : $ Builtin . Int64 / / user : % 7 <nl> + % 7 = builtin " or_Int64 " ( % 6 : $ Builtin . Int64 , % 5 : $ Builtin . Int64 ) : $ Builtin . Int64 / / user : % 8 <nl> + % 8 = struct $ UInt ( % 7 : $ Builtin . Int64 ) / / user : % 9 <nl> + % 9 = struct $ _SwiftArrayBodyStorage ( % 1 : $ Int , % 8 : $ UInt ) / / user : % 10 <nl> + % 10 = struct $ _ArrayBody ( % 9 : $ _SwiftArrayBodyStorage ) / / user : % 12 <nl> + % 11 = ref_element_addr % 3 : $ __ContiguousArrayStorageBase , # __ContiguousArrayStorageBase . countAndCapacity / / user : % 12 <nl> + store % 10 to % 11 : $ * _ArrayBody / / id : % 12 <nl> + % 13 = unchecked_ref_cast % 0 : $ _ContiguousArrayStorage < ElementClass > to $ Builtin . BridgeObject / / user : % 14 <nl> + % 14 = struct $ _BridgeStorage < __ContiguousArrayStorageBase > ( % 13 : $ Builtin . BridgeObject ) / / user : % 15 <nl> + % 15 = struct $ _ArrayBuffer < ElementClass > ( % 14 : $ _BridgeStorage < __ContiguousArrayStorageBase > ) / / user : % 16 <nl> + % 16 = struct $ Array < ElementClass > ( % 15 : $ _ArrayBuffer < ElementClass > ) / / user : % 20 <nl> + % 17 = ref_tail_addr % 3 : $ __ContiguousArrayStorageBase , $ ElementClass / / user : % 18 <nl> + % 18 = address_to_pointer % 17 : $ * ElementClass to $ Builtin . RawPointer / / user : % 19 <nl> + % 19 = struct $ UnsafeMutablePointer < ElementClass > ( % 18 : $ Builtin . RawPointer ) / / user : % 20 <nl> + % 20 = tuple ( % 16 : $ Array < ElementClass > , % 19 : $ UnsafeMutablePointer < ElementClass > ) / / user : % 21 <nl> + return % 20 : $ ( Array < ElementClass > , UnsafeMutablePointer < ElementClass > ) / / id : % 21 <nl> + } <nl> + <nl> + / / testArrayUsePointsClosure1 <nl> + sil @ testArrayUsePointsClosure1 : $ @ convention ( thin ) ( @ guaranteed { var Optional < VFSStagedContext > } , @ guaranteed @ callee_guaranteed ( @ guaranteed Optional < StagedContext > , @ guaranteed Optional < Error > ) - > ( ) ) - > ( ) <nl> + <nl> + / / testArrayUsePointsClosure2 <nl> + sil @ testArrayUsePointsClosure2 : $ @ convention ( thin ) ( @ guaranteed @ callee_guaranteed ( @ guaranteed Optional < StagedContext > , @ guaranteed Optional < Error > ) - > ( ) , @ guaranteed Optional < VFSStagedContext > , @ guaranteed { var Array < ElementClass > } ) - > ( ) <nl> + <nl> + / / Make sure both locally allocated array ' s are globally escaping . <nl> + / / <nl> + / / CHECK - LABEL : CG of testArrayEscapeToBox <nl> + / / CHECK - NEXT : Arg [ ref ] % 0 Esc : A , Succ : ( % 21 ) <nl> + / / CHECK - NEXT : Val [ ref ] % 1 Esc : , Succ : ( % 21 ) <nl> + / / CHECK - NEXT : Val [ ref ] % 4 Esc : , Succ : % 0 , % 1 <nl> + / / CHECK - NEXT : Val [ ref ] % 8 Esc : , Succ : ( % 21 ) <nl> + / / CHECK - NEXT : Val [ ref ] % 12 Esc : G , Succ : ( % 21 ) <nl> + / / CHECK - NEXT : Val [ ref ] % 17 Esc : G , Succ : ( % 21 ) <nl> + / / CHECK - NEXT : Val [ ref ] % 20 Esc : G , Succ : % 17 <nl> + / / CHECK - NEXT : Con [ int ] % 21 Esc : G , Succ : ( % 39 ) <nl> + / / CHECK - NEXT : Val [ ref ] % 31 Esc : G , Succ : ( % 21 ) <nl> + / / CHECK - NEXT : Val [ ref ] % 34 Esc : G , Succ : % 31 <nl> + / / CHECK - NEXT : Con % 39 Esc : G , Succ : ( % 21 ) , % 12 , % 20 , % 34 <nl> + / / CHECK - NEXT : Val [ ref ] % 45 Esc : , Succ : % 0 , % 8 , % 39 <nl> + / / CHECK - NEXT : End <nl> + sil private @ testArrayEscapeToBox : $ @ convention ( thin ) ( @ guaranteed @ callee_guaranteed ( @ guaranteed Optional < StagedContext > , @ guaranteed Optional < Error > ) - > ( ) ) - > ( ) { <nl> + / / % 0 / / users : % 54 , % 51 , % 47 , % 45 , % 5 , % 4 <nl> + bb0 ( % 0 : $ @ callee_guaranteed ( @ guaranteed Optional < StagedContext > , @ guaranteed Optional < Error > ) - > ( ) ) : <nl> + % 1 = alloc_box $ { var Optional < VFSStagedContext > } , var , name " context " / / users : % 59 , % 6 , % 4 , % 2 <nl> + % 2 = project_box % 1 : $ { var Optional < VFSStagedContext > } , 0 / / user : % 44 <nl> + / / function_ref testArrayUsePointsClosure1 <nl> + % 3 = function_ref @ testArrayUsePointsClosure1 : $ @ convention ( thin ) ( @ guaranteed { var Optional < VFSStagedContext > } , @ guaranteed @ callee_guaranteed ( @ guaranteed Optional < StagedContext > , @ guaranteed Optional < Error > ) - > ( ) ) - > ( ) / / user : % 4 <nl> + % 4 = partial_apply [ callee_guaranteed ] % 3 ( % 1 , % 0 ) : $ @ convention ( thin ) ( @ guaranteed { var Optional < VFSStagedContext > } , @ guaranteed @ callee_guaranteed ( @ guaranteed Optional < StagedContext > , @ guaranteed Optional < Error > ) - > ( ) ) - > ( ) <nl> + strong_retain % 0 : $ @ callee_guaranteed ( @ guaranteed Optional < StagedContext > , @ guaranteed Optional < Error > ) - > ( ) / / id : % 5 <nl> + strong_retain % 1 : $ { var Optional < VFSStagedContext > } / / id : % 6 <nl> + br bb1 / / id : % 7 <nl> + <nl> + bb1 : / / Preds : bb0 <nl> + % 8 = alloc_box $ { var Array < ElementClass > } , var , name " intents " / / users : % 58 , % 56 , % 52 , % 48 , % 45 , % 9 <nl> + % 9 = project_box % 8 : $ { var Array < ElementClass > } , 0 / / users : % 41 , % 36 , % 27 , % 22 , % 13 <nl> + % 10 = metatype $ @ thin Array < ElementClass > . Type / / users : % 33 , % 19 , % 12 <nl> + / / function_ref specialized Array . init ( ) <nl> + % 11 = function_ref @ $ sS2ayxGycfCSo12ElementClassC_Tg5 : $ @ convention ( method ) ( @ thin Array < ElementClass > . Type ) - > @ owned Array < ElementClass > / / user : % 12 <nl> + % 12 = apply % 11 ( % 10 ) : $ @ convention ( method ) ( @ thin Array < ElementClass > . Type ) - > @ owned Array < ElementClass > / / user : % 13 <nl> + store % 12 to % 9 : $ * Array < ElementClass > / / id : % 13 <nl> + cond_br undef , bb2 , bb3 / / id : % 14 <nl> + <nl> + bb2 : / / Preds : bb1 <nl> + % 15 = integer_literal $ Builtin . Int64 , 1 / / user : % 16 <nl> + % 16 = struct $ Int ( % 15 : $ Builtin . Int64 ) / / user : % 19 <nl> + % 17 = alloc_ref [ tail_elems $ ElementClass * undef : $ Builtin . Word ] $ _ContiguousArrayStorage < ElementClass > / / user : % 19 <nl> + / / function_ref specialized static Array . _adoptStorage ( _ : count : ) <nl> + % 18 = function_ref @ $ sSa13_adoptStorage_5countSayxG_SpyxGts016_ContiguousArrayB0CyxGn_SitFZSo12ElementClassC_Tg5 : $ @ convention ( method ) ( @ owned _ContiguousArrayStorage < ElementClass > , Int , @ thin Array < ElementClass > . Type ) - > ( @ owned Array < ElementClass > , UnsafeMutablePointer < ElementClass > ) / / user : % 19 <nl> + % 19 = apply % 18 ( % 17 , % 16 , % 10 ) : $ @ convention ( method ) ( @ owned _ContiguousArrayStorage < ElementClass > , Int , @ thin Array < ElementClass > . Type ) - > ( @ owned Array < ElementClass > , UnsafeMutablePointer < ElementClass > ) / / users : % 21 , % 20 <nl> + % 20 = tuple_extract % 19 : $ ( Array < ElementClass > , UnsafeMutablePointer < ElementClass > ) , 0 / / user : % 27 <nl> + % 21 = tuple_extract % 19 : $ ( Array < ElementClass > , UnsafeMutablePointer < ElementClass > ) , 1 <nl> + % 22 = struct_element_addr % 9 : $ * Array < ElementClass > , # Array . _buffer / / user : % 23 <nl> + % 23 = struct_element_addr % 22 : $ * _ArrayBuffer < ElementClass > , # _ArrayBuffer . _storage / / user : % 24 <nl> + % 24 = struct_element_addr % 23 : $ * _BridgeStorage < __ContiguousArrayStorageBase > , # _BridgeStorage . rawValue / / user : % 25 <nl> + % 25 = load % 24 : $ * Builtin . BridgeObject / / user : % 26 <nl> + strong_release % 25 : $ Builtin . BridgeObject / / id : % 26 <nl> + store % 20 to % 9 : $ * Array < ElementClass > / / id : % 27 <nl> + br bb4 / / id : % 28 <nl> + <nl> + bb3 : / / Preds : bb1 <nl> + % 29 = integer_literal $ Builtin . Int64 , 1 / / user : % 30 <nl> + % 30 = struct $ Int ( % 29 : $ Builtin . Int64 ) / / user : % 33 <nl> + % 31 = alloc_ref [ tail_elems $ ElementClass * undef : $ Builtin . Word ] $ _ContiguousArrayStorage < ElementClass > / / user : % 33 <nl> + / / function_ref specialized static Array . _adoptStorage ( _ : count : ) <nl> + % 32 = function_ref @ $ sSa13_adoptStorage_5countSayxG_SpyxGts016_ContiguousArrayB0CyxGn_SitFZSo12ElementClassC_Tg5 : $ @ convention ( method ) ( @ owned _ContiguousArrayStorage < ElementClass > , Int , @ thin Array < ElementClass > . Type ) - > ( @ owned Array < ElementClass > , UnsafeMutablePointer < ElementClass > ) / / user : % 33 <nl> + % 33 = apply % 32 ( % 31 , % 30 , % 10 ) : $ @ convention ( method ) ( @ owned _ContiguousArrayStorage < ElementClass > , Int , @ thin Array < ElementClass > . Type ) - > ( @ owned Array < ElementClass > , UnsafeMutablePointer < ElementClass > ) / / users : % 35 , % 34 <nl> + % 34 = tuple_extract % 33 : $ ( Array < ElementClass > , UnsafeMutablePointer < ElementClass > ) , 0 / / user : % 41 <nl> + % 35 = tuple_extract % 33 : $ ( Array < ElementClass > , UnsafeMutablePointer < ElementClass > ) , 1 <nl> + % 36 = struct_element_addr % 9 : $ * Array < ElementClass > , # Array . _buffer / / user : % 37 <nl> + % 37 = struct_element_addr % 36 : $ * _ArrayBuffer < ElementClass > , # _ArrayBuffer . _storage / / user : % 38 <nl> + % 38 = struct_element_addr % 37 : $ * _BridgeStorage < __ContiguousArrayStorageBase > , # _BridgeStorage . rawValue / / user : % 39 <nl> + % 39 = load % 38 : $ * Builtin . BridgeObject / / user : % 40 <nl> + strong_release % 39 : $ Builtin . BridgeObject / / id : % 40 <nl> + store % 34 to % 9 : $ * Array < ElementClass > / / id : % 41 <nl> + br bb4 / / id : % 42 <nl> + <nl> + bb4 : / / Preds : bb3 bb2 <nl> + / / function_ref testArrayUsePointsClosure2 <nl> + % 43 = function_ref @ testArrayUsePointsClosure2 : $ @ convention ( thin ) ( @ guaranteed @ callee_guaranteed ( @ guaranteed Optional < StagedContext > , @ guaranteed Optional < Error > ) - > ( ) , @ guaranteed Optional < VFSStagedContext > , @ guaranteed { var Array < ElementClass > } ) - > ( ) / / user : % 45 <nl> + % 44 = load % 2 : $ * Optional < VFSStagedContext > / / users : % 55 , % 53 , % 49 , % 45 <nl> + % 45 = partial_apply [ callee_guaranteed ] % 43 ( % 0 , % 44 , % 8 ) : $ @ convention ( thin ) ( @ guaranteed @ callee_guaranteed ( @ guaranteed Optional < StagedContext > , @ guaranteed Optional < Error > ) - > ( ) , @ guaranteed Optional < VFSStagedContext > , @ guaranteed { var Array < ElementClass > } ) - > ( ) / / user : % 57 <nl> + / / function_ref specialized Array . _getCount ( ) <nl> + % 46 = function_ref @ $ sSa9_getCountSiyFSo12ElementClassC_Tg5 : $ @ convention ( method ) ( @ guaranteed Array < ElementClass > ) - > Int <nl> + strong_retain % 0 : $ @ callee_guaranteed ( @ guaranteed Optional < StagedContext > , @ guaranteed Optional < Error > ) - > ( ) / / id : % 47 <nl> + strong_retain % 8 : $ { var Array < ElementClass > } / / id : % 48 <nl> + retain_value % 44 : $ Optional < VFSStagedContext > / / id : % 49 <nl> + br bb5 / / id : % 50 <nl> + <nl> + bb5 : / / Preds : bb4 <nl> + strong_retain % 0 : $ @ callee_guaranteed ( @ guaranteed Optional < StagedContext > , @ guaranteed Optional < Error > ) - > ( ) / / id : % 51 <nl> + strong_retain % 8 : $ { var Array < ElementClass > } / / id : % 52 <nl> + retain_value % 44 : $ Optional < VFSStagedContext > / / id : % 53 <nl> + strong_release % 0 : $ @ callee_guaranteed ( @ guaranteed Optional < StagedContext > , @ guaranteed Optional < Error > ) - > ( ) / / id : % 54 <nl> + release_value % 44 : $ Optional < VFSStagedContext > / / id : % 55 <nl> + strong_release % 8 : $ { var Array < ElementClass > } / / id : % 56 <nl> + strong_release % 45 : $ @ callee_guaranteed ( ) - > ( ) / / id : % 57 <nl> + strong_release % 8 : $ { var Array < ElementClass > } / / id : % 58 <nl> + strong_release % 1 : $ { var Optional < VFSStagedContext > } / / id : % 59 <nl> + br bb6 / / id : % 60 <nl> + <nl> + bb6 : / / Preds : bb5 <nl> + % 61 = tuple ( ) / / user : % 62 <nl> + return % 61 : $ ( ) / / id : % 62 <nl> + } <nl> new file mode 100644 <nl> index 000000000000 . . 1c41d78eef92 <nl> mmm / dev / null <nl> ppp b / test / TBD / Inputs / install - name - map - toasterkit . json <nl> <nl> + [ <nl> + { <nl> + " module " : " ToasterKit " , <nl> + " install_name " : " / System / Previous / macOS / ToasterKit . dylib " , <nl> + " platforms " : [ " macOS " ] <nl> + } , <nl> + { <nl> + " module " : " ToasterKit " , <nl> + " install_name " : " / System / Previous / iOS / ToasterKit . dylib " , <nl> + " platforms " : [ " iOS " ] <nl> + } <nl> + ] <nl> \ No newline at end of file <nl> new file mode 100644 <nl> index 000000000000 . . 9bb4ffe2e71f <nl> mmm / dev / null <nl> ppp b / test / TBD / Inputs / linker - directive . swift <nl> <nl> + @ available ( OSX 10 . 8 , iOS 10 . 2 , * ) <nl> + @ _originallyDefinedIn ( module : " ToasterKit " , macOS 10 . 15 , iOS 13 ) <nl> + public func toast ( ) { } <nl> + <nl> + @ available ( OSX 10 . 8 , iOS 10 . 2 , * ) <nl> + @ _originallyDefinedIn ( module : " ToasterKit " , macOS 10 . 15 , iOS 13 ) <nl> + public struct Vehicle { <nl> + public func move ( ) { } <nl> + } <nl> \ No newline at end of file <nl> new file mode 100644 <nl> index 000000000000 . . 4e2d9987c54e <nl> mmm / dev / null <nl> ppp b / test / TBD / linker - directives - ld - previous - ios . swift <nl> <nl> + / / REQUIRES : OS = ios <nl> + <nl> + / / RUN : % empty - directory ( % t ) <nl> + <nl> + / / RUN : % target - swift - frontend - typecheck % S / Inputs / linker - directive . swift - tbd - is - installapi - emit - tbd - emit - tbd - path % t / linker_directives . tbd - previous - module - installname - map - file % S / Inputs / install - name - map - toasterkit . json <nl> + / / RUN : % FileCheck % s < % t / linker_directives . tbd <nl> + / / RUN : % target - swift - frontend - typecheck % S / Inputs / linker - directive . swift - emit - tbd - emit - tbd - path % t / linker_directives . tbd - previous - module - installname - map - file % S / Inputs / install - name - map - toasterkit . json <nl> + / / RUN : % FileCheck % s < % t / linker_directives . tbd <nl> + <nl> + / / CHECK : $ ld $ previous $ / System / Previous / iOS / ToasterKit . dylib $ $ 2 $ 10 . 2 $ 13 . 0 $ _ $ s10ToasterKit5toastyyF $ <nl> + / / CHECK : $ ld $ previous $ / System / Previous / iOS / ToasterKit . dylib $ $ 2 $ 10 . 2 $ 13 . 0 $ _ $ s10ToasterKit7VehicleV4moveyyF $ <nl> + / / CHECK : $ ld $ previous $ / System / Previous / iOS / ToasterKit . dylib $ $ 2 $ 10 . 2 $ 13 . 0 $ _ $ s10ToasterKit7VehicleVMa $ <nl> + / / CHECK : $ ld $ previous $ / System / Previous / iOS / ToasterKit . dylib $ $ 2 $ 10 . 2 $ 13 . 0 $ _ $ s10ToasterKit7VehicleVMn $ <nl> + / / CHECK : $ ld $ previous $ / System / Previous / iOS / ToasterKit . dylib $ $ 2 $ 10 . 2 $ 13 . 0 $ _ $ s10ToasterKit7VehicleVN $ <nl> new file mode 100644 <nl> index 000000000000 . . 86ab5883ddb7 <nl> mmm / dev / null <nl> ppp b / test / TBD / linker - directives - ld - previous - macos . swift <nl> <nl> + / / REQUIRES : OS = macosx <nl> + <nl> + / / RUN : % empty - directory ( % t ) <nl> + <nl> + / / RUN : % target - swift - frontend - typecheck % S / Inputs / linker - directive . swift - tbd - is - installapi - emit - tbd - emit - tbd - path % t / linker_directives . tbd - previous - module - installname - map - file % S / Inputs / install - name - map - toasterkit . json <nl> + / / RUN : % FileCheck % s < % t / linker_directives . tbd <nl> + / / RUN : % target - swift - frontend - typecheck % S / Inputs / linker - directive . swift - emit - tbd - emit - tbd - path % t / linker_directives . tbd - previous - module - installname - map - file % S / Inputs / install - name - map - toasterkit . json <nl> + / / RUN : % FileCheck % s < % t / linker_directives . tbd <nl> + <nl> + / / CHECK : $ ld $ previous $ / System / Previous / macOS / ToasterKit . dylib $ $ 1 $ 10 . 8 $ 10 . 15 $ _ $ s10ToasterKit5toastyyF $ <nl> + / / CHECK : $ ld $ previous $ / System / Previous / macOS / ToasterKit . dylib $ $ 1 $ 10 . 8 $ 10 . 15 $ _ $ s10ToasterKit7VehicleV4moveyyF $ <nl> + / / CHECK : $ ld $ previous $ / System / Previous / macOS / ToasterKit . dylib $ $ 1 $ 10 . 8 $ 10 . 15 $ _ $ s10ToasterKit7VehicleVMa $ <nl> + / / CHECK : $ ld $ previous $ / System / Previous / macOS / ToasterKit . dylib $ $ 1 $ 10 . 8 $ 10 . 15 $ _ $ s10ToasterKit7VehicleVMn $ <nl> + / / CHECK : $ ld $ previous $ / System / Previous / macOS / ToasterKit . dylib $ $ 1 $ 10 . 8 $ 10 . 15 $ _ $ s10ToasterKit7VehicleVN $ <nl> \ No newline at end of file <nl> mmm a / utils / build_swift / build_swift / driver_arguments . py <nl> ppp b / utils / build_swift / build_swift / driver_arguments . py <nl> def create_argument_parser ( ) : <nl> option ( ' - - stdlib - deployment - targets ' , store , <nl> type = argparse . ShellSplitType ( ) , <nl> default = None , <nl> - help = ' list of targets to compile or cross - compile the Swift ' <nl> - ' standard library for . % ( default ) s by default . ' ) <nl> + help = ' The targets to compile or cross - compile the Swift standard ' <nl> + ' library for . % ( default ) s by default . ' <nl> + ' Comma separated list : { } ' . format ( <nl> + ' ' . join ( StdlibDeploymentTarget . get_target_names ( ) ) ) ) <nl> <nl> option ( ' - - build - stdlib - deployment - targets ' , store , <nl> type = argparse . ShellSplitType ( ) , <nl> mmm a / utils / swift_build_support / swift_build_support / targets . py <nl> ppp b / utils / swift_build_support / swift_build_support / targets . py <nl> def get_target_for_name ( cls , name ) : <nl> def get_targets_by_name ( cls , names ) : <nl> return [ cls . get_target_for_name ( name ) for name in names ] <nl> <nl> + @ classmethod <nl> + def get_target_names ( cls ) : <nl> + return sorted ( [ name for ( name , target ) in <nl> + cls . _targets_by_name . items ( ) ] ) <nl> + <nl> <nl> def install_prefix ( ) : <nl> " " " <nl> | Merge remote - tracking branch ' origin / master ' into master - next | apple/swift | e2efedab312876f1b388aa451641fe9ff85ec57c | 2020-01-18T03:57:36Z |
mmm a / docs / 02_cleos / 02_how - to - guides / how - to - submit - a - transaction . md <nl> ppp b / docs / 02_cleos / 02_how - to - guides / how - to - submit - a - transaction . md <nl> Push a transaction <nl> <nl> * Execute the following command : <nl> <nl> - ` ` ` shell <nl> + ` ` ` sh <nl> cleos push transaction TRX_FILE . json <nl> ` ` ` <nl> <nl> - * Submit a transction from a JSON : <nl> + * Submit a transaction from a JSON : <nl> <nl> ` ` ` shell <nl> cleos push transaction JSON <nl> | fix typo in how to submit a transaction how - to | EOSIO/eos | 9f7e0817cfd3be66e0076b107f1f663c1fd64a5b | 2020-02-05T19:57:50Z |
mmm a / examples / README . md <nl> ppp b / examples / README . md <nl> <nl> <nl> # # Add an example <nl> <nl> - * Add a file ` newExample . we ` copied from [ template ] ( . / template . we ) with [ UI Gallery ] ( # ui - gallery ) ( recommend ) . <nl> + * Add a file ` newExample . we ` copied from [ template ] ( . / template . we ) with [ UI Gallery ] ( # ui - gallery ) ( recommended ) . <nl> * In [ index . we ] ( . / index . we ) , add an item ` { name : ' newExample ' , title : ' New Example ' } ` for array ` data . cases ` <nl> <nl> # # Rule <nl> | Merge pull request from excitedhoney / dev | apache/incubator-weex | 9e51629df9b2f96ec16243a3c8d375255dde9344 | 2016-07-05T07:57:08Z |
mmm a / db / db_basic_test . cc <nl> ppp b / db / db_basic_test . cc <nl> class MultiGetPrefixExtractorTest : public DBBasicTest , <nl> TEST_P ( MultiGetPrefixExtractorTest , Batched ) { <nl> Options options = CurrentOptions ( ) ; <nl> options . prefix_extractor . reset ( NewFixedPrefixTransform ( 2 ) ) ; <nl> + options . memtable_prefix_bloom_size_ratio = 10 ; <nl> BlockBasedTableOptions bbto ; <nl> if ( GetParam ( ) ) { <nl> bbto . index_type = BlockBasedTableOptions : : IndexType : : kTwoLevelIndexSearch ; <nl> TEST_P ( MultiGetPrefixExtractorTest , Batched ) { <nl> options . table_factory . reset ( NewBlockBasedTableFactory ( bbto ) ) ; <nl> Reopen ( options ) ; <nl> <nl> + SetPerfLevel ( kEnableCount ) ; <nl> + get_perf_context ( ) - > Reset ( ) ; <nl> + <nl> / / First key is not in the prefix_extractor domain <nl> ASSERT_OK ( Put ( " k " , " v0 " ) ) ; <nl> ASSERT_OK ( Put ( " kk1 " , " v1 " ) ) ; <nl> ASSERT_OK ( Put ( " kk2 " , " v2 " ) ) ; <nl> ASSERT_OK ( Put ( " kk3 " , " v3 " ) ) ; <nl> ASSERT_OK ( Put ( " kk4 " , " v4 " ) ) ; <nl> + std : : vector < std : : string > mem_keys ( <nl> + { " k " , " kk1 " , " kk2 " , " kk3 " , " kk4 " , " rofl " , " lmho " } ) ; <nl> + std : : vector < std : : string > inmem_values ; <nl> + inmem_values = MultiGet ( mem_keys , nullptr ) ; <nl> + ASSERT_EQ ( inmem_values [ 0 ] , " v0 " ) ; <nl> + ASSERT_EQ ( inmem_values [ 1 ] , " v1 " ) ; <nl> + ASSERT_EQ ( inmem_values [ 2 ] , " v2 " ) ; <nl> + ASSERT_EQ ( inmem_values [ 3 ] , " v3 " ) ; <nl> + ASSERT_EQ ( inmem_values [ 4 ] , " v4 " ) ; <nl> + ASSERT_EQ ( get_perf_context ( ) - > bloom_memtable_miss_count , 2 ) ; <nl> + ASSERT_EQ ( get_perf_context ( ) - > bloom_memtable_hit_count , 5 ) ; <nl> ASSERT_OK ( Flush ( ) ) ; <nl> <nl> std : : vector < std : : string > keys ( { " k " , " kk1 " , " kk2 " , " kk3 " , " kk4 " } ) ; <nl> std : : vector < std : : string > values ; <nl> - SetPerfLevel ( kEnableCount ) ; <nl> get_perf_context ( ) - > Reset ( ) ; <nl> values = MultiGet ( keys , nullptr ) ; <nl> ASSERT_EQ ( values [ 0 ] , " v0 " ) ; <nl> mmm a / db / db_impl / db_impl . cc <nl> ppp b / db / db_impl / db_impl . cc <nl> void DBImpl : : MultiGetImpl ( <nl> keys_left - = batch_size ; <nl> for ( auto mget_iter = range . begin ( ) ; mget_iter ! = range . end ( ) ; <nl> + + mget_iter ) { <nl> - MergeContext & merge_context = mget_iter - > merge_context ; <nl> - merge_context . Clear ( ) ; <nl> - Status & s = * mget_iter - > s ; <nl> - PinnableSlice * value = mget_iter - > value ; <nl> - s = Status : : OK ( ) ; <nl> + mget_iter - > merge_context . Clear ( ) ; <nl> + * mget_iter - > s = Status : : OK ( ) ; <nl> + } <nl> <nl> - bool skip_memtable = <nl> - ( read_options . read_tier = = kPersistedTier & & <nl> - has_unpersisted_data_ . load ( std : : memory_order_relaxed ) ) ; <nl> - bool done = false ; <nl> - if ( ! skip_memtable ) { <nl> - if ( super_version - > mem - > Get ( * ( mget_iter - > lkey ) , value - > GetSelf ( ) , & s , <nl> - & merge_context , <nl> - & mget_iter - > max_covering_tombstone_seq , <nl> - read_options , callback , is_blob_index ) ) { <nl> - done = true ; <nl> - value - > PinSelf ( ) ; <nl> - RecordTick ( stats_ , MEMTABLE_HIT ) ; <nl> - } else if ( super_version - > imm - > Get ( <nl> - * ( mget_iter - > lkey ) , value - > GetSelf ( ) , & s , & merge_context , <nl> - & mget_iter - > max_covering_tombstone_seq , read_options , <nl> - callback , is_blob_index ) ) { <nl> - done = true ; <nl> - value - > PinSelf ( ) ; <nl> - RecordTick ( stats_ , MEMTABLE_HIT ) ; <nl> - } <nl> + bool skip_memtable = <nl> + ( read_options . read_tier = = kPersistedTier & & <nl> + has_unpersisted_data_ . load ( std : : memory_order_relaxed ) ) ; <nl> + if ( ! skip_memtable ) { <nl> + super_version - > mem - > MultiGet ( read_options , & range , callback , <nl> + is_blob_index ) ; <nl> + if ( ! range . empty ( ) ) { <nl> + super_version - > imm - > MultiGet ( read_options , & range , callback , <nl> + is_blob_index ) ; <nl> } <nl> - if ( done ) { <nl> - range . MarkKeyDone ( mget_iter ) ; <nl> - } else { <nl> - RecordTick ( stats_ , MEMTABLE_MISS ) ; <nl> + if ( ! range . empty ( ) ) { <nl> lookup_current = true ; <nl> + uint64_t left = range . KeysLeft ( ) ; <nl> + RecordTick ( stats_ , MEMTABLE_MISS , left ) ; <nl> } <nl> } <nl> - <nl> if ( lookup_current ) { <nl> PERF_TIMER_GUARD ( get_from_output_files_time ) ; <nl> super_version - > current - > MultiGet ( read_options , & range , callback , <nl> mmm a / db / memtable . cc <nl> ppp b / db / memtable . cc <nl> <nl> # include " db / memtable . h " <nl> <nl> # include < algorithm > <nl> + # include < array > <nl> # include < limits > <nl> # include < memory > <nl> - <nl> # include " db / dbformat . h " <nl> # include " db / merge_context . h " <nl> # include " db / merge_helper . h " <nl> bool MemTable : : Get ( const LookupKey & key , std : : string * value , Status * s , <nl> bloom_filter_ - > MayContain ( prefix_extractor_ - > Transform ( user_key ) ) ; <nl> } <nl> } <nl> + <nl> if ( bloom_filter_ & & ! may_contain ) { <nl> / / iter is null if prefix bloom says the key does not exist <nl> PERF_COUNTER_ADD ( bloom_memtable_miss_count , 1 ) ; <nl> bool MemTable : : Get ( const LookupKey & key , std : : string * value , Status * s , <nl> if ( bloom_filter_ ) { <nl> PERF_COUNTER_ADD ( bloom_memtable_hit_count , 1 ) ; <nl> } <nl> - Saver saver ; <nl> - saver . status = s ; <nl> - saver . found_final_value = & found_final_value ; <nl> - saver . merge_in_progress = & merge_in_progress ; <nl> - saver . key = & key ; <nl> - saver . value = value ; <nl> - saver . seq = kMaxSequenceNumber ; <nl> - saver . mem = this ; <nl> - saver . merge_context = merge_context ; <nl> - saver . max_covering_tombstone_seq = * max_covering_tombstone_seq ; <nl> - saver . merge_operator = moptions_ . merge_operator ; <nl> - saver . logger = moptions_ . info_log ; <nl> - saver . inplace_update_support = moptions_ . inplace_update_support ; <nl> - saver . statistics = moptions_ . statistics ; <nl> - saver . env_ = env_ ; <nl> - saver . callback_ = callback ; <nl> - saver . is_blob_index = is_blob_index ; <nl> - saver . do_merge = do_merge ; <nl> - table_ - > Get ( key , & saver , SaveValue ) ; <nl> - * seq = saver . seq ; <nl> + GetFromTable ( key , * max_covering_tombstone_seq , do_merge , callback , <nl> + is_blob_index , value , s , merge_context , seq , <nl> + & found_final_value , & merge_in_progress ) ; <nl> } <nl> <nl> / / No change to value , since we have not yet found a Put / Delete <nl> bool MemTable : : Get ( const LookupKey & key , std : : string * value , Status * s , <nl> return found_final_value ; <nl> } <nl> <nl> + void MemTable : : GetFromTable ( const LookupKey & key , <nl> + SequenceNumber max_covering_tombstone_seq , <nl> + bool do_merge , ReadCallback * callback , <nl> + bool * is_blob_index , std : : string * value , Status * s , <nl> + MergeContext * merge_context , SequenceNumber * seq , <nl> + bool * found_final_value , bool * merge_in_progress ) { <nl> + Saver saver ; <nl> + saver . status = s ; <nl> + saver . found_final_value = found_final_value ; <nl> + saver . merge_in_progress = merge_in_progress ; <nl> + saver . key = & key ; <nl> + saver . value = value ; <nl> + saver . seq = kMaxSequenceNumber ; <nl> + saver . mem = this ; <nl> + saver . merge_context = merge_context ; <nl> + saver . max_covering_tombstone_seq = max_covering_tombstone_seq ; <nl> + saver . merge_operator = moptions_ . merge_operator ; <nl> + saver . logger = moptions_ . info_log ; <nl> + saver . inplace_update_support = moptions_ . inplace_update_support ; <nl> + saver . statistics = moptions_ . statistics ; <nl> + saver . env_ = env_ ; <nl> + saver . callback_ = callback ; <nl> + saver . is_blob_index = is_blob_index ; <nl> + saver . do_merge = do_merge ; <nl> + table_ - > Get ( key , & saver , SaveValue ) ; <nl> + * seq = saver . seq ; <nl> + } <nl> + <nl> + void MemTable : : MultiGet ( const ReadOptions & read_options , MultiGetRange * range , <nl> + ReadCallback * callback , bool * is_blob ) { <nl> + / / The sequence number is updated synchronously in version_set . h <nl> + if ( IsEmpty ( ) ) { <nl> + / / Avoiding recording stats for speed . <nl> + return ; <nl> + } <nl> + PERF_TIMER_GUARD ( get_from_memtable_time ) ; <nl> + <nl> + MultiGetRange temp_range ( * range , range - > begin ( ) , range - > end ( ) ) ; <nl> + if ( bloom_filter_ ) { <nl> + std : : array < Slice * , MultiGetContext : : MAX_BATCH_SIZE > keys ; <nl> + std : : array < bool , MultiGetContext : : MAX_BATCH_SIZE > may_match = { { true } } ; <nl> + autovector < Slice , MultiGetContext : : MAX_BATCH_SIZE > prefixes ; <nl> + int num_keys = 0 ; <nl> + for ( auto iter = temp_range . begin ( ) ; iter ! = temp_range . end ( ) ; + + iter ) { <nl> + if ( ! prefix_extractor_ ) { <nl> + keys [ num_keys + + ] = & iter - > ukey ; <nl> + } else if ( prefix_extractor_ - > InDomain ( iter - > ukey ) ) { <nl> + prefixes . emplace_back ( prefix_extractor_ - > Transform ( iter - > ukey ) ) ; <nl> + keys [ num_keys + + ] = & prefixes . back ( ) ; <nl> + } <nl> + } <nl> + bloom_filter_ - > MayContain ( num_keys , & keys [ 0 ] , & may_match [ 0 ] ) ; <nl> + int idx = 0 ; <nl> + for ( auto iter = temp_range . begin ( ) ; iter ! = temp_range . end ( ) ; + + iter ) { <nl> + if ( prefix_extractor_ & & ! prefix_extractor_ - > InDomain ( iter - > ukey ) ) { <nl> + PERF_COUNTER_ADD ( bloom_memtable_hit_count , 1 ) ; <nl> + continue ; <nl> + } <nl> + if ( ! may_match [ idx ] ) { <nl> + temp_range . SkipKey ( iter ) ; <nl> + PERF_COUNTER_ADD ( bloom_memtable_miss_count , 1 ) ; <nl> + } else { <nl> + PERF_COUNTER_ADD ( bloom_memtable_hit_count , 1 ) ; <nl> + } <nl> + idx + + ; <nl> + } <nl> + } <nl> + for ( auto iter = temp_range . begin ( ) ; iter ! = temp_range . end ( ) ; + + iter ) { <nl> + SequenceNumber seq = kMaxSequenceNumber ; <nl> + bool found_final_value { false } ; <nl> + bool merge_in_progress = iter - > s - > IsMergeInProgress ( ) ; <nl> + std : : unique_ptr < FragmentedRangeTombstoneIterator > range_del_iter ( <nl> + NewRangeTombstoneIterator ( <nl> + read_options , GetInternalKeySeqno ( iter - > lkey - > internal_key ( ) ) ) ) ; <nl> + if ( range_del_iter ! = nullptr ) { <nl> + iter - > max_covering_tombstone_seq = std : : max ( <nl> + iter - > max_covering_tombstone_seq , <nl> + range_del_iter - > MaxCoveringTombstoneSeqnum ( iter - > lkey - > user_key ( ) ) ) ; <nl> + } <nl> + GetFromTable ( * ( iter - > lkey ) , iter - > max_covering_tombstone_seq , true , <nl> + callback , is_blob , iter - > value - > GetSelf ( ) , iter - > s , <nl> + & ( iter - > merge_context ) , & seq , & found_final_value , <nl> + & merge_in_progress ) ; <nl> + <nl> + if ( ! found_final_value & & merge_in_progress ) { <nl> + * ( iter - > s ) = Status : : MergeInProgress ( ) ; <nl> + } <nl> + <nl> + if ( found_final_value ) { <nl> + iter - > value - > PinSelf ( ) ; <nl> + range - > MarkKeyDone ( iter ) ; <nl> + RecordTick ( moptions_ . statistics , MEMTABLE_HIT ) ; <nl> + } <nl> + } <nl> + PERF_COUNTER_ADD ( get_from_memtable_count , 1 ) ; <nl> + } <nl> + <nl> void MemTable : : Update ( SequenceNumber seq , <nl> const Slice & key , <nl> const Slice & value ) { <nl> mmm a / db / memtable . h <nl> ppp b / db / memtable . h <nl> <nl> # include " rocksdb / db . h " <nl> # include " rocksdb / env . h " <nl> # include " rocksdb / memtablerep . h " <nl> + # include " table / multiget_context . h " <nl> # include " util / dynamic_bloom . h " <nl> # include " util / hash . h " <nl> <nl> struct MemTablePostProcessInfo { <nl> uint64_t num_deletes = 0 ; <nl> } ; <nl> <nl> + using MultiGetRange = MultiGetContext : : Range ; <nl> / / Note : Many of the methods in this class have comments indicating that <nl> / / external synchronization is required as these methods are not thread - safe . <nl> / / It is up to higher layers of code to decide how to prevent concurrent <nl> class MemTable { <nl> read_opts , callback , is_blob_index , do_merge ) ; <nl> } <nl> <nl> + void MultiGet ( const ReadOptions & read_options , MultiGetRange * range , <nl> + ReadCallback * callback , bool * is_blob ) ; <nl> + <nl> / / Attempts to update the new_value inplace , else does normal Add <nl> / / Pseudocode <nl> / / if key exists in current memtable & & prev_value is of type kTypeValue <nl> class MemTable { <nl> void UpdateFlushState ( ) ; <nl> <nl> void UpdateOldestKeyTime ( ) ; <nl> + <nl> + void GetFromTable ( const LookupKey & key , <nl> + SequenceNumber max_covering_tombstone_seq , bool do_merge , <nl> + ReadCallback * callback , bool * is_blob_index , <nl> + std : : string * value , Status * s , MergeContext * merge_context , <nl> + SequenceNumber * seq , bool * found_final_value , <nl> + bool * merge_in_progress ) ; <nl> } ; <nl> <nl> extern const char * EncodeKey ( std : : string * scratch , const Slice & target ) ; <nl> mmm a / db / memtable_list . cc <nl> ppp b / db / memtable_list . cc <nl> bool MemTableListVersion : : Get ( const LookupKey & key , std : : string * value , <nl> is_blob_index ) ; <nl> } <nl> <nl> + void MemTableListVersion : : MultiGet ( const ReadOptions & read_options , <nl> + MultiGetRange * range , ReadCallback * callback , <nl> + bool * is_blob ) { <nl> + for ( auto memtable : memlist_ ) { <nl> + memtable - > MultiGet ( read_options , range , callback , is_blob ) ; <nl> + if ( range - > empty ( ) ) { <nl> + return ; <nl> + } <nl> + } <nl> + } <nl> + <nl> bool MemTableListVersion : : GetMergeOperands ( <nl> const LookupKey & key , Status * s , MergeContext * merge_context , <nl> SequenceNumber * max_covering_tombstone_seq , const ReadOptions & read_opts ) { <nl> mmm a / db / memtable_list . h <nl> ppp b / db / memtable_list . h <nl> class MemTableListVersion { <nl> read_opts , callback , is_blob_index ) ; <nl> } <nl> <nl> + void MultiGet ( const ReadOptions & read_options , MultiGetRange * range , <nl> + ReadCallback * callback , bool * is_blob ) ; <nl> + <nl> / / Returns all the merge operands corresponding to the key by searching all <nl> / / memtables starting from the most recent one . <nl> bool GetMergeOperands ( const LookupKey & key , Status * s , <nl> mmm a / table / multiget_context . h <nl> ppp b / table / multiget_context . h <nl> class MultiGetContext { <nl> return ctx_ - > value_mask_ & ( 1ull < < iter . index_ ) ; <nl> } <nl> <nl> + uint64_t KeysLeft ( ) { <nl> + uint64_t new_val = skip_mask_ | ctx_ - > value_mask_ ; <nl> + uint64_t count = 0 ; <nl> + while ( new_val ) { <nl> + new_val = new_val & ( new_val - 1 ) ; <nl> + count + + ; <nl> + } <nl> + return end_ - count ; <nl> + } <nl> + <nl> private : <nl> friend MultiGetContext ; <nl> MultiGetContext * ctx_ ; <nl> mmm a / util / dynamic_bloom . h <nl> ppp b / util / dynamic_bloom . h <nl> <nl> <nl> # pragma once <nl> <nl> + # include < array > <nl> # include < string > <nl> - <nl> - # include " rocksdb / slice . h " <nl> - <nl> # include " port / port . h " <nl> + # include " rocksdb / slice . h " <nl> + # include " table / multiget_context . h " <nl> # include " util / hash . h " <nl> <nl> # include < atomic > <nl> class DynamicBloom { <nl> / / Multithreaded access to this function is OK <nl> bool MayContain ( const Slice & key ) const ; <nl> <nl> + void MayContain ( int num_keys , Slice * * keys , bool * may_match ) const ; <nl> + <nl> / / Multithreaded access to this function is OK <nl> bool MayContainHash ( uint32_t hash ) const ; <nl> <nl> class DynamicBloom { <nl> / / concurrency safety , working with bytes . <nl> template < typename OrFunc > <nl> void AddHash ( uint32_t hash , const OrFunc & or_func ) ; <nl> + <nl> + bool DoubleProbe ( uint32_t h32 , size_t a ) const ; <nl> } ; <nl> <nl> inline void DynamicBloom : : Add ( const Slice & key ) { AddHash ( BloomHash ( key ) ) ; } <nl> inline bool DynamicBloom : : MayContain ( const Slice & key ) const { <nl> return ( MayContainHash ( BloomHash ( key ) ) ) ; <nl> } <nl> <nl> + inline void DynamicBloom : : MayContain ( int num_keys , Slice * * keys , <nl> + bool * may_match ) const { <nl> + std : : array < uint32_t , MultiGetContext : : MAX_BATCH_SIZE > hashes ; <nl> + std : : array < size_t , MultiGetContext : : MAX_BATCH_SIZE > byte_offsets ; <nl> + for ( int i = 0 ; i < num_keys ; + + i ) { <nl> + hashes [ i ] = BloomHash ( * keys [ i ] ) ; <nl> + size_t a = fastrange32 ( kLen , hashes [ i ] ) ; <nl> + PREFETCH ( data_ + a , 0 , 3 ) ; <nl> + byte_offsets [ i ] = a ; <nl> + } <nl> + <nl> + for ( int i = 0 ; i < num_keys ; i + + ) { <nl> + may_match [ i ] = DoubleProbe ( hashes [ i ] , byte_offsets [ i ] ) ; <nl> + } <nl> + } <nl> + <nl> # if defined ( _MSC_VER ) <nl> # pragma warning ( push ) <nl> / / local variable is initialized but not referenced <nl> inline void DynamicBloom : : Prefetch ( uint32_t h32 ) { <nl> inline bool DynamicBloom : : MayContainHash ( uint32_t h32 ) const { <nl> size_t a = fastrange32 ( kLen , h32 ) ; <nl> PREFETCH ( data_ + a , 0 , 3 ) ; <nl> + return DoubleProbe ( h32 , a ) ; <nl> + } <nl> + <nl> + inline bool DynamicBloom : : DoubleProbe ( uint32_t h32 , size_t byte_offset ) const { <nl> / / Expand / remix with 64 - bit golden ratio <nl> uint64_t h = 0x9e3779b97f4a7c13ULL * h32 ; <nl> for ( unsigned i = 0 ; ; + + i ) { <nl> / / Two bit probes per uint64_t probe <nl> uint64_t mask = <nl> ( ( uint64_t ) 1 < < ( h & 63 ) ) | ( ( uint64_t ) 1 < < ( ( h > > 6 ) & 63 ) ) ; <nl> - uint64_t val = data_ [ a ^ i ] . load ( std : : memory_order_relaxed ) ; <nl> + uint64_t val = data_ [ byte_offset ^ i ] . load ( std : : memory_order_relaxed ) ; <nl> if ( i + 1 > = kNumDoubleProbes ) { <nl> return ( val & mask ) = = mask ; <nl> } else if ( ( val & mask ) ! = mask ) { <nl> | MultiGet batching in memtable ( ) | facebook/rocksdb | 4c49e38f15ad2d575d5768742e961e6eb85a44c0 | 2019-10-10T16:39:39Z |
mmm a / doc / classes / ItemList . xml <nl> ppp b / doc / classes / ItemList . xml <nl> <nl> < description > <nl> < / description > <nl> < / method > <nl> + < method name = " get_item_icon_modulate " qualifiers = " const " > <nl> + < return type = " Color " > <nl> + < / return > <nl> + < argument index = " 0 " name = " idx " type = " int " > <nl> + < / argument > <nl> + < description > <nl> + Returns a [ Color ] modulating item ' s icon at the specified index . <nl> + < / description > <nl> + < / method > <nl> < method name = " get_item_icon_region " qualifiers = " const " > <nl> < return type = " Rect2 " > <nl> < / return > <nl> <nl> Set ( or replace ) icon of the item at the specified index . <nl> < / description > <nl> < / method > <nl> + < method name = " set_item_icon_modulate " > <nl> + < return type = " void " > <nl> + < / return > <nl> + < argument index = " 0 " name = " idx " type = " int " > <nl> + < / argument > <nl> + < argument index = " 1 " name = " modulate " type = " Color " > <nl> + < / argument > <nl> + < description > <nl> + Sets a modulating [ Color ] for item ' s icon at the specified index . <nl> + < / description > <nl> + < / method > <nl> < method name = " set_item_icon_region " > <nl> < return type = " void " > <nl> < / return > <nl> mmm a / editor / editor_node . cpp <nl> ppp b / editor / editor_node . cpp <nl> void EditorNode : : _dialog_action ( String p_file ) { <nl> } break ; <nl> case FILE_EXPORT_TILESET : { <nl> <nl> - Ref < TileSet > ml ; <nl> - if ( FileAccess : : exists ( p_file ) ) { <nl> - ml = ResourceLoader : : load ( p_file , " TileSet " ) ; <nl> + Ref < TileSet > tileset ; <nl> + if ( FileAccess : : exists ( p_file ) & & file_export_lib_merge - > is_pressed ( ) ) { <nl> + tileset = ResourceLoader : : load ( p_file , " TileSet " ) ; <nl> <nl> - if ( ml . is_null ( ) ) { <nl> - if ( file_export_lib_merge - > is_pressed ( ) ) { <nl> - current_option = - 1 ; <nl> - accept - > get_ok ( ) - > set_text ( TTR ( " I see . . " ) ) ; <nl> - accept - > set_text ( TTR ( " Can ' t load TileSet for merging ! " ) ) ; <nl> - accept - > popup_centered_minsize ( ) ; <nl> - return ; <nl> - } <nl> - } else if ( ! file_export_lib_merge - > is_pressed ( ) ) { <nl> - ml - > clear ( ) ; <nl> + if ( tileset . is_null ( ) ) { <nl> + current_option = - 1 ; <nl> + accept - > get_ok ( ) - > set_text ( TTR ( " I see . . " ) ) ; <nl> + accept - > set_text ( TTR ( " Can ' t load TileSet for merging ! " ) ) ; <nl> + accept - > popup_centered_minsize ( ) ; <nl> + return ; <nl> } <nl> <nl> } else { <nl> - ml = Ref < TileSet > ( memnew ( TileSet ) ) ; <nl> + tileset = Ref < TileSet > ( memnew ( TileSet ) ) ; <nl> } <nl> <nl> - TileSetEditor : : update_library_file ( editor_data . get_edited_scene_root ( ) , ml , true ) ; <nl> + TileSetEditor : : update_library_file ( editor_data . get_edited_scene_root ( ) , tileset , true ) ; <nl> <nl> - Error err = ResourceSaver : : save ( p_file , ml ) ; <nl> + Error err = ResourceSaver : : save ( p_file , tileset ) ; <nl> if ( err ) { <nl> <nl> current_option = - 1 ; <nl> mmm a / editor / plugins / tile_set_editor_plugin . cpp <nl> ppp b / editor / plugins / tile_set_editor_plugin . cpp <nl> void TileSetEditor : : _changed_callback ( Object * p_changed , const char * p_prop ) { <nl> preview - > set_region_rect ( tileset - > tile_get_region ( get_current_tile ( ) ) ) ; <nl> } else if ( p_prop = = StringName ( " name " ) ) { <nl> update_tile_list_icon ( ) ; <nl> - } else if ( p_prop = = StringName ( " texture " ) | | p_prop = = StringName ( " tile_mode " ) ) { <nl> + } else if ( p_prop = = StringName ( " texture " ) | | p_prop = = StringName ( " modulate " ) | | p_prop = = StringName ( " tile_mode " ) ) { <nl> _on_tile_list_selected ( get_current_tile ( ) ) ; <nl> workspace - > update ( ) ; <nl> preview - > set_texture ( tileset - > tile_get_texture ( get_current_tile ( ) ) ) ; <nl> + preview - > set_modulate ( tileset - > tile_get_modulate ( get_current_tile ( ) ) ) ; <nl> preview - > set_region_rect ( tileset - > tile_get_region ( get_current_tile ( ) ) ) ; <nl> if ( tileset - > tile_get_tile_mode ( get_current_tile ( ) ) = = TileSet : : AUTO_TILE ) <nl> property_editor - > show ( ) ; <nl> void TileSetEditor : : _on_tile_list_selected ( int p_index ) { <nl> if ( get_current_tile ( ) > = 0 ) { <nl> current_item_index = p_index ; <nl> preview - > set_texture ( tileset - > tile_get_texture ( get_current_tile ( ) ) ) ; <nl> + preview - > set_modulate ( tileset - > tile_get_modulate ( get_current_tile ( ) ) ) ; <nl> preview - > set_region_rect ( tileset - > tile_get_region ( get_current_tile ( ) ) ) ; <nl> workspace - > set_custom_minimum_size ( tileset - > tile_get_region ( get_current_tile ( ) ) . size ) ; <nl> update_workspace_tile_mode ( ) ; <nl> void TileSetEditor : : update_tile_list ( ) { <nl> region . position + = pos ; <nl> } <nl> tile_list - > set_item_icon_region ( tile_list - > get_item_count ( ) - 1 , region ) ; <nl> + tile_list - > set_item_icon_modulate ( tile_list - > get_item_count ( ) - 1 , tileset - > tile_get_modulate ( E - > get ( ) ) ) ; <nl> } <nl> if ( tile_list - > get_item_count ( ) > 0 & & selected_tile < tile_list - > get_item_count ( ) ) { <nl> tile_list - > select ( selected_tile ) ; <nl> void TileSetEditor : : update_tile_list_icon ( ) { <nl> tile_list - > set_item_metadata ( current_idx , E - > get ( ) ) ; <nl> tile_list - > set_item_icon ( current_idx , tileset - > tile_get_texture ( E - > get ( ) ) ) ; <nl> tile_list - > set_item_icon_region ( current_idx , region ) ; <nl> + tile_list - > set_item_icon_modulate ( current_idx , tileset - > tile_get_modulate ( E - > get ( ) ) ) ; <nl> tile_list - > set_item_text ( current_idx , tileset - > tile_get_name ( E - > get ( ) ) ) ; <nl> current_idx + = 1 ; <nl> } <nl> mmm a / scene / gui / item_list . cpp <nl> ppp b / scene / gui / item_list . cpp <nl> void ItemList : : add_item ( const String & p_item , const Ref < Texture > & p_texture , boo <nl> Item item ; <nl> item . icon = p_texture ; <nl> item . icon_region = Rect2i ( ) ; <nl> + item . icon_modulate = Color ( 1 , 1 , 1 , 1 ) ; <nl> item . text = p_item ; <nl> item . selectable = p_selectable ; <nl> item . selected = false ; <nl> void ItemList : : add_icon_item ( const Ref < Texture > & p_item , bool p_selectable ) { <nl> Item item ; <nl> item . icon = p_item ; <nl> item . icon_region = Rect2i ( ) ; <nl> + item . icon_modulate = Color ( 1 , 1 , 1 , 1 ) ; <nl> / / item . text = p_item ; <nl> item . selectable = p_selectable ; <nl> item . selected = false ; <nl> Rect2 ItemList : : get_item_icon_region ( int p_idx ) const { <nl> return items [ p_idx ] . icon_region ; <nl> } <nl> <nl> + void ItemList : : set_item_icon_modulate ( int p_idx , const Color & p_modulate ) { <nl> + <nl> + ERR_FAIL_INDEX ( p_idx , items . size ( ) ) ; <nl> + <nl> + items [ p_idx ] . icon_modulate = p_modulate ; <nl> + update ( ) ; <nl> + } <nl> + <nl> + Color ItemList : : get_item_icon_modulate ( int p_idx ) const { <nl> + <nl> + ERR_FAIL_INDEX_V ( p_idx , items . size ( ) , Color ( ) ) ; <nl> + <nl> + return items [ p_idx ] . icon_modulate ; <nl> + } <nl> + <nl> void ItemList : : set_item_custom_bg_color ( int p_idx , const Color & p_custom_bg_color ) { <nl> <nl> ERR_FAIL_INDEX ( p_idx , items . size ( ) ) ; <nl> void ItemList : : _notification ( int p_what ) { <nl> draw_rect . size = adj . size ; <nl> } <nl> <nl> - Color modulate = Color ( 1 , 1 , 1 , 1 ) ; <nl> + Color modulate = items [ i ] . icon_modulate ; <nl> if ( items [ i ] . disabled ) <nl> modulate . a * = 0 . 5 ; <nl> <nl> void ItemList : : _bind_methods ( ) { <nl> ClassDB : : bind_method ( D_METHOD ( " set_item_icon_region " , " idx " , " rect " ) , & ItemList : : set_item_icon_region ) ; <nl> ClassDB : : bind_method ( D_METHOD ( " get_item_icon_region " , " idx " ) , & ItemList : : get_item_icon_region ) ; <nl> <nl> + ClassDB : : bind_method ( D_METHOD ( " set_item_icon_modulate " , " idx " , " modulate " ) , & ItemList : : set_item_icon_modulate ) ; <nl> + ClassDB : : bind_method ( D_METHOD ( " get_item_icon_modulate " , " idx " ) , & ItemList : : get_item_icon_modulate ) ; <nl> + <nl> ClassDB : : bind_method ( D_METHOD ( " set_item_selectable " , " idx " , " selectable " ) , & ItemList : : set_item_selectable ) ; <nl> ClassDB : : bind_method ( D_METHOD ( " is_item_selectable " , " idx " ) , & ItemList : : is_item_selectable ) ; <nl> <nl> mmm a / scene / gui / item_list . h <nl> ppp b / scene / gui / item_list . h <nl> class ItemList : public Control { <nl> <nl> Ref < Texture > icon ; <nl> Rect2i icon_region ; <nl> + Color icon_modulate ; <nl> Ref < Texture > tag_icon ; <nl> String text ; <nl> bool selectable ; <nl> class ItemList : public Control { <nl> void set_item_icon_region ( int p_idx , const Rect2 & p_region ) ; <nl> Rect2 get_item_icon_region ( int p_idx ) const ; <nl> <nl> + void set_item_icon_modulate ( int p_idx , const Color & p_modulate ) ; <nl> + Color get_item_icon_modulate ( int p_idx ) const ; <nl> + <nl> void set_item_selectable ( int p_idx , bool p_selectable ) ; <nl> bool is_item_selectable ( int p_idx ) const ; <nl> <nl> mmm a / scene / resources / tile_set . cpp <nl> ppp b / scene / resources / tile_set . cpp <nl> void TileSet : : tile_set_modulate ( int p_id , const Color & p_modulate ) { <nl> ERR_FAIL_COND ( ! tile_map . has ( p_id ) ) ; <nl> tile_map [ p_id ] . modulate = p_modulate ; <nl> emit_changed ( ) ; <nl> + _change_notify ( " modulate " ) ; <nl> } <nl> <nl> Color TileSet : : tile_get_modulate ( int p_id ) const { <nl> | Merge pull request from Noshyaar / tilesetcrash | godotengine/godot | 6eb0c74e9d6bd9e9e5f52fed2bd3b9c35a2877cb | 2018-04-08T12:31:54Z |
deleted file mode 100644 <nl> index af1f1a598f9 . . 00000000000 <nl> mmm a / ports / libbson / 0001_cmake . patch <nl> ppp / dev / null <nl> <nl> mmmmmm a / CMakeLists . txt <nl> - ppp b / CMakeLists . txt <nl> - include ( CheckIncludeFile ) <nl> - include ( CheckStructHasMember ) <nl> - include ( CheckSymbolExists ) <nl> - include ( TestBigEndian ) <nl> - - include ( InstallRequiredSystemLibraries ) <nl> - <nl> - set ( CMAKE_MODULE_PATH $ { CMAKE_MODULE_PATH } $ { PROJECT_SOURCE_DIR } / build / cmake ) <nl> - <nl> - TEST_BIG_ENDIAN ( BSON_BIG_ENDIAN ) <nl> - set ( BSON_PTHREAD_ONCE_INIT_NEEDS_BRACES 0 ) <nl> - set ( BSON_HAVE_DECIMAL128 0 ) <nl> - <nl> - - # librt needed on linux for clock_gettime <nl> - - find_library ( RT_LIBRARY rt ) <nl> - - if ( RT_LIBRARY ) <nl> - - # set required libraries for CHECK_FUNCTION_EXISTS <nl> - - set ( CMAKE_REQUIRED_LIBRARIES $ { RT_LIBRARY } ) <nl> - - endif ( ) <nl> - - <nl> - # See https : / / public . kitware . com / Bug / view . php ? id = 15659 <nl> - CHECK_SYMBOL_EXISTS ( snprintf stdio . h BSON_HAVE_SNPRINTF ) <nl> - if ( NOT BSON_HAVE_SNPRINTF ) <nl> - install ( <nl> - ) <nl> - install ( <nl> - FILES $ { HEADERS } <nl> - - DESTINATION " include / libbson - $ { BSON_API_VERSION } " <nl> - + DESTINATION " include " <nl> - ) <nl> - <nl> - set ( VERSION " $ { BSON_VERSION } " ) <nl> mmm a / ports / libbson / CONTROL <nl> ppp b / ports / libbson / CONTROL <nl> <nl> Source : libbson <nl> - Version : 1 . 4 . 2 <nl> + Version : 1 . 5 . 0 - rc6 <nl> Description : libbson is a library providing useful routines related to building , parsing , and iterating BSON documents . <nl> \ No newline at end of file <nl> mmm a / ports / libbson / portfile . cmake <nl> ppp b / ports / libbson / portfile . cmake <nl> <nl> - if ( VCPKG_LIBRARY_LINKAGE STREQUAL static ) <nl> - message ( STATUS " Warning : Static building not supported yet . Building dynamic . " ) <nl> - set ( VCPKG_LIBRARY_LINKAGE dynamic ) <nl> - endif ( ) <nl> include ( vcpkg_common_functions ) <nl> - set ( SOURCE_PATH $ { CURRENT_BUILDTREES_DIR } / src / libbson - 1 . 4 . 2 ) <nl> + set ( SOURCE_PATH $ { CURRENT_BUILDTREES_DIR } / src / libbson - 1 . 5 . 0 - rc6 ) <nl> <nl> vcpkg_download_distfile ( ARCHIVE <nl> - URLS " https : / / github . com / mongodb / libbson / releases / download / 1 . 4 . 2 / libbson - 1 . 4 . 2 . tar . gz " <nl> - FILENAME " libbson - 1 . 4 . 2 . tar . gz " <nl> - SHA512 4cc8f833978483af3dcbc30bede33f2a9b448930fabf7be2d5581c8368e875dc1707d31eae209c747e69be1f82fa525c7362c5ac9c4e0b6b3f3346dd5147860e <nl> + URLS " https : / / github . com / mongodb / libbson / archive / 1 . 5 . 0 - rc6 . tar . gz " <nl> + FILENAME " libbson - 1 . 5 . 0 - rc6 . tar . gz " <nl> + SHA512 15cf590b488f7de8d614ddcc2c1536b05b607311f3cd3353418469c7a62177124fb4fb1c53f51b0de4c7491b21051c1ec47fbc12856cc69e37baebb3d65897c5 <nl> ) <nl> vcpkg_extract_source_archive ( $ { ARCHIVE } ) <nl> <nl> - vcpkg_apply_patches ( <nl> - SOURCE_PATH $ { SOURCE_PATH } <nl> - PATCHES $ { CMAKE_CURRENT_LIST_DIR } / 0001_cmake . patch <nl> - ) <nl> - <nl> vcpkg_configure_cmake ( <nl> SOURCE_PATH $ { SOURCE_PATH } <nl> + OPTIONS <nl> + - DENABLE_TESTS = OFF <nl> + - DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP = ON <nl> ) <nl> <nl> vcpkg_install_cmake ( ) <nl> + <nl> + file ( RENAME <nl> + $ { CURRENT_PACKAGES_DIR } / include / libbson - 1 . 0 <nl> + $ { CURRENT_PACKAGES_DIR } / temp ) <nl> + file ( REMOVE_RECURSE $ { CURRENT_PACKAGES_DIR } / include ) <nl> + file ( RENAME $ { CURRENT_PACKAGES_DIR } / temp $ { CURRENT_PACKAGES_DIR } / include ) <nl> + <nl> file ( REMOVE_RECURSE $ { CURRENT_PACKAGES_DIR } / debug / include ) <nl> <nl> - file ( COPY $ { SOURCE_PATH } / COPYING DESTINATION $ { CURRENT_PACKAGES_DIR } / share / libbson ) <nl> - file ( RENAME $ { CURRENT_PACKAGES_DIR } / share / libbson / COPYING $ { CURRENT_PACKAGES_DIR } / share / libbson / copyright ) <nl> \ No newline at end of file <nl> + if ( VCPKG_LIBRARY_LINKAGE STREQUAL static ) <nl> + file ( REMOVE_RECURSE $ { CURRENT_PACKAGES_DIR } / bin ) <nl> + file ( REMOVE_RECURSE $ { CURRENT_PACKAGES_DIR } / debug / bin ) <nl> + file ( REMOVE $ { CURRENT_PACKAGES_DIR } / lib / bson - 1 . 0 . lib ) <nl> + file ( REMOVE $ { CURRENT_PACKAGES_DIR } / debug / lib / bson - 1 . 0 . lib ) <nl> + else ( ) <nl> + file ( REMOVE $ { CURRENT_PACKAGES_DIR } / lib / bson - static - 1 . 0 . lib ) <nl> + file ( REMOVE $ { CURRENT_PACKAGES_DIR } / debug / lib / bson - static - 1 . 0 . lib ) <nl> + endif ( ) <nl> + <nl> + file ( INSTALL $ { SOURCE_PATH } / COPYING DESTINATION $ { CURRENT_PACKAGES_DIR } / share / libbson RENAME copyright ) <nl> \ No newline at end of file <nl> | Upgrade libbson to 1 . 5 . 0 - rc6 | microsoft/vcpkg | 2538bdac5a8932c93efe5b87666e373c8c817ca4 | 2016-11-21T03:19:08Z |
mmm a / hphp / compiler / analysis / emitter . cpp <nl> ppp b / hphp / compiler / analysis / emitter . cpp <nl> void EmitterVisitor : : emitPostponedMeths ( ) { <nl> } <nl> } <nl> <nl> - if ( funcScope - > userAttributes ( ) . count ( " __Memoize " ) ) { <nl> + if ( funcScope - > userAttributes ( ) . count ( " __Memoize " ) & & <nl> + ! funcScope - > isAbstract ( ) ) { <nl> auto const originalName = fe - > name ; <nl> auto const rewrittenName = makeStaticString ( <nl> folly : : sformat ( " { } $ memoize_impl " , fe - > name - > data ( ) ) ) ; <nl> mmm a / hphp / compiler / statement / method_statement . cpp <nl> ppp b / hphp / compiler / statement / method_statement . cpp <nl> void MethodStatement : : onParseRecur ( AnalysisResultConstPtr ar , <nl> } <nl> } <nl> if ( m_modifiers - > isAbstract ( ) ) { <nl> - if ( funcScope - > userAttributes ( ) . count ( " __Memoize " ) ) { <nl> + if ( ! Option : : WholeProgram & & <nl> + funcScope - > userAttributes ( ) . count ( " __Memoize " ) ) { <nl> m_modifiers - > parseTimeFatal ( <nl> fileScope , <nl> Compiler : : InvalidAttribute , <nl> new file mode 100644 <nl> index 00000000000 . . e69de29bb2d <nl> | Stopgap for abstract memoize functions | facebook/hhvm | bbb766340516b2adb8f6f3958ced1188ea8a829a | 2015-07-19T00:32:21Z |
mmm a / test / test_jit . py <nl> ppp b / test / test_jit . py <nl> def test_quant_fusion ( self ) : <nl> # CHECK - NOT : aten : : _dequantize_linear <nl> % b_dequant = aten : : _dequantize_linear ( % b_intrepr , % b_scale , % b_zero_point , % b_dtype ) <nl> # CHECK : aten : : t <nl> - # CHECK : quantized : : fbgemm_linear_prepack <nl> - # CHECK : quantized : : fbgemm_linear <nl> + # CHECK : quantized : : linear_prepack <nl> + # CHECK : quantized : : linear <nl> # CHECK - NOT : aten : : addmm <nl> % r = aten : : addmm ( % b_dequant , % a_dequant , % w_dequant , % 4 , % 4 ) <nl> # CHECK - NOT : aten : : quantize_linear <nl> def test_quant_fusion ( self ) : <nl> # CHECK - NOT : aten : : _dequantize_linear <nl> % b_dequant = aten : : _dequantize_linear ( % b_intrepr , % b_scale , % b_zero_point , % b_dtype ) <nl> # CHECK : aten : : t <nl> - # CHECK : quantized : : fbgemm_linear_prepack <nl> - # CHECK : quantized : : fbgemm_linear <nl> + # CHECK : quantized : : linear_prepack <nl> + # CHECK : quantized : : linear <nl> # CHECK - NOT : aten : : addmm <nl> % output = aten : : matmul ( % a_dequant , % w_dequant ) <nl> % r = aten : : add_ ( % output , % b_dequant , % 4 ) <nl> def test_quant_fusion ( self ) : <nl> # CHECK - NOT : aten : : _dequantize_linear <nl> % w_dequant = aten : : _dequantize_linear ( % w_intrepr , % w_scale , % w_zero_point , % w_dtype ) <nl> # CHECK : aten : : t <nl> - # CHECK : quantized : : fbgemm_linear_prepack <nl> # CHECK : prim : : Constant ( ) <nl> - # CHECK : quantized : : fbgemm_linear <nl> + # CHECK : quantized : : linear_prepack <nl> + # CHECK : quantized : : linear <nl> # CHECK - NOT : aten : : matmul <nl> % r = aten : : matmul ( % a_dequant , % w_dequant ) <nl> # CHECK - NOT : aten : : quantize_linear <nl> def test_quant_fusion ( self ) : <nl> % r_dequant = aten : : _dequantize_linear ( % r_intrepr , % r_scale , % r_zero_point , % r_dtype ) <nl> return ( % r_dequant ) " " " <nl> ] <nl> - for input_str in input_strs [ 1 : ] : <nl> + for input_str in input_strs : <nl> graph = parse_ir ( input_str ) <nl> torch . _C . _jit_pass_quant_fusion ( graph ) <nl> FileCheck ( ) . run ( input_str , graph ) <nl> mmm a / torch / csrc / jit / passes / quantization . cpp <nl> ppp b / torch / csrc / jit / passes / quantization . cpp <nl> void QuantFusion ( std : : shared_ptr < Graph > & graph ) { <nl> const std : : string quantized_linear_with_bias = <nl> R " ( <nl> graph ( % a_quant , % w_quant , % b_quant , % a_scale , % a_zero_point , % a_dtype , % w_scale , % w_zero_point , % w_dtype , % b_scale , % b_zero_point , % b_dtype , % r_scale , % r_zero_point , % r_dtype , % 4 ) : <nl> - % 0 : int = prim : : Constant [ value = 0 ] ( ) <nl> - % 1 : int = prim : : Constant [ value = 1 ] ( ) <nl> - % 2 : int = prim : : Constant [ value = 2 ] ( ) <nl> - % 3 : int = prim : : Constant [ value = 3 ] ( ) <nl> - % in_param : int [ ] = prim : : ListConstruct ( % 0 , % 2 , % 3 , % 1 ) <nl> - % a_perm : Tensor = aten : : permute ( % a_quant , % in_param ) <nl> % w_quant_t = aten : : t ( % w_quant ) <nl> - % w_perm : Tensor = aten : : permute ( % w_quant_t , % in_param ) <nl> - % w_packed = quantized : : fbgemm_linear_prepack ( % w_perm ) <nl> - % r = quantized : : fbgemm_linear ( % a_perm , % w_packed , % b_quant , % r_scale , % r_zero_point ) <nl> - % out_param : int [ ] = prim : : ListConstruct ( % 0 , % 3 , % 1 , % 2 ) <nl> - % r_perm = aten : : permute ( % r , % out_param ) <nl> - return ( % r_perm ) ) " ; <nl> + % packed_params = quantized : : linear_prepack ( % w_quant_t , % b_quant ) <nl> + % r = quantized : : linear ( % a_quant , % packed_params , % r_scale , % r_zero_point ) <nl> + return ( % r ) ) " ; <nl> const std : : unordered_map < std : : string , std : : string > pattern_and_replacements = <nl> { / / quantized : : conv2d <nl> { R " ( <nl> graph ( % a_quant , % w_quant , % a_scale , % a_zero_point , % a_dtype , % w_scale , % w_zero_p <nl> return ( % r_quant ) ) " , <nl> R " ( <nl> graph ( % a_quant , % w_quant , % a_scale , % a_zero_point , % a_dtype , % w_scale , % w_zero_point , % w_dtype , % r_scale , % r_zero_point , % r_dtype ) : <nl> - % 0 : int = prim : : Constant [ value = 0 ] ( ) <nl> - % 1 : int = prim : : Constant [ value = 1 ] ( ) <nl> - % 2 : int = prim : : Constant [ value = 2 ] ( ) <nl> - % 3 : int = prim : : Constant [ value = 3 ] ( ) <nl> - % in_param : int [ ] = prim : : ListConstruct ( % 0 , % 2 , % 3 , % 1 ) <nl> - % a_perm : Tensor = aten : : permute ( % a_quant , % in_param ) <nl> % w_quant_t = aten : : t ( % w_quant ) <nl> - % w_perm : Tensor = aten : : permute ( % w_quant_t , % in_param ) <nl> - % w_packed = quantized : : fbgemm_linear_prepack ( % w_perm ) <nl> % bias : Tensor ? = prim : : Constant ( ) <nl> - % r = quantized : : fbgemm_linear ( % a_perm , % w_packed , % bias , % r_scale , % r_zero_point ) <nl> - % out_param : int [ ] = prim : : ListConstruct ( % 0 , % 3 , % 1 , % 2 ) <nl> - % r_perm = aten : : permute ( % r , % out_param ) <nl> - return ( % r_perm ) ) " } } ; <nl> + % packed_params = quantized : : linear_prepack ( % w_quant_t , % bias ) <nl> + % r = quantized : : linear ( % a_quant , % packed_params , % r_scale , % r_zero_point ) <nl> + return ( % r ) ) " } } ; <nl> for ( const auto & item : pattern_and_replacements ) { <nl> SubgraphRewriter rewriter ; <nl> rewriter . RegisterRewritePattern ( item . first , item . second ) ; <nl> | Fix quantized : : linear QuantFusion patterns ( ) | pytorch/pytorch | cbc7172a02f4f24ce7e38773e1f5f5afcda0d537 | 2019-09-19T02:59:07Z |
mmm a / ports / http - parser / CMakeLists . txt <nl> ppp b / ports / http - parser / CMakeLists . txt <nl> if ( BUILD_SHARED_LIBS ) <nl> SET ( CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON ) <nl> endif ( ) <nl> <nl> + if ( CMAKE_BUILD_TYPE MATCHES " Release " ) <nl> + add_definitions ( - DHTTP_PARSER_STRICT = 0 ) <nl> + endif ( ) <nl> + <nl> add_library ( http_parser http_parser . c http_parser . h ) <nl> <nl> install ( TARGETS http_parser <nl> - RUNTIME DESTINATION " $ { CMAKE_INSTALL_PREFIX } / bin " <nl> - ARCHIVE DESTINATION " $ { CMAKE_INSTALL_PREFIX } / lib " <nl> + RUNTIME DESTINATION " $ { CMAKE_INSTALL_PREFIX } / bin " <nl> + ARCHIVE DESTINATION " $ { CMAKE_INSTALL_PREFIX } / lib " <nl> ) <nl> <nl> if ( NOT SKIP_INSTALL_HEADERS ) <nl> - install ( FILES http_parser . h DESTINATION " $ { CMAKE_INSTALL_PREFIX } / include " ) <nl> + install ( FILES http_parser . h DESTINATION " $ { CMAKE_INSTALL_PREFIX } / include " ) <nl> endif ( ) <nl> \ No newline at end of file <nl> mmm a / ports / http - parser / CONTROL <nl> ppp b / ports / http - parser / CONTROL <nl> <nl> Source : http - parser <nl> - Version : 2 . 7 . 1 <nl> + Version : 2 . 7 . 1 - 1 <nl> Description : HTTP Parser . <nl> \ No newline at end of file <nl> | Merge pull request from ab - acx / http - parser - strict | microsoft/vcpkg | c938d56e4976cedfb8f76df834f2c1554fdd26d5 | 2017-01-14T00:02:35Z |
mmm a / editor / script_create_dialog . cpp <nl> ppp b / editor / script_create_dialog . cpp <nl> void ScriptCreateDialog : : _update_dialog ( ) { <nl> } <nl> <nl> if ( script_ok ) { <nl> - _msg_script_valid ( true , TTR ( " Script is valid . " ) ) ; <nl> + _msg_script_valid ( true , TTR ( " Script path / name is valid . " ) ) ; <nl> } <nl> <nl> / / Does script have named classes ? <nl> | Make ScriptCreateDialog ' s script valid message a bit more clearer | godotengine/godot | 14e36c72b0b665c80d55d2138c7adad4d202ec13 | 2020-01-10T23:14:45Z |
mmm a / documentation / sphinx / source / developer - guide . rst <nl> ppp b / documentation / sphinx / source / developer - guide . rst <nl> Versions are generated by the process that runs the * master * role . FoundationDB <nl> <nl> In order to assign read and commit versions to transactions , a client will never talk to the master . Instead it will get both from a proxy . Getting a read version is more complex than a commit version . Let ' s first look at commit versions : <nl> <nl> - 1 . The client will send a commit message to a proxy . <nl> - 1 . The proxy will put this commit message in a queue in order to build a batch . <nl> - 1 . In parallel , the proxy will ask for a new version from the master ( note that this means that only proxies will ever ask for new versions - which scales much better as it puts less stress on the network ) . <nl> - 1 . The proxy will then resolve all transactions within that batch ( discussed later ) and assign the version it got from the master to * all * transactions within that batch . It will then write the transactions to the transaction log system to make it durable . <nl> - 1 . If the transaction succeeded , it will send back the version as commit version to the client . Otherwise it will send back an error . <nl> + # . The client will send a commit message to a proxy . <nl> + # . The proxy will put this commit message in a queue in order to build a batch . <nl> + # . In parallel , the proxy will ask for a new version from the master ( note that this means that only proxies will ever ask for new versions - which scales much better as it puts less stress on the network ) . <nl> + # . The proxy will then resolve all transactions within that batch ( discussed later ) and assign the version it got from the master to * all * transactions within that batch . It will then write the transactions to the transaction log system to make it durable . <nl> + # . If the transaction succeeded , it will send back the version as commit version to the client . Otherwise it will send back an error . <nl> <nl> As mentioned before , the algorithm to assign read versions is a bit more complex . At the start of a transaction , a client will ask a proxy server for a read version . The proxy will reply with the last committed version as of the time it received the request - this is important to guarantee external consistency . This is how this is achieved : <nl> <nl> | Drive by fix formatting error | apple/foundationdb | d09d0670d2491256368b2ddb5a1e44c36ce91233 | 2020-05-26T19:44:03Z |
mmm a / stdlib / public / core / RangeReplaceableCollection . swift <nl> ppp b / stdlib / public / core / RangeReplaceableCollection . swift <nl> extension RangeReplaceableCollection where Self : BidirectionalCollection { <nl> public mutating func removeLast ( ) - > Element { <nl> _precondition ( ! isEmpty , " Can ' t remove last element from an empty collection " ) <nl> / / NOTE if you change this implementation , change popLast above as well <nl> + / / AND change the tie - breaker implementations in the next extension <nl> if let result = _customRemoveLast ( ) { return result } <nl> return remove ( at : index ( before : endIndex ) ) <nl> } <nl> extension RangeReplaceableCollection where Self : BidirectionalCollection { <nl> } <nl> } <nl> <nl> - / / FIXME : swift - 3 - indexing - model : file a bug for the compiler ? <nl> / / / Ambiguity breakers . <nl> extension RangeReplaceableCollection <nl> - where Self : BidirectionalCollection , SubSequence = = Self { <nl> + where Self : BidirectionalCollection , SubSequence = = Self { <nl> + / / / Removes and returns the last element of the collection . <nl> + / / / <nl> + / / / Calling this method may invalidate all saved indices of this <nl> + / / / collection . Do not rely on a previously stored index value after <nl> + / / / altering a collection with any operation that can change its length . <nl> + / / / <nl> + / / / - Returns : The last element of the collection if the collection is not <nl> + / / / empty ; otherwise , ` nil ` . <nl> + / / / <nl> + / / / - Complexity : O ( 1 ) <nl> + @ _inlineable <nl> + public mutating func popLast ( ) - > Element ? { <nl> + if isEmpty { return nil } <nl> + / / duplicate of removeLast logic below , to avoid redundant precondition <nl> + if let result = _customRemoveLast ( ) { return result } <nl> + return remove ( at : index ( before : endIndex ) ) <nl> + } <nl> + <nl> / / / Removes and returns the last element of the collection . <nl> / / / <nl> / / / The collection must not be empty . <nl> extension RangeReplaceableCollection <nl> @ discardableResult <nl> public mutating func removeLast ( ) - > Element { <nl> _precondition ( ! isEmpty , " Can ' t remove last element from an empty collection " ) <nl> - if let result = _customRemoveLast ( ) { <nl> - return result <nl> - } <nl> + / / NOTE if you change this implementation , change popLast above as well <nl> + if let result = _customRemoveLast ( ) { return result } <nl> return remove ( at : index ( before : endIndex ) ) <nl> } <nl> <nl> mmm a / validation - test / stdlib / Arrays . swift . gyb <nl> ppp b / validation - test / stdlib / Arrays . swift . gyb <nl> ArrayTestSuite . test ( " Native / isEmpty " ) { <nl> expectFalse ( a . isEmpty ) <nl> } <nl> <nl> - % for Kind in [ ' Array ' , ' ContiguousArray ' ] : <nl> + % for Kind in [ ' Array ' , ' ContiguousArray ' , ' ArraySlice ' ] : <nl> ArrayTestSuite . test ( " $ { Kind } / popLast " ) { <nl> / / Empty <nl> do { <nl> | Merge pull request from airspeedswift / a - a - a - ambiguity - breaker | apple/swift | dcd8bb8c5a813e494a576ba4917483b08bf83108 | 2018-03-03T00:28:15Z |
mmm a / js / common / modules / org / arangodb / foxx . js <nl> ppp b / js / common / modules / org / arangodb / foxx . js <nl> _ . extend ( FoxxApplication . prototype , { <nl> / / app . handleRequest ( " get " , " / gaense " , function ( req , res ) { <nl> / / / / handle the request <nl> / / } ) ; <nl> + / / <nl> + / / When defining a route you can also define a so called ' parameterized ' <nl> + / / route like ` / gaense / : stable ` . In this case you can later get the value <nl> + / / the user provided for ` stable ` via the ` params ` function ( see the Request <nl> + / / object ) . <nl> handleRequest : function ( method , route , argument1 , argument2 ) { <nl> ' use strict ' ; <nl> var newRoute = { } , options , callback ; <nl> BaseMiddleware = function ( templateCollection , helperCollection ) { <nl> / / <nl> / / FoxxApplication adds the following methods to this request object : <nl> requestFunctions = { <nl> - / / Get the body of the request . <nl> + / / # # # The superfluous ` body ` function <nl> + / / Get the body of the request <nl> body : function ( ) { <nl> return this . requestBody ; <nl> + } , <nl> + <nl> + / / # # # The jinxed ` params ` function <nl> + / / Get the parameters of the request . This process is two - fold : <nl> + / / <nl> + / / 1 . If you have defined an URL like ` / test / : id ` and the user <nl> + / / requested ` / test / 1 ` , the call ` params ( " id " ) ` will return ` 1 ` . <nl> + / / 2 . If you have defined an URL like ` / test ` and the user gives a <nl> + / / query component , the query parameters will also be returned . <nl> + / / So for example if the user requested ` / test ? a = 2 ` , the call <nl> + / / ` params ( " a " ) ` will return ` 2 ` . <nl> + params : function ( key ) { <nl> + var ps = { } ; <nl> + _ . extend ( ps , this . urlParameters ) ; <nl> + _ . extend ( ps , this . parameters ) ; <nl> + return ps [ key ] ; <nl> } <nl> } ; <nl> <nl> mmm a / js / common / tests / shell - foxx . js <nl> ppp b / js / common / tests / shell - foxx . js <nl> function BaseMiddlewareWithoutTemplateSpec ( ) { <nl> assertEqual ( request . body ( ) , " test " ) ; <nl> } , <nl> <nl> + testParamFunctionReturnsUrlParameters : function ( ) { <nl> + request . urlParameters = { a : 1 } ; <nl> + baseMiddleware ( request , response , options , next ) ; <nl> + assertEqual ( request . params ( " a " ) , 1 ) ; <nl> + } , <nl> + <nl> + testParamFunctionReturnsParameters : function ( ) { <nl> + request . parameters = { a : 1 } ; <nl> + baseMiddleware ( request , response , options , next ) ; <nl> + assertEqual ( request . params ( " a " ) , 1 ) ; <nl> + } , <nl> + <nl> + testParamFunctionReturnsAllParams : function ( ) { <nl> + request . urlParameters = { a : 1 } ; <nl> + request . parameters = { b : 2 } ; <nl> + baseMiddleware ( request , response , options , next ) ; <nl> + assertEqual ( request . params ( " a " ) , 1 ) ; <nl> + assertEqual ( request . params ( " b " ) , 2 ) ; <nl> + } , <nl> + <nl> testStatusFunctionAddedToResponse : function ( ) { <nl> baseMiddleware ( request , response , options , next ) ; <nl> <nl> | Foxx : Added the params function | arangodb/arangodb | 0dd44d82aa66bf29c01f078f4d14b9528a30eb68 | 2013-03-23T15:01:21Z |
mmm a / src / core / crypto / key_manager . cpp <nl> ppp b / src / core / crypto / key_manager . cpp <nl> <nl> # include " core / settings . h " <nl> <nl> namespace Core : : Crypto { <nl> + namespace { <nl> <nl> constexpr u64 CURRENT_CRYPTO_REVISION = 0x5 ; <nl> constexpr u64 FULL_TICKET_SIZE = 0x400 ; <nl> constexpr std : : array eticket_source_hashes { <nl> } ; <nl> / / clang - format on <nl> <nl> - const std : : map < std : : pair < S128KeyType , u64 > , std : : string > KEYS_VARIABLE_LENGTH { <nl> + constexpr std : : array < std : : pair < std : : string_view , KeyIndex < S128KeyType > > , 30 > s128_file_id { { <nl> + { " eticket_rsa_kek " , { S128KeyType : : ETicketRSAKek , 0 , 0 } } , <nl> + { " eticket_rsa_kek_source " , <nl> + { S128KeyType : : Source , static_cast < u64 > ( SourceKeyType : : ETicketKek ) , 0 } } , <nl> + { " eticket_rsa_kekek_source " , <nl> + { S128KeyType : : Source , static_cast < u64 > ( SourceKeyType : : ETicketKekek ) , 0 } } , <nl> + { " rsa_kek_mask_0 " , { S128KeyType : : RSAKek , static_cast < u64 > ( RSAKekType : : Mask0 ) , 0 } } , <nl> + { " rsa_kek_seed_3 " , { S128KeyType : : RSAKek , static_cast < u64 > ( RSAKekType : : Seed3 ) , 0 } } , <nl> + { " rsa_oaep_kek_generation_source " , <nl> + { S128KeyType : : Source , static_cast < u64 > ( SourceKeyType : : RSAOaepKekGeneration ) , 0 } } , <nl> + { " sd_card_kek_source " , { S128KeyType : : Source , static_cast < u64 > ( SourceKeyType : : SDKek ) , 0 } } , <nl> + { " aes_kek_generation_source " , <nl> + { S128KeyType : : Source , static_cast < u64 > ( SourceKeyType : : AESKekGeneration ) , 0 } } , <nl> + { " aes_key_generation_source " , <nl> + { S128KeyType : : Source , static_cast < u64 > ( SourceKeyType : : AESKeyGeneration ) , 0 } } , <nl> + { " package2_key_source " , { S128KeyType : : Source , static_cast < u64 > ( SourceKeyType : : Package2 ) , 0 } } , <nl> + { " master_key_source " , { S128KeyType : : Source , static_cast < u64 > ( SourceKeyType : : Master ) , 0 } } , <nl> + { " header_kek_source " , { S128KeyType : : Source , static_cast < u64 > ( SourceKeyType : : HeaderKek ) , 0 } } , <nl> + { " key_area_key_application_source " , <nl> + { S128KeyType : : Source , static_cast < u64 > ( SourceKeyType : : KeyAreaKey ) , <nl> + static_cast < u64 > ( KeyAreaKeyType : : Application ) } } , <nl> + { " key_area_key_ocean_source " , <nl> + { S128KeyType : : Source , static_cast < u64 > ( SourceKeyType : : KeyAreaKey ) , <nl> + static_cast < u64 > ( KeyAreaKeyType : : Ocean ) } } , <nl> + { " key_area_key_system_source " , <nl> + { S128KeyType : : Source , static_cast < u64 > ( SourceKeyType : : KeyAreaKey ) , <nl> + static_cast < u64 > ( KeyAreaKeyType : : System ) } } , <nl> + { " titlekek_source " , { S128KeyType : : Source , static_cast < u64 > ( SourceKeyType : : Titlekek ) , 0 } } , <nl> + { " keyblob_mac_key_source " , <nl> + { S128KeyType : : Source , static_cast < u64 > ( SourceKeyType : : KeyblobMAC ) , 0 } } , <nl> + { " tsec_key " , { S128KeyType : : TSEC , 0 , 0 } } , <nl> + { " secure_boot_key " , { S128KeyType : : SecureBoot , 0 , 0 } } , <nl> + { " sd_seed " , { S128KeyType : : SDSeed , 0 , 0 } } , <nl> + { " bis_key_0_crypt " , { S128KeyType : : BIS , 0 , static_cast < u64 > ( BISKeyType : : Crypto ) } } , <nl> + { " bis_key_0_tweak " , { S128KeyType : : BIS , 0 , static_cast < u64 > ( BISKeyType : : Tweak ) } } , <nl> + { " bis_key_1_crypt " , { S128KeyType : : BIS , 1 , static_cast < u64 > ( BISKeyType : : Crypto ) } } , <nl> + { " bis_key_1_tweak " , { S128KeyType : : BIS , 1 , static_cast < u64 > ( BISKeyType : : Tweak ) } } , <nl> + { " bis_key_2_crypt " , { S128KeyType : : BIS , 2 , static_cast < u64 > ( BISKeyType : : Crypto ) } } , <nl> + { " bis_key_2_tweak " , { S128KeyType : : BIS , 2 , static_cast < u64 > ( BISKeyType : : Tweak ) } } , <nl> + { " bis_key_3_crypt " , { S128KeyType : : BIS , 3 , static_cast < u64 > ( BISKeyType : : Crypto ) } } , <nl> + { " bis_key_3_tweak " , { S128KeyType : : BIS , 3 , static_cast < u64 > ( BISKeyType : : Tweak ) } } , <nl> + { " header_kek " , { S128KeyType : : HeaderKek , 0 , 0 } } , <nl> + { " sd_card_kek " , { S128KeyType : : SDKek , 0 , 0 } } , <nl> + } } ; <nl> + <nl> + auto Find128ByName ( std : : string_view name ) { <nl> + return std : : find_if ( s128_file_id . begin ( ) , s128_file_id . end ( ) , <nl> + [ & name ] ( const auto & pair ) { return pair . first = = name ; } ) ; <nl> + } <nl> + <nl> + constexpr std : : array < std : : pair < std : : string_view , KeyIndex < S256KeyType > > , 6 > s256_file_id { { <nl> + { " header_key " , { S256KeyType : : Header , 0 , 0 } } , <nl> + { " sd_card_save_key_source " , { S256KeyType : : SDKeySource , static_cast < u64 > ( SDKeyType : : Save ) , 0 } } , <nl> + { " sd_card_nca_key_source " , { S256KeyType : : SDKeySource , static_cast < u64 > ( SDKeyType : : NCA ) , 0 } } , <nl> + { " header_key_source " , { S256KeyType : : HeaderSource , 0 , 0 } } , <nl> + { " sd_card_save_key " , { S256KeyType : : SDKey , static_cast < u64 > ( SDKeyType : : Save ) , 0 } } , <nl> + { " sd_card_nca_key " , { S256KeyType : : SDKey , static_cast < u64 > ( SDKeyType : : NCA ) , 0 } } , <nl> + } } ; <nl> + <nl> + auto Find256ByName ( std : : string_view name ) { <nl> + return std : : find_if ( s256_file_id . begin ( ) , s256_file_id . end ( ) , <nl> + [ & name ] ( const auto & pair ) { return pair . first = = name ; } ) ; <nl> + } <nl> + <nl> + using KeyArray = std : : array < std : : pair < std : : pair < S128KeyType , u64 > , std : : string_view > , 7 > ; <nl> + constexpr KeyArray KEYS_VARIABLE_LENGTH { { <nl> { { S128KeyType : : Master , 0 } , " master_key_ " } , <nl> { { S128KeyType : : Package1 , 0 } , " package1_key_ " } , <nl> { { S128KeyType : : Package2 , 0 } , " package2_key_ " } , <nl> const std : : map < std : : pair < S128KeyType , u64 > , std : : string > KEYS_VARIABLE_LENGTH { <nl> { { S128KeyType : : Source , static_cast < u64 > ( SourceKeyType : : Keyblob ) } , " keyblob_key_source_ " } , <nl> { { S128KeyType : : Keyblob , 0 } , " keyblob_key_ " } , <nl> { { S128KeyType : : KeyblobMAC , 0 } , " keyblob_mac_key_ " } , <nl> - } ; <nl> + } } ; <nl> <nl> - namespace { <nl> template < std : : size_t Size > <nl> bool IsAllZeroArray ( const std : : array < u8 , Size > & array ) { <nl> return std : : all_of ( array . begin ( ) , array . end ( ) , [ ] ( const auto & elem ) { return elem = = 0 ; } ) ; <nl> } <nl> - } / / namespace <nl> + } / / Anonymous namespace <nl> <nl> u64 GetSignatureTypeDataSize ( SignatureType type ) { <nl> switch ( type ) { <nl> void KeyManager : : LoadFromFile ( const std : : string & filename , bool is_title_keys ) { <nl> s128_keys [ { S128KeyType : : Titlekey , rights_id [ 1 ] , rights_id [ 0 ] } ] = key ; <nl> } else { <nl> out [ 0 ] = Common : : ToLower ( out [ 0 ] ) ; <nl> - if ( s128_file_id . find ( out [ 0 ] ) ! = s128_file_id . end ( ) ) { <nl> - const auto index = s128_file_id . at ( out [ 0 ] ) ; <nl> - Key128 key = Common : : HexStringToArray < 16 > ( out [ 1 ] ) ; <nl> + if ( const auto iter128 = Find128ByName ( out [ 0 ] ) ; iter128 ! = s128_file_id . end ( ) ) { <nl> + const auto & index = iter128 - > second ; <nl> + const Key128 key = Common : : HexStringToArray < 16 > ( out [ 1 ] ) ; <nl> s128_keys [ { index . type , index . field1 , index . field2 } ] = key ; <nl> - } else if ( s256_file_id . find ( out [ 0 ] ) ! = s256_file_id . end ( ) ) { <nl> - const auto index = s256_file_id . at ( out [ 0 ] ) ; <nl> - Key256 key = Common : : HexStringToArray < 32 > ( out [ 1 ] ) ; <nl> + } else if ( const auto iter256 = Find256ByName ( out [ 0 ] ) ; iter256 ! = s256_file_id . end ( ) ) { <nl> + const auto & index = iter256 - > second ; <nl> + const Key256 key = Common : : HexStringToArray < 32 > ( out [ 1 ] ) ; <nl> s256_keys [ { index . type , index . field1 , index . field2 } ] = key ; <nl> } else if ( out [ 0 ] . compare ( 0 , 8 , " keyblob_ " ) = = 0 & & <nl> out [ 0 ] . compare ( 0 , 9 , " keyblob_k " ) ! = 0 ) { <nl> void KeyManager : : SetKey ( S128KeyType id , Key128 key , u64 field1 , u64 field2 ) { <nl> } <nl> <nl> const auto iter2 = std : : find_if ( <nl> - s128_file_id . begin ( ) , s128_file_id . end ( ) , <nl> - [ & id , & field1 , & field2 ] ( const std : : pair < std : : string , KeyIndex < S128KeyType > > elem ) { <nl> + s128_file_id . begin ( ) , s128_file_id . end ( ) , [ & id , & field1 , & field2 ] ( const auto & elem ) { <nl> return std : : tie ( elem . second . type , elem . second . field1 , elem . second . field2 ) = = <nl> std : : tie ( id , field1 , field2 ) ; <nl> } ) ; <nl> void KeyManager : : SetKey ( S128KeyType id , Key128 key , u64 field1 , u64 field2 ) { <nl> <nl> / / Variable cases <nl> if ( id = = S128KeyType : : KeyArea ) { <nl> - static constexpr std : : array < const char * , 3 > kak_names = { " key_area_key_application_ { : 02X } " , <nl> - " key_area_key_ocean_ { : 02X } " , <nl> - " key_area_key_system_ { : 02X } " } ; <nl> + static constexpr std : : array < const char * , 3 > kak_names = { <nl> + " key_area_key_application_ { : 02X } " , <nl> + " key_area_key_ocean_ { : 02X } " , <nl> + " key_area_key_system_ { : 02X } " , <nl> + } ; <nl> WriteKeyToFile ( category , fmt : : format ( kak_names . at ( field2 ) , field1 ) , key ) ; <nl> } else if ( id = = S128KeyType : : Master ) { <nl> WriteKeyToFile ( category , fmt : : format ( " master_key_ { : 02X } " , field1 ) , key ) ; <nl> void KeyManager : : SetKey ( S256KeyType id , Key256 key , u64 field1 , u64 field2 ) { <nl> return ; <nl> } <nl> const auto iter = std : : find_if ( <nl> - s256_file_id . begin ( ) , s256_file_id . end ( ) , <nl> - [ & id , & field1 , & field2 ] ( const std : : pair < std : : string , KeyIndex < S256KeyType > > elem ) { <nl> + s256_file_id . begin ( ) , s256_file_id . end ( ) , [ & id , & field1 , & field2 ] ( const auto & elem ) { <nl> return std : : tie ( elem . second . type , elem . second . field1 , elem . second . field2 ) = = <nl> std : : tie ( id , field1 , field2 ) ; <nl> } ) ; <nl> bool KeyManager : : AddTicketPersonalized ( Ticket raw ) { <nl> SetKey ( S128KeyType : : Titlekey , key , rights_id [ 1 ] , rights_id [ 0 ] ) ; <nl> return true ; <nl> } <nl> - <nl> - const boost : : container : : flat_map < std : : string , KeyIndex < S128KeyType > > KeyManager : : s128_file_id = { <nl> - { " eticket_rsa_kek " , { S128KeyType : : ETicketRSAKek , 0 , 0 } } , <nl> - { " eticket_rsa_kek_source " , <nl> - { S128KeyType : : Source , static_cast < u64 > ( SourceKeyType : : ETicketKek ) , 0 } } , <nl> - { " eticket_rsa_kekek_source " , <nl> - { S128KeyType : : Source , static_cast < u64 > ( SourceKeyType : : ETicketKekek ) , 0 } } , <nl> - { " rsa_kek_mask_0 " , { S128KeyType : : RSAKek , static_cast < u64 > ( RSAKekType : : Mask0 ) , 0 } } , <nl> - { " rsa_kek_seed_3 " , { S128KeyType : : RSAKek , static_cast < u64 > ( RSAKekType : : Seed3 ) , 0 } } , <nl> - { " rsa_oaep_kek_generation_source " , <nl> - { S128KeyType : : Source , static_cast < u64 > ( SourceKeyType : : RSAOaepKekGeneration ) , 0 } } , <nl> - { " sd_card_kek_source " , { S128KeyType : : Source , static_cast < u64 > ( SourceKeyType : : SDKek ) , 0 } } , <nl> - { " aes_kek_generation_source " , <nl> - { S128KeyType : : Source , static_cast < u64 > ( SourceKeyType : : AESKekGeneration ) , 0 } } , <nl> - { " aes_key_generation_source " , <nl> - { S128KeyType : : Source , static_cast < u64 > ( SourceKeyType : : AESKeyGeneration ) , 0 } } , <nl> - { " package2_key_source " , { S128KeyType : : Source , static_cast < u64 > ( SourceKeyType : : Package2 ) , 0 } } , <nl> - { " master_key_source " , { S128KeyType : : Source , static_cast < u64 > ( SourceKeyType : : Master ) , 0 } } , <nl> - { " header_kek_source " , { S128KeyType : : Source , static_cast < u64 > ( SourceKeyType : : HeaderKek ) , 0 } } , <nl> - { " key_area_key_application_source " , <nl> - { S128KeyType : : Source , static_cast < u64 > ( SourceKeyType : : KeyAreaKey ) , <nl> - static_cast < u64 > ( KeyAreaKeyType : : Application ) } } , <nl> - { " key_area_key_ocean_source " , <nl> - { S128KeyType : : Source , static_cast < u64 > ( SourceKeyType : : KeyAreaKey ) , <nl> - static_cast < u64 > ( KeyAreaKeyType : : Ocean ) } } , <nl> - { " key_area_key_system_source " , <nl> - { S128KeyType : : Source , static_cast < u64 > ( SourceKeyType : : KeyAreaKey ) , <nl> - static_cast < u64 > ( KeyAreaKeyType : : System ) } } , <nl> - { " titlekek_source " , { S128KeyType : : Source , static_cast < u64 > ( SourceKeyType : : Titlekek ) , 0 } } , <nl> - { " keyblob_mac_key_source " , <nl> - { S128KeyType : : Source , static_cast < u64 > ( SourceKeyType : : KeyblobMAC ) , 0 } } , <nl> - { " tsec_key " , { S128KeyType : : TSEC , 0 , 0 } } , <nl> - { " secure_boot_key " , { S128KeyType : : SecureBoot , 0 , 0 } } , <nl> - { " sd_seed " , { S128KeyType : : SDSeed , 0 , 0 } } , <nl> - { " bis_key_0_crypt " , { S128KeyType : : BIS , 0 , static_cast < u64 > ( BISKeyType : : Crypto ) } } , <nl> - { " bis_key_0_tweak " , { S128KeyType : : BIS , 0 , static_cast < u64 > ( BISKeyType : : Tweak ) } } , <nl> - { " bis_key_1_crypt " , { S128KeyType : : BIS , 1 , static_cast < u64 > ( BISKeyType : : Crypto ) } } , <nl> - { " bis_key_1_tweak " , { S128KeyType : : BIS , 1 , static_cast < u64 > ( BISKeyType : : Tweak ) } } , <nl> - { " bis_key_2_crypt " , { S128KeyType : : BIS , 2 , static_cast < u64 > ( BISKeyType : : Crypto ) } } , <nl> - { " bis_key_2_tweak " , { S128KeyType : : BIS , 2 , static_cast < u64 > ( BISKeyType : : Tweak ) } } , <nl> - { " bis_key_3_crypt " , { S128KeyType : : BIS , 3 , static_cast < u64 > ( BISKeyType : : Crypto ) } } , <nl> - { " bis_key_3_tweak " , { S128KeyType : : BIS , 3 , static_cast < u64 > ( BISKeyType : : Tweak ) } } , <nl> - { " header_kek " , { S128KeyType : : HeaderKek , 0 , 0 } } , <nl> - { " sd_card_kek " , { S128KeyType : : SDKek , 0 , 0 } } , <nl> - } ; <nl> - <nl> - const boost : : container : : flat_map < std : : string , KeyIndex < S256KeyType > > KeyManager : : s256_file_id = { <nl> - { " header_key " , { S256KeyType : : Header , 0 , 0 } } , <nl> - { " sd_card_save_key_source " , { S256KeyType : : SDKeySource , static_cast < u64 > ( SDKeyType : : Save ) , 0 } } , <nl> - { " sd_card_nca_key_source " , { S256KeyType : : SDKeySource , static_cast < u64 > ( SDKeyType : : NCA ) , 0 } } , <nl> - { " header_key_source " , { S256KeyType : : HeaderSource , 0 , 0 } } , <nl> - { " sd_card_save_key " , { S256KeyType : : SDKey , static_cast < u64 > ( SDKeyType : : Save ) , 0 } } , <nl> - { " sd_card_nca_key " , { S256KeyType : : SDKey , static_cast < u64 > ( SDKeyType : : NCA ) , 0 } } , <nl> - } ; <nl> } / / namespace Core : : Crypto <nl> mmm a / src / core / crypto / key_manager . h <nl> ppp b / src / core / crypto / key_manager . h <nl> <nl> # include < string > <nl> <nl> # include < variant > <nl> - # include < boost / container / flat_map . hpp > <nl> # include < fmt / format . h > <nl> # include " common / common_funcs . h " <nl> # include " common / common_types . h " <nl> class KeyManager { <nl> <nl> void SetKeyWrapped ( S128KeyType id , Key128 key , u64 field1 = 0 , u64 field2 = 0 ) ; <nl> void SetKeyWrapped ( S256KeyType id , Key256 key , u64 field1 = 0 , u64 field2 = 0 ) ; <nl> - <nl> - static const boost : : container : : flat_map < std : : string , KeyIndex < S128KeyType > > s128_file_id ; <nl> - static const boost : : container : : flat_map < std : : string , KeyIndex < S256KeyType > > s256_file_id ; <nl> } ; <nl> <nl> Key128 GenerateKeyEncryptionKey ( Key128 source , Key128 master , Key128 kek_seed , Key128 key_seed ) ; <nl> | Merge pull request from lioncash / key - constexpr | yuzu-emu/yuzu | ab350b8975bc0fd9f9130392554bc5c669ca640f | 2020-08-24T00:41:05Z |
mmm a / . gitignore <nl> ppp b / . gitignore <nl> @ @ - 1 + 1 , 2 @ @ <nl> + # Copyright ( c ) 2015 - 2016 , NVIDIA CORPORATION . All rights reserved . <nl> / build <nl> mmm a / README . md <nl> ppp b / README . md <nl> typedef struct { <nl> int size ; <nl> cudaStream_t stream ; <nl> } PerThreadData ; <nl> - <nl> + <nl> int main ( int argc , char * argv [ ] ) <nl> { <nl> int nGPUs ; <nl> int main ( int argc , char * argv [ ] ) <nl> ncclComm_t * comms = ( ncclComm_t * ) malloc ( sizeof ( ncclComm_t ) * nGPUs ) ; <nl> ncclCommInitAll ( comms , nGPUs ) ; / / initialize communicator <nl> / / One communicator per process <nl> - <nl> + <nl> PerThreadData * data ; <nl> - <nl> + <nl> . . . / / Allocate data and issue work to each GPU ' s <nl> / / perDevStream to populate the sendBuffs . <nl> - <nl> + <nl> for ( int i = 0 ; i < nGPUs ; + + i ) { <nl> cudaSetDevice ( i ) ; / / Correct device must be set <nl> / / prior to each collective call . <nl> ncclAllReduce ( data [ i ] . sendBuff , data [ i ] . recvBuff , size , <nl> ncclDouble , ncclSum , comms [ i ] , data [ i ] . stream ) ; <nl> } <nl> - <nl> + <nl> . . . / / Issue work into data [ * ] . stream to consume buffers , etc . <nl> } <nl> ` ` ` <nl> <nl> + # # Copyright and License <nl> + <nl> + NCCL is provided under the [ BSD licence ] ( LICENSE . txt ) . All source code and <nl> + accompanying documentation is copyright ( c ) 2015 - 2016 , NVIDIA CORPORATION . All <nl> + rights reserved . <nl> + <nl> mmm a / src / all_gather . cu <nl> ppp b / src / all_gather . cu <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - * Copyright ( c ) 2015 , NVIDIA CORPORATION . All rights reserved . <nl> + * Copyright ( c ) 2015 - 2016 , NVIDIA CORPORATION . All rights reserved . <nl> * <nl> * Redistribution and use in source and binary forms , with or without <nl> * modification , are permitted provided that the following conditions <nl> __global__ void AllGatherKernel ( const AllGatherKernelArgs < T > args ) { <nl> <nl> if ( ! PUSHRECV ) <nl> WAIT_FOR_PREV_CHUNK ( chunk , s ) ; <nl> - <nl> + <nl> if ( PUSHRECV ) { <nl> DoubleCopy < UNROLL , THREADS > ( <nl> args . ThisOutput + outputOffset , <nl> mmm a / src / all_reduce_test . cu <nl> ppp b / src / all_reduce_test . cu <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - * Copyright ( c ) 2015 , NVIDIA CORPORATION . All rights reserved . <nl> + * Copyright ( c ) 2015 - 2016 , NVIDIA CORPORATION . All rights reserved . <nl> * <nl> * Redistribution and use in source and binary forms , with or without <nl> * modification , are permitted provided that the following conditions <nl> void RunTest ( T * * sendbuff , T * * recvbuff , const int N , const ncclDataType_t type , <nl> int nDev = 0 ; <nl> ncclCommCount ( comms [ 0 ] , & nDev ) ; <nl> cudaStream_t * s = ( cudaStream_t * ) malloc ( sizeof ( cudaStream_t ) * nDev ) ; <nl> - <nl> + <nl> for ( int i = 0 ; i < nDev ; + + i ) { <nl> CUDACHECK ( cudaSetDevice ( dList [ i ] ) ) ; <nl> CUDACHECK ( cudaStreamCreate ( s + i ) ) ; <nl> mmm a / src / core . cu <nl> ppp b / src / core . cu <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - * Copyright ( c ) 2015 , NVIDIA CORPORATION . All rights reserved . <nl> + * Copyright ( c ) 2015 - 2016 , NVIDIA CORPORATION . All rights reserved . <nl> * <nl> * Redistribution and use in source and binary forms , with or without <nl> * modification , are permitted provided that the following conditions <nl> typedef struct { <nl> RankEntry ranks [ 1 ] ; <nl> } RankGather ; <nl> <nl> - static ncclResult_t initGather ( RankGather * * gather , ncclUniqueId commId , <nl> + static ncclResult_t initGather ( RankGather * * gather , ncclUniqueId commId , <nl> int ndev , int rank , RankEntry myInfo ) { <nl> size_t bytes = offsetof ( RankGather , ranks ) + ndev * sizeof ( RankEntry ) ; <nl> RankGather * tmp = NULL ; <nl> static ncclResult_t initGather ( RankGather * * gather , ncclUniqueId commId , <nl> shmUnmap ( tmp , bytes ) ; <nl> return res ; <nl> } <nl> - <nl> + <nl> orderRanks ( tmp - > ranks , ndev ) ; <nl> } <nl> swapped = __sync_bool_compare_and_swap ( & tmp - > bar , bar_tmp , bar_tmp + 1 ) ; <nl> static ncclResult_t populateRankInfo ( RankEntry * info , int rank , ncclComm_t comm ) <nl> return ncclUnhandledCudaError ; <nl> } <nl> INFO ( " rank % d using device % d ( % s ) " , rank , comm - > cudaDev , busId ) ; <nl> - <nl> + <nl> if ( wrapNvmlDeviceGetHandleByPciBusId ( busId , & nvmlHandle ) ! = ncclSuccess ) { <nl> WARN ( " rank % d failed to get nvml handle for device % s " , rank , busId ) ; <nl> return ncclUnhandledCudaError ; <nl> static ncclResult_t commClearMaps ( ncclComm_t comm ) { <nl> case CLEANUP_CUIPC : <nl> res = wrapCuIpcCloseMemHandle ( ( CUdeviceptr ) comm - > cleanup [ d ] . handle ) ; <nl> if ( res ! = ncclSuccess ) { <nl> - WARN ( " rank % d failed to close IPC handle to rank % d " , <nl> + WARN ( " rank % d failed to close IPC handle to rank % d " , <nl> comm - > userFromRing [ comm - > ncclId ] , comm - > userFromRing [ d ] ) ; <nl> retval = ( retval = = ncclSuccess ) ? res : retval ; <nl> } <nl> static ncclResult_t commBuildMaps ( ncclComm_t comm , ncclUniqueId * commId , int ran <nl> return ncclInvalidRank ; <nl> } <nl> comm - > ncclId = myId ; <nl> - <nl> + <nl> int myDev = ranks [ myId ] . cudaDev ; <nl> pid_t myPid = ranks [ myId ] . pid ; <nl> comm - > useRemoteRecv = 1 ; / / Assume we directly write to result ptrs . <nl> static ncclResult_t commBuildMaps ( ncclComm_t comm , ncclUniqueId * commId , int ran <nl> } else if ( err ! = cudaSuccess ) { <nl> INFO ( " peer access failed between rank % d ( dev % d ) and rank % d ( dev % d ) \ n " , <nl> rank , myDev , iRank , iDev ) ; <nl> - <nl> + <nl> canpeer = 0 ; <nl> } <nl> } <nl> static ncclResult_t commUnlinkHostMem ( ncclComm_t comm , ncclUniqueId commId , int <nl> <nl> extern " C " DSOGLOBAL <nl> ncclResult_t ncclCommInitRank ( ncclComm_t * newcomm , int ndev , ncclUniqueId commId , int myrank ) { <nl> - if ( strlen ( commId . internal ) < 1 | | <nl> + if ( strlen ( commId . internal ) < 1 | | <nl> strlen ( commId . internal ) > = NCCL_UNIQUE_ID_BYTES ) { <nl> WARN ( " rank % d invalid commId " , myrank ) ; <nl> return ncclInvalidArgument ; <nl> ncclResult_t ncclCommInitRank ( ncclComm_t * newcomm , int ndev , ncclUniqueId commId <nl> if ( commUnlinkHostMem ( * newcomm , commId , myrank ) ! = ncclSuccess ) <nl> INFO ( " rank % d failed to unlink host mem shm segment " , myrank ) ; <nl> } <nl> - <nl> + <nl> if ( wrapNvmlShutdown ( ) ! = ncclSuccess ) <nl> INFO ( " rank % d did not shutdown nvml properly " , myrank ) ; <nl> return res ; <nl> ncclResult_t ncclCommInitAll ( ncclComm_t * comms , int ndev , int * devlist ) { <nl> INFO ( " rank % d failed to set affinity " , rank ) ; <nl> goto skipaffinity ; <nl> } <nl> - affinity_set = 1 ; <nl> - skipaffinity : <nl> + affinity_set = 1 ; <nl> + skipaffinity : <nl> <nl> res = commAlloc ( & comm , ndev , NULL , rank ) ; <nl> if ( res ! = ncclSuccess ) { <nl> mmm a / src / libwrap . cu <nl> ppp b / src / libwrap . cu <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - * Copyright ( c ) 2015 , NVIDIA CORPORATION . All rights reserved . <nl> + * Copyright ( c ) 2015 - 2016 , NVIDIA CORPORATION . All rights reserved . <nl> * <nl> * Redistribution and use in source and binary forms , with or without <nl> * modification , are permitted provided that the following conditions <nl> ncclResult_t wrapSymbols ( void ) { <nl> <nl> if ( symbolsLoaded ) <nl> return ncclSuccess ; <nl> - <nl> + <nl> static void * nvmlhandle = NULL ; <nl> static void * cuhandle = NULL ; <nl> void * tmp ; <nl> ncclResult_t wrapSymbols ( void ) { <nl> LOAD_SYM ( cuhandle , " cuIpcGetMemHandle " , cuInternalIpcGetMemHandle ) ; <nl> LOAD_SYM ( cuhandle , " cuIpcOpenMemHandle " , cuInternalIpcOpenMemHandle ) ; <nl> LOAD_SYM ( cuhandle , " cuIpcCloseMemHandle " , cuInternalIpcCloseMemHandle ) ; <nl> - <nl> + <nl> symbolsLoaded = 1 ; <nl> return ncclSuccess ; <nl> <nl> ncclResult_t wrapSymbols ( void ) { <nl> nvmlInternalDeviceGetIndex = NULL ; <nl> nvmlInternalDeviceSetCpuAffinity = NULL ; <nl> nvmlInternalDeviceClearCpuAffinity = NULL ; <nl> - <nl> + <nl> cuInternalGetErrorString = NULL ; <nl> cuInternalIpcGetMemHandle = NULL ; <nl> cuInternalIpcOpenMemHandle = NULL ; <nl> mmm a / src / mpi_test . cu <nl> ppp b / src / mpi_test . cu <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - * Copyright ( c ) 2015 , NVIDIA CORPORATION . All rights reserved . <nl> + * Copyright ( c ) 2015 - 2016 , NVIDIA CORPORATION . All rights reserved . <nl> * <nl> * Redistribution and use in source and binary forms , with or without <nl> * modification , are permitted provided that the following conditions <nl> int main ( int argc , char * argv [ ] ) { <nl> CUDACHECK ( cudaMemcpy ( dptr , & val , sizeof ( int ) , cudaMemcpyHostToDevice ) ) ; <nl> <nl> ncclAllReduce ( ( const void * ) dptr , ( void * ) ( dptr + 1024 ) , 1024 , ncclInt , ncclSum , comm , cudaStreamDefault ) ; <nl> - <nl> + <nl> CUDACHECK ( cudaMemcpy ( & val , ( dptr + 1024 ) , sizeof ( int ) , cudaMemcpyDeviceToHost ) ) ; <nl> printf ( " Sum is % d \ n " , val ) ; <nl> CUDACHECK ( cudaFree ( dptr ) ) ; <nl> mmm a / src / nccl . h <nl> ppp b / src / nccl . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - * Copyright ( c ) 2015 , NVIDIA CORPORATION . All rights reserved . <nl> + * Copyright ( c ) 2015 - 2016 , NVIDIA CORPORATION . All rights reserved . <nl> * <nl> * Redistribution and use in source and binary forms , with or without <nl> * modification , are permitted provided that the following conditions <nl> typedef enum { ncclChar = 0 , <nl> / * Reduces data arrays of length count in sendbuff into recvbuf using op operation . <nl> * recvbuf may be NULL on all calls except for root device . <nl> * On the root device , sendbuff and recvbuff are assumed to reside on <nl> - * the same device . <nl> + * the same device . <nl> * Must be called separately for each communicator in communicator clique . <nl> * / <nl> ncclResult_t ncclReduce ( const void * sendbuff , void * recvbuf , int count , ncclDataType_t datatype , <nl> ncclResult_t ncclReduce ( const void * sendbuff , void * recvbuf , int count , ncclData <nl> ncclResult_t ncclAllReduce ( const void * sendbuff , void * recvbuff , int count , <nl> ncclDataType_t datatype , ncclRedOp_t op , ncclComm_t comm , cudaStream_t stream ) ; <nl> <nl> - / * Reduces data in sendbuff using op operation and leaves reduced result scattered <nl> - * over the devices so that recvbuff on the i - th GPU will contain the i - th block of <nl> - * the result . Sendbuff and recvbuff are assumed to reside on same device . Assumes <nl> - * sendbuff has size at least ndev * recvcount elements , where ndev is number of <nl> - * communicators in communicator clique <nl> + / * Reduces data in sendbuff using op operation and leaves reduced result scattered <nl> + * over the devices so that recvbuff on the i - th GPU will contain the i - th block of <nl> + * the result . Sendbuff and recvbuff are assumed to reside on same device . Assumes <nl> + * sendbuff has size at least ndev * recvcount elements , where ndev is number of <nl> + * communicators in communicator clique <nl> * Must be called separately for each communicator in communicator clique . * / <nl> ncclResult_t ncclReduceScatter ( const void * sendbuff , void * recvbuff , <nl> int recvcount , ncclDataType_t datatype , ncclRedOp_t op , ncclComm_t comm , <nl> mmm a / src / reduce . cu <nl> ppp b / src / reduce . cu <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - * Copyright ( c ) 2015 , NVIDIA CORPORATION . All rights reserved . <nl> + * Copyright ( c ) 2015 - 2016 , NVIDIA CORPORATION . All rights reserved . <nl> * <nl> * Redistribution and use in source and binary forms , with or without <nl> * modification , are permitted provided that the following conditions <nl> __global__ void ReduceKernel ( const ReduceKernelArgs < T > args ) { <nl> } <nl> <nl> template < class FUNC , typename T > <nl> - ncclResult_t ncclReduceWithTypeAndFunc ( const void * sendbuff , void * recvbuff , <nl> + ncclResult_t ncclReduceWithTypeAndFunc ( const void * sendbuff , void * recvbuff , <nl> const int count , const int root , ncclComm * comm , cudaStream_t stream ) { <nl> if ( count = = 0 ) <nl> return ncclSuccess ; <nl> mmm a / src / reduce_scatter . cu <nl> ppp b / src / reduce_scatter . cu <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - * Copyright ( c ) 2015 , NVIDIA CORPORATION . All rights reserved . <nl> + * Copyright ( c ) 2015 - 2016 , NVIDIA CORPORATION . All rights reserved . <nl> * <nl> * Redistribution and use in source and binary forms , with or without <nl> * modification , are permitted provided that the following conditions <nl> struct ReduceScatterKernelArgs { <nl> int BufferSliceStride ; <nl> int BufferMisalignedN ; <nl> <nl> + T * * ThisPtrToNextOutput ; <nl> + T * * PrevPtrToThisOutput ; <nl> + <nl> / / local and remote input , output , and buffer <nl> const T * __restrict__ ThisInput ; <nl> volatile T * __restrict__ ThisOutput ; <nl> __global__ void ReduceScatterKernel ( const ReduceScatterKernelArgs < T > args ) { <nl> if ( args . N = = 0 ) return ; <nl> int tid = threadIdx . x ; <nl> <nl> + / / First wait for args . PrevPtrToThisOutput to become nullptr to ensure that <nl> + / / the previous GPU is done with a previous collective operation . <nl> + if ( tid = = 0 ) { <nl> + Wait ( [ = ] { <nl> + return * ( ( T * volatile * ) args . PrevPtrToThisOutput ) = = nullptr ; / / Wait for previous processor to be done <nl> + } ) ; <nl> + <nl> + * ( ( T * volatile * ) args . PrevPtrToThisOutput ) = ( T * ) args . ThisOutput ; / / Tell Previous I ' m starting <nl> + Wait ( [ = ] { <nl> + return * ( ( T * volatile * ) args . ThisPtrToNextOutput ) ! = nullptr ; / / Wait till I ' ve been told next started <nl> + } ) ; <nl> + } <nl> + __syncthreads ( ) ; <nl> + <nl> for ( int chunk = 0 ; chunk < args . NumChunks ; + + chunk ) { <nl> / / calculate slice size . for all chunks except ( possibly ) the last one , <nl> / / this will just be args . SliceSize . For the last one , it may be smaller <nl> __global__ void ReduceScatterKernel ( const ReduceScatterKernelArgs < T > args ) { <nl> if ( tid = = 0 ) { <nl> args . ThisNewDataAvailableFlag [ tid ] = 0 ; <nl> args . ThisChunkDoneFlag [ tid ] = 0 ; <nl> + * args . ThisPtrToNextOutput = nullptr ; <nl> } <nl> } <nl> } <nl> ncclResult_t ncclReduceScatterWithTypeAndFunc ( const void * sendbuff , <nl> args . NumChunks = ( args . N + args . ChunkSize - 1 ) / args . ChunkSize ; <nl> } <nl> <nl> - / / printf ( " sliceSize = % i , chunkSize = % i , numChunks = % i , sliceStride = % i , misalignedN = % i \ n " , args . SliceSize , args . ChunkSize , args . NumChunks , args . BufferSliceStride , args . BufferMisalignedN ) ; <nl> + args . ThisPtrToNextOutput = ( T * * ) & ( comm - > local [ nextId ] - > recvPtrs [ 0 ] ) ; <nl> + args . PrevPtrToThisOutput = ( T * * ) & ( comm - > remote [ prevId ] - > recvPtrs [ 0 ] ) ; <nl> <nl> args . ThisInput = ( const T * ) sendbuff ; <nl> args . ThisOutput = ( volatile T * ) recvbuff ; <nl> ncclResult_t ncclReduceScatterWithTypeAndFunc ( const void * sendbuff , <nl> args . PrevChunkDoneFlag = comm - > remote [ prevId ] - > flags + 1 ; <nl> <nl> ReduceScatterKernel < NUM_THREADS , UNROLL_COUNT , FUNC , T > <nl> - < < < 1 , NUM_THREADS + NUM_SUBCHUNKS * WARP_SIZE , 0 , stream > > > ( args ) ; <nl> + < < < 1 , NUM_THREADS + 1 , 0 , stream > > > ( args ) ; <nl> return ncclSuccess ; <nl> } <nl> <nl> mmm a / src / reduce_test . cu <nl> ppp b / src / reduce_test . cu <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - * Copyright ( c ) 2015 , NVIDIA CORPORATION . All rights reserved . <nl> + * Copyright ( c ) 2015 - 2016 , NVIDIA CORPORATION . All rights reserved . <nl> * <nl> * Redistribution and use in source and binary forms , with or without <nl> * modification , are permitted provided that the following conditions <nl> void RunTest ( T * * sendbuff , T * * recvbuff , const int N , const ncclDataType_t type , <nl> int nDev = 0 ; <nl> ncclCommCount ( comms [ 0 ] , & nDev ) ; <nl> cudaStream_t * s = ( cudaStream_t * ) malloc ( sizeof ( cudaStream_t ) * nDev ) ; <nl> - <nl> + <nl> for ( int i = 0 ; i < nDev ; + + i ) { <nl> CUDACHECK ( cudaSetDevice ( dList [ i ] ) ) ; <nl> CUDACHECK ( cudaStreamCreate ( s + i ) ) ; <nl> void RunTest ( T * * sendbuff , T * * recvbuff , const int N , const ncclDataType_t type , <nl> / / warm up GPU <nl> for ( int i = 0 ; i < nDev ; + + i ) { <nl> CUDACHECK ( cudaSetDevice ( dList [ i ] ) ) ; <nl> - ncclReduce ( ( const void * ) sendbuff [ i ] , ( void * ) recvbuff [ i ] , std : : min ( N , 1024 * 1024 ) , <nl> + ncclReduce ( ( const void * ) sendbuff [ i ] , ( void * ) recvbuff [ i ] , std : : min ( N , 1024 * 1024 ) , <nl> type , op , root , comms [ i ] , s [ i ] ) ; <nl> } <nl> <nl> int main ( int argc , char * argv [ ] ) { <nl> printf ( " \ n " ) ; <nl> <nl> printf ( " # % 10s % 12s % 6s % 6s % 4s out - of - place in - place \ n " , " " , " " , " " , " " , " " ) ; <nl> - printf ( " # % 10s % 12s % 6s % 6s % 4s % 7s % 5s % 5s % 7s % 7s % 5s % 5s % 7s \ n " , <nl> + printf ( " # % 10s % 12s % 6s % 6s % 4s % 7s % 5s % 5s % 7s % 7s % 5s % 5s % 7s \ n " , <nl> " bytes " , " N " , " type " , " op " , " root " , <nl> " time " , " algbw " , " busbw " , " res " , " time " , " algbw " , " busbw " , " res " ) ; <nl> } <nl> mmm a / src / test_utilities . h <nl> ppp b / src / test_utilities . h <nl> <nl> / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> - * Copyright ( c ) 2015 , NVIDIA CORPORATION . All rights reserved . <nl> + * Copyright ( c ) 2015 - 2016 , NVIDIA CORPORATION . All rights reserved . <nl> * <nl> * Redistribution and use in source and binary forms , with or without <nl> * modification , are permitted provided that the following conditions <nl> void deltaKern ( const T * A , const T * B , int N , double * max ) { <nl> int tid = threadIdx . x ; <nl> double locmax = 0 . 0 ; <nl> for ( int i = tid ; i < N ; i + = blockDim . x ) { <nl> - <nl> + <nl> double delta = absDiff ( A [ i ] , B [ i ] ) ; <nl> if ( delta > locmax ) <nl> locmax = delta ; <nl> | Fixed deadlock in back - to - back reduce_scatters . | pytorch/pytorch | 130ee246e21d3f73c977eda496ac9c90c3aa520b | 2016-01-21T18:36:03Z |
diff - - git a / Greedy Algorithms / Knapsack . cpp b / Greedy Algorithms / Knapsack . cpp <nl> mmm a / Greedy Algorithms / Knapsack . cpp <nl> ppp b / Greedy Algorithms / Knapsack . cpp <nl> struct Item <nl> } ; <nl> <nl> <nl> - int main ( int argc , char const * argv [ ] ) <nl> + float profitPerUnit ( Item x ) <nl> { <nl> + return ( float ) ( x . profit / x . weight ) ; <nl> + } <nl> + <nl> + int partition ( Item arr [ ] , int low , int high ) <nl> + { <nl> + Item pivot = arr [ high ] ; / / pivot <nl> + int i = ( low - 1 ) ; / / Index of smaller element <nl> + <nl> + for ( int j = low ; j < high ; j + + ) <nl> + { <nl> + / / If current element is smaller than or <nl> + / / equal to pivot <nl> + if ( profitPerUnit ( arr [ j ] ) < = profitPerUnit ( pivot ) ) <nl> + { <nl> + i + + ; / / increment index of smaller element <nl> + Item temp = arr [ i ] ; <nl> + arr [ i ] = arr [ j ] ; <nl> + arr [ j ] = temp ; <nl> + } <nl> + } <nl> + Item temp = arr [ i + 1 ] ; <nl> + arr [ i + 1 ] = arr [ high ] ; <nl> + arr [ high ] = temp ; <nl> + return ( i + 1 ) ; <nl> + } <nl> + <nl> + <nl> + void quickSort ( int arr [ ] , int low , int high ) <nl> + { <nl> + if ( low < high ) <nl> + { <nl> + <nl> + int p = partition ( arr , low , high ) ; <nl> + <nl> + quickSort ( arr , low , p - 1 ) ; <nl> + quickSort ( arr , p + 1 , high ) ; <nl> + } <nl> + } <nl> + <nl> + <nl> + <nl> + int main ( ) <nl> + { <nl> + cout < < " \ nEnter the capacity of the knapsack : " ; <nl> + int capacity ; <nl> + cin < < capacity ; <nl> + cout < < " \ n Enter the number of Items : " ; <nl> + int n ; <nl> + cin < < n ; <nl> + Items itemArray [ n ] ; <nl> + for ( int i = 0 ; i < n ; i + + ) <nl> + { <nl> + cout < < " \ nEnter the weight and profit of item " < < i < < " : " ; <nl> + cin > itemArray [ i ] . weight ; <nl> + cin > > itemArray [ i ] . profit ; <nl> + } <nl> + <nl> + quickSort ( itemArray , 0 , n ) ; <nl> + <nl> + float maxProfit = 0 ; <nl> + int i = 0 ; <nl> + while ( capacity > 0 & & i < n ) <nl> + { <nl> + if ( capacity > itemArray [ i ] . weight ) <nl> + { <nl> + maxProfit + = itemArray [ i ] . profit ; <nl> + capacity - = itemArray [ i ] . weight ; <nl> + cout < < " \ n \ t " < < itemArray [ i ] . weight < < " \ t " < < itemArray [ i ] . profit ; <nl> + } <nl> + else <nl> + { <nl> + maxProfit + = profitPerUnit ( itemArray [ i ] ) * capacity ; <nl> + capacity = 0 ; <nl> + cout < < " \ n \ t " < < capacity < < " \ t " < < profitPerUnit ( itemArray [ i ] ) * capacity ; <nl> + break ; <nl> + } <nl> + } <nl> + <nl> + cout < < " \ nMax Profit : " < < maxProfit ; <nl> + <nl> return 0 ; <nl> } <nl> \ No newline at end of file <nl> diff - - git a / Reverse a Linked List using Recusion . exe b / Reverse a Linked List using Recusion . exe <nl> deleted file mode 100644 <nl> index 895a482b99 . . 0000000000 <nl> Binary files a / Reverse a Linked List using Recusion . exe and / dev / null differ <nl> | Greedy Algorithms | TheAlgorithms/C-Plus-Plus | f0146cd5e1901259c3d456a6b91adacd0b6ffa1e | 2017-02-20T03:56:23Z |
mmm a / cmake / find / gtest . cmake <nl> ppp b / cmake / find / gtest . cmake <nl> <nl> + option ( ENABLE_GTEST_LIBRARY " Enable gtest library " $ { ENABLE_LIBRARIES } ) <nl> + <nl> + if ( ENABLE_GTEST_LIBRARY ) <nl> + <nl> option ( USE_INTERNAL_GTEST_LIBRARY " Set to FALSE to use system Google Test instead of bundled " $ { NOT_UNBUNDLED } ) <nl> <nl> if ( NOT EXISTS " $ { ClickHouse_SOURCE_DIR } / contrib / googletest / googletest / CMakeLists . txt " ) <nl> if ( ( GTEST_INCLUDE_DIRS AND GTEST_BOTH_LIBRARIES ) OR GTEST_SRC_DIR ) <nl> set ( USE_GTEST 1 ) <nl> endif ( ) <nl> <nl> + endif ( ) <nl> + <nl> message ( STATUS " Using gtest = $ { USE_GTEST } : $ { GTEST_INCLUDE_DIRS } : $ { GTEST_BOTH_LIBRARIES } : $ { GTEST_SRC_DIR } " ) <nl> mmm a / cmake / find / libgsasl . cmake <nl> ppp b / cmake / find / libgsasl . cmake <nl> <nl> + option ( ENABLE_GSASL_LIBRARY " Enable gsasl library " $ { ENABLE_LIBRARIES } ) <nl> + <nl> + if ( ENABLE_GSASL_LIBRARY ) <nl> + <nl> option ( USE_INTERNAL_LIBGSASL_LIBRARY " Set to FALSE to use system libgsasl library instead of bundled " $ { NOT_UNBUNDLED } ) <nl> <nl> if ( NOT EXISTS " $ { ClickHouse_SOURCE_DIR } / contrib / libgsasl / src / gsasl . h " ) <nl> if ( LIBGSASL_LIBRARY AND LIBGSASL_INCLUDE_DIR ) <nl> set ( USE_LIBGSASL 1 ) <nl> endif ( ) <nl> <nl> + endif ( ) <nl> + <nl> message ( STATUS " Using libgsasl = $ { USE_LIBGSASL } : $ { LIBGSASL_INCLUDE_DIR } : $ { LIBGSASL_LIBRARY } " ) <nl> mmm a / cmake / find / msgpack . cmake <nl> ppp b / cmake / find / msgpack . cmake <nl> <nl> + option ( ENABLE_MSGPACK " Enable msgpack library " $ { ENABLE_LIBRARIES } ) <nl> + <nl> + if ( ENABLE_MSGPACK ) <nl> + <nl> option ( USE_INTERNAL_MSGPACK_LIBRARY " Set to FALSE to use system msgpack library instead of bundled " $ { NOT_UNBUNDLED } ) <nl> <nl> if ( USE_INTERNAL_MSGPACK_LIBRARY ) <nl> else ( ) <nl> find_path ( MSGPACK_INCLUDE_DIR NAMES msgpack . hpp PATHS $ { MSGPACK_INCLUDE_PATHS } ) <nl> endif ( ) <nl> <nl> - message ( STATUS " Using msgpack : $ { MSGPACK_INCLUDE_DIR } " ) <nl> + if ( MSG_PACK_INCLUDE_DIR ) <nl> + set ( USE_MSGPACK 1 ) <nl> + endif ( ) <nl> + <nl> + endif ( ) <nl> + <nl> + message ( STATUS " Using msgpack = $ { USE_MSGPACK } : $ { MSGPACK_INCLUDE_DIR } " ) <nl> mmm a / docker / test / fasttest / run . sh <nl> ppp b / docker / test / fasttest / run . sh <nl> fi <nl> <nl> git submodule update - - init - - recursive | ts ' % Y - % m - % d % H : % M : % S ' | tee / test_output / submodule_log . txt <nl> <nl> - export CMAKE_LIBS_CONFIG = " - DENABLE_RDKAFKA = 0 - DENABLE_S3 = 0 - DUSE_SENTRY = 0 - DENABLE_AMQPCPP = 0 - DENABLE_HDFS = 0 - DENABLE_MYSQL = 0 - DENABLE_GRPC = 0 - DENABLE_CURL = 0 - DENABLE_JEMALLOC = 0 - DENABLE_CAPNP = 0 - DENABLE_RDKAFKA = 0 - DENABLE_UNWIND = 0 - DENABLE_ICU = 0 - DENABLE_POCO_MONGODB = 0 - DENABLE_POCO_REDIS = 0 - DENABLE_POCO_NETSSL = 0 - DENABLE_ODBC = 0 - DENABLE_MYSQL = 0 - DENABLE_SSL = 0 - DENABLE_POCO_NETSSL = 0 - DENABLE_CASSANDRA = 0 - DENABLE_PARQUET = 0 - DENABLE_AVRO = 0 - DENABLE_EMBEDDED_COMPILER = 0 - DENABLE_PROTOBUF = 0 - DENABLE_H3 = 0 - DENABLE_TESTS = 0 - DENABLE_UTILS = 0 - DENABLE_ODBC = 0 - DUSE_INTERNAL_LIBGSASL_LIBRARY = 0 - DENABLE_THINLTO = 0 - DUSE_INTERNAL_MSGPACK_LIBRARY = 0 - DENABLE_LDAP = 0 - DUSE_SNAPPY = 0 - DUSE_INTERNAL_GTEST_LIBRARY = 0 " <nl> + export CMAKE_LIBS_CONFIG = " - DENABLE_RDKAFKA = 0 - DENABLE_S3 = 0 - DUSE_SENTRY = 0 - DENABLE_AMQPCPP = 0 - DENABLE_HDFS = 0 - DENABLE_MYSQL = 0 - DENABLE_GRPC = 0 - DENABLE_CURL = 0 - DENABLE_JEMALLOC = 0 - DENABLE_CAPNP = 0 - DENABLE_RDKAFKA = 0 - DENABLE_ICU = 0 - DENABLE_POCO_NETSSL = 0 - DENABLE_ODBC = 0 - DENABLE_MYSQL = 0 - DENABLE_SSL = 0 - DENABLE_POCO_NETSSL = 0 - DENABLE_CASSANDRA = 0 - DENABLE_PARQUET = 0 - DENABLE_AVRO = 0 - DENABLE_EMBEDDED_COMPILER = 0 - DENABLE_PROTOBUF = 0 - DENABLE_H3 = 0 - DENABLE_TESTS = 0 - DENABLE_UTILS = 0 - DENABLE_ODBC = 0 - DENABLE_GSASL_LIBRARY = 0 - DENABLE_THINLTO = 0 - DENABLE_MSGPACK = 0 - DENABLE_LDAP = 0 - DUSE_SNAPPY = 0 " <nl> <nl> export CCACHE_DIR = / ccache <nl> export CCACHE_BASEDIR = / ClickHouse <nl> mmm a / src / CMakeLists . txt <nl> ppp b / src / CMakeLists . txt <nl> endif ( ) <nl> <nl> target_include_directories ( clickhouse_common_io SYSTEM BEFORE PUBLIC $ { DOUBLE_CONVERSION_INCLUDE_DIR } ) <nl> <nl> - if ( USE_INTERNAL_MSGPACK_LIBRARY ) <nl> + if ( USE_MSGPACK ) <nl> target_include_directories ( clickhouse_common_io SYSTEM BEFORE PUBLIC $ { MSGPACK_INCLUDE_DIR } ) <nl> endif ( ) <nl> <nl> mmm a / src / Formats / config_formats . h . in <nl> ppp b / src / Formats / config_formats . h . in <nl> <nl> # cmakedefine01 USE_ORC <nl> # cmakedefine01 USE_ARROW <nl> # cmakedefine01 USE_PROTOBUF <nl> + # cmakedefine01 USE_MSGPACK <nl> + <nl> mmm a / src / Processors / Formats / Impl / MsgPackRowInputFormat . cpp <nl> ppp b / src / Processors / Formats / Impl / MsgPackRowInputFormat . cpp <nl> <nl> - # include < cstdlib > <nl> # include < Processors / Formats / Impl / MsgPackRowInputFormat . h > <nl> + <nl> + # if USE_MSGPACK <nl> + <nl> + # include < cstdlib > <nl> # include < Common / assert_cast . h > <nl> # include < IO / ReadHelpers . h > <nl> <nl> void registerInputFormatProcessorMsgPack ( FormatFactory & factory ) <nl> } <nl> <nl> } <nl> + <nl> + # endif <nl> mmm a / src / Processors / Formats / Impl / MsgPackRowInputFormat . h <nl> ppp b / src / Processors / Formats / Impl / MsgPackRowInputFormat . h <nl> <nl> # pragma once <nl> <nl> + # include " config_formats . h " <nl> + # include " config_core . h " <nl> + <nl> + # if USE_MSGPACK <nl> + <nl> # include < Processors / Formats / IRowInputFormat . h > <nl> # include < Formats / FormatFactory . h > <nl> # include < IO / PeekableReadBuffer . h > <nl> class MsgPackRowInputFormat : public IRowInputFormat <nl> } ; <nl> <nl> } <nl> + <nl> + # endif <nl> mmm a / src / Processors / Formats / Impl / MsgPackRowOutputFormat . cpp <nl> ppp b / src / Processors / Formats / Impl / MsgPackRowOutputFormat . cpp <nl> <nl> # include < Processors / Formats / Impl / MsgPackRowOutputFormat . h > <nl> + <nl> + # if USE_MSGPACK <nl> + <nl> # include < Formats / FormatFactory . h > <nl> # include < Common / assert_cast . h > <nl> <nl> void registerOutputFormatProcessorMsgPack ( FormatFactory & factory ) <nl> } <nl> <nl> } <nl> + <nl> + # endif <nl> mmm a / src / Processors / Formats / Impl / MsgPackRowOutputFormat . h <nl> ppp b / src / Processors / Formats / Impl / MsgPackRowOutputFormat . h <nl> <nl> # pragma once <nl> <nl> + # include " config_formats . h " <nl> + # include " config_core . h " <nl> + <nl> + # if USE_MSGPACK <nl> + <nl> # include < Core / Block . h > <nl> # include < IO / WriteBuffer . h > <nl> # include < Processors / Formats / IRowOutputFormat . h > <nl> class MsgPackRowOutputFormat : public IRowOutputFormat <nl> } ; <nl> <nl> } <nl> + <nl> + # endif <nl> | Better cmake and less libraries | ClickHouse/ClickHouse | a9824fd65022fdc7357dc0f9d3bcb25b2859cf13 | 2020-07-10T19:08:18Z |
mmm a / . travis . yml <nl> ppp b / . travis . yml <nl> install : <nl> before_script : <nl> - if [ " $ CHECK_DOC " = 1 - a " $ TRAVIS_EVENT_TYPE " = " pull_request " ] ; then contrib / devtools / commit - script - check . sh $ TRAVIS_COMMIT_RANGE ; fi <nl> - if [ " $ CHECK_DOC " = 1 ] ; then contrib / devtools / check - doc . py ; fi <nl> + - if [ " $ CHECK_DOC " = 1 ] ; then contrib / devtools / check - rpc - mappings . py . ; fi <nl> - unset CC ; unset CXX <nl> - mkdir - p depends / SDKs depends / sdk - sources <nl> - if [ - n " $ OSX_SDK " - a ! - f depends / sdk - sources / MacOSX $ { OSX_SDK } . sdk . tar . gz ] ; then curl - - location - - fail $ SDK_URL / MacOSX $ { OSX_SDK } . sdk . tar . gz - o depends / sdk - sources / MacOSX $ { OSX_SDK } . sdk . tar . gz ; fi <nl> new file mode 100755 <nl> index 000000000000 . . d2698de041b7 <nl> mmm / dev / null <nl> ppp b / contrib / devtools / check - rpc - mappings . py <nl> <nl> + # ! / usr / bin / env python3 <nl> + # Copyright ( c ) 2017 The Bitcoin Core developers <nl> + # Distributed under the MIT software license , see the accompanying <nl> + # file COPYING or http : / / www . opensource . org / licenses / mit - license . php . <nl> + " " " Check RPC argument consistency . " " " <nl> + <nl> + from collections import defaultdict <nl> + import os <nl> + import re <nl> + import sys <nl> + <nl> + # Source files ( relative to root ) to scan for dispatch tables <nl> + SOURCES = [ <nl> + " src / rpc / server . cpp " , <nl> + " src / rpc / blockchain . cpp " , <nl> + " src / rpc / mining . cpp " , <nl> + " src / rpc / misc . cpp " , <nl> + " src / rpc / net . cpp " , <nl> + " src / rpc / rawtransaction . cpp " , <nl> + " src / wallet / rpcwallet . cpp " , <nl> + ] <nl> + # Source file ( relative to root ) containing conversion mapping <nl> + SOURCE_CLIENT = ' src / rpc / client . cpp ' <nl> + # Argument names that should be ignored in consistency checks <nl> + IGNORE_DUMMY_ARGS = { ' dummy ' , ' arg0 ' , ' arg1 ' , ' arg2 ' , ' arg3 ' , ' arg4 ' , ' arg5 ' , ' arg6 ' , ' arg7 ' , ' arg8 ' , ' arg9 ' } <nl> + <nl> + class RPCCommand : <nl> + def __init__ ( self , name , args ) : <nl> + self . name = name <nl> + self . args = args <nl> + <nl> + class RPCArgument : <nl> + def __init__ ( self , names , idx ) : <nl> + self . names = names <nl> + self . idx = idx <nl> + self . convert = False <nl> + <nl> + def parse_string ( s ) : <nl> + assert s [ 0 ] = = ' " ' <nl> + assert s [ - 1 ] = = ' " ' <nl> + return s [ 1 : - 1 ] <nl> + <nl> + def process_commands ( fname ) : <nl> + " " " Find and parse dispatch table in implementation file ` fname ` . " " " <nl> + cmds = [ ] <nl> + in_rpcs = False <nl> + with open ( fname , " r " ) as f : <nl> + for line in f : <nl> + line = line . rstrip ( ) <nl> + if not in_rpcs : <nl> + if re . match ( " static const CRPCCommand . * \ [ \ ] = " , line ) : <nl> + in_rpcs = True <nl> + else : <nl> + if line . startswith ( ' } ; ' ) : <nl> + in_rpcs = False <nl> + elif ' { ' in line and ' " ' in line : <nl> + m = re . search ( ' { * ( " [ ^ " ] * " ) , * ( " [ ^ " ] * " ) , * & ( [ ^ , ] * ) , * { ( [ ^ } ] * ) } * } , ' , line ) <nl> + assert m , ' No match to table expression : % s ' % line <nl> + name = parse_string ( m . group ( 2 ) ) <nl> + args_str = m . group ( 4 ) . strip ( ) <nl> + if args_str : <nl> + args = [ RPCArgument ( parse_string ( x . strip ( ) ) . split ( ' | ' ) , idx ) for idx , x in enumerate ( args_str . split ( ' , ' ) ) ] <nl> + else : <nl> + args = [ ] <nl> + cmds . append ( RPCCommand ( name , args ) ) <nl> + assert not in_rpcs , " Something went wrong with parsing the C + + file : update the regexps " <nl> + return cmds <nl> + <nl> + def process_mapping ( fname ) : <nl> + " " " Find and parse conversion table in implementation file ` fname ` . " " " <nl> + cmds = [ ] <nl> + in_rpcs = False <nl> + with open ( fname , " r " ) as f : <nl> + for line in f : <nl> + line = line . rstrip ( ) <nl> + if not in_rpcs : <nl> + if line = = ' static const CRPCConvertParam vRPCConvertParams [ ] = ' : <nl> + in_rpcs = True <nl> + else : <nl> + if line . startswith ( ' } ; ' ) : <nl> + in_rpcs = False <nl> + elif ' { ' in line and ' " ' in line : <nl> + m = re . search ( ' { * ( " [ ^ " ] * " ) , * ( [ 0 - 9 ] + ) * , * ( " [ ^ " ] * " ) * } , ' , line ) <nl> + assert m , ' No match to table expression : % s ' % line <nl> + name = parse_string ( m . group ( 1 ) ) <nl> + idx = int ( m . group ( 2 ) ) <nl> + argname = parse_string ( m . group ( 3 ) ) <nl> + cmds . append ( ( name , idx , argname ) ) <nl> + assert not in_rpcs <nl> + return cmds <nl> + <nl> + def main ( ) : <nl> + root = sys . argv [ 1 ] <nl> + <nl> + # Get all commands from dispatch tables <nl> + cmds = [ ] <nl> + for fname in SOURCES : <nl> + cmds + = process_commands ( os . path . join ( root , fname ) ) <nl> + <nl> + cmds_by_name = { } <nl> + for cmd in cmds : <nl> + cmds_by_name [ cmd . name ] = cmd <nl> + <nl> + # Get current convert mapping for client <nl> + client = SOURCE_CLIENT <nl> + mapping = set ( process_mapping ( os . path . join ( root , client ) ) ) <nl> + <nl> + print ( ' * Checking consistency between dispatch tables and vRPCConvertParams ' ) <nl> + <nl> + # Check mapping consistency <nl> + errors = 0 <nl> + for ( cmdname , argidx , argname ) in mapping : <nl> + try : <nl> + rargnames = cmds_by_name [ cmdname ] . args [ argidx ] . names <nl> + except IndexError : <nl> + print ( ' ERROR : % s argument % i ( named % s in vRPCConvertParams ) is not defined in dispatch table ' % ( cmdname , argidx , argname ) ) <nl> + errors + = 1 <nl> + continue <nl> + if argname not in rargnames : <nl> + print ( ' ERROR : % s argument % i is named % s in vRPCConvertParams but % s in dispatch table ' % ( cmdname , argidx , argname , rargnames ) , file = sys . stderr ) <nl> + errors + = 1 <nl> + <nl> + # Check for conflicts in vRPCConvertParams conversion <nl> + # All aliases for an argument must either be present in the <nl> + # conversion table , or not . Anything in between means an oversight <nl> + # and some aliases won ' t work . <nl> + for cmd in cmds : <nl> + for arg in cmd . args : <nl> + convert = [ ( ( cmd . name , arg . idx , argname ) in mapping ) for argname in arg . names ] <nl> + if any ( convert ) ! = all ( convert ) : <nl> + print ( ' ERROR : % s argument % s has conflicts in vRPCConvertParams conversion specifier % s ' % ( cmd . name , arg . names , convert ) ) <nl> + errors + = 1 <nl> + arg . convert = all ( convert ) <nl> + <nl> + # Check for conversion difference by argument name . <nl> + # It is preferable for API consistency that arguments with the same name <nl> + # have the same conversion , so bin by argument name . <nl> + all_methods_by_argname = defaultdict ( list ) <nl> + converts_by_argname = defaultdict ( list ) <nl> + for cmd in cmds : <nl> + for arg in cmd . args : <nl> + for argname in arg . names : <nl> + all_methods_by_argname [ argname ] . append ( cmd . name ) <nl> + converts_by_argname [ argname ] . append ( arg . convert ) <nl> + <nl> + for argname , convert in converts_by_argname . items ( ) : <nl> + if all ( convert ) ! = any ( convert ) : <nl> + if argname in IGNORE_DUMMY_ARGS : <nl> + # these are testing or dummy , don ' t warn for them <nl> + continue <nl> + print ( ' WARNING : conversion mismatch for argument named % s ( % s ) ' % <nl> + ( argname , list ( zip ( all_methods_by_argname [ argname ] , converts_by_argname [ argname ] ) ) ) ) <nl> + <nl> + sys . exit ( errors > 0 ) <nl> + <nl> + <nl> + if __name__ = = ' __main__ ' : <nl> + main ( ) <nl> | Merge : test : Check RPC argument mapping | bitcoin/bitcoin | 7fcd61b2613c211bb042a82a889655178be6a212 | 2017-09-13T18:16:59Z |
mmm a / ci / run_clang_tidy . sh <nl> ppp b / ci / run_clang_tidy . sh <nl> echo " build $ { BAZEL_BUILD_OPTIONS } " > > . bazelrc <nl> mv . / compile_commands . json " $ { ENVOY_SRCDIR } / compile_commands . json " <nl> cd " $ { ENVOY_SRCDIR } " <nl> <nl> + # Do not run incremental clang - tidy on check_format testdata files . <nl> + function exclude_testdata ( ) { <nl> + grep - v tools / testdata / check_format / <nl> + } <nl> + <nl> if [ [ " $ { RUN_FULL_CLANG_TIDY } " = = 1 ] ] ; then <nl> echo " Running full clang - tidy . . . " <nl> run - clang - tidy - 7 <nl> elif [ [ - z " $ { CIRCLE_PR_NUMBER } " & & " $ CIRCLE_BRANCH " = = " master " ] ] ; then <nl> echo " On master branch , running clang - tidy - diff against previous commit . . . " <nl> - git diff HEAD ^ | clang - tidy - diff - 7 . py - p 1 <nl> + git diff HEAD ^ | exclude_testdata | clang - tidy - diff - 7 . py - p 1 <nl> else <nl> echo " Running clang - tidy - diff against master branch . . . " <nl> git fetch https : / / github . com / envoyproxy / envoy . git master <nl> - git diff $ ( git merge - base HEAD FETCH_HEAD ) . . HEAD | clang - tidy - diff - 7 . py - p 1 <nl> + git diff $ ( git merge - base HEAD FETCH_HEAD ) . . HEAD | exclude_testdata | \ <nl> + clang - tidy - diff - 7 . py - p 1 <nl> fi <nl> mmm a / test / BUILD <nl> ppp b / test / BUILD <nl> envoy_cc_test_library ( <nl> " / / source / common / event : libevent_lib " , <nl> " / / test / mocks / access_log : access_log_mocks " , <nl> " / / test / test_common : environment_lib " , <nl> + " / / test / test_common : global_lib " , <nl> " / / test / test_common : printers_lib " , <nl> ] + select ( { <nl> " / / bazel : disable_signal_trace " : [ ] , <nl> mmm a / test / common / http / conn_manager_impl_test . cc <nl> ppp b / test / common / http / conn_manager_impl_test . cc <nl> using testing : : Ref ; <nl> using testing : : Return ; <nl> using testing : : ReturnRef ; <nl> using testing : : Sequence ; <nl> - using testing : : Test ; <nl> <nl> namespace Envoy { <nl> namespace Http { <nl> <nl> - class HttpConnectionManagerImplTest : public Test , public ConnectionManagerConfig { <nl> + class HttpConnectionManagerImplTest : public testing : : Test , public ConnectionManagerConfig { <nl> public : <nl> struct RouteConfigProvider : public Router : : RouteConfigProvider { <nl> RouteConfigProvider ( TimeSource & time_source ) : time_source_ ( time_source ) { } <nl> mmm a / test / common / network / connection_impl_test . cc <nl> ppp b / test / common / network / connection_impl_test . cc <nl> using testing : : Return ; <nl> using testing : : SaveArg ; <nl> using testing : : Sequence ; <nl> using testing : : StrictMock ; <nl> - using testing : : Test ; <nl> <nl> namespace Envoy { <nl> namespace Network { <nl> mmm a / test / common / tracing / http_tracer_impl_test . cc <nl> ppp b / test / common / tracing / http_tracer_impl_test . cc <nl> using testing : : NiceMock ; <nl> using testing : : Return ; <nl> using testing : : ReturnPointee ; <nl> using testing : : ReturnRef ; <nl> - using testing : : Test ; <nl> <nl> namespace Envoy { <nl> namespace Tracing { <nl> TEST ( HttpNullTracerTest , BasicFunctionality ) { <nl> EXPECT_NE ( nullptr , span_ptr - > spawnChild ( config , " foo " , SystemTime ( ) ) ) ; <nl> } <nl> <nl> - class HttpTracerImplTest : public Test { <nl> + class HttpTracerImplTest : public testing : : Test { <nl> public : <nl> HttpTracerImplTest ( ) { <nl> driver_ = new MockDriver ( ) ; <nl> mmm a / test / extensions / filters / network / thrift_proxy / decoder_test . cc <nl> ppp b / test / extensions / filters / network / thrift_proxy / decoder_test . cc <nl> using testing : : Return ; <nl> using testing : : ReturnRef ; <nl> using testing : : SetArgReferee ; <nl> using testing : : StrictMock ; <nl> - using testing : : Test ; <nl> using testing : : TestParamInfo ; <nl> using testing : : TestWithParam ; <nl> using testing : : Values ; <nl> INSTANTIATE_TEST_CASE_P ( NonValueProtocolStates , DecoderStateMachineNonValueTest , <nl> ProtocolState : : SetBegin , ProtocolState : : SetEnd ) , <nl> protoStateParamToString ) ; <nl> <nl> - class DecoderStateMachineTest : public DecoderStateMachineTestBase , public Test { } ; <nl> + class DecoderStateMachineTest : public DecoderStateMachineTestBase , public testing : : Test { } ; <nl> <nl> class DecoderStateMachineValueTest : public DecoderStateMachineTestBase , <nl> public TestWithParam < FieldType > { } ; <nl> mmm a / test / extensions / filters / network / thrift_proxy / route_matcher_test . cc <nl> ppp b / test / extensions / filters / network / thrift_proxy / route_matcher_test . cc <nl> <nl> # include " gtest / gtest . h " <nl> <nl> using testing : : _ ; <nl> - using testing : : Test ; <nl> <nl> namespace Envoy { <nl> namespace Extensions { <nl> mmm a / test / extensions / filters / network / thrift_proxy / router_test . cc <nl> ppp b / test / extensions / filters / network / thrift_proxy / router_test . cc <nl> using testing : : NiceMock ; <nl> using testing : : Ref ; <nl> using testing : : Return ; <nl> using testing : : ReturnRef ; <nl> - using testing : : Test ; <nl> using testing : : TestWithParam ; <nl> using testing : : Values ; <nl> <nl> class ThriftRouterTestBase { <nl> NiceMock < Network : : MockClientConnection > upstream_connection_ ; <nl> } ; <nl> <nl> - class ThriftRouterTest : public ThriftRouterTestBase , public Test { <nl> + class ThriftRouterTest : public ThriftRouterTestBase , public testing : : Test { <nl> public : <nl> - ThriftRouterTest ( ) { } <nl> } ; <nl> <nl> class ThriftRouterFieldTypeTest : public ThriftRouterTestBase , public TestWithParam < FieldType > { <nl> public : <nl> - ThriftRouterFieldTypeTest ( ) { } <nl> } ; <nl> <nl> INSTANTIATE_TEST_CASE_P ( PrimitiveFieldTypes , ThriftRouterFieldTypeTest , <nl> INSTANTIATE_TEST_CASE_P ( PrimitiveFieldTypes , ThriftRouterFieldTypeTest , <nl> <nl> class ThriftRouterContainerTest : public ThriftRouterTestBase , public TestWithParam < FieldType > { <nl> public : <nl> - ThriftRouterContainerTest ( ) { } <nl> } ; <nl> <nl> INSTANTIATE_TEST_CASE_P ( ContainerFieldTypes , ThriftRouterContainerTest , <nl> mmm a / test / extensions / filters / network / thrift_proxy / thrift_object_impl_test . cc <nl> ppp b / test / extensions / filters / network / thrift_proxy / thrift_object_impl_test . cc <nl> using testing : : NiceMock ; <nl> using testing : : Ref ; <nl> using testing : : Return ; <nl> using testing : : ReturnRef ; <nl> - using testing : : Test ; <nl> using testing : : TestWithParam ; <nl> using testing : : Values ; <nl> <nl> class ThriftObjectImplTestBase { <nl> Buffer : : OwnedImpl buffer_ ; <nl> } ; <nl> <nl> - class ThriftObjectImplTest : public ThriftObjectImplTestBase , public Test { } ; <nl> + class ThriftObjectImplTest : public ThriftObjectImplTestBase , public testing : : Test { } ; <nl> <nl> / / Test parsing an empty struct ( just a stop field ) . <nl> TEST_F ( ThriftObjectImplTest , ParseEmptyStruct ) { <nl> mmm a / test / extensions / tracers / common / ot / opentracing_driver_impl_test . cc <nl> ppp b / test / extensions / tracers / common / ot / opentracing_driver_impl_test . cc <nl> <nl> # include " opentracing / mocktracer / in_memory_recorder . h " <nl> # include " opentracing / mocktracer / tracer . h " <nl> <nl> - using testing : : Test ; <nl> - <nl> namespace Envoy { <nl> namespace Extensions { <nl> namespace Tracers { <nl> class TestDriver : public OpenTracingDriver { <nl> std : : shared_ptr < opentracing : : mocktracer : : MockTracer > tracer_ ; <nl> } ; <nl> <nl> - class OpenTracingDriverTest : public Test { <nl> + class OpenTracingDriverTest : public testing : : Test { <nl> public : <nl> void <nl> setupValidDriver ( OpenTracingDriver : : PropagationMode propagation_mode = <nl> mmm a / test / extensions / tracers / datadog / datadog_tracer_impl_test . cc <nl> ppp b / test / extensions / tracers / datadog / datadog_tracer_impl_test . cc <nl> using testing : : Invoke ; <nl> using testing : : NiceMock ; <nl> using testing : : Return ; <nl> using testing : : ReturnRef ; <nl> - using testing : : Test ; <nl> <nl> namespace Envoy { <nl> namespace Extensions { <nl> namespace Tracers { <nl> namespace Datadog { <nl> <nl> - class DatadogDriverTest : public Test { <nl> + class DatadogDriverTest : public testing : : Test { <nl> public : <nl> void setup ( envoy : : config : : trace : : v2 : : DatadogConfig & datadog_config , bool init_timer ) { <nl> ON_CALL ( cm_ , httpAsyncClientForCluster ( " fake_cluster " ) ) <nl> mmm a / test / extensions / tracers / dynamic_ot / dynamic_opentracing_driver_impl_test . cc <nl> ppp b / test / extensions / tracers / dynamic_ot / dynamic_opentracing_driver_impl_test . cc <nl> <nl> # include " gmock / gmock . h " <nl> # include " gtest / gtest . h " <nl> <nl> - using testing : : Test ; <nl> - <nl> namespace Envoy { <nl> namespace Extensions { <nl> namespace Tracers { <nl> namespace DynamicOt { <nl> <nl> - class DynamicOpenTracingDriverTest : public Test { <nl> + class DynamicOpenTracingDriverTest : public testing : : Test { <nl> public : <nl> void setup ( const std : : string & library , const std : : string & tracer_config ) { <nl> driver_ = std : : make_unique < DynamicOpenTracingDriver > ( stats_ , library , tracer_config ) ; <nl> mmm a / test / extensions / tracers / lightstep / lightstep_tracer_impl_test . cc <nl> ppp b / test / extensions / tracers / lightstep / lightstep_tracer_impl_test . cc <nl> using testing : : Invoke ; <nl> using testing : : NiceMock ; <nl> using testing : : Return ; <nl> using testing : : ReturnRef ; <nl> - using testing : : Test ; <nl> <nl> namespace Envoy { <nl> namespace Extensions { <nl> namespace Tracers { <nl> namespace Lightstep { <nl> <nl> - class LightStepDriverTest : public Test { <nl> + class LightStepDriverTest : public testing : : Test { <nl> public : <nl> void setup ( envoy : : config : : trace : : v2 : : LightstepConfig & lightstep_config , bool init_timer , <nl> Common : : Ot : : OpenTracingDriver : : PropagationMode propagation_mode = <nl> mmm a / test / extensions / tracers / zipkin / zipkin_tracer_impl_test . cc <nl> ppp b / test / extensions / tracers / zipkin / zipkin_tracer_impl_test . cc <nl> using testing : : Invoke ; <nl> using testing : : NiceMock ; <nl> using testing : : Return ; <nl> using testing : : ReturnRef ; <nl> - using testing : : Test ; <nl> <nl> namespace Envoy { <nl> namespace Extensions { <nl> namespace Tracers { <nl> namespace Zipkin { <nl> <nl> - class ZipkinDriverTest : public Test { <nl> + class ZipkinDriverTest : public testing : : Test { <nl> public : <nl> ZipkinDriverTest ( ) : time_source_ ( test_time_ . timeSystem ( ) ) { } <nl> <nl> mmm a / test / extensions / transport_sockets / alts / tsi_frame_protector_test . cc <nl> ppp b / test / extensions / transport_sockets / alts / tsi_frame_protector_test . cc <nl> using testing : : InSequence ; <nl> using testing : : Invoke ; <nl> using testing : : NiceMock ; <nl> using testing : : SaveArg ; <nl> - using testing : : Test ; <nl> using namespace std : : string_literals ; <nl> <nl> / * * <nl> * Test with fake frame protector . The protected frame header is 4 byte length ( little endian , <nl> * include header itself ) and following the body . <nl> * / <nl> - class TsiFrameProtectorTest : public Test { <nl> + class TsiFrameProtectorTest : public testing : : Test { <nl> public : <nl> TsiFrameProtectorTest ( ) <nl> : raw_frame_protector_ ( tsi_create_fake_frame_protector ( nullptr ) ) , <nl> mmm a / test / extensions / transport_sockets / alts / tsi_handshaker_test . cc <nl> ppp b / test / extensions / transport_sockets / alts / tsi_handshaker_test . cc <nl> using testing : : InSequence ; <nl> using testing : : Invoke ; <nl> using testing : : NiceMock ; <nl> using testing : : SaveArg ; <nl> - using testing : : Test ; <nl> <nl> class MockTsiHandshakerCallbacks : public TsiHandshakerCallbacks { <nl> public : <nl> class MockTsiHandshakerCallbacks : public TsiHandshakerCallbacks { <nl> } <nl> } ; <nl> <nl> - class TsiHandshakerTest : public Test { <nl> + class TsiHandshakerTest : public testing : : Test { <nl> public : <nl> TsiHandshakerTest ( ) <nl> : server_handshaker_ ( { tsi_create_fake_handshaker ( 0 ) } , dispatcher_ ) , <nl> mmm a / test / test_common / BUILD <nl> ppp b / test / test_common / BUILD <nl> envoy_cc_library ( <nl> ] , <nl> ) <nl> <nl> + envoy_cc_test_library ( <nl> + name = " global_lib " , <nl> + srcs = [ " global . cc " ] , <nl> + hdrs = [ " global . h " ] , <nl> + deps = [ <nl> + " / / source / common / common : assert_lib " , <nl> + " / / source / common / common : thread_lib " , <nl> + ] , <nl> + ) <nl> + <nl> + envoy_cc_test ( <nl> + name = " global_test " , <nl> + srcs = [ " global_test . cc " ] , <nl> + deps = [ <nl> + " : global_lib " , <nl> + ] , <nl> + ) <nl> + <nl> envoy_cc_test_library ( <nl> name = " test_time_lib " , <nl> srcs = [ " test_time . cc " ] , <nl> new file mode 100644 <nl> index 00000000000 . . 4c827922ee9 <nl> mmm / dev / null <nl> ppp b / test / test_common / global . cc <nl> <nl> + # include " test / test_common / global . h " <nl> + <nl> + # include " common / common / assert . h " <nl> + <nl> + namespace Envoy { <nl> + namespace Test { <nl> + <nl> + Globals & Globals : : instance ( ) { <nl> + static Globals * globals = new Globals ; <nl> + return * globals ; <nl> + } <nl> + <nl> + std : : string Globals : : describeActiveSingletonsHelper ( ) { <nl> + std : : string ret ; <nl> + Thread : : ReleasableLockGuard map_lock ( map_mutex_ ) ; <nl> + for ( auto & p : singleton_map_ ) { <nl> + SingletonSharedPtr singleton = p . second . lock ( ) ; <nl> + if ( singleton ! = nullptr ) { <nl> + absl : : StrAppend ( & ret , " Unexpected active singleton : " , p . first , " \ n " ) ; <nl> + } <nl> + } <nl> + return ret ; <nl> + } <nl> + <nl> + } / / namespace Test <nl> + } / / namespace Envoy <nl> new file mode 100644 <nl> index 00000000000 . . c00f847667f <nl> mmm / dev / null <nl> ppp b / test / test_common / global . h <nl> <nl> + # pragma once <nl> + <nl> + # include " common / common / lock_guard . h " <nl> + # include " common / common / thread . h " <nl> + <nl> + # include " absl / container / flat_hash_map . h " <nl> + <nl> + namespace Envoy { <nl> + namespace Test { <nl> + <nl> + / * * <nl> + * Helper class for managing Global < Type > s . <nl> + * <nl> + * This class is instantiated as a process - scoped singleton . It manages a map <nl> + * from type - name to weak_ptr < GlobalHelper : : Singleton > . That map accumulates <nl> + * over a process lifetime and never shrinks . However , the weak_ptr will <nl> + * generally be cleared after each test , as all shared_ptr references held in <nl> + * Global < Type > instances are destroyed . This way , each unit - test gets a fresh <nl> + * start . <nl> + * / <nl> + class Globals { <nl> + public : <nl> + / * * <nl> + * Walks through all global singletons and ensures that none of them are <nl> + * active . No singletons should be allocaed at the end of unit tests , so <nl> + * this is called at the end of Envoy : : TestRunner : : RunTests ( ) . <nl> + * <nl> + * @ return std : : string empty string if quiescent , otherwise newline - separated <nl> + * error messages . <nl> + * / <nl> + static std : : string describeActiveSingletons ( ) { <nl> + return instance ( ) . describeActiveSingletonsHelper ( ) ; <nl> + } <nl> + <nl> + / * * <nl> + * Manages Singleton objects that are cleaned up after all references are <nl> + * dropped . This class must not be templatized because as a map value where <nl> + * every singleton in the map represents a different type . Instead we <nl> + * templatize the ptr ( ) and ref ( ) methods . <nl> + * / <nl> + struct Singleton { <nl> + virtual ~ Singleton ( ) = default ; <nl> + virtual void * ptrHelper ( ) PURE ; <nl> + template < class Type > Type * ptr ( ) { return static_cast < Type * > ( ptrHelper ( ) ) ; } <nl> + template < class Type > Type & ref ( ) { return * ptr < Type > ( ) ; } <nl> + } ; <nl> + using SingletonSharedPtr = std : : shared_ptr < Singleton > ; <nl> + <nl> + / * * <nl> + * @ return Type a singleton instance of Type . T must be default - constructible . <nl> + * / <nl> + template < class Type > static SingletonSharedPtr get ( ) { return instance ( ) . getHelper < Type > ( ) ; } <nl> + <nl> + ~ Globals ( ) = delete ; / / GlobalHeler is constructed once and never destroyed . <nl> + <nl> + private : <nl> + / * * <nl> + * Templatized derived class of Singleton which holds the Type object and is <nl> + * responsible for deleting it using the correct destructor . <nl> + * / <nl> + template < class Type > struct TypedSingleton : public Singleton { <nl> + ~ TypedSingleton ( ) override = default ; <nl> + void * ptrHelper ( ) override { return ptr_ . get ( ) ; } <nl> + <nl> + private : <nl> + std : : unique_ptr < Type > ptr_ { std : : make_unique < Type > ( ) } ; <nl> + } ; <nl> + <nl> + Globals ( ) = default ; / / Construct via Globals : : instance ( ) . <nl> + <nl> + / * * <nl> + * @ return Globals & a singleton for Globals . <nl> + * / <nl> + static Globals & instance ( ) ; <nl> + <nl> + template < class Type > SingletonSharedPtr getHelper ( ) { <nl> + Thread : : LockGuard map_lock ( map_mutex_ ) ; <nl> + std : : weak_ptr < Singleton > & weak_singleton_ref = singleton_map_ [ typeid ( Type ) . name ( ) ] ; <nl> + SingletonSharedPtr singleton = weak_singleton_ref . lock ( ) ; <nl> + <nl> + if ( singleton = = nullptr ) { <nl> + singleton = std : : make_shared < TypedSingleton < Type > > ( ) ; <nl> + weak_singleton_ref = singleton ; <nl> + } <nl> + return singleton ; <nl> + } <nl> + <nl> + std : : string describeActiveSingletonsHelper ( ) ; <nl> + <nl> + Thread : : MutexBasicLockable map_mutex_ ; <nl> + absl : : flat_hash_map < std : : string , std : : weak_ptr < Singleton > > singleton_map_ GUARDED_BY ( map_mutex_ ) ; <nl> + } ; <nl> + <nl> + / * * <nl> + * Helps manage classes that need to be instantiated once per server . In <nl> + * production they must be be plumbed through call / class hierarchy , but <nl> + * in test - code the zero - arg - constructor Mock pattern makes this impractical . <nl> + * Instead we use self - cleaning singletons . <nl> + * <nl> + * Say for example you need a FooImpl plumbed through the system . In production <nl> + * code you must propagate a FooImpl through constructors to provide access <nl> + * where needed . For tests , everywhere a common FooImpl is required , <nl> + * instantiate : <nl> + * <nl> + * Global < FooImpl > foo ; <nl> + * <nl> + * You can ghen access the singleton FooImpl via foo . get ( ) . The underlying <nl> + * FooImpl is ref - counted , and when the last TestGlobal is freed , the singleton <nl> + * FooImpl will be destructed and the singleton pointer nulled . <nl> + * <nl> + * The templated type must have a zero - arg constructor . Templatizing this on an <nl> + * int will compile , but will be hard to use as the memory will be uninitialized <nl> + * and you will not know when instantiating it whether it needs to be <nl> + * initialized . <nl> + * / <nl> + template < class Type > class Global { <nl> + public : <nl> + Global ( ) : singleton_ ( Globals : : get < Type > ( ) ) { } <nl> + Type & get ( ) { return singleton_ - > ref < Type > ( ) ; } <nl> + Type * operator - > ( ) { return singleton_ - > ptr < Type > ( ) ; } <nl> + Type & operator * ( ) { return singleton_ - > ref < Type > ( ) ; } <nl> + <nl> + private : <nl> + Globals : : SingletonSharedPtr singleton_ ; <nl> + } ; <nl> + <nl> + } / / namespace Test <nl> + } / / namespace Envoy <nl> new file mode 100644 <nl> index 00000000000 . . bd6bb567466 <nl> mmm / dev / null <nl> ppp b / test / test_common / global_test . cc <nl> <nl> + # include < string > <nl> + # include < vector > <nl> + <nl> + # include " test / test_common / global . h " <nl> + <nl> + # include " gtest / gtest . h " <nl> + <nl> + namespace Envoy { <nl> + namespace Test { <nl> + <nl> + class GlobalTest : public testing : : Test { <nl> + protected : <nl> + } ; <nl> + <nl> + TEST_F ( GlobalTest , SingletonStringAndVector ) { <nl> + { <nl> + Global < std : : string > s1 ; <nl> + Global < std : : vector < int > > v1 ; <nl> + EXPECT_EQ ( " " , * s1 ) ; <nl> + * s1 = " foo " ; <nl> + EXPECT_TRUE ( v1 - > empty ( ) ) ; <nl> + v1 - > push_back ( 42 ) ; <nl> + <nl> + Global < std : : string > s2 ; <nl> + Global < std : : vector < int > > v2 ; <nl> + EXPECT_EQ ( " foo " , * s2 ) ; <nl> + ASSERT_EQ ( 1 , v2 - > size ( ) ) ; <nl> + EXPECT_EQ ( 42 , ( * v2 ) [ 0 ] ) ; <nl> + } <nl> + <nl> + / / The system is now quiescent , having dropped all references to the globals . <nl> + EXPECT_EQ ( " " , Globals : : describeActiveSingletons ( ) ) ; <nl> + <nl> + / / After the globals went out of scope , referencing them again we start <nl> + / / from clean objects ; <nl> + Global < std : : string > s3 ; <nl> + Global < std : : vector < int > > v3 ; <nl> + EXPECT_EQ ( " " , * s3 ) ; <nl> + EXPECT_TRUE ( v3 - > empty ( ) ) ; <nl> + <nl> + / / With s3 and v3 on the stack , there are active singletons . <nl> + EXPECT_NE ( " " , Globals : : describeActiveSingletons ( ) ) ; <nl> + } <nl> + <nl> + } / / namespace Test <nl> + } / / namespace Envoy <nl> mmm a / test / test_runner . h <nl> ppp b / test / test_runner . h <nl> <nl> <nl> # include " test / mocks / access_log / mocks . h " <nl> # include " test / test_common / environment . h " <nl> + # include " test / test_common / global . h " <nl> <nl> # include " gmock / gmock . h " <nl> # include " gtest / gtest . h " <nl> class TestRunner { <nl> file_logger = std : : make_unique < Logger : : FileSinkDelegate > ( <nl> TestEnvironment : : getOptions ( ) . logPath ( ) , access_log_manager , Logger : : Registry : : getSink ( ) ) ; <nl> } <nl> - return RUN_ALL_TESTS ( ) ; <nl> + int exit_status = RUN_ALL_TESTS ( ) ; <nl> + <nl> + / / Check that all singletons have been destroyed . <nl> + std : : string active_singletons = Test : : Globals : : describeActiveSingletons ( ) ; <nl> + if ( ! active_singletons . empty ( ) ) { <nl> + std : : cerr < < " \ n \ nFAIL : Active singletons exist : \ n " < < active_singletons < < std : : endl ; <nl> + exit_status = EXIT_FAILURE ; <nl> + } <nl> + <nl> + return exit_status ; <nl> } <nl> } ; <nl> } / / namespace Envoy <nl> mmm a / tools / check_format . py <nl> ppp b / tools / check_format . py <nl> def checkSourceLine ( line , file_path , reportError ) : <nl> if ' ? : ' in line : <nl> # The ? : operator is non - standard , it is a GCC extension <nl> reportError ( " Don ' t use the ' ? : ' operator , it is a non - standard GCC extension " ) <nl> + if line . startswith ( ' using testing : : Test ; ' ) : <nl> + reportError ( " Don ' t use ' using testing : : Test ; , elaborate the type instead " ) <nl> <nl> <nl> def checkBuildLine ( line , file_path , reportError ) : <nl> mmm a / tools / check_format_test_helper . py <nl> ppp b / tools / check_format_test_helper . py <nl> def checkFileExpectingOK ( filename ) : <nl> errors + = checkUnfixableError ( " attribute_packed . cc " , " Don ' t use __attribute__ ( ( packed ) ) " ) <nl> errors + = checkUnfixableError ( " designated_initializers . cc " , " Don ' t use designated initializers " ) <nl> errors + = checkUnfixableError ( " elvis_operator . cc " , " Don ' t use the ' ? : ' operator " ) <nl> + errors + = checkUnfixableError ( " testing_test . cc " , <nl> + " Don ' t use ' using testing : : Test ; , elaborate the type instead " ) <nl> <nl> # The following files have errors that can be automatically fixed . <nl> errors + = checkAndFixError ( " over_enthusiastic_spaces . cc " , <nl> new file mode 100644 <nl> index 00000000000 . . 187deb46212 <nl> mmm / dev / null <nl> ppp b / tools / testdata / check_format / testing_test . cc <nl> <nl> + namespace Envoy { <nl> + <nl> + using testing : : Test ; <nl> + <nl> + } / / namespace Envoy <nl> | test : Add a mechanism for creating singletons in tests ( ) | envoyproxy/envoy | 08310eb305059ce64d04d0640f13fdf931c1e10e | 2018-11-21T16:07:41Z |
mmm a / src / mongo / db / exec / subplan . cpp <nl> ppp b / src / mongo / db / exec / subplan . cpp <nl> Status SubplanStage : : choosePlanForSubqueries ( PlanYieldPolicy * yieldPolicy ) { <nl> <nl> / / Use the cached index assignments to build solnRoot . Takes ownership of ' _orExpression ' . <nl> std : : unique_ptr < QuerySolutionNode > solnRoot ( QueryPlannerAccess : : buildIndexedDataAccess ( <nl> - * _query , _orExpression . release ( ) , false , _plannerParams . indices , _plannerParams ) ) ; <nl> + * _query , std : : move ( _orExpression ) , _plannerParams . indices , _plannerParams ) ) ; <nl> <nl> if ( ! solnRoot ) { <nl> mongoutils : : str : : stream ss ; <nl> mmm a / src / mongo / db / query / planner_access . cpp <nl> ppp b / src / mongo / db / query / planner_access . cpp <nl> bool scansAreEquivalent ( const QuerySolutionNode * lhs , const QuerySolutionNode * r <nl> * their index scans reversed to provide the sort . Otherwise , returns an empty vector . <nl> * ' nodes ' must not be empty . <nl> * / <nl> - std : : vector < bool > canProvideSortWithMergeSort ( const std : : vector < QuerySolutionNode * > & nodes , <nl> - const BSONObj & requestedSort ) { <nl> + std : : vector < bool > canProvideSortWithMergeSort ( <nl> + const std : : vector < std : : unique_ptr < QuerySolutionNode > > & nodes , const BSONObj & requestedSort ) { <nl> invariant ( ! nodes . empty ( ) ) ; <nl> std : : vector < bool > shouldReverseScan ; <nl> const auto reverseSort = QueryPlannerCommon : : reverseSortObj ( requestedSort ) ; <nl> using std : : unique_ptr ; <nl> using std : : vector ; <nl> using stdx : : make_unique ; <nl> <nl> - / / static <nl> std : : unique_ptr < QuerySolutionNode > QueryPlannerAccess : : makeCollectionScan ( <nl> const CanonicalQuery & query , bool tailable , const QueryPlannerParams & params ) { <nl> / / Make the ( only ) node , a collection scan . <nl> std : : unique_ptr < QuerySolutionNode > QueryPlannerAccess : : makeCollectionScan ( <nl> return std : : move ( csn ) ; <nl> } <nl> <nl> - / / static <nl> - QuerySolutionNode * QueryPlannerAccess : : makeLeafNode ( <nl> + std : : unique_ptr < QuerySolutionNode > QueryPlannerAccess : : makeLeafNode ( <nl> const CanonicalQuery & query , <nl> const IndexEntry & index , <nl> size_t pos , <nl> - MatchExpression * expr , <nl> + const MatchExpression * expr , <nl> IndexBoundsBuilder : : BoundsTightness * tightnessOut ) { <nl> / / We ' re guaranteed that all GEO_NEARs are first . This slightly violates the " sort index <nl> / / predicates by their position in the compound index " rule but GEO_NEAR isn ' t an ixscan . <nl> QuerySolutionNode * QueryPlannerAccess : : makeLeafNode ( <nl> if ( MatchExpression : : GEO_NEAR = = expr - > matchType ( ) ) { <nl> / / We must not keep the expression node around . <nl> * tightnessOut = IndexBoundsBuilder : : EXACT ; <nl> - GeoNearMatchExpression * nearExpr = static_cast < GeoNearMatchExpression * > ( expr ) ; <nl> + auto nearExpr = static_cast < const GeoNearMatchExpression * > ( expr ) ; <nl> <nl> BSONElement elt = index . keyPattern . firstElement ( ) ; <nl> bool indexIs2D = ( String = = elt . type ( ) & & " 2d " = = elt . String ( ) ) ; <nl> <nl> if ( indexIs2D ) { <nl> - GeoNear2DNode * ret = new GeoNear2DNode ( index ) ; <nl> + auto ret = stdx : : make_unique < GeoNear2DNode > ( index ) ; <nl> ret - > nq = & nearExpr - > getData ( ) ; <nl> ret - > baseBounds . fields . resize ( index . keyPattern . nFields ( ) ) ; <nl> if ( NULL ! = query . getProj ( ) ) { <nl> QuerySolutionNode * QueryPlannerAccess : : makeLeafNode ( <nl> ret - > addDistMeta = query . getProj ( ) - > wantGeoNearDistance ( ) ; <nl> } <nl> <nl> - return ret ; <nl> + return std : : move ( ret ) ; <nl> } else { <nl> - GeoNear2DSphereNode * ret = new GeoNear2DSphereNode ( index ) ; <nl> + auto ret = stdx : : make_unique < GeoNear2DSphereNode > ( index ) ; <nl> ret - > nq = & nearExpr - > getData ( ) ; <nl> ret - > baseBounds . fields . resize ( index . keyPattern . nFields ( ) ) ; <nl> if ( NULL ! = query . getProj ( ) ) { <nl> ret - > addPointMeta = query . getProj ( ) - > wantGeoNearPoint ( ) ; <nl> ret - > addDistMeta = query . getProj ( ) - > wantGeoNearDistance ( ) ; <nl> } <nl> - return ret ; <nl> + return std : : move ( ret ) ; <nl> } <nl> } else if ( MatchExpression : : TEXT = = expr - > matchType ( ) ) { <nl> / / We must not keep the expression node around . <nl> * tightnessOut = IndexBoundsBuilder : : EXACT ; <nl> - TextMatchExpressionBase * textExpr = static_cast < TextMatchExpressionBase * > ( expr ) ; <nl> - TextNode * ret = new TextNode ( index ) ; <nl> + auto textExpr = static_cast < const TextMatchExpressionBase * > ( expr ) ; <nl> + auto ret = stdx : : make_unique < TextNode > ( index ) ; <nl> ret - > ftsQuery = textExpr - > getFTSQuery ( ) . clone ( ) ; <nl> <nl> / / Count the number of prefix fields before the " text " field . <nl> QuerySolutionNode * QueryPlannerAccess : : makeLeafNode ( <nl> + + ( ret - > numPrefixFields ) ; <nl> } <nl> <nl> - return ret ; <nl> + return std : : move ( ret ) ; <nl> } else { <nl> / / Note that indexKeyPattern . firstElement ( ) . fieldName ( ) may not equal expr - > path ( ) <nl> / / because expr might be inside an array operator that provides a path prefix . <nl> - IndexScanNode * isn = new IndexScanNode ( index ) ; <nl> + auto isn = stdx : : make_unique < IndexScanNode > ( index ) ; <nl> isn - > bounds . fields . resize ( index . keyPattern . nFields ( ) ) ; <nl> isn - > addKeyMetadata = query . getQueryRequest ( ) . returnKey ( ) ; <nl> isn - > queryCollator = query . getCollator ( ) ; <nl> QuerySolutionNode * QueryPlannerAccess : : makeLeafNode ( <nl> <nl> IndexBoundsBuilder : : translate ( expr , keyElt , index , & isn - > bounds . fields [ pos ] , tightnessOut ) ; <nl> <nl> - return isn ; <nl> + return std : : move ( isn ) ; <nl> } <nl> } <nl> <nl> void QueryPlannerAccess : : mergeWithLeafNode ( MatchExpression * expr , ScanBuildingSt <nl> } <nl> } <nl> <nl> - / / static <nl> void QueryPlannerAccess : : finishTextNode ( QuerySolutionNode * node , const IndexEntry & index ) { <nl> TextNode * tn = static_cast < TextNode * > ( node ) ; <nl> <nl> void QueryPlannerAccess : : finishTextNode ( QuerySolutionNode * node , const IndexEntr <nl> tn - > indexPrefix = prefixBob . obj ( ) ; <nl> } <nl> <nl> - / / static <nl> bool QueryPlannerAccess : : orNeedsFetch ( const ScanBuildingState * scanState ) { <nl> if ( scanState - > loosestBounds = = IndexBoundsBuilder : : EXACT ) { <nl> return false ; <nl> bool QueryPlannerAccess : : orNeedsFetch ( const ScanBuildingState * scanState ) { <nl> } <nl> } <nl> <nl> - / / static <nl> void QueryPlannerAccess : : finishAndOutputLeaf ( ScanBuildingState * scanState , <nl> - vector < QuerySolutionNode * > * out ) { <nl> + vector < std : : unique_ptr < QuerySolutionNode > > * out ) { <nl> finishLeafNode ( scanState - > currentScan . get ( ) , scanState - > indices [ scanState - > currentIndexNumber ] ) ; <nl> <nl> if ( MatchExpression : : OR = = scanState - > root - > matchType ( ) ) { <nl> void QueryPlannerAccess : : finishAndOutputLeaf ( ScanBuildingState * scanState , <nl> / / In order to correctly evaluate the predicates for this index , we have to <nl> / / fetch the full documents . Add a fetch node above the index scan whose filter <nl> / / includes * all * of the predicates used to generate the ixscan . <nl> - FetchNode * fetch = new FetchNode ( ) ; <nl> + auto fetch = stdx : : make_unique < FetchNode > ( ) ; <nl> / / Takes ownership . <nl> - fetch - > filter . reset ( scanState - > curOr . release ( ) ) ; <nl> + fetch - > filter = std : : move ( scanState - > curOr ) ; <nl> / / Takes ownership . <nl> fetch - > children . push_back ( scanState - > currentScan . release ( ) ) ; <nl> <nl> - scanState - > currentScan . reset ( fetch ) ; <nl> + scanState - > currentScan = std : : move ( fetch ) ; <nl> } else if ( scanState - > loosestBounds = = IndexBoundsBuilder : : INEXACT_COVERED ) { <nl> / / This an OR , at least one of the predicates used to generate ' currentScan ' <nl> / / is inexact covered , but none is inexact fetch . This means that we can put <nl> void QueryPlannerAccess : : finishAndOutputLeaf ( ScanBuildingState * scanState , <nl> / / Say we have index { a : 1 } and query { $ or : [ { a : / foo / } , { a : / bar / } ] } . <nl> / / The entire query , { $ or : [ { a : / foo / } , { a : / bar / } ] } , should be a filter <nl> / / in the index scan stage itself . <nl> - scanState - > currentScan - > filter . reset ( scanState - > curOr . release ( ) ) ; <nl> + scanState - > currentScan - > filter = std : : move ( scanState - > curOr ) ; <nl> } <nl> } <nl> <nl> - out - > push_back ( scanState - > currentScan . release ( ) ) ; <nl> + out - > push_back ( std : : move ( scanState - > currentScan ) ) ; <nl> } <nl> <nl> - / / static <nl> void QueryPlannerAccess : : finishLeafNode ( QuerySolutionNode * node , const IndexEntry & index ) { <nl> const StageType type = node - > getType ( ) ; <nl> <nl> void QueryPlannerAccess : : finishLeafNode ( QuerySolutionNode * node , const IndexEntr <nl> IndexBoundsBuilder : : alignBounds ( bounds , index . keyPattern ) ; <nl> } <nl> <nl> - / / static <nl> void QueryPlannerAccess : : findElemMatchChildren ( const MatchExpression * node , <nl> vector < MatchExpression * > * out , <nl> vector < MatchExpression * > * subnodesOut ) { <nl> void QueryPlannerAccess : : findElemMatchChildren ( const MatchExpression * node , <nl> } <nl> } <nl> <nl> - / / static <nl> - std : : vector < QuerySolutionNode * > QueryPlannerAccess : : collapseEquivalentScans ( <nl> - const std : : vector < QuerySolutionNode * > scans ) { <nl> - std : : vector < std : : unique_ptr < QuerySolutionNode > > ownedScans = <nl> - transitional_tools_do_not_use : : spool_vector ( scans ) ; <nl> - invariant ( ownedScans . size ( ) > 0 ) ; <nl> + std : : vector < std : : unique_ptr < QuerySolutionNode > > QueryPlannerAccess : : collapseEquivalentScans ( <nl> + std : : vector < std : : unique_ptr < QuerySolutionNode > > scans ) { <nl> + invariant ( scans . size ( ) > 0 ) ; <nl> <nl> / / Scans that need to be collapsed will be adjacent to each other in the list due to how we <nl> / / sort the query predicate . We step through the list , either merging the current scan into <nl> std : : vector < QuerySolutionNode * > QueryPlannerAccess : : collapseEquivalentScans ( <nl> / / be merged . <nl> std : : vector < std : : unique_ptr < QuerySolutionNode > > collapsedScans ; <nl> <nl> - collapsedScans . push_back ( std : : move ( ownedScans [ 0 ] ) ) ; <nl> - for ( size_t i = 1 ; i < ownedScans . size ( ) ; + + i ) { <nl> - if ( scansAreEquivalent ( collapsedScans . back ( ) . get ( ) , ownedScans [ i ] . get ( ) ) ) { <nl> + collapsedScans . push_back ( std : : move ( scans [ 0 ] ) ) ; <nl> + for ( size_t i = 1 ; i < scans . size ( ) ; + + i ) { <nl> + if ( scansAreEquivalent ( collapsedScans . back ( ) . get ( ) , scans [ i ] . get ( ) ) ) { <nl> / / We collapse the entry from ' ownedScans ' into the back of ' collapsedScans ' . <nl> - std : : unique_ptr < QuerySolutionNode > collapseFrom ( std : : move ( ownedScans [ i ] ) ) ; <nl> + std : : unique_ptr < QuerySolutionNode > collapseFrom = std : : move ( scans [ i ] ) ; <nl> FetchNode * collapseFromFetch = getFetchNode ( collapseFrom . get ( ) ) ; <nl> FetchNode * collapseIntoFetch = getFetchNode ( collapsedScans . back ( ) . get ( ) ) ; <nl> <nl> std : : vector < QuerySolutionNode * > QueryPlannerAccess : : collapseEquivalentScans ( <nl> collapseIntoFetch - > filter = MatchExpression : : optimize ( std : : move ( collapsedFilter ) ) ; <nl> } else { <nl> / / Scans are not equivalent and can ' t be collapsed . <nl> - collapsedScans . push_back ( std : : move ( ownedScans [ i ] ) ) ; <nl> + collapsedScans . push_back ( std : : move ( scans [ i ] ) ) ; <nl> } <nl> } <nl> <nl> invariant ( collapsedScans . size ( ) > 0 ) ; <nl> - return transitional_tools_do_not_use : : leak_vector ( collapsedScans ) ; <nl> + return collapsedScans ; <nl> } <nl> <nl> - / / static <nl> bool QueryPlannerAccess : : processIndexScans ( const CanonicalQuery & query , <nl> MatchExpression * root , <nl> bool inArrayOperator , <nl> const std : : vector < IndexEntry > & indices , <nl> const QueryPlannerParams & params , <nl> - std : : vector < QuerySolutionNode * > * out ) { <nl> + std : : vector < std : : unique_ptr < QuerySolutionNode > > * out ) { <nl> / / Initialize the ScanBuildingState . <nl> ScanBuildingState scanState ( root , inArrayOperator , indices ) ; <nl> <nl> bool QueryPlannerAccess : : processIndexScans ( const CanonicalQuery & query , <nl> / / Reset state before producing a new leaf . <nl> scanState . resetForNextScan ( scanState . ixtag ) ; <nl> <nl> - scanState . currentScan . reset ( makeLeafNode ( query , <nl> - indices [ scanState . currentIndexNumber ] , <nl> - scanState . ixtag - > pos , <nl> - child , <nl> - & scanState . tightness ) ) ; <nl> + scanState . currentScan = makeLeafNode ( query , <nl> + indices [ scanState . currentIndexNumber ] , <nl> + scanState . ixtag - > pos , <nl> + child , <nl> + & scanState . tightness ) ; <nl> <nl> handleFilter ( & scanState ) ; <nl> } <nl> bool QueryPlannerAccess : : processIndexScans ( const CanonicalQuery & query , <nl> return true ; <nl> } <nl> <nl> - / / static <nl> - bool QueryPlannerAccess : : processIndexScansElemMatch ( const CanonicalQuery & query , <nl> - ScanBuildingState * scanState , <nl> - const QueryPlannerParams & params , <nl> - std : : vector < QuerySolutionNode * > * out ) { <nl> + bool QueryPlannerAccess : : processIndexScansElemMatch ( <nl> + const CanonicalQuery & query , <nl> + ScanBuildingState * scanState , <nl> + const QueryPlannerParams & params , <nl> + std : : vector < std : : unique_ptr < QuerySolutionNode > > * out ) { <nl> MatchExpression * root = scanState - > root ; <nl> MatchExpression * child = root - > getChild ( scanState - > curChild ) ; <nl> const vector < IndexEntry > & indices = scanState - > indices ; <nl> bool QueryPlannerAccess : : processIndexScansElemMatch ( const CanonicalQuery & query , <nl> MatchExpression * subnode = emSubnodes [ i ] ; <nl> <nl> if ( ! Indexability : : isBoundsGenerating ( subnode ) ) { <nl> - / / Must pass true for ' inArrayOperator ' because the subnode is <nl> - / / beneath an ELEM_MATCH_OBJECT . <nl> - QuerySolutionNode * childSolution = <nl> - buildIndexedDataAccess ( query , subnode , true , indices , params ) ; <nl> - <nl> - / / buildIndexedDataAccess ( . . . ) returns NULL in error conditions , when <nl> - / / it is unable to construct a query solution from a tagged match <nl> - / / expression tree . If we are unable to construct a solution according <nl> - / / to the instructions from the enumerator , then we bail out early <nl> - / / ( by returning false ) rather than continuing on and potentially <nl> - / / constructing an invalid solution tree . <nl> - if ( NULL = = childSolution ) { <nl> + / / ' subnode ' is beneath an $ elemMatch . When planning the children of array operators , we <nl> + / / keep ownership of the match expression node . Therefore , we pass nullptr for the <nl> + / / ' ownedRoot ' argument . <nl> + auto childSolution = _buildIndexedDataAccess ( query , subnode , nullptr , indices , params ) ; <nl> + <nl> + / / _buildIndexedDataAccess ( . . . ) returns NULL in error conditions , when it is unable to <nl> + / / construct a query solution from a tagged match expression tree . If we are unable to <nl> + / / construct a solution according to the instructions from the enumerator , then we bail <nl> + / / out early ( by returning false ) rather than continuing on and potentially constructing <nl> + / / an invalid solution tree . <nl> + if ( ! childSolution ) { <nl> return false ; <nl> } <nl> <nl> / / Output the resulting solution tree . <nl> - out - > push_back ( childSolution ) ; <nl> + out - > push_back ( std : : move ( childSolution ) ) ; <nl> } <nl> } <nl> <nl> bool QueryPlannerAccess : : processIndexScansElemMatch ( const CanonicalQuery & query , <nl> scanState - > currentIndexNumber = scanState - > ixtag - > index ; <nl> <nl> scanState - > tightness = IndexBoundsBuilder : : INEXACT_FETCH ; <nl> - scanState - > currentScan . reset ( makeLeafNode ( query , <nl> - indices [ scanState - > currentIndexNumber ] , <nl> - scanState - > ixtag - > pos , <nl> - emChild , <nl> - & scanState - > tightness ) ) ; <nl> + scanState - > currentScan = makeLeafNode ( query , <nl> + indices [ scanState - > currentIndexNumber ] , <nl> + scanState - > ixtag - > pos , <nl> + emChild , <nl> + & scanState - > tightness ) ; <nl> } <nl> } <nl> <nl> bool QueryPlannerAccess : : processIndexScansElemMatch ( const CanonicalQuery & query , <nl> return true ; <nl> } <nl> <nl> - / / static <nl> - bool QueryPlannerAccess : : processIndexScansSubnode ( const CanonicalQuery & query , <nl> - ScanBuildingState * scanState , <nl> - const QueryPlannerParams & params , <nl> - std : : vector < QuerySolutionNode * > * out ) { <nl> + bool QueryPlannerAccess : : processIndexScansSubnode ( <nl> + const CanonicalQuery & query , <nl> + ScanBuildingState * scanState , <nl> + const QueryPlannerParams & params , <nl> + std : : vector < std : : unique_ptr < QuerySolutionNode > > * out ) { <nl> MatchExpression * root = scanState - > root ; <nl> MatchExpression * child = root - > getChild ( scanState - > curChild ) ; <nl> const vector < IndexEntry > & indices = scanState - > indices ; <nl> bool inArrayOperator = scanState - > inArrayOperator ; <nl> <nl> + / / We may detach the current child from the tree and assume ownership . <nl> + std : : unique_ptr < MatchExpression > ownedChild ; <nl> + <nl> if ( MatchExpression : : AND = = root - > matchType ( ) & & <nl> MatchExpression : : ELEM_MATCH_OBJECT = = child - > matchType ( ) ) { <nl> return processIndexScansElemMatch ( query , scanState , params , out ) ; <nl> } else if ( ! inArrayOperator ) { <nl> - / / The logical sub - tree is responsible for fully evaluating itself . Any <nl> - / / required filters or fetches are already hung on it . As such , we remove the <nl> - / / filter branch from our tree . buildIndexedDataAccess takes ownership of the <nl> - / / child . <nl> + / / The logical sub - tree is responsible for fully evaluating itself . Any required filters or <nl> + / / fetches are already hung on it . As such , we remove the filter branch from our tree and <nl> + / / assume ownership of it . <nl> root - > getChildVector ( ) - > erase ( root - > getChildVector ( ) - > begin ( ) + scanState - > curChild ) ; <nl> - / / The curChild of today is the curChild + 1 of yesterday . <nl> + ownedChild . reset ( child ) ; <nl> } else { <nl> + + scanState - > curChild ; <nl> } <nl> <nl> / / If inArrayOperator : takes ownership of child , which is OK , since we detached <nl> / / child from root . <nl> - QuerySolutionNode * childSolution = <nl> - buildIndexedDataAccess ( query , child , inArrayOperator , indices , params ) ; <nl> - if ( NULL = = childSolution ) { <nl> + auto childSolution = <nl> + _buildIndexedDataAccess ( query , child , std : : move ( ownedChild ) , indices , params ) ; <nl> + if ( ! childSolution ) { <nl> return false ; <nl> } <nl> - out - > push_back ( childSolution ) ; <nl> + out - > push_back ( std : : move ( childSolution ) ) ; <nl> return true ; <nl> } <nl> <nl> - / / static <nl> - QuerySolutionNode * QueryPlannerAccess : : buildIndexedAnd ( const CanonicalQuery & query , <nl> - MatchExpression * root , <nl> - bool inArrayOperator , <nl> - const vector < IndexEntry > & indices , <nl> - const QueryPlannerParams & params ) { <nl> - unique_ptr < MatchExpression > autoRoot ; <nl> - if ( ! inArrayOperator ) { <nl> - autoRoot . reset ( root ) ; <nl> - } <nl> - <nl> + std : : unique_ptr < QuerySolutionNode > QueryPlannerAccess : : buildIndexedAnd ( <nl> + const CanonicalQuery & query , <nl> + MatchExpression * root , <nl> + std : : unique_ptr < MatchExpression > ownedRoot , <nl> + const vector < IndexEntry > & indices , <nl> + const QueryPlannerParams & params ) { <nl> / / If we are not allowed to trim for ixisect , then clone the match expression before <nl> / / passing it to processIndexScans ( ) , which may do the trimming . If we end up with <nl> / / an index intersection solution , then we use our copy of the match expression to be <nl> QuerySolutionNode * QueryPlannerAccess : : buildIndexedAnd ( const CanonicalQuery & que <nl> clonedRoot = root - > shallowClone ( ) ; <nl> } <nl> <nl> - vector < QuerySolutionNode * > ixscanNodes ; <nl> + std : : vector < std : : unique_ptr < QuerySolutionNode > > ixscanNodes ; <nl> + const bool inArrayOperator = ! ownedRoot ; <nl> if ( ! processIndexScans ( query , root , inArrayOperator , indices , params , & ixscanNodes ) ) { <nl> return NULL ; <nl> } <nl> QuerySolutionNode * QueryPlannerAccess : : buildIndexedAnd ( const CanonicalQuery & que <nl> / / <nl> <nl> / / This is the node we ' re about to return . <nl> - QuerySolutionNode * andResult ; <nl> + std : : unique_ptr < QuerySolutionNode > andResult ; <nl> <nl> / / We must use an index for at least one child of the AND . We shouldn ' t be here if this <nl> / / isn ' t the case . <nl> QuerySolutionNode * QueryPlannerAccess : : buildIndexedAnd ( const CanonicalQuery & que <nl> <nl> / / Short - circuit : an AND of one child is just the child . <nl> if ( ixscanNodes . size ( ) = = 1 ) { <nl> - andResult = ixscanNodes [ 0 ] ; <nl> + andResult = std : : move ( ixscanNodes [ 0 ] ) ; <nl> } else { <nl> / / Figure out if we want AndHashNode or AndSortedNode . <nl> bool allSortedByDiskLoc = true ; <nl> QuerySolutionNode * QueryPlannerAccess : : buildIndexedAnd ( const CanonicalQuery & que <nl> } <nl> } <nl> if ( allSortedByDiskLoc ) { <nl> - AndSortedNode * asn = new AndSortedNode ( ) ; <nl> - asn - > children . swap ( ixscanNodes ) ; <nl> - andResult = asn ; <nl> + auto asn = stdx : : make_unique < AndSortedNode > ( ) ; <nl> + asn - > addChildren ( std : : move ( ixscanNodes ) ) ; <nl> + andResult = std : : move ( asn ) ; <nl> } else if ( internalQueryPlannerEnableHashIntersection . load ( ) ) { <nl> - AndHashNode * ahn = new AndHashNode ( ) ; <nl> - ahn - > children . swap ( ixscanNodes ) ; <nl> - andResult = ahn ; <nl> + { <nl> + auto ahn = stdx : : make_unique < AndHashNode > ( ) ; <nl> + ahn - > addChildren ( std : : move ( ixscanNodes ) ) ; <nl> + andResult = std : : move ( ahn ) ; <nl> + } <nl> + <nl> / / The AndHashNode provides the sort order of its last child . If any of the <nl> / / possible subnodes of AndHashNode provides the sort order we care about , we put <nl> / / that one last . <nl> - for ( size_t i = 0 ; i < ahn - > children . size ( ) ; + + i ) { <nl> - ahn - > children [ i ] - > computeProperties ( ) ; <nl> - const BSONObjSet & sorts = ahn - > children [ i ] - > getSort ( ) ; <nl> + for ( size_t i = 0 ; i < andResult - > children . size ( ) ; + + i ) { <nl> + andResult - > children [ i ] - > computeProperties ( ) ; <nl> + const BSONObjSet & sorts = andResult - > children [ i ] - > getSort ( ) ; <nl> if ( sorts . end ( ) ! = sorts . find ( query . getQueryRequest ( ) . getSort ( ) ) ) { <nl> - std : : swap ( ahn - > children [ i ] , ahn - > children . back ( ) ) ; <nl> + std : : swap ( andResult - > children [ i ] , andResult - > children . back ( ) ) ; <nl> break ; <nl> } <nl> } <nl> QuerySolutionNode * QueryPlannerAccess : : buildIndexedAnd ( const CanonicalQuery & que <nl> / / Clean up the index scans and bail out by returning NULL . <nl> LOG ( 5 ) < < " Can ' t build index intersection solution : " <nl> < < " AND_SORTED is not possible and AND_HASH is disabled . " ; <nl> - <nl> - for ( size_t i = 0 ; i < ixscanNodes . size ( ) ; i + + ) { <nl> - delete ixscanNodes [ i ] ; <nl> - } <nl> - return NULL ; <nl> + return nullptr ; <nl> } <nl> } <nl> <nl> QuerySolutionNode * QueryPlannerAccess : : buildIndexedAnd ( const CanonicalQuery & que <nl> / / We got an index intersection solution , and we aren ' t allowed to answer predicates <nl> / / using the index . We add a fetch with the entire filter . <nl> invariant ( clonedRoot . get ( ) ) ; <nl> - FetchNode * fetch = new FetchNode ( ) ; <nl> - fetch - > filter . reset ( clonedRoot . release ( ) ) ; <nl> + auto fetch = stdx : : make_unique < FetchNode > ( ) ; <nl> + fetch - > filter = std : : move ( clonedRoot ) ; <nl> / / Takes ownership of ' andResult ' . <nl> - fetch - > children . push_back ( andResult ) ; <nl> - return fetch ; <nl> + fetch - > children . push_back ( andResult . release ( ) ) ; <nl> + return std : : move ( fetch ) ; <nl> } <nl> <nl> / / If there are any nodes still attached to the AND , we can ' t answer them using the <nl> / / index , so we put a fetch with filter . <nl> if ( root - > numChildren ( ) > 0 ) { <nl> - FetchNode * fetch = new FetchNode ( ) ; <nl> - verify ( NULL ! = autoRoot . get ( ) ) ; <nl> - if ( autoRoot - > numChildren ( ) = = 1 ) { <nl> + auto fetch = stdx : : make_unique < FetchNode > ( ) ; <nl> + verify ( ownedRoot ) ; <nl> + if ( ownedRoot - > numChildren ( ) = = 1 ) { <nl> / / An $ and of one thing is that thing . <nl> - MatchExpression * child = autoRoot - > getChild ( 0 ) ; <nl> - autoRoot - > getChildVector ( ) - > clear ( ) ; <nl> + MatchExpression * child = ownedRoot - > getChild ( 0 ) ; <nl> + ownedRoot - > getChildVector ( ) - > clear ( ) ; <nl> / / Takes ownership . <nl> fetch - > filter . reset ( child ) ; <nl> / / ' autoRoot ' will delete the empty $ and . <nl> } else { / / root - > numChildren ( ) > 1 <nl> / / Takes ownership . <nl> - fetch - > filter . reset ( autoRoot . release ( ) ) ; <nl> + fetch - > filter = std : : move ( ownedRoot ) ; <nl> } <nl> / / takes ownership <nl> - fetch - > children . push_back ( andResult ) ; <nl> - andResult = fetch ; <nl> + fetch - > children . push_back ( andResult . release ( ) ) ; <nl> + andResult = std : : move ( fetch ) ; <nl> } else { <nl> / / root has no children , let autoRoot get rid of it when it goes out of scope . <nl> } <nl> QuerySolutionNode * QueryPlannerAccess : : buildIndexedAnd ( const CanonicalQuery & que <nl> return andResult ; <nl> } <nl> <nl> - / / static <nl> - QuerySolutionNode * QueryPlannerAccess : : buildIndexedOr ( const CanonicalQuery & query , <nl> - MatchExpression * root , <nl> - bool inArrayOperator , <nl> - const vector < IndexEntry > & indices , <nl> - const QueryPlannerParams & params ) { <nl> - unique_ptr < MatchExpression > autoRoot ; <nl> - if ( ! inArrayOperator ) { <nl> - autoRoot . reset ( root ) ; <nl> - } <nl> + std : : unique_ptr < QuerySolutionNode > QueryPlannerAccess : : buildIndexedOr ( <nl> + const CanonicalQuery & query , <nl> + MatchExpression * root , <nl> + std : : unique_ptr < MatchExpression > ownedRoot , <nl> + const vector < IndexEntry > & indices , <nl> + const QueryPlannerParams & params ) { <nl> <nl> - vector < QuerySolutionNode * > ixscanNodes ; <nl> + const bool inArrayOperator = ! ownedRoot ; <nl> + std : : vector < std : : unique_ptr < QuerySolutionNode > > ixscanNodes ; <nl> if ( ! processIndexScans ( query , root , inArrayOperator , indices , params , & ixscanNodes ) ) { <nl> return NULL ; <nl> } <nl> QuerySolutionNode * QueryPlannerAccess : : buildIndexedOr ( const CanonicalQuery & quer <nl> <nl> / / If all index scans are identical , then we collapse them into a single scan . This prevents <nl> / / us from creating OR plans where the branches of the OR perform duplicate work . <nl> - ixscanNodes = collapseEquivalentScans ( ixscanNodes ) ; <nl> + ixscanNodes = collapseEquivalentScans ( std : : move ( ixscanNodes ) ) ; <nl> <nl> - QuerySolutionNode * orResult = NULL ; <nl> + std : : unique_ptr < QuerySolutionNode > orResult ; <nl> <nl> / / An OR of one node is just that node . <nl> if ( 1 = = ixscanNodes . size ( ) ) { <nl> - orResult = ixscanNodes [ 0 ] ; <nl> + orResult = std : : move ( ixscanNodes [ 0 ] ) ; <nl> } else { <nl> std : : vector < bool > shouldReverseScan ; <nl> <nl> QuerySolutionNode * QueryPlannerAccess : : buildIndexedOr ( const CanonicalQuery & quer <nl> invariant ( ixscanNodes . size ( ) = = shouldReverseScan . size ( ) ) ; <nl> for ( size_t i = 0 ; i < ixscanNodes . size ( ) ; + + i ) { <nl> if ( shouldReverseScan [ i ] ) { <nl> - QueryPlannerCommon : : reverseScans ( ixscanNodes [ i ] ) ; <nl> + QueryPlannerCommon : : reverseScans ( ixscanNodes [ i ] . get ( ) ) ; <nl> } <nl> } <nl> <nl> - MergeSortNode * msn = new MergeSortNode ( ) ; <nl> + auto msn = stdx : : make_unique < MergeSortNode > ( ) ; <nl> msn - > sort = query . getQueryRequest ( ) . getSort ( ) ; <nl> - msn - > children . swap ( ixscanNodes ) ; <nl> - orResult = msn ; <nl> + msn - > addChildren ( std : : move ( ixscanNodes ) ) ; <nl> + orResult = std : : move ( msn ) ; <nl> } else { <nl> - OrNode * orn = new OrNode ( ) ; <nl> - orn - > children . swap ( ixscanNodes ) ; <nl> - orResult = orn ; <nl> + auto orn = stdx : : make_unique < OrNode > ( ) ; <nl> + orn - > addChildren ( std : : move ( ixscanNodes ) ) ; <nl> + orResult = std : : move ( orn ) ; <nl> } <nl> } <nl> <nl> QuerySolutionNode * QueryPlannerAccess : : buildIndexedOr ( const CanonicalQuery & quer <nl> return orResult ; <nl> } <nl> <nl> - / / static <nl> - QuerySolutionNode * QueryPlannerAccess : : buildIndexedDataAccess ( const CanonicalQuery & query , <nl> - MatchExpression * root , <nl> - bool inArrayOperator , <nl> - const vector < IndexEntry > & indices , <nl> - const QueryPlannerParams & params ) { <nl> + std : : unique_ptr < QuerySolutionNode > QueryPlannerAccess : : buildIndexedDataAccess ( <nl> + const CanonicalQuery & query , <nl> + std : : unique_ptr < MatchExpression > root , <nl> + const vector < IndexEntry > & indices , <nl> + const QueryPlannerParams & params ) { <nl> + MatchExpression * unownedRoot = root . get ( ) ; <nl> + return _buildIndexedDataAccess ( query , unownedRoot , std : : move ( root ) , indices , params ) ; <nl> + } <nl> + <nl> + std : : unique_ptr < QuerySolutionNode > QueryPlannerAccess : : _buildIndexedDataAccess ( <nl> + const CanonicalQuery & query , <nl> + MatchExpression * root , <nl> + std : : unique_ptr < MatchExpression > ownedRoot , <nl> + const vector < IndexEntry > & indices , <nl> + const QueryPlannerParams & params ) { <nl> if ( root - > getCategory ( ) = = MatchExpression : : MatchCategory : : kLogical & & <nl> ! Indexability : : isBoundsGeneratingNot ( root ) ) { <nl> if ( MatchExpression : : AND = = root - > matchType ( ) ) { <nl> / / Takes ownership of root . <nl> - return buildIndexedAnd ( query , root , inArrayOperator , indices , params ) ; <nl> + return buildIndexedAnd ( query , root , std : : move ( ownedRoot ) , indices , params ) ; <nl> } else if ( MatchExpression : : OR = = root - > matchType ( ) ) { <nl> / / Takes ownership of root . <nl> - return buildIndexedOr ( query , root , inArrayOperator , indices , params ) ; <nl> + return buildIndexedOr ( query , root , std : : move ( ownedRoot ) , indices , params ) ; <nl> } else { <nl> - / / Can ' t do anything with negated logical nodes index - wise . <nl> - if ( ! inArrayOperator ) { <nl> - delete root ; <nl> - } <nl> - return NULL ; <nl> + return nullptr ; <nl> } <nl> } else { <nl> - unique_ptr < MatchExpression > autoRoot ; <nl> - if ( ! inArrayOperator ) { <nl> - autoRoot . reset ( root ) ; <nl> - } <nl> - <nl> - if ( NULL = = root - > getTag ( ) ) { <nl> + if ( ! root - > getTag ( ) ) { <nl> / / No index to use here , not in the context of logical operator , so we ' re SOL . <nl> - return NULL ; <nl> + return nullptr ; <nl> } else if ( Indexability : : isBoundsGenerating ( root ) ) { <nl> / / Make an index scan over the tagged index # . <nl> IndexTag * tag = static_cast < IndexTag * > ( root - > getTag ( ) ) ; <nl> <nl> IndexBoundsBuilder : : BoundsTightness tightness = IndexBoundsBuilder : : EXACT ; <nl> - QuerySolutionNode * soln = <nl> - makeLeafNode ( query , indices [ tag - > index ] , tag - > pos , root , & tightness ) ; <nl> + auto soln = makeLeafNode ( query , indices [ tag - > index ] , tag - > pos , root , & tightness ) ; <nl> verify ( NULL ! = soln ) ; <nl> - finishLeafNode ( soln , indices [ tag - > index ] ) ; <nl> + finishLeafNode ( soln . get ( ) , indices [ tag - > index ] ) ; <nl> <nl> - if ( inArrayOperator ) { <nl> + if ( ! ownedRoot ) { <nl> + / / We ' re performing access planning for the child of an array operator such as <nl> + / / $ elemMatch value . <nl> return soln ; <nl> } <nl> <nl> QuerySolutionNode * QueryPlannerAccess : : buildIndexedDataAccess ( const CanonicalQue <nl> } else if ( tightness = = IndexBoundsBuilder : : INEXACT_COVERED & & <nl> ! indices [ tag - > index ] . multikey ) { <nl> verify ( NULL = = soln - > filter . get ( ) ) ; <nl> - soln - > filter . reset ( autoRoot . release ( ) ) ; <nl> + soln - > filter = std : : move ( ownedRoot ) ; <nl> return soln ; <nl> } else { <nl> - FetchNode * fetch = new FetchNode ( ) ; <nl> - verify ( NULL ! = autoRoot . get ( ) ) ; <nl> - fetch - > filter . reset ( autoRoot . release ( ) ) ; <nl> - fetch - > children . push_back ( soln ) ; <nl> - return fetch ; <nl> + auto fetch = stdx : : make_unique < FetchNode > ( ) ; <nl> + fetch - > filter = std : : move ( ownedRoot ) ; <nl> + fetch - > children . push_back ( soln . release ( ) ) ; <nl> + return std : : move ( fetch ) ; <nl> } <nl> } else if ( Indexability : : arrayUsesIndexOnChildren ( root ) ) { <nl> - QuerySolutionNode * solution = NULL ; <nl> + std : : unique_ptr < QuerySolutionNode > solution ; <nl> <nl> invariant ( root - > matchType ( ) = = MatchExpression : : ELEM_MATCH_OBJECT ) ; <nl> / / The child is an AND . <nl> invariant ( 1 = = root - > numChildren ( ) ) ; <nl> - solution = buildIndexedDataAccess ( query , root - > getChild ( 0 ) , true , indices , params ) ; <nl> - if ( NULL = = solution ) { <nl> - return NULL ; <nl> + <nl> + / / Recursively build a data access plan for the child of the $ elemMatch object . We <nl> + / / maintain ownership of ' ownedRoot ' . <nl> + solution = _buildIndexedDataAccess ( query , root - > getChild ( 0 ) , nullptr , indices , params ) ; <nl> + if ( ! solution ) { <nl> + return nullptr ; <nl> } <nl> <nl> / / There may be an array operator above us . <nl> - if ( inArrayOperator ) { <nl> + if ( ! ownedRoot ) { <nl> return solution ; <nl> } <nl> <nl> - FetchNode * fetch = new FetchNode ( ) ; <nl> - / / Takes ownership of ' root ' . <nl> - verify ( NULL ! = autoRoot . get ( ) ) ; <nl> - fetch - > filter . reset ( autoRoot . release ( ) ) ; <nl> - fetch - > children . push_back ( solution ) ; <nl> - return fetch ; <nl> + auto fetch = stdx : : make_unique < FetchNode > ( ) ; <nl> + fetch - > filter = std : : move ( ownedRoot ) ; <nl> + fetch - > children . push_back ( solution . release ( ) ) ; <nl> + return std : : move ( fetch ) ; <nl> } <nl> } <nl> <nl> - if ( ! inArrayOperator ) { <nl> - delete root ; <nl> - } <nl> - <nl> - return NULL ; <nl> + return nullptr ; <nl> } <nl> <nl> - QuerySolutionNode * QueryPlannerAccess : : scanWholeIndex ( const IndexEntry & index , <nl> - const CanonicalQuery & query , <nl> - const QueryPlannerParams & params , <nl> - int direction ) { <nl> - QuerySolutionNode * solnRoot = NULL ; <nl> + std : : unique_ptr < QuerySolutionNode > QueryPlannerAccess : : scanWholeIndex ( <nl> + const IndexEntry & index , <nl> + const CanonicalQuery & query , <nl> + const QueryPlannerParams & params , <nl> + int direction ) { <nl> + std : : unique_ptr < QuerySolutionNode > solnRoot ; <nl> <nl> / / Build an ixscan over the id index , use it , and return it . <nl> unique_ptr < IndexScanNode > isn = make_unique < IndexScanNode > ( index ) ; <nl> QuerySolutionNode * QueryPlannerAccess : : scanWholeIndex ( const IndexEntry & index , <nl> <nl> / / If it ' s find ( { } ) remove the no - op root . <nl> if ( MatchExpression : : AND = = filter - > matchType ( ) & & ( 0 = = filter - > numChildren ( ) ) ) { <nl> - solnRoot = isn . release ( ) ; <nl> + solnRoot = std : : move ( isn ) ; <nl> } else { <nl> / / TODO : We may not need to do the fetch if the predicates in root are covered . But <nl> / / for now it ' s safe ( though * maybe * slower ) . <nl> unique_ptr < FetchNode > fetch = make_unique < FetchNode > ( ) ; <nl> fetch - > filter = std : : move ( filter ) ; <nl> fetch - > children . push_back ( isn . release ( ) ) ; <nl> - solnRoot = fetch . release ( ) ; <nl> + solnRoot = std : : move ( fetch ) ; <nl> } <nl> <nl> return solnRoot ; <nl> } <nl> <nl> - / / static <nl> void QueryPlannerAccess : : addFilterToSolutionNode ( QuerySolutionNode * node , <nl> MatchExpression * match , <nl> MatchExpression : : MatchType type ) { <nl> void QueryPlannerAccess : : addFilterToSolutionNode ( QuerySolutionNode * node , <nl> } <nl> } <nl> <nl> - / / static <nl> void QueryPlannerAccess : : handleFilter ( ScanBuildingState * scanState ) { <nl> if ( MatchExpression : : OR = = scanState - > root - > matchType ( ) ) { <nl> handleFilterOr ( scanState ) ; <nl> void QueryPlannerAccess : : handleFilter ( ScanBuildingState * scanState ) { <nl> } <nl> } <nl> <nl> - / / static <nl> void QueryPlannerAccess : : handleFilterOr ( ScanBuildingState * scanState ) { <nl> MatchExpression * root = scanState - > root ; <nl> MatchExpression * child = root - > getChild ( scanState - > curChild ) ; <nl> void QueryPlannerAccess : : handleFilterOr ( ScanBuildingState * scanState ) { <nl> } <nl> } <nl> <nl> - / / static <nl> void QueryPlannerAccess : : handleFilterAnd ( ScanBuildingState * scanState ) { <nl> MatchExpression * root = scanState - > root ; <nl> MatchExpression * child = root - > getChild ( scanState - > curChild ) ; <nl> void QueryPlannerAccess : : handleFilterAnd ( ScanBuildingState * scanState ) { <nl> } <nl> } <nl> <nl> - QuerySolutionNode * QueryPlannerAccess : : makeIndexScan ( const IndexEntry & index , <nl> - const CanonicalQuery & query , <nl> - const QueryPlannerParams & params , <nl> - const BSONObj & startKey , <nl> - const BSONObj & endKey ) { <nl> - QuerySolutionNode * solnRoot = NULL ; <nl> + std : : unique_ptr < QuerySolutionNode > QueryPlannerAccess : : makeIndexScan ( <nl> + const IndexEntry & index , <nl> + const CanonicalQuery & query , <nl> + const QueryPlannerParams & params , <nl> + const BSONObj & startKey , <nl> + const BSONObj & endKey ) { <nl> + std : : unique_ptr < QuerySolutionNode > solnRoot ; <nl> <nl> / / Build an ixscan over the id index , use it , and return it . <nl> - IndexScanNode * isn = new IndexScanNode ( index ) ; <nl> + auto isn = stdx : : make_unique < IndexScanNode > ( index ) ; <nl> isn - > direction = 1 ; <nl> isn - > addKeyMetadata = query . getQueryRequest ( ) . returnKey ( ) ; <nl> isn - > bounds . isSimpleRange = true ; <nl> QuerySolutionNode * QueryPlannerAccess : : makeIndexScan ( const IndexEntry & index , <nl> <nl> / / If it ' s find ( { } ) remove the no - op root . <nl> if ( MatchExpression : : AND = = filter - > matchType ( ) & & ( 0 = = filter - > numChildren ( ) ) ) { <nl> - solnRoot = isn ; <nl> + solnRoot = std : : move ( isn ) ; <nl> } else { <nl> / / TODO : We may not need to do the fetch if the predicates in root are covered . But <nl> / / for now it ' s safe ( though * maybe * slower ) . <nl> unique_ptr < FetchNode > fetch = make_unique < FetchNode > ( ) ; <nl> fetch - > filter = std : : move ( filter ) ; <nl> - fetch - > children . push_back ( isn ) ; <nl> - solnRoot = fetch . release ( ) ; <nl> + fetch - > children . push_back ( isn . release ( ) ) ; <nl> + solnRoot = std : : move ( fetch ) ; <nl> } <nl> <nl> return solnRoot ; <nl> mmm a / src / mongo / db / query / planner_access . h <nl> ppp b / src / mongo / db / query / planner_access . h <nl> namespace mongo { <nl> * / <nl> class QueryPlannerAccess { <nl> public : <nl> + / * * <nl> + * Return a CollectionScanNode that scans as requested in ' query ' . <nl> + * / <nl> + static std : : unique_ptr < QuerySolutionNode > makeCollectionScan ( const CanonicalQuery & query , <nl> + bool tailable , <nl> + const QueryPlannerParams & params ) ; <nl> + <nl> + / * * <nl> + * Return a plan that uses the provided index as a proxy for a collection scan . <nl> + * / <nl> + static std : : unique_ptr < QuerySolutionNode > scanWholeIndex ( const IndexEntry & index , <nl> + const CanonicalQuery & query , <nl> + const QueryPlannerParams & params , <nl> + int direction = 1 ) ; <nl> + <nl> + / * * <nl> + * Return a plan that scans the provided index from [ startKey to endKey ) . <nl> + * / <nl> + static std : : unique_ptr < QuerySolutionNode > makeIndexScan ( const IndexEntry & index , <nl> + const CanonicalQuery & query , <nl> + const QueryPlannerParams & params , <nl> + const BSONObj & startKey , <nl> + const BSONObj & endKey ) ; <nl> + <nl> + / * * <nl> + * Consructs a data access plan for ' query ' which answers the predicate contained in ' root ' . <nl> + * Assumes the presence of the passed in indices . Planning behavior is controlled by the <nl> + * settings in ' params ' . <nl> + * / <nl> + static std : : unique_ptr < QuerySolutionNode > buildIndexedDataAccess ( <nl> + const CanonicalQuery & query , <nl> + std : : unique_ptr < MatchExpression > root , <nl> + const std : : vector < IndexEntry > & indices , <nl> + const QueryPlannerParams & params ) ; <nl> + <nl> + private : <nl> / * * <nl> * Building the leaves ( i . e . the index scans ) is done by looping through <nl> * predicates one at a time . During the process , there is a fair amount of state <nl> class QueryPlannerAccess { <nl> loosestBounds = IndexBoundsBuilder : : EXACT ; <nl> <nl> if ( MatchExpression : : OR = = root - > matchType ( ) ) { <nl> - curOr . reset ( new OrMatchExpression ( ) ) ; <nl> + curOr = stdx : : make_unique < OrMatchExpression > ( ) ; <nl> } <nl> } <nl> <nl> class QueryPlannerAccess { <nl> ScanBuildingState ( ) ; <nl> } ; <nl> <nl> - / * * <nl> - * Return a CollectionScanNode that scans as requested in ' query ' . <nl> - * / <nl> - static std : : unique_ptr < QuerySolutionNode > makeCollectionScan ( const CanonicalQuery & query , <nl> - bool tailable , <nl> - const QueryPlannerParams & params ) ; <nl> - <nl> - / * * <nl> - * Return a plan that uses the provided index as a proxy for a collection scan . <nl> - * / <nl> - static QuerySolutionNode * scanWholeIndex ( const IndexEntry & index , <nl> - const CanonicalQuery & query , <nl> - const QueryPlannerParams & params , <nl> - int direction = 1 ) ; <nl> - <nl> - / * * <nl> - * Return a plan that scans the provided index from [ startKey to endKey ) . <nl> - * / <nl> - static QuerySolutionNode * makeIndexScan ( const IndexEntry & index , <nl> - const CanonicalQuery & query , <nl> - const QueryPlannerParams & params , <nl> - const BSONObj & startKey , <nl> - const BSONObj & endKey ) ; <nl> - <nl> - / / <nl> - / / Indexed Data Access methods . <nl> + / / When recursively building data access , the caller may either continue to hold ownership of <nl> + / / ' root ' , or may transfer ownership . When the caller holds ownership , it passes an owned <nl> + / / pointer in ' root ' and nullptr in ' ownedRoot ' . When the caller transfers ownership , it passes <nl> + / / owned and unowned pointers to the same match expression node in ' root ' and ' ownedRoot ' . <nl> / / <nl> - / / The inArrayOperator flag deserves some attention . It is set when we ' re processing a <nl> - / / child of an MatchExpression : : ELEM_MATCH_OBJECT . <nl> + / / The caller only holds ownership when planning inside an " array operator " , e . g . when <nl> + / / recursively performing access planning for an $ elemMatch object . Therefore , whether or not <nl> + / / ' ownedRoot ' is null is also used as a check for whether we need to apply special logic for <nl> + / / the " in array operator " case . <nl> / / <nl> - / / When true , the following behavior changes for all methods below that take it as an argument : <nl> - / / 0 . No deletion of MatchExpression ( s ) . In fact , <nl> - / / 1 . No mutation of the MatchExpression at all . We need the tree as - is in order to perform <nl> - / / a filter on the entire tree . <nl> - / / 2 . No fetches performed . There will be a final fetch by the caller of buildIndexedDataAccess <nl> - / / who set the value of inArrayOperator to true . <nl> - / / 3 . No compound indices are used and no bounds are combined . These are <nl> - / / incorrect in the context of these operators . <nl> - / / <nl> - <nl> - / * * <nl> - * If ' inArrayOperator ' is false , takes ownership of ' root ' . <nl> - * / <nl> - static QuerySolutionNode * buildIndexedDataAccess ( const CanonicalQuery & query , <nl> - MatchExpression * root , <nl> - bool inArrayOperator , <nl> - const std : : vector < IndexEntry > & indices , <nl> - const QueryPlannerParams & params ) ; <nl> - <nl> - / * * <nl> - * Takes ownership of ' root ' . <nl> - * / <nl> - static QuerySolutionNode * buildIndexedAnd ( const CanonicalQuery & query , <nl> - MatchExpression * root , <nl> - bool inArrayOperator , <nl> - const std : : vector < IndexEntry > & indices , <nl> - const QueryPlannerParams & params ) ; <nl> - <nl> - / * * <nl> - * Takes ownership of ' root ' . <nl> - * / <nl> - static QuerySolutionNode * buildIndexedOr ( const CanonicalQuery & query , <nl> - MatchExpression * root , <nl> - bool inArrayOperator , <nl> - const std : : vector < IndexEntry > & indices , <nl> - const QueryPlannerParams & params ) ; <nl> + / / Specifically , for $ elemMatch nodes , the entire $ elemMatch filter must be attached to a FETCH <nl> + / / node . This is why the caller retains ownership of the $ elemMatch filter . However , the <nl> + / / recursive call for children of the $ elemMatch will also refrain from adding any FETCH stages . <nl> + / / There will be a final FETCH node added to which the entire $ elemMatch filter will be affixed . <nl> + static std : : unique_ptr < QuerySolutionNode > _buildIndexedDataAccess ( <nl> + const CanonicalQuery & query , <nl> + MatchExpression * root , <nl> + std : : unique_ptr < MatchExpression > ownedRoot , <nl> + const std : : vector < IndexEntry > & indices , <nl> + const QueryPlannerParams & params ) ; <nl> + <nl> + / / See _buildIndexedDataAccess ( ) for description of ' root ' and ' ownedRoot ' . <nl> + static std : : unique_ptr < QuerySolutionNode > buildIndexedAnd ( <nl> + const CanonicalQuery & query , <nl> + MatchExpression * root , <nl> + std : : unique_ptr < MatchExpression > ownedRoot , <nl> + const std : : vector < IndexEntry > & indices , <nl> + const QueryPlannerParams & params ) ; <nl> + <nl> + / / See _buildIndexedDataAccess ( ) for description of ' root ' and ' ownedRoot ' . <nl> + static std : : unique_ptr < QuerySolutionNode > buildIndexedOr ( <nl> + const CanonicalQuery & query , <nl> + MatchExpression * root , <nl> + std : : unique_ptr < MatchExpression > ownedRoot , <nl> + const std : : vector < IndexEntry > & indices , <nl> + const QueryPlannerParams & params ) ; <nl> <nl> / * * <nl> * Traverses the tree rooted at the $ elemMatch expression ' node ' , <nl> class QueryPlannerAccess { <nl> <nl> / * * <nl> * Given a list of OR - related subtrees returned by processIndexScans ( ) , looks for logically <nl> - * equivalent IndexScanNodes and combines them . This is an optimization to avoid creating <nl> - * plans that repeat index access work . <nl> + * equivalent IndexScanNodes and combines them . This is an optimization to avoid creating plans <nl> + * that repeat index access work . <nl> * <nl> * Example : <nl> * Suppose processIndexScans ( ) returns a list of the following three query solutions : <nl> class QueryPlannerAccess { <nl> * 2 ) FETCH ( filter : { $ or : [ { d : 1 } , { e : 1 } ] } ) - > IXSCAN ( bounds : { c : [ [ 3 , 3 ] ] } ) <nl> * <nl> * Used as a helper for buildIndexedOr ( ) . <nl> - * <nl> - * Takes ownership of ' scans ' . The caller assumes ownership of the pointers in the returned <nl> - * list of QuerySolutionNode * . <nl> * / <nl> - static std : : vector < QuerySolutionNode * > collapseEquivalentScans ( <nl> - const std : : vector < QuerySolutionNode * > scans ) ; <nl> + static std : : vector < std : : unique_ptr < QuerySolutionNode > > collapseEquivalentScans ( <nl> + std : : vector < std : : unique_ptr < QuerySolutionNode > > scans ) ; <nl> <nl> / * * <nl> * Helper used by buildIndexedAnd and buildIndexedOr . <nl> * <nl> - * The children of AND and OR nodes are sorted by the index that the subtree rooted at <nl> - * that node uses . Child nodes that use the same index are adjacent to one another to <nl> - * facilitate grouping of index scans . As such , the processing for AND and OR is <nl> - * almost identical . <nl> + * The children of AND and OR nodes are sorted by the index that the subtree rooted at that node <nl> + * uses . Child nodes that use the same index are adjacent to one another to facilitate grouping <nl> + * of index scans . As such , the processing for AND and OR is almost identical . <nl> * <nl> * Does not take ownership of ' root ' but may remove children from it . <nl> * / <nl> class QueryPlannerAccess { <nl> bool inArrayOperator , <nl> const std : : vector < IndexEntry > & indices , <nl> const QueryPlannerParams & params , <nl> - std : : vector < QuerySolutionNode * > * out ) ; <nl> + std : : vector < std : : unique_ptr < QuerySolutionNode > > * out ) ; <nl> <nl> / * * <nl> - * Used by processIndexScans ( . . . ) in order to recursively build a data access <nl> - * plan for a " subnode " , a node in the MatchExpression tree which is indexed by <nl> - * virtue of its children . <nl> + * Used by processIndexScans ( . . . ) in order to recursively build a data access plan for a <nl> + * " subnode " , a node in the MatchExpression tree which is indexed by virtue of its children . <nl> * <nl> * The resulting scans are outputted in the out - parameter ' out ' . <nl> * / <nl> static bool processIndexScansSubnode ( const CanonicalQuery & query , <nl> ScanBuildingState * scanState , <nl> const QueryPlannerParams & params , <nl> - std : : vector < QuerySolutionNode * > * out ) ; <nl> + std : : vector < std : : unique_ptr < QuerySolutionNode > > * out ) ; <nl> <nl> / * * <nl> * Used by processIndexScansSubnode ( . . . ) to build the leaves of the solution tree for an <nl> class QueryPlannerAccess { <nl> static bool processIndexScansElemMatch ( const CanonicalQuery & query , <nl> ScanBuildingState * scanState , <nl> const QueryPlannerParams & params , <nl> - std : : vector < QuerySolutionNode * > * out ) ; <nl> + std : : vector < std : : unique_ptr < QuerySolutionNode > > * out ) ; <nl> <nl> / / <nl> / / Helpers for creating an index scan . <nl> class QueryPlannerAccess { <nl> / * * <nl> * Create a new data access node . <nl> * <nl> - * If the node is an index scan , the bounds for ' expr ' are computed and placed into the <nl> - * first field ' s OIL position . The rest of the OILs are allocated but uninitialized . <nl> + * If the node is an index scan , the bounds for ' expr ' are computed and placed into the first <nl> + * field ' s OIL position . The rest of the OILs are allocated but uninitialized . <nl> * <nl> - * If the node is a geo node , grab the geo data from ' expr ' and stuff it into the <nl> - * geo solution node of the appropriate type . <nl> + * If the node is a geo node , grab the geo data from ' expr ' and stuff it into the geo solution <nl> + * node of the appropriate type . <nl> * / <nl> - static QuerySolutionNode * makeLeafNode ( const CanonicalQuery & query , <nl> - const IndexEntry & index , <nl> - size_t pos , <nl> - MatchExpression * expr , <nl> - IndexBoundsBuilder : : BoundsTightness * tightnessOut ) ; <nl> + static std : : unique_ptr < QuerySolutionNode > makeLeafNode ( <nl> + const CanonicalQuery & query , <nl> + const IndexEntry & index , <nl> + size_t pos , <nl> + const MatchExpression * expr , <nl> + IndexBoundsBuilder : : BoundsTightness * tightnessOut ) ; <nl> <nl> / * * <nl> * Merge the predicate ' expr ' with the leaf node ' node ' . <nl> class QueryPlannerAccess { <nl> * ' scanState ' . The resulting scan is outputted in the out - parameter ' out ' , transferring <nl> * ownership in the process . <nl> * <nl> - * If ' scanState ' is building an index scan for OR - related predicates , filters <nl> - * may be affixed to the scan as necessary . <nl> + * If ' scanState ' is building an index scan for OR - related predicates , filters may be affixed to <nl> + * the scan as necessary . <nl> * / <nl> static void finishAndOutputLeaf ( ScanBuildingState * scanState , <nl> - std : : vector < QuerySolutionNode * > * out ) ; <nl> + std : : vector < std : : unique_ptr < QuerySolutionNode > > * out ) ; <nl> <nl> / * * <nl> * Returns true if the current scan in ' scanState ' requires a FetchNode . <nl> mmm a / src / mongo / db / query / query_planner . cpp <nl> ppp b / src / mongo / db / query / query_planner . cpp <nl> StatusWith < std : : unique_ptr < QuerySolution > > QueryPlanner : : planFromCache ( <nl> <nl> / / Use the cached index assignments to build solnRoot . <nl> std : : unique_ptr < QuerySolutionNode > solnRoot ( QueryPlannerAccess : : buildIndexedDataAccess ( <nl> - query , clone . release ( ) , false , params . indices , params ) ) ; <nl> + query , std : : move ( clone ) , params . indices , params ) ) ; <nl> <nl> if ( ! solnRoot ) { <nl> return Status ( ErrorCodes : : BadValue , <nl> StatusWith < std : : vector < std : : unique_ptr < QuerySolution > > > QueryPlanner : : plan ( <nl> PlanEnumerator isp ( enumParams ) ; <nl> isp . init ( ) . transitional_ignore ( ) ; <nl> <nl> - unique_ptr < MatchExpression > rawTree ; <nl> - while ( ( rawTree = isp . getNext ( ) ) & & ( out . size ( ) < params . maxIndexedSolutions ) ) { <nl> + unique_ptr < MatchExpression > nextTaggedTree ; <nl> + while ( ( nextTaggedTree = isp . getNext ( ) ) & & ( out . size ( ) < params . maxIndexedSolutions ) ) { <nl> LOG ( 5 ) < < " About to build solntree from tagged tree : " < < endl <nl> - < < redact ( rawTree . get ( ) - > toString ( ) ) ; <nl> + < < redact ( nextTaggedTree - > toString ( ) ) ; <nl> <nl> / / Store the plan cache index tree before calling prepareForAccessingPlanning ( ) , so that <nl> / / the PlanCacheIndexTree has the same sort as the MatchExpression used to generate the <nl> / / plan cache key . <nl> - std : : unique_ptr < MatchExpression > clone ( rawTree . get ( ) - > shallowClone ( ) ) ; <nl> + std : : unique_ptr < MatchExpression > clone ( nextTaggedTree - > shallowClone ( ) ) ; <nl> std : : unique_ptr < PlanCacheIndexTree > cacheData ; <nl> auto statusWithCacheData = cacheDataFromTaggedTree ( clone . get ( ) , relevantIndices ) ; <nl> if ( ! statusWithCacheData . isOK ( ) ) { <nl> StatusWith < std : : vector < std : : unique_ptr < QuerySolution > > > QueryPlanner : : plan ( <nl> <nl> / / We have already cached the tree in canonical order , so now we can order the nodes for <nl> / / access planning . <nl> - prepareForAccessPlanning ( rawTree . get ( ) ) ; <nl> + prepareForAccessPlanning ( nextTaggedTree . get ( ) ) ; <nl> <nl> / / This can fail if enumeration makes a mistake . <nl> std : : unique_ptr < QuerySolutionNode > solnRoot ( QueryPlannerAccess : : buildIndexedDataAccess ( <nl> - query , rawTree . release ( ) , false , relevantIndices , params ) ) ; <nl> + query , std : : move ( nextTaggedTree ) , relevantIndices , params ) ) ; <nl> <nl> if ( ! solnRoot ) { <nl> continue ; <nl> mmm a / src / mongo / db / query / query_solution . h <nl> ppp b / src / mongo / db / query / query_solution . h <nl> struct QuerySolutionNode { <nl> } <nl> } <nl> <nl> + / * * <nl> + * Adds a vector of query solution nodes to the list of children of this node . <nl> + * <nl> + * TODO SERVER - 35512 : Once ' children ' are held by unique_ptr , this method should no longer be <nl> + * necessary . <nl> + * / <nl> + void addChildren ( std : : vector < std : : unique_ptr < QuerySolutionNode > > newChildren ) { <nl> + children . reserve ( children . size ( ) + newChildren . size ( ) ) ; <nl> + std : : transform ( newChildren . begin ( ) , <nl> + newChildren . end ( ) , <nl> + std : : back_inserter ( children ) , <nl> + [ ] ( auto & child ) { return child . release ( ) ; } ) ; <nl> + } <nl> + <nl> / / These are owned here . <nl> + / / <nl> + / / TODO SERVER - 35512 : Make this a vector of unique_ptr . <nl> std : : vector < QuerySolutionNode * > children ; <nl> <nl> / / If a stage has a non - NULL filter all values outputted from that stage must pass that <nl> | SERVER - 35455 Eliminate owned raw pointers from QueryPlannerAccess . | mongodb/mongo | 1d89d2c88bcb39045701b87612b866ae2eb49378 | 2018-06-12T15:52:02Z |
Binary files a / src / qt - translations / qt_cs . qm and b / src / qt - translations / qt_cs . qm differ <nl> Binary files a / src / qt - translations / qt_da . qm and b / src / qt - translations / qt_da . qm differ <nl> Binary files a / src / qt - translations / qt_fr . qm and b / src / qt - translations / qt_fr . qm differ <nl> Binary files a / src / qt - translations / qt_gl . qm and b / src / qt - translations / qt_gl . qm differ <nl> Binary files a / src / qt - translations / qt_ja . qm and b / src / qt - translations / qt_ja . qm differ <nl> Binary files a / src / qt - translations / qt_ko . qm and b / src / qt - translations / qt_ko . qm differ <nl> Binary files a / src / qt - translations / qt_lt . qm and b / src / qt - translations / qt_lt . qm differ <nl> Binary files a / src / qt - translations / qt_pl . qm and b / src / qt - translations / qt_pl . qm differ <nl> Binary files a / src / qt - translations / qt_ru . qm and b / src / qt - translations / qt_ru . qm differ <nl> Binary files a / src / qt - translations / qt_uk . qm and b / src / qt - translations / qt_uk . qm differ <nl> | Merge pull request from sledgehammer999 / qt_translate | qbittorrent/qBittorrent | 64fb49e085c539cab21f2b5de6c6fc9e063a4ec7 | 2013-01-23T05:52:48Z |
mmm a / lang / codegen_cpu . cpp <nl> ppp b / lang / codegen_cpu . cpp <nl> class IRCodeGen : public IRVisitor { <nl> } <nl> <nl> void visit ( ConstStmt * const_stmt ) { <nl> - emit ( " const { } { } ( { } ) ; " , / / const_stmt - > ret_data_type_name ( ) , <nl> - const_stmt - > ret_type . str ( ) , const_stmt - > raw_name ( ) , const_stmt - > value ) ; <nl> + emit ( " const { } { } { } ; " , / / const_stmt - > ret_data_type_name ( ) , <nl> + const_stmt - > ret_type . str ( ) , const_stmt - > raw_name ( ) , <nl> + const_stmt - > value . serialize ( ) ) ; <nl> } <nl> <nl> void visit ( RangeForStmt * for_stmt ) { <nl> class IRCodeGen : public IRVisitor { <nl> } <nl> <nl> void visit ( LocalLoadStmt * stmt ) { <nl> - emit ( " const { } { } = { } ; " , stmt - > ret_data_type_name ( ) , stmt - > raw_name ( ) , <nl> - stmt - > ident . raw_name ( ) ) ; <nl> + emit ( " const { } { } ( { } ) ; " , stmt - > ret_data_type_name ( ) , stmt - > raw_name ( ) , <nl> + stmt - > ident . serialize ( <nl> + [ ] ( const Identifier id ) { return id . raw_name ( ) ; } ) ) ; <nl> } <nl> <nl> void visit ( LocalStoreStmt * stmt ) { <nl> mmm a / lang / ir . h <nl> ppp b / lang / ir . h <nl> struct StmtAttribute { <nl> int vector_width ; <nl> } ; <nl> <nl> + template < typename T > <nl> + struct LaneAttribute { <nl> + std : : vector < T > data ; <nl> + <nl> + LaneAttribute ( ) { <nl> + data . resize ( 1 , T ( ) ) ; <nl> + } <nl> + <nl> + LaneAttribute ( const T & t ) { <nl> + data . resize ( 1 ) ; <nl> + data [ 0 ] = t ; <nl> + } <nl> + <nl> + void resize ( int s ) { <nl> + data . resize ( ) ; <nl> + } <nl> + <nl> + std : : size_t size ( ) { <nl> + return data . size ( ) ; <nl> + } <nl> + <nl> + T & operator [ ] ( int i ) { <nl> + return data [ i ] ; <nl> + } <nl> + <nl> + / / for initializing single lane <nl> + void operator = ( const T & t ) { <nl> + TC_ASSERT ( data . size ( ) = = 1 ) ; <nl> + data [ 0 ] = t ; <nl> + } <nl> + <nl> + void repeat ( int factor ) { <nl> + std : : vector < T > new_data ; <nl> + for ( int i = 0 ; i < factor ; i + + ) { <nl> + for ( int j = 0 ; j < ( int ) data . size ( ) ; j + + ) { <nl> + new_data . push_back ( data [ j ] ) ; <nl> + } <nl> + } <nl> + data = new_data ; <nl> + } <nl> + <nl> + std : : string serialize ( std : : function < std : : string ( const T & t ) > func ) { <nl> + std : : string ret = " ( " ; <nl> + for ( int i = 0 ; i < ( int ) data . size ( ) ; i + + ) { <nl> + ret + = func ( data [ i ] ) ; <nl> + if ( i + 1 < ( int ) data . size ( ) ) { <nl> + ret + = " , " ; <nl> + } <nl> + } <nl> + return ret + " ) " ; <nl> + } <nl> + <nl> + std : : string serialize ( ) { <nl> + std : : string ret = " ( " ; <nl> + for ( int i = 0 ; i < ( int ) data . size ( ) ; i + + ) { <nl> + ret + = fmt : : format ( " { } " , data [ i ] ) ; <nl> + if ( i + 1 < ( int ) data . size ( ) ) { <nl> + ret + = " , " ; <nl> + } <nl> + } <nl> + return ret + " ) " ; <nl> + } <nl> + <nl> + operator T ( ) const { <nl> + TC_ASSERT ( data . size ( ) = = 1 ) ; <nl> + return data [ 0 ] ; <nl> + } <nl> + } ; <nl> + <nl> class Statement : public IRNode { <nl> public : <nl> Block * parent ; <nl> class ExpressionHandle { <nl> class ExpressionGroup { <nl> public : <nl> std : : vector < ExprH > exprs ; <nl> + <nl> ExpressionGroup ( ) { <nl> } <nl> + <nl> ExpressionGroup ( ExprH a ) { <nl> exprs . push_back ( a ) ; <nl> } <nl> + <nl> ExpressionGroup ( ExprH a , ExprH b ) { <nl> exprs . push_back ( a ) ; <nl> exprs . push_back ( b ) ; <nl> class Block : public IRNode { <nl> Block * parent ; <nl> std : : vector < std : : unique_ptr < Statement > > statements ; <nl> std : : map < Ident , VectorType > local_variables ; <nl> + Ident * inner_loop_variable ; <nl> <nl> Block ( ) { <nl> + inner_loop_variable = nullptr ; <nl> parent = nullptr ; <nl> } <nl> <nl> class GlobalStoreStmt : public Statement { <nl> <nl> class LocalLoadStmt : public Statement { <nl> public : <nl> - Ident ident ; <nl> + LaneAttribute < Ident > ident ; <nl> <nl> LocalLoadStmt ( Ident ident ) : ident ( ident ) { <nl> } <nl> class If { <nl> <nl> class ConstStmt : public Statement { <nl> public : <nl> - double value ; <nl> + LaneAttribute < long double > value ; <nl> <nl> ConstStmt ( int32 x ) { <nl> ret_type = VectorType ( 1 , DataType : : i32 ) ; <nl> mmm a / lang / ir_printer . cpp <nl> ppp b / lang / ir_printer . cpp <nl> class IRPrinter : public IRVisitor { <nl> } <nl> <nl> void visit ( LocalLoadStmt * stmt ) { <nl> - print ( " { } { } = load { } " , stmt - > type_hint ( ) , stmt - > name ( ) , <nl> - stmt - > ident . name ( ) ) ; <nl> + print ( <nl> + " { } { } = load { } " , stmt - > type_hint ( ) , stmt - > name ( ) , <nl> + stmt - > ident . serialize ( [ ] ( const Identifier & id ) { return id . name ( ) ; } ) ) ; <nl> } <nl> <nl> void visit ( LocalStoreStmt * stmt ) { <nl> mmm a / lang / loop_vectorize . cpp <nl> ppp b / lang / loop_vectorize . cpp <nl> TLANG_NAMESPACE_BEGIN <nl> class LoopVectorize : public IRVisitor { <nl> public : <nl> int vectorize ; <nl> + Ident * loop_var ; <nl> <nl> LoopVectorize ( ) { <nl> allow_undefined_visitor = true ; <nl> invoke_default_visitor = true ; <nl> + loop_var = nullptr ; <nl> vectorize = 1 ; <nl> } <nl> <nl> class LoopVectorize : public IRVisitor { <nl> } <nl> <nl> void visit ( Block * stmt_list ) { <nl> + std : : vector < Stmt * > statements ; <nl> for ( auto & stmt : stmt_list - > statements ) { <nl> + statements . push_back ( stmt . get ( ) ) ; <nl> + } <nl> + for ( auto stmt : statements ) { <nl> stmt - > accept ( this ) ; <nl> } <nl> } <nl> class LoopVectorize : public IRVisitor { <nl> void visit ( AllocaStmt * alloca ) { <nl> } <nl> <nl> + void visit ( LocalLoadStmt * stmt ) { <nl> + if ( vectorize = = 1 ) <nl> + return ; <nl> + TC_ASSERT ( stmt - > ident . size ( ) = = 1 ) ; <nl> + stmt - > ret_type . width * = vectorize ; <nl> + stmt - > ident . repeat ( vectorize ) ; <nl> + if ( loop_var & & stmt - > ident [ 0 ] = = * loop_var ) { <nl> + / / insert_before <nl> + <nl> + } <nl> + } <nl> + <nl> void visit ( IfStmt * if_stmt ) override { <nl> if ( if_stmt - > true_statements ) <nl> if_stmt - > true_statements - > accept ( this ) ; <nl> class LoopVectorize : public IRVisitor { <nl> void visit ( RangeForStmt * for_stmt ) { <nl> auto old_vectorize = for_stmt - > vectorize ; <nl> vectorize = for_stmt - > vectorize ; <nl> + loop_var = & for_stmt - > loop_var ; <nl> for_stmt - > body - > accept ( this ) ; <nl> - for_stmt - > vectorize = old_vectorize ; <nl> + loop_var = nullptr ; <nl> + vectorize = old_vectorize ; <nl> } <nl> <nl> static void run ( IRNode * node ) { <nl> mmm a / lang / lower_ast . cpp <nl> ppp b / lang / lower_ast . cpp <nl> class LowerAST : public IRVisitor { <nl> begin - > flatten ( flattened ) ; <nl> end - > flatten ( flattened ) ; <nl> <nl> - flattened . push_back ( std : : make_unique < RangeForStmt > ( <nl> + auto & & new_for = std : : make_unique < RangeForStmt > ( <nl> stmt - > loop_var_id , begin - > stmt , end - > stmt , std : : move ( stmt - > body ) , <nl> - stmt - > vectorize ) ) ; <nl> + stmt - > vectorize ) ; <nl> + new_for - > body - > inner_loop_variable = & stmt - > loop_var_id ; <nl> + flattened . push_back ( std : : move ( new_for ) ) ; <nl> stmt - > parent - > replace_with ( stmt , flattened ) ; <nl> throw IRModifiedException ( ) ; <nl> } <nl> mmm a / lang / util . h <nl> ppp b / lang / util . h <nl> inline std : : string get_project_fn ( ) { <nl> template < typename T > <nl> using Handle = std : : shared_ptr < T > ; <nl> <nl> - constexpr int indirect_loop_variable_index = - 1 ; <nl> constexpr int default_simd_width_x86_64 = 8 ; <nl> <nl> class Expr ; <nl> enum class DataType : int { <nl> u32 , <nl> u64 , <nl> ptr , <nl> - none , / / " void " <nl> + none , / / " void " <nl> unknown <nl> } ; <nl> <nl> inline std : : string snode_type_name ( SNodeType t ) { <nl> return type_names [ t ] ; <nl> } <nl> <nl> - enum class UnaryType : int { <nl> - neg , <nl> - sqrt , <nl> - floor , <nl> - undefined <nl> - } ; <nl> + enum class UnaryType : int { neg , sqrt , floor , undefined } ; <nl> <nl> inline std : : string unary_type_name ( UnaryType type ) { <nl> static std : : map < UnaryType , std : : string > type_names ; <nl> inline std : : string binary_type_symbol ( BinaryType type ) { <nl> return type_names [ type ] ; <nl> } <nl> <nl> - enum class NodeType : int { <nl> - <nl> - } ; <nl> - <nl> enum class CmpType { eq , ne , le , lt } ; <nl> <nl> constexpr int max_num_indices = 4 ; <nl> | vectorize basics | taichi-dev/taichi | 1f657d8b6cbbe094c29bc283a078a28d90422be0 | 2019-02-22T03:39:25Z |
mmm a / tests / test_other . py <nl> ppp b / tests / test_other . py <nl> <nl> + # coding = utf - 8 <nl> + <nl> import multiprocessing , os , pipes , re , shutil , subprocess , sys <nl> import glob <nl> import tools . shared <nl> def clean ( txt ) : <nl> except ValueError : <nl> assert False <nl> <nl> + def test_file_packager_unicode ( self ) : <nl> + unicode_name = ' unicode … ☃ ' <nl> + if not os . path . exists ( unicode_name ) : <nl> + try : <nl> + os . mkdir ( unicode_name ) <nl> + except : <nl> + print " we failed to even create a unicode dir , so on this OS , we can ' t test this " <nl> + return <nl> + full = os . path . join ( unicode_name , ' data . txt ' ) <nl> + open ( full , ' w ' ) . write ( ' data ' ) <nl> + proc = Popen ( [ PYTHON , FILE_PACKAGER , ' test . data ' , ' - - preload ' , full ] , stdout = PIPE , stderr = PIPE ) <nl> + out , err = proc . communicate ( ) <nl> + assert proc . returncode = = 0 , err <nl> + assert len ( out ) > 0 , err <nl> + assert len ( err ) = = 0 , err <nl> + assert unicode_name in out , out <nl> + print len ( err ) <nl> + <nl> def test_crunch ( self ) : <nl> try : <nl> print ' Crunch is located at ' + CRUNCH <nl> mmm a / tools / file_packager . py <nl> ppp b / tools / file_packager . py <nl> def has_hidden_attribute ( filepath ) : <nl> attrs = ctypes . windll . kernel32 . GetFileAttributesW ( unicode ( filepath ) ) <nl> assert attrs ! = - 1 <nl> result = bool ( attrs & 2 ) <nl> - except ( AttributeError , AssertionError ) : <nl> + except : <nl> result = False <nl> return result <nl> <nl> | Merge pull request from kripken / unicode_file_packager | emscripten-core/emscripten | a56164602d53ab97d2a460267d4464284f0ae147 | 2016-02-16T21:07:38Z |
mmm a / tensorflow / python / estimator / estimator . py <nl> ppp b / tensorflow / python / estimator / estimator . py <nl> def _extract_batch_length ( self , preds_evaluated ) : <nl> batch_length = batch_length or value . shape [ 0 ] <nl> if value . shape [ 0 ] ! = batch_length : <nl> raise ValueError ( ' Batch length of predictions should be same . % s has ' <nl> - ' different batch length then others . ' % key ) <nl> + ' different batch length than others . ' % key ) <nl> return batch_length <nl> <nl> def _extract_keys ( self , predictions , predict_keys ) : <nl> | Fix typo in error message ( ) | tensorflow/tensorflow | 7f39b18febda4513eb9b869396bad3ac9e8f64a8 | 2018-04-12T01:18:01Z |
mmm a / Marlin / Conditionals_post . h <nl> ppp b / Marlin / Conditionals_post . h <nl> <nl> # endif <nl> # else <nl> # if ENABLED ( DELTA ) <nl> - # define X_HOME_POS ( ( X_MAX_LENGTH ) * 0 . 5 ) <nl> + # define X_HOME_POS ( X_MIN_POS + ( X_MAX_LENGTH ) * 0 . 5 ) <nl> # else <nl> # define X_HOME_POS ( X_HOME_DIR < 0 ? X_MIN_POS : X_MAX_POS ) <nl> # endif <nl> <nl> # endif <nl> # else <nl> # if ENABLED ( DELTA ) <nl> - # define Y_HOME_POS ( ( Y_MAX_LENGTH ) * 0 . 5 ) <nl> + # define Y_HOME_POS ( Y_MIN_POS + ( Y_MAX_LENGTH ) * 0 . 5 ) <nl> # else <nl> # define Y_HOME_POS ( Y_HOME_DIR < 0 ? Y_MIN_POS : Y_MAX_POS ) <nl> # endif <nl> mmm a / Marlin / Marlin . h <nl> ppp b / Marlin / Marlin . h <nl> void calculate_volumetric_multipliers ( ) ; <nl> / * * <nl> * Blocking movement and shorthand functions <nl> * / <nl> - inline void do_blocking_move_to ( float x , float y , float z , float fr_mm_s = 0 . 0 ) ; <nl> - inline void do_blocking_move_to_x ( float x , float fr_mm_s = 0 . 0 ) ; <nl> - inline void do_blocking_move_to_z ( float z , float fr_mm_s = 0 . 0 ) ; <nl> - inline void do_blocking_move_to_xy ( float x , float y , float fr_mm_s = 0 . 0 ) ; <nl> + void do_blocking_move_to ( const float & x , const float & y , const float & z , const float & fr_mm_s = 0 . 0 ) ; <nl> + void do_blocking_move_to_x ( const float & x , const float & fr_mm_s = 0 . 0 ) ; <nl> + void do_blocking_move_to_z ( const float & z , const float & fr_mm_s = 0 . 0 ) ; <nl> + void do_blocking_move_to_xy ( const float & x , const float & y , const float & fr_mm_s = 0 . 0 ) ; <nl> <nl> # endif / / MARLIN_H <nl> mmm a / Marlin / Marlin_main . cpp <nl> ppp b / Marlin / Marlin_main . cpp <nl> inline void set_destination_to_current ( ) { memcpy ( destination , current_position , <nl> * Plan a move to ( X , Y , Z ) and set the current_position <nl> * The final current_position may not be the one that was requested <nl> * / <nl> - void do_blocking_move_to ( float x , float y , float z , float fr_mm_s / * = 0 . 0 * / ) { <nl> + void do_blocking_move_to ( const float & x , const float & y , const float & z , const float & fr_mm_s / * = 0 . 0 * / ) { <nl> float old_feedrate_mm_s = feedrate_mm_s ; <nl> <nl> # if ENABLED ( DEBUG_LEVELING_FEATURE ) <nl> void do_blocking_move_to ( float x , float y , float z , float fr_mm_s / * = 0 . 0 * / ) { <nl> <nl> feedrate_mm_s = old_feedrate_mm_s ; <nl> } <nl> - void do_blocking_move_to_x ( float x , float fr_mm_s / * = 0 . 0 * / ) { <nl> + void do_blocking_move_to_x ( const float & x , const float & fr_mm_s / * = 0 . 0 * / ) { <nl> do_blocking_move_to ( x , current_position [ Y_AXIS ] , current_position [ Z_AXIS ] , fr_mm_s ) ; <nl> } <nl> - void do_blocking_move_to_z ( float z , float fr_mm_s / * = 0 . 0 * / ) { <nl> + void do_blocking_move_to_z ( const float & z , const float & fr_mm_s / * = 0 . 0 * / ) { <nl> do_blocking_move_to ( current_position [ X_AXIS ] , current_position [ Y_AXIS ] , z , fr_mm_s ) ; <nl> } <nl> - void do_blocking_move_to_xy ( float x , float y , float fr_mm_s / * = 0 . 0 * / ) { <nl> + void do_blocking_move_to_xy ( const float & x , const float & y , const float & fr_mm_s / * = 0 . 0 * / ) { <nl> do_blocking_move_to ( x , y , current_position [ Z_AXIS ] , fr_mm_s ) ; <nl> } <nl> <nl> mmm a / Marlin / ultralcd . cpp <nl> ppp b / Marlin / ultralcd . cpp <nl> void kill_screen ( const char * lcd_msg ) { <nl> # if ENABLED ( DELTA_CALIBRATION_MENU ) <nl> <nl> static void _goto_tower_pos ( const float & a ) { <nl> - char cmd [ 26 ] ; <nl> - sprintf_P ( cmd , PSTR ( " G1 F4000 X % i Y % i " ) , int ( - ( DELTA_PRINTABLE_RADIUS ) * sin ( a ) ) , int ( ( DELTA_PRINTABLE_RADIUS ) * cos ( a ) ) ) ; <nl> - enqueue_and_echo_commands_P ( PSTR ( " G1 F8000 Z4 " ) ) ; <nl> - enqueue_and_echo_command ( cmd ) ; <nl> + do_blocking_move_to ( <nl> + a < 0 ? X_HOME_POS : sin ( a ) * - ( DELTA_PRINTABLE_RADIUS ) , <nl> + a < 0 ? Y_HOME_POS : cos ( a ) * ( DELTA_PRINTABLE_RADIUS ) , <nl> + 4 <nl> + ) ; <nl> } <nl> <nl> static void _goto_tower_x ( ) { _goto_tower_pos ( RADIANS ( 120 ) ) ; } <nl> static void _goto_tower_y ( ) { _goto_tower_pos ( RADIANS ( 240 ) ) ; } <nl> static void _goto_tower_z ( ) { _goto_tower_pos ( 0 ) ; } <nl> + static void _goto_center ( ) { _goto_tower_pos ( - 1 ) ; } <nl> <nl> static void lcd_delta_calibrate_menu ( ) { <nl> START_MENU ( ) ; <nl> void kill_screen ( const char * lcd_msg ) { <nl> MENU_ITEM ( function , MSG_DELTA_CALIBRATE_X , _goto_tower_x ) ; <nl> MENU_ITEM ( function , MSG_DELTA_CALIBRATE_Y , _goto_tower_y ) ; <nl> MENU_ITEM ( function , MSG_DELTA_CALIBRATE_Z , _goto_tower_z ) ; <nl> - MENU_ITEM ( gcode , MSG_DELTA_CALIBRATE_CENTER , PSTR ( " G1 F8000 Z4 \ nG1 F4000 X0 Y0 " ) ) ; <nl> + MENU_ITEM ( function , MSG_DELTA_CALIBRATE_CENTER , _goto_center ) ; <nl> END_MENU ( ) ; <nl> } <nl> <nl> | Merge pull request from thinkyhead / rc_delta_cal_more | MarlinFirmware/Marlin | d6a7ca6553da8f39e1d1ad74fe56f077fcb7d0ae | 2016-08-11T21:04:05Z |
mmm a / Source / Common / Include / MultiversoWrapper . h <nl> ppp b / Source / Common / Include / MultiversoWrapper . h <nl> namespace Microsoft { <nl> bool isAsyncBuffered = true , <nl> AdjustLearningRateatBeginning adjusttype = AdjustLearningRateatBeginning : : None , <nl> double adjustcoef = 0 . 2 , <nl> - size_t adjustnbmb = 600 ) <nl> + size_t adjustnbmb = 600 , <nl> + int traceLevel = 0 ) <nl> { <nl> m_modelSyncCount = 0 ; <nl> m_adjustLearningRateAtBeginningType = adjusttype ; <nl> namespace Microsoft { <nl> <nl> m_prefetchThread = nullptr ; <nl> <nl> + if ( traceLevel > 3 ) <nl> + multiverso : : Log : : ResetLogLevel ( multiverso : : LogLevel : : Debug ) ; <nl> + <nl> MultiversoInit ( learnableNodes ) ; <nl> } <nl> <nl> namespace Microsoft { <nl> <nl> std : : transform ( m_deltaArray , m_deltaArray + m_totalModelSize , m_deltaArray , std : : bind1st ( std : : multiplies < ElemType > ( ) , factor ) ) ; <nl> <nl> - i = 0 ; <nl> - for ( auto nodeIter = learnableNodes . begin ( ) ; nodeIter ! = learnableNodes . end ( ) ; nodeIter + + , i + + ) <nl> + for ( int widx = 0 ; widx < m_tableCount ; widx + + ) <nl> { <nl> - ElemType * px = m_deltaArray + m_tableOffsets [ i ] ; <nl> - auto multiversoMatrix = m_matrixArray - > at ( i ) ; <nl> - fprintf ( stdout , " model init add table length : % d ! offset : % d \ n " , m_tableLength [ i ] , m_tableOffsets [ i ] ) ; <nl> - fflush ( stdout ) ; <nl> - multiversoMatrix - > Add ( px , m_tableLength [ i ] ) ; <nl> + auto multiversoMatrix = m_matrixArray - > at ( widx ) ; <nl> + ElemType * px = m_deltaArray + m_tableOffsets [ widx ] ; <nl> + multiversoMatrix - > Add ( px , m_tableLength [ widx ] ) ; <nl> } <nl> WaitAll ( ) ; / / initial model for every client should be identical <nl> - i = 0 ; <nl> - for ( auto nodeIter = learnableNodes . begin ( ) ; nodeIter ! = learnableNodes . end ( ) ; nodeIter + + , i + + ) <nl> + for ( int widx = 0 ; widx < m_tableCount ; widx + + ) <nl> { <nl> - ElemType * px = m_deltaArray + m_tableOffsets [ i ] ; <nl> - auto multiversoMatrix = m_matrixArray - > at ( i ) ; <nl> - fprintf ( stdout , " model init get table length : % d ! offset : % d \ n " , m_tableLength [ i ] , m_tableOffsets [ i ] ) ; <nl> - fflush ( stdout ) ; <nl> - multiversoMatrix - > Get ( px , m_tableLength [ i ] ) ; <nl> + auto multiversoMatrix = m_matrixArray - > at ( widx ) ; <nl> + ElemType * px = m_deltaArray + m_tableOffsets [ widx ] ; <nl> + multiversoMatrix - > Get ( px , m_tableLength [ widx ] ) ; <nl> } <nl> } <nl> <nl> namespace Microsoft { <nl> <nl> / / lr decay <nl> std : : transform ( m_deltaArray , m_deltaArray + m_totalModelSize , m_deltaArray , std : : bind1st ( std : : multiplies < ElemType > ( ) , factor ) ) ; <nl> - i = 0 ; <nl> - for ( auto multiversoMatrix = m_matrixArray - > begin ( ) ; multiversoMatrix ! = m_matrixArray - > end ( ) ; multiversoMatrix + + , i + + ) <nl> - { <nl> - ElemType * px = m_deltaArray + m_tableOffsets [ i ] ; <nl> - fprintf ( stdout , " rank % d : model push & pull add table length : % d ! , offset : % d \ n " , multiverso : : MV_Rank ( ) , m_tableLength [ i ] , m_tableOffsets [ i ] ) ; <nl> - fflush ( stdout ) ; <nl> - ( * multiversoMatrix ) - > Add ( px , m_tableLength [ i ] ) ; <nl> - } <nl> - i = 0 ; <nl> - for ( auto multiversoMatrix = m_matrixArray - > begin ( ) ; multiversoMatrix ! = m_matrixArray - > end ( ) ; multiversoMatrix + + , i + + ) <nl> + for ( int widx = 0 ; widx < m_tableCount ; widx + + ) <nl> { <nl> - ElemType * py = m_cpuAsyncBuffer [ t_cacheIdx ] + m_tableOffsets [ i ] ; <nl> - fprintf ( stdout , " rank % d : model push & pull get table length : % d ! , offset : % d \ n " , multiverso : : MV_Rank ( ) , m_tableLength [ i ] , m_tableOffsets [ i ] ) ; <nl> - fflush ( stdout ) ; <nl> - ( * multiversoMatrix ) - > Get ( py , m_tableLength [ i ] ) ; <nl> + auto multiversoMatrix = m_matrixArray - > at ( widx ) ; <nl> + ElemType * px = m_deltaArray + m_tableOffsets [ widx ] ; <nl> + ElemType * py = m_cpuAsyncBuffer [ t_cacheIdx ] + m_tableOffsets [ widx ] ; <nl> + multiversoMatrix - > Add ( px , m_tableLength [ widx ] ) ; <nl> + multiversoMatrix - > Get ( py , m_tableLength [ widx ] ) ; <nl> } <nl> + <nl> / / m_matrixArray - > Add ( m_deltaArray , m_totalModelSize ) ; <nl> / / m_matrixArray - > Get ( m_cpuAsyncBuffer [ t_cacheIdx ] , m_totalModelSize ) ; <nl> <nl> namespace Microsoft { <nl> <nl> std : : transform ( m_deltaArray , m_deltaArray + m_totalModelSize , m_cpuAsyncBuffer [ t_cacheIdx ] , m_deltaArray , std : : minus < ElemType > ( ) ) ; <nl> std : : transform ( m_deltaArray , m_deltaArray + m_totalModelSize , m_deltaArray , std : : bind1st ( std : : multiplies < ElemType > ( ) , factor ) ) ; <nl> - int i = 0 ; <nl> - for ( auto nodeIter = learnableNodes . begin ( ) ; nodeIter ! = learnableNodes . end ( ) ; nodeIter + + , i + + ) <nl> + for ( int widx = 0 ; widx < m_tableCount ; widx + + ) <nl> { <nl> - ElemType * px = m_deltaArray + m_tableOffsets [ i ] ; <nl> - ElemType * py = m_cpuAsyncBuffer [ t_cacheIdx ] + m_tableOffsets [ i ] ; <nl> - auto multiversoMatrix = m_matrixArray - > at ( i ) ; <nl> - multiversoMatrix - > Add ( px , m_tableLength [ i ] ) ; <nl> - multiversoMatrix - > Get ( py , m_tableLength [ i ] ) ; <nl> + auto multiversoMatrix = m_matrixArray - > at ( widx ) ; <nl> + ElemType * px = m_deltaArray + m_tableOffsets [ widx ] ; <nl> + ElemType * py = m_cpuAsyncBuffer [ t_cacheIdx ] + m_tableOffsets [ widx ] ; <nl> + multiversoMatrix - > Add ( px , m_tableLength [ widx ] ) ; <nl> + multiversoMatrix - > Get ( py , m_tableLength [ widx ] ) ; <nl> } <nl> / / m_matrixArray - > Add ( m_deltaArray , m_totalModelSize ) ; <nl> / / m_matrixArray - > Get ( m_cpuAsyncBuffer [ t_cacheIdx ] , m_totalModelSize ) ; <nl> namespace Microsoft { <nl> <nl> / / lr decay <nl> std : : transform ( m_deltaArray , m_deltaArray + m_totalModelSize , m_deltaArray , std : : bind1st ( std : : multiplies < ElemType > ( ) , factor ) ) ; <nl> - i = 0 ; <nl> - for ( auto nodeIter = learnableNodes . begin ( ) ; nodeIter ! = learnableNodes . end ( ) ; nodeIter + + , i + + ) <nl> + for ( int widx = 0 ; widx < m_tableCount ; widx + + ) <nl> { <nl> - ElemType * px = m_deltaArray + m_tableOffsets [ i ] ; <nl> - ElemType * py = m_cpuAsyncBuffer [ 0 ] + m_tableOffsets [ i ] ; <nl> - auto multiversoMatrix = m_matrixArray - > at ( i ) ; <nl> - multiversoMatrix - > Add ( px , m_tableLength [ i ] ) ; <nl> - multiversoMatrix - > Get ( py , m_tableLength [ i ] ) ; <nl> + auto multiversoMatrix = m_matrixArray - > at ( widx ) ; <nl> + ElemType * px = m_deltaArray + m_tableOffsets [ widx ] ; <nl> + ElemType * py = m_cpuAsyncBuffer [ 0 ] + m_tableOffsets [ widx ] ; <nl> + multiversoMatrix - > Add ( px , m_tableLength [ widx ] ) ; <nl> + multiversoMatrix - > Get ( py , m_tableLength [ widx ] ) ; <nl> } <nl> / / m_matrixArray - > Add ( m_deltaArray , m_totalModelSize ) ; <nl> / / m_matrixArray - > Get ( m_cpuAsyncBuffer [ 0 ] , m_totalModelSize ) ; <nl> namespace Microsoft { <nl> assert ( ! m_isInitialized ) ; <nl> m_isInitialized = true ; <nl> <nl> - multiverso : : Log : : ResetLogLevel ( multiverso : : LogLevel : : Debug ) ; <nl> multiverso : : MV_Init ( ) ; <nl> <nl> m_matrixArray = new std : : vector < multiverso : : MatrixWorkerTable < ElemType > * > ( ) ; <nl> namespace Microsoft { <nl> size_t layerRowSize = mat . GetNumRows ( ) ; <nl> size_t layerColSize = mat . GetNumCols ( ) ; <nl> <nl> - printf ( " create layer with % d row , % d col , size = % d \ n " , layerRowSize , layerColSize , layerSize ) ; <nl> m_matrixArray - > push_back ( new multiverso : : MatrixWorkerTable < ElemType > ( layerRowSize , layerColSize ) ) ; <nl> m_serverArray - > push_back ( new multiverso : : MatrixServerTable < ElemType > ( layerRowSize , layerColSize ) ) ; <nl> <nl> mmm a / Source / SGDLib / SGD . cpp <nl> ppp b / Source / SGDLib / SGD . cpp <nl> void SGD < ElemType > : : TrainOrAdaptModel ( int startEpoch , ComputationNetworkPtr net , <nl> m_isPipeline , <nl> m_adjustlearningrateatbeginning , <nl> m_adjustcoefficient , <nl> - m_adjustnbminibatch ) ; <nl> + m_adjustnbminibatch , <nl> + m_traceLevel ) ; <nl> m_multiverso - > InitModel ( learnableNodes ) ; <nl> m_multiversoBarrier = false ; <nl> m_multiverso - > WaitAll ( ) ; <nl> | using matrixTable for layerwise update | microsoft/CNTK | d24a383db25c5a55b76283c4582311ea2940b0b1 | 2016-03-17T21:26:21Z |
mmm a / tensorflow / python / training / checkpoint_management . py <nl> ppp b / tensorflow / python / training / checkpoint_management . py <nl> def latest_checkpoint ( checkpoint_dir , latest_filename = None ) : <nl> return None <nl> <nl> <nl> - @ deprecation . deprecated ( <nl> - date = None , <nl> - instructions = " Use standard file APIs to check for files with this prefix . " ) <nl> - @ tf_export ( v1 = [ " train . checkpoint_exists " ] ) <nl> - def checkpoint_exists ( checkpoint_prefix ) : <nl> + def checkpoint_exists_internal ( checkpoint_prefix ) : <nl> " " " Checks whether a V1 or V2 checkpoint exists with the specified prefix . <nl> <nl> - This is the recommended way to check if a checkpoint exists , since it takes <nl> - into account the naming difference between V1 and V2 formats . <nl> + This is an internal function to check if a checkpoint exists , <nl> + since it takes into account the naming difference between V1 and V2 formats . <nl> <nl> Args : <nl> checkpoint_prefix : the prefix of a V1 or V2 checkpoint , with V2 taking <nl> def checkpoint_exists ( checkpoint_prefix ) : <nl> return False <nl> <nl> <nl> + @ deprecation . deprecated ( <nl> + date = None , <nl> + instructions = " Use standard file APIs to check for files with this prefix . " ) <nl> + @ tf_export ( v1 = [ " train . checkpoint_exists " ] ) <nl> + def checkpoint_exists ( checkpoint_prefix ) : <nl> + " " " Checks whether a V1 or V2 checkpoint exists with the specified prefix . <nl> + <nl> + This is the recommended way to check if a checkpoint exists , since it takes <nl> + into account the naming difference between V1 and V2 formats . <nl> + <nl> + Args : <nl> + checkpoint_prefix : the prefix of a V1 or V2 checkpoint , with V2 taking <nl> + priority . Typically the result of ` Saver . save ( ) ` or that of <nl> + ` tf . train . latest_checkpoint ( ) ` , regardless of sharded / non - sharded or <nl> + V1 / V2 . <nl> + Returns : <nl> + A bool , true iff a checkpoint referred to by ` checkpoint_prefix ` exists . <nl> + " " " <nl> + return checkpoint_exists_internal ( checkpoint_exists ) <nl> + <nl> + <nl> @ deprecation . deprecated ( <nl> date = None , <nl> instructions = " Use standard file utilities to get mtimes . " ) <nl> mmm a / tensorflow / python / training / saver . py <nl> ppp b / tensorflow / python / training / saver . py <nl> def restore ( self , sess , save_path ) : <nl> if save_path is None : <nl> raise ValueError ( " Can ' t load save_path when it is None . " ) <nl> <nl> - if not checkpoint_management . checkpoint_exists ( compat . as_text ( save_path ) ) : <nl> + if not checkpoint_management . checkpoint_exists_internal ( compat . as_text ( save_path ) ) : <nl> raise ValueError ( " The passed save_path is not a valid checkpoint : " + <nl> compat . as_text ( save_path ) ) <nl> <nl> | Create an internal undeprecated function to check checkpoint exists . | tensorflow/tensorflow | 2d9851f9b0ea64e92cfef332d810e865f143beec | 2019-07-08T16:56:46Z |
mmm a / include / swift / AST / DiagnosticsSema . def <nl> ppp b / include / swift / AST / DiagnosticsSema . def <nl> ERROR ( cannot_infer_base_of_unresolved_member , none , <nl> " cannot infer contextual base in reference to member % 0 " , ( DeclNameRef ) ) <nl> ERROR ( unresolved_nil_literal , none , <nl> " ' nil ' requires a contextual type " , ( ) ) <nl> + ERROR ( cannot_force_unwrap_nil_literal , none , <nl> + " ' nil ' literal cannot be force unwrapped " , ( ) ) <nl> <nl> ERROR ( type_of_expression_is_ambiguous , none , <nl> " type of expression is ambiguous without more context " , ( ) ) <nl> mmm a / lib / Sema / CSGen . cpp <nl> ppp b / lib / Sema / CSGen . cpp <nl> namespace { <nl> } <nl> <nl> Type visitForceValueExpr ( ForceValueExpr * expr ) { <nl> + / / Diagnose force - unwrapping a ' nil ' literal <nl> + auto & DE = CS . getASTContext ( ) . Diags ; <nl> + auto subExpr = expr - > getSubExpr ( ) ; <nl> + if ( isa < NilLiteralExpr > ( subExpr ) ) { <nl> + DE . diagnose ( subExpr - > getLoc ( ) , diag : : cannot_force_unwrap_nil_literal ) ; <nl> + return Type ( ) ; <nl> + } <nl> + <nl> + <nl> / / Force - unwrap an optional of type T ? to produce a T . <nl> auto locator = CS . getConstraintLocator ( expr ) ; <nl> <nl> new file mode 100644 <nl> index 000000000000 . . 308d99688a99 <nl> mmm / dev / null <nl> ppp b / test / Constraints / sr12309 . swift <nl> <nl> + / / RUN : % target - typecheck - verify - swift <nl> + <nl> + struct Foo { <nl> + var bar : Int <nl> + } <nl> + <nl> + let f = Foo ( bar : nil ! ) / / expected - error { { ' nil ' literal cannot be force unwrapped } } <nl> | [ SR - 12309 ] Cannot force unwrap ' nil ' | apple/swift | 8195cce1d3cacfc2a6f73fbecda514bf5e76d0dd | 2020-03-13T23:28:28Z |
mmm a / modules / prediction / common / prediction_map . cc <nl> ppp b / modules / prediction / common / prediction_map . cc <nl> bool PredictionMap : : NearJunction ( const Eigen : : Vector2d & point , <nl> bool PredictionMap : : IsPointInJunction ( <nl> const double x , const double y , <nl> const std : : shared_ptr < const JunctionInfo > junction_info_ptr ) { <nl> + if ( junction_info_ptr = = nullptr ) { <nl> + return false ; <nl> + } <nl> const Polygon2d & polygon = junction_info_ptr - > polygon ( ) ; <nl> return polygon . IsPointIn ( { x , y } ) ; <nl> } <nl> mmm a / modules / prediction / container / obstacles / obstacle . cc <nl> ppp b / modules / prediction / container / obstacles / obstacle . cc <nl> bool Obstacle : : IsInJunction ( const std : : string & junction_id ) const { <nl> AERROR < < " Obstacle [ " < < id_ < < " ] has no history " ; <nl> return false ; <nl> } <nl> + if ( junction_id . empty ( ) ) { <nl> + return false ; <nl> + } <nl> std : : shared_ptr < const JunctionInfo > junction_info_ptr = <nl> PredictionMap : : JunctionById ( junction_id ) ; <nl> + if ( junction_info_ptr = = nullptr ) { <nl> + return false ; <nl> + } <nl> const auto & position = latest_feature ( ) . position ( ) ; <nl> return PredictionMap : : IsPointInJunction ( position . x ( ) , position . y ( ) , <nl> junction_info_ptr ) ; <nl> | prediction : fix core dumps | ApolloAuto/apollo | 9f8fecbd8ecad6815bd424d0de1a4b3423b60ea4 | 2019-10-17T02:02:12Z |
mmm a / system / include / SSE / emmintrin . h <nl> ppp b / system / include / SSE / emmintrin . h <nl> static __inline__ __m128d __attribute__ ( ( __always_inline__ , __nodebug__ ) ) <nl> _mm_min_pd ( __m128d __a , __m128d __b ) <nl> { <nl> # ifdef __EMSCRIPTEN__ <nl> - return ( __m128d ) { __a [ 0 ] < __b [ 0 ] ? __a [ 0 ] : __b [ 0 ] , <nl> - __a [ 1 ] < __b [ 1 ] ? __a [ 1 ] : __b [ 1 ] <nl> - } ; <nl> - <nl> - / / The vectorized version in SIMD . js would be the following , but <nl> - / / this does not work due to https : / / bugzilla . mozilla . org / show_bug . cgi ? id = 1176375 . <nl> - / / TODO : Remove the above scalarized version once the bug is fixed . <nl> - <nl> / / Use a comparison and select instead of emscripten_float32x4_min in order to <nl> / / correctly emulate x86 ' s NaN and - 0 . 0 semantics . <nl> - / / return emscripten_float64x2_select ( emscripten_float64x2_lessThan ( __a , __b ) , __a , __b ) ; <nl> + return emscripten_float64x2_select ( emscripten_float64x2_lessThan ( __a , __b ) , __a , __b ) ; <nl> # else <nl> return __builtin_ia32_minpd ( __a , __b ) ; <nl> # endif <nl> static __inline__ __m128d __attribute__ ( ( __always_inline__ , __nodebug__ ) ) <nl> _mm_max_pd ( __m128d __a , __m128d __b ) <nl> { <nl> # ifdef __EMSCRIPTEN__ <nl> - return ( __m128d ) { __a [ 0 ] > __b [ 0 ] ? __a [ 0 ] : __b [ 0 ] , <nl> - __a [ 1 ] > __b [ 1 ] ? __a [ 1 ] : __b [ 1 ] <nl> - } ; <nl> - <nl> - / / The vectorized version in SIMD . js would be the following , but <nl> - / / this does not work due to https : / / bugzilla . mozilla . org / show_bug . cgi ? id = 1176375 . <nl> - / / TODO : Remove the above scalarized version once the bug is fixed . <nl> - <nl> / / Use a comparison and select instead of emscripten_float32x4_max in order to <nl> / / correctly emulate x86 ' s NaN and - 0 . 0 semantics . <nl> - / / return emscripten_float64x2_select ( emscripten_float64x2_greaterThan ( __a , __b ) , __a , __b ) ; <nl> + return emscripten_float64x2_select ( emscripten_float64x2_greaterThan ( __a , __b ) , __a , __b ) ; <nl> # else <nl> return __builtin_ia32_maxpd ( __a , __b ) ; <nl> # endif <nl> | Merge pull request from froydnj / minmax - pd - fixes | emscripten-core/emscripten | 5a4cb5c9e018d3b50695ffcff6da1380cd292030 | 2018-02-02T16:21:04Z |
mmm a / Documentation / Makefile . files <nl> ppp b / Documentation / Makefile . files <nl> DOXYGEN = \ <nl> <nl> WIKI = \ <nl> ArangoErrors \ <nl> + Aql \ <nl> + AqlExamples \ <nl> CommandLine \ <nl> Compiling \ <nl> Communication \ <nl> WIKI = \ <nl> ShellEdge \ <nl> ShellIndex \ <nl> SimpleQueries \ <nl> + Upgrading \ <nl> UserManual \ <nl> UserManualBasics \ <nl> UserManualArangosh \ <nl> UserManualActions \ <nl> - Aql \ <nl> - AqlExamples \ <nl> jsUnity <nl> <nl> # # mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> mmm a / Documentation / Manual / Home . md <nl> ppp b / Documentation / Manual / Home . md <nl> The HTML and PDF versions of the manual can be found <nl> Please contact @ EXTREF_S { http : / / www . arangodb . org / connect , us } if you <nl> have any questions . <nl> <nl> + Upgrading to ArangoDB 1 . 1 { # ArangoDBUpgrading } <nl> + = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> + <nl> + - @ ref Upgrading <nl> + <nl> ArangoDB ' s User Manuals { # ArangoDBUserManual } <nl> = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> <nl> new file mode 100644 <nl> index 00000000000 . . 099ce6d8e09 <nl> mmm / dev / null <nl> ppp b / Documentation / Manual / Upgrading . md <nl> <nl> + Upgrading to ArangoDB 1 . 1 { # Upgrading } <nl> + = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> + <nl> + ArangoDB 1 . 1 introduces new features but may in some respect have slightly different behavior than 1 . 0 . <nl> + <nl> + This is unavoidable as new features get introduced and others become superfluous . <nl> + <nl> + The following list contains changes in ArangoDB 1 . 1 that are not 100 % downwards - compatible to ArangoDB 1 . 0 . <nl> + <nl> + Existing users of ArangoDB 1 . 0 should read the list carefully and make sure they have undertaken all <nl> + necessary steps and precautions before upgrading from ArangoDB 1 . 0 to ArangoDB 1 . 1 . <nl> + <nl> + # # Database directory version check and upgrade <nl> + <nl> + Starting with ArangoDB 1 . 1 , _arangod_ will perform a database version check at startup . <nl> + <nl> + It will look for a file named _VERSION_ in its database directory . If the file is not present <nl> + ( it will not be present in an ArangoDB 1 . 0 database ) , _arangod_ in version 1 . 1 will refuse to start <nl> + and ask the user to run the script _arango - upgrade_ first . <nl> + <nl> + If the _VERSION_ file is present but is from a non - matching version of ArangoDB , _arangod_ will also <nl> + refuse to start and ask the user to run the upgrade script first . <nl> + This procedure shall ensure that users have full control over when they perform any updates / upgrades <nl> + of their data , and do not risk running an incompatible tandem of server and database . <nl> + <nl> + ArangoDB users are asked to run _arango - upgrade_ when upgrading from one version of ArangoDB to a <nl> + higher version ( e . g . from 1 . 0 to 1 . 1 in this case ) , but also after pulling the latest ArangoDB source <nl> + code while staying in the same minor version ( e . g . when updating from 1 . 1 - beta1 to 1 . 1 - beta2 ) . <nl> + <nl> + When installing ArangoDB from scratch , users should also run _arango - upgrade_ once to initialise their <nl> + database directory with some system collections that ArangoDB requires . When not run , _arangod_ will refuse <nl> + to start as mentioned before . <nl> + <nl> + _arango - upgrade_ can be invoked from the command - line , and takes the database directory as its <nl> + only argument : <nl> + <nl> + > bin / arango - upgrade - - database . directory / tmp / voctest <nl> + <nl> + . . . <nl> + 2012 - 11 - 21T18 : 00 : 38Z [ 2411 ] INFO Upgrade script . / js / server / arango - upgrade . js started <nl> + 2012 - 11 - 21T18 : 00 : 38Z [ 2411 ] INFO Server version : 1 . 1 . beta2 , database directory version : ( not set ) <nl> + 2012 - 11 - 21T18 : 00 : 38Z [ 2411 ] INFO Found 9 defined task ( s ) , 9 task ( s ) to run <nl> + 2012 - 11 - 21T18 : 00 : 38Z [ 2411 ] INFO Executing task # 1 ( setupUsers ) : setup _users collection <nl> + 2012 - 11 - 21T18 : 00 : 38Z [ 2411 ] INFO Task successful <nl> + . . . <nl> + 2012 - 11 - 21T18 : 00 : 40Z [ 2411 ] INFO Upgrade script successfully finished <nl> + 2012 - 11 - 21T18 : 00 : 42Z [ 2411 ] INFO ArangoDB has been shut down <nl> + <nl> + The _arango - upgrade_ will execute the defined tasks to run _arangod_ with all new features and <nl> + data formats . It should normally run without problems and indicate success at script end . If it detects <nl> + a problem that it cannot fix , it will halt on the first error and warn the user . <nl> + <nl> + Re - executing _arango - upgrade_ will execute only the previously failed and not yet executed tasks . <nl> + <nl> + _arango - upgrade_ needs exclusive access to the database , so it cannot be executed while an <nl> + instance of _arangod_ is currently running . <nl> + <nl> + <nl> + # # Server startup options changes <nl> + <nl> + # # # Port options and endpoints <nl> + <nl> + The following startup options have been removed for _arangod_ in version 1 . 1 : <nl> + - ` - - port ` <nl> + - ` - - server . port ` <nl> + - ` - - server . http - port ` <nl> + - ` - - server . admin - port ` <nl> + <nl> + All these options are replaced by the new ` - - server . endpoint ` option in ArangoDB 1 . 1 . <nl> + <nl> + <nl> + The server must now be started with a defined endpoint . <nl> + The new ` - - server . endpoint ` option is required to specify the protocol , hostname and port the <nl> + server should use when listening for incoming connections . <nl> + <nl> + The ` - - server . endpoint ` option must be specified on server start , either on the command line or via <nl> + a configuration file , otherwise _arangod_ will refuse to start . <nl> + <nl> + The server can be bound to one or multiple endpoints at once . The following endpoint <nl> + specification sytnax is currently supported : <nl> + - ` tcp : / / host : port ( HTTP over IPv4 ) ` <nl> + - ` tcp : / / [ host ] : port ( HTTP over IPv6 ) ` <nl> + - ` ssl : / / host : port ( HTTP over SSL - encrypted IPv4 ) ` <nl> + - ` ssl : / / [ host ] : port ( HTTP over SSL - encrypted IPv6 ) ` <nl> + - ` unix : / / path / to / socket ( HTTP over UNIX socket ) ` <nl> + <nl> + An example value for the option is ` - - server . endpoint tcp : / / 127 . 0 . 0 . 1 : 8529 ` . <nl> + This will make the server listen to requests coming in on IP address 127 . 0 . 0 . 1 on port 8529 , <nl> + and that use HTTP over TCP / IPv4 . <nl> + <nl> + # # # Authorization <nl> + <nl> + Starting from 1 . 1 , _arangod_ may be started with authentication turned on . <nl> + When authentication is turned on , all requests incoming to _arangod_ via the HTTP interface must <nl> + carry an _HTTP authorization_ header with a valid username and password in order to be processed . <nl> + Clients sending requests without HTTP autorization headers or with invalid usernames / passwords <nl> + will be rejected by arangod with an HTTP 401 error . <nl> + <nl> + _arango - upgrade_ will create a default user _root_ with an empty password when run initially . <nl> + <nl> + To turn authorization off , the server can be started with the following command line option : <nl> + - - server . disable - authentication true <nl> + Of course this option can also be stored in a configuration file . <nl> + <nl> + <nl> + # # # HTTP keep - alive <nl> + <nl> + The following _arangod_ startup options have been removed in ArangoDB 1 . 1 : <nl> + - ` - - server . require - keep - alive ` <nl> + - ` - - server . secure - require - keep - alive ` <nl> + <nl> + In version 1 . 1 , The server will now behave as follows automatically which should be more <nl> + conforming to the HTTP standard : <nl> + - if a client sends a ` Connection : close ` HTTP header , the server will close the connection as <nl> + requested <nl> + - if a client sends a ` Connection : keep - alive ` HTTP header , the server will not close the <nl> + connection but keep it alive as requested <nl> + - if a client does not send any ` Connection ` HTTP header , the server will assume _keep - alive_ <nl> + if the request was an HTTP / 1 . 1 request , and " close " if the request was an HTTP / 1 . 0 request <nl> + - dangling keep - alive connections will be closed automatically by the server after a configurable <nl> + amount of seconds . To adjust the value , use the new server option ` - - server . keep - alive - timeout ` <nl> + <nl> + <nl> + # # Start / stop scripts <nl> + <nl> + The user used in start and stop scripts has changed from _arango_ to _arangodb_ . Furthermore , <nl> + the start script name itself has changed from _arangod_ to _arangodb_ . Additionally , the default <nl> + database directory name changed from _ / var / arangodb_ to _ / var / lib / arangodb_ . <nl> + This was done to be more compliant with various Linux policies . <nl> + <nl> + <nl> + # # Collection types <nl> + <nl> + In ArangoDB 1 . 1 , collection types have been introduced : <nl> + - regular documents go into _document_ - only collections , <nl> + - and edges go into _edge_ collections . <nl> + <nl> + The prefixing ( ` db . xxx ` and ` edges . xxx ` ) that could be used to access a collection thus works <nl> + slightly differently in 1 . 1 : <nl> + <nl> + ` edges . xxx ` can still be used to access collections , however , it will not determine the type <nl> + of existing collections anymore . In 1 . 0 , you could write ` edges . xxx . something ` and ` xxx ` was <nl> + automatically treated as an _edge_ collection . <nl> + <nl> + As collections know and save their type in ArangoDB 1 . 1 , this might work slightly differently . <nl> + The type of existing collections is immutable and not modifiable by changing the prefix ( ` db ` or ` edges ` ) . <nl> + <nl> + In 1 . 1 , _edge_ collections can be created via the following ways : <nl> + - ` edges . _create ( ) ` as in 1 . 0 <nl> + - addtionally there is a new method ` db . _createEdgeCollection ( ) ` <nl> + <nl> + To create _document_ collections , the following methods are available : <nl> + - ` db . _create ( ) ` as in 1 . 0 , <nl> + - additionally there is now ` db . _createDocumentCollection ( ) ` <nl> + <nl> + Collections in 1 . 1 are now either _document_ - only or _edge_ collections , but the two concepts <nl> + cannot be mixed in the same collection . <nl> + <nl> + _arango - upgrade_ will determine the types of existing collections from 1 . 0 once on upgrade , <nl> + based on the inspection of the first 50 documents in the collection . <nl> + <nl> + If one of the documents contains either a ` _from ` or a ` _to ` attribute , the collection is made an <nl> + _edge_ collection . Otherwise , the collection is marked as a _document_ collection . <nl> + <nl> + This distinction is important because edges can only be created in _edge_ collections starting <nl> + with 1 . 1 . Client code may need to be adjusted to work with ArangoDB 1 . 1 if it tries to insert <nl> + edges into _document_ - only collections . <nl> + <nl> + <nl> + # # arangoimp / arangosh <nl> + <nl> + The parameters ` - - connect - timeout ` and ` - - request - timeout ` for _arangosh_ and _arangoimp_ have been <nl> + renamed to ` - - server . connect - timeout ` and ` - - server . request - timeout ` . <nl> + <nl> + The parameter ` - - server ` has been removed for both _arangoimp_ and _arangosh_ . <nl> + <nl> + To specify a server to connect to , the client tools now provide an option ` - - server . endpoint ` . <nl> + This option can be used to specify the protocol , hostname and port for the connection . <nl> + The default endpoint that is used when none is specified is ` tcp : / / 127 . 0 . 0 . 1 : 8529 ` . <nl> + For more information on the endpoint specification syntax , see above . <nl> + <nl> + The options ` - - server . username ` and ` - - server . password ` have been added for _arangoimp_ and _arangosh_ <nl> + in order to use authorization from these client tools , too . <nl> + <nl> + These options can be used to specify the username and password when connecting via client tools <nl> + to the _arangod_ server . If no password is given on the command line , _arangoimp_ and _arangosh_ <nl> + will interactively prompt for a password . <nl> + If no username is specified on the command line , the default user _root_ will be used but there <nl> + will still be a password prompt . <nl> mmm a / Makefile . in <nl> ppp b / Makefile . in <nl> <nl> - # Makefile . in generated by automake 1 . 12 . 4 from Makefile . am . <nl> + # Makefile . in generated by automake 1 . 11 . 1 from Makefile . am . <nl> # @ configure_input @ <nl> <nl> - # Copyright ( C ) 1994 - 2012 Free Software Foundation , Inc . <nl> - <nl> + # Copyright ( C ) 1994 , 1995 , 1996 , 1997 , 1998 , 1999 , 2000 , 2001 , 2002 , <nl> + # 2003 , 2004 , 2005 , 2006 , 2007 , 2008 , 2009 Free Software Foundation , <nl> + # Inc . <nl> # This Makefile . in is free software ; the Free Software Foundation <nl> # gives unlimited permission to copy and / or distribute it , <nl> # with or without modifications , as long as this notice is preserved . <nl> <nl> <nl> <nl> VPATH = @ srcdir @ <nl> - am__make_dryrun = \ <nl> - { \ <nl> - am__dry = no ; \ <nl> - case $ $ MAKEFLAGS in \ <nl> - * \ \ [ \ \ ] * ) \ <nl> - echo ' am - - echo : ; @ echo " AM " OK ' | $ ( MAKE ) - f - 2 > / dev / null \ <nl> - | grep ' ^ AM OK $ $ ' > / dev / null | | am__dry = yes ; ; \ <nl> - * ) \ <nl> - for am__flg in $ $ MAKEFLAGS ; do \ <nl> - case $ $ am__flg in \ <nl> - * = * | - - * ) ; ; \ <nl> - * n * ) am__dry = yes ; break ; ; \ <nl> - esac ; \ <nl> - done ; ; \ <nl> - esac ; \ <nl> - test $ $ am__dry = yes ; \ <nl> - } <nl> pkgdatadir = $ ( datadir ) / @ PACKAGE @ <nl> pkgincludedir = $ ( includedir ) / @ PACKAGE @ <nl> pkglibdir = $ ( libdir ) / @ PACKAGE @ <nl> DIST_COMMON = README $ ( am__configure_deps ) $ ( dist_man_MANS ) \ <nl> $ ( srcdir ) / lib / Makefile . files $ ( srcdir ) / lib / Makefile . flex \ <nl> $ ( srcdir ) / mr / Makefile . mruby $ ( srcdir ) / utils / Makefile . files \ <nl> $ ( top_srcdir ) / Documentation / arango . template . in \ <nl> - $ ( top_srcdir ) / config / compile $ ( top_srcdir ) / config / config . guess \ <nl> - $ ( top_srcdir ) / config / config . h . in \ <nl> - $ ( top_srcdir ) / config / config . sub $ ( top_srcdir ) / config / depcomp \ <nl> - $ ( top_srcdir ) / config / install - sh $ ( top_srcdir ) / config / missing \ <nl> - $ ( top_srcdir ) / configure \ <nl> + $ ( top_srcdir ) / config / config . h . in $ ( top_srcdir ) / configure \ <nl> $ ( top_srcdir ) / lib / BasicsC / local - configuration . h . in \ <nl> config / compile config / config . guess config / config . sub \ <nl> config / depcomp config / install - sh config / missing <nl> CONFIG_CLEAN_VPATH_FILES = <nl> LIBRARIES = $ ( noinst_LIBRARIES ) <nl> AR = ar <nl> ARFLAGS = cru <nl> - AM_V_AR = $ ( am__v_AR_ @ AM_V @ ) <nl> - am__v_AR_ = $ ( am__v_AR_ @ AM_DEFAULT_V @ ) <nl> - am__v_AR_0 = @ echo " AR " $ @ ; <nl> - am__v_AR_1 = <nl> + AM_V_AR = $ ( am__v_AR_ $ ( V ) ) <nl> + am__v_AR_ = $ ( am__v_AR_ $ ( AM_DEFAULT_VERBOSITY ) ) <nl> + am__v_AR_0 = @ echo " AR " $ @ ; <nl> + AM_V_at = $ ( am__v_at_ $ ( V ) ) <nl> + am__v_at_ = $ ( am__v_at_ $ ( AM_DEFAULT_VERBOSITY ) ) <nl> + am__v_at_0 = @ <nl> lib_libarango_a_AR = $ ( AR ) $ ( ARFLAGS ) <nl> lib_libarango_a_LIBADD = <nl> am__dirstamp = $ ( am__leading_dot ) dirstamp <nl> am__nobase_list = $ ( am__nobase_strip_setup ) ; \ <nl> am__base_list = \ <nl> sed ' $ $ ! N ; $ $ ! N ; $ $ ! N ; $ $ ! N ; $ $ ! N ; $ $ ! N ; $ $ ! N ; s / \ n / / g ' | \ <nl> sed ' $ $ ! N ; $ $ ! N ; $ $ ! N ; $ $ ! N ; s / \ n / / g ' <nl> - am__uninstall_files_from_dir = { \ <nl> - test - z " $ $ files " \ <nl> - | | { test ! - d " $ $ dir " & & test ! - f " $ $ dir " & & test ! - r " $ $ dir " ; } \ <nl> - | | { echo " ( cd ' $ $ dir ' & & rm - f " $ $ files " ) " ; \ <nl> - $ ( am__cd ) " $ $ dir " & & rm - f $ $ files ; } ; \ <nl> - } <nl> SCRIPTS = $ ( bin_SCRIPTS ) <nl> - AM_V_P = $ ( am__v_P_ @ AM_V @ ) <nl> - am__v_P_ = $ ( am__v_P_ @ AM_DEFAULT_V @ ) <nl> - am__v_P_0 = false <nl> - am__v_P_1 = : <nl> - AM_V_GEN = $ ( am__v_GEN_ @ AM_V @ ) <nl> - am__v_GEN_ = $ ( am__v_GEN_ @ AM_DEFAULT_V @ ) <nl> - am__v_GEN_0 = @ echo " GEN " $ @ ; <nl> - am__v_GEN_1 = <nl> - AM_V_at = $ ( am__v_at_ @ AM_V @ ) <nl> - am__v_at_ = $ ( am__v_at_ @ AM_DEFAULT_V @ ) <nl> - am__v_at_0 = @ <nl> - am__v_at_1 = <nl> DEFAULT_INCLUDES = - I . @ am__isrc @ - I $ ( top_builddir ) / config - I $ ( top_builddir ) / lib / BasicsC <nl> depcomp = $ ( SHELL ) $ ( top_srcdir ) / config / depcomp <nl> am__depfiles_maybe = depfiles <nl> am__mv = mv - f <nl> - AM_V_lt = $ ( am__v_lt_ @ AM_V @ ) <nl> - am__v_lt_ = $ ( am__v_lt_ @ AM_DEFAULT_V @ ) <nl> + AM_V_lt = $ ( am__v_lt_ $ ( V ) ) <nl> + am__v_lt_ = $ ( am__v_lt_ $ ( AM_DEFAULT_VERBOSITY ) ) <nl> am__v_lt_0 = - - silent <nl> - am__v_lt_1 = <nl> COMPILE = $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( AM_CPPFLAGS ) \ <nl> $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) <nl> - AM_V_CC = $ ( am__v_CC_ @ AM_V @ ) <nl> - am__v_CC_ = $ ( am__v_CC_ @ AM_DEFAULT_V @ ) <nl> - am__v_CC_0 = @ echo " CC " $ @ ; <nl> - am__v_CC_1 = <nl> + AM_V_CC = $ ( am__v_CC_ $ ( V ) ) <nl> + am__v_CC_ = $ ( am__v_CC_ $ ( AM_DEFAULT_VERBOSITY ) ) <nl> + am__v_CC_0 = @ echo " CC " $ @ ; <nl> CCLD = $ ( CC ) <nl> LINK = $ ( CCLD ) $ ( AM_CFLAGS ) $ ( CFLAGS ) $ ( AM_LDFLAGS ) $ ( LDFLAGS ) - o $ @ <nl> - AM_V_CCLD = $ ( am__v_CCLD_ @ AM_V @ ) <nl> - am__v_CCLD_ = $ ( am__v_CCLD_ @ AM_DEFAULT_V @ ) <nl> - am__v_CCLD_0 = @ echo " CCLD " $ @ ; <nl> - am__v_CCLD_1 = <nl> + AM_V_CCLD = $ ( am__v_CCLD_ $ ( V ) ) <nl> + am__v_CCLD_ = $ ( am__v_CCLD_ $ ( AM_DEFAULT_VERBOSITY ) ) <nl> + am__v_CCLD_0 = @ echo " CCLD " $ @ ; <nl> CXXCOMPILE = $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) \ <nl> $ ( AM_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) <nl> - AM_V_CXX = $ ( am__v_CXX_ @ AM_V @ ) <nl> - am__v_CXX_ = $ ( am__v_CXX_ @ AM_DEFAULT_V @ ) <nl> - am__v_CXX_0 = @ echo " CXX " $ @ ; <nl> - am__v_CXX_1 = <nl> + AM_V_CXX = $ ( am__v_CXX_ $ ( V ) ) <nl> + am__v_CXX_ = $ ( am__v_CXX_ $ ( AM_DEFAULT_VERBOSITY ) ) <nl> + am__v_CXX_0 = @ echo " CXX " $ @ ; <nl> CXXLD = $ ( CXX ) <nl> CXXLINK = $ ( CXXLD ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) $ ( AM_LDFLAGS ) $ ( LDFLAGS ) \ <nl> - o $ @ <nl> - AM_V_CXXLD = $ ( am__v_CXXLD_ @ AM_V @ ) <nl> - am__v_CXXLD_ = $ ( am__v_CXXLD_ @ AM_DEFAULT_V @ ) <nl> - am__v_CXXLD_0 = @ echo " CXXLD " $ @ ; <nl> - am__v_CXXLD_1 = <nl> + AM_V_CXXLD = $ ( am__v_CXXLD_ $ ( V ) ) <nl> + am__v_CXXLD_ = $ ( am__v_CXXLD_ $ ( AM_DEFAULT_VERBOSITY ) ) <nl> + am__v_CXXLD_0 = @ echo " CXXLD " $ @ ; <nl> + AM_V_GEN = $ ( am__v_GEN_ $ ( V ) ) <nl> + am__v_GEN_ = $ ( am__v_GEN_ $ ( AM_DEFAULT_VERBOSITY ) ) <nl> + am__v_GEN_0 = @ echo " GEN " $ @ ; <nl> SOURCES = $ ( lib_libarango_a_SOURCES ) $ ( lib_libarango_client_a_SOURCES ) \ <nl> $ ( lib_libarango_fe_a_SOURCES ) $ ( lib_libarango_mruby_a_SOURCES ) \ <nl> $ ( lib_libarango_v8_a_SOURCES ) \ <nl> DIST_SOURCES = $ ( lib_libarango_a_SOURCES ) \ <nl> $ ( am__bin_arangob_SOURCES_DIST ) \ <nl> $ ( am__bin_arangod_SOURCES_DIST ) $ ( bin_arangoimp_SOURCES ) \ <nl> $ ( am__bin_arangoirb_SOURCES_DIST ) $ ( bin_arangosh_SOURCES ) <nl> - am__can_run_installinfo = \ <nl> - case $ $ AM_UPDATE_INFO_DIR in \ <nl> - n | no | NO ) false ; ; \ <nl> - * ) ( install - info - - version ) > / dev / null 2 > & 1 ; ; \ <nl> - esac <nl> man1dir = $ ( mandir ) / man1 <nl> man8dir = $ ( mandir ) / man8 <nl> NROFF = nroff <nl> MANS = $ ( dist_man_MANS ) <nl> DATA = $ ( arangosysconf_DATA ) $ ( nobase_pkgdata_DATA ) <nl> ETAGS = etags <nl> CTAGS = ctags <nl> - CSCOPE = cscope <nl> - AM_RECURSIVE_TARGETS = cscope <nl> DISTFILES = $ ( DIST_COMMON ) $ ( DIST_SOURCES ) $ ( TEXINFOS ) $ ( EXTRA_DIST ) <nl> distdir = $ ( PACKAGE ) - $ ( VERSION ) <nl> top_distdir = $ ( distdir ) <nl> am__remove_distdir = \ <nl> - if test - d " $ ( distdir ) " ; then \ <nl> - find " $ ( distdir ) " - type d ! - perm - 200 - exec chmod u + w { } ' ; ' \ <nl> - & & rm - rf " $ ( distdir ) " \ <nl> - | | { sleep 5 & & rm - rf " $ ( distdir ) " ; } ; \ <nl> - else : ; fi <nl> - am__post_remove_distdir = $ ( am__remove_distdir ) <nl> + { test ! - d " $ ( distdir ) " \ <nl> + | | { find " $ ( distdir ) " - type d ! - perm - 200 - exec chmod u + w { } ' ; ' \ <nl> + & & rm - fr " $ ( distdir ) " ; } ; } <nl> DIST_ARCHIVES = $ ( distdir ) . tar . gz <nl> GZIP_ENV = - - best <nl> - DIST_TARGETS = dist - gzip <nl> distuninstallcheck_listfiles = find . - type f - print <nl> - am__distuninstallcheck_listfiles = $ ( distuninstallcheck_listfiles ) \ <nl> - | sed ' s | ^ \ . / | $ ( prefix ) / | ' | grep - v ' $ ( infodir ) / dir $ $ ' <nl> distcleancheck_listfiles = find . - type f - print <nl> ACLOCAL = @ ACLOCAL @ <nl> AMTAR = @ AMTAR @ <nl> DOXYGEN = \ <nl> # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # <nl> WIKI = \ <nl> ArangoErrors \ <nl> + Aql \ <nl> + AqlExamples \ <nl> CommandLine \ <nl> Compiling \ <nl> Communication \ <nl> WIKI = \ <nl> ShellEdge \ <nl> ShellIndex \ <nl> SimpleQueries \ <nl> + Upgrading \ <nl> UserManual \ <nl> UserManualBasics \ <nl> UserManualArangosh \ <nl> UserManualActions \ <nl> - Aql \ <nl> - AqlExamples \ <nl> jsUnity <nl> <nl> @ ENABLE_ALL_IN_ONE_ICU_TRUE @ ICUDIR = @ abs_top_srcdir @ / 3rdParty / icu / BUILD <nl> all : $ ( BUILT_SOURCES ) <nl> <nl> . SUFFIXES : <nl> . SUFFIXES : . c . cpp . o . obj <nl> - am - - refresh : Makefile <nl> + am - - refresh : <nl> @ : <nl> $ ( srcdir ) / Makefile . in : $ ( srcdir ) / Makefile . am $ ( srcdir ) / Makefile . files $ ( srcdir ) / lib / Makefile . files $ ( srcdir ) / arangod / Makefile . files $ ( srcdir ) / arangosh / Makefile . files $ ( srcdir ) / etc / Makefile . files $ ( srcdir ) / utils / Makefile . files $ ( srcdir ) / arangoirb / Makefile . files $ ( srcdir ) / UnitTests / Makefile . files $ ( srcdir ) / Documentation / Makefile . files $ ( srcdir ) / js / Makefile . files $ ( srcdir ) / mr / Makefile . mruby $ ( srcdir ) / lib / Makefile . flex $ ( srcdir ) / lib / Makefile . bison $ ( srcdir ) / 3rdParty / Makefile . all - in - one - libev $ ( srcdir ) / 3rdParty / Makefile . all - in - one - v8 $ ( srcdir ) / 3rdParty / Makefile . all - in - one - mruby $ ( srcdir ) / 3rdParty / Makefile . all - in - one - icu $ ( am__configure_deps ) <nl> @ for dep in $ ? ; do \ <nl> Makefile : $ ( srcdir ) / Makefile . in $ ( top_builddir ) / config . status <nl> echo ' cd $ ( top_builddir ) & & $ ( SHELL ) . / config . status $ @ $ ( am__depfiles_maybe ) ' ; \ <nl> cd $ ( top_builddir ) & & $ ( SHELL ) . / config . status $ @ $ ( am__depfiles_maybe ) ; ; \ <nl> esac ; <nl> - $ ( srcdir ) / Makefile . files $ ( srcdir ) / lib / Makefile . files $ ( srcdir ) / arangod / Makefile . files $ ( srcdir ) / arangosh / Makefile . files $ ( srcdir ) / etc / Makefile . files $ ( srcdir ) / utils / Makefile . files $ ( srcdir ) / arangoirb / Makefile . files $ ( srcdir ) / UnitTests / Makefile . files $ ( srcdir ) / Documentation / Makefile . files $ ( srcdir ) / js / Makefile . files $ ( srcdir ) / mr / Makefile . mruby $ ( srcdir ) / lib / Makefile . flex $ ( srcdir ) / lib / Makefile . bison $ ( srcdir ) / 3rdParty / Makefile . all - in - one - libev $ ( srcdir ) / 3rdParty / Makefile . all - in - one - v8 $ ( srcdir ) / 3rdParty / Makefile . all - in - one - mruby $ ( srcdir ) / 3rdParty / Makefile . all - in - one - icu : <nl> <nl> $ ( top_builddir ) / config . status : $ ( top_srcdir ) / configure $ ( CONFIG_STATUS_DEPENDENCIES ) <nl> $ ( SHELL ) . / config . status - - recheck <nl> $ ( ACLOCAL_M4 ) : $ ( am__aclocal_m4_deps ) <nl> $ ( am__aclocal_m4_deps ) : <nl> <nl> config / config . h : config / stamp - h1 <nl> - @ if test ! - f $ @ ; then rm - f config / stamp - h1 ; else : ; fi <nl> - @ if test ! - f $ @ ; then $ ( MAKE ) $ ( AM_MAKEFLAGS ) config / stamp - h1 ; else : ; fi <nl> + @ if test ! - f $ @ ; then \ <nl> + rm - f config / stamp - h1 ; \ <nl> + $ ( MAKE ) $ ( AM_MAKEFLAGS ) config / stamp - h1 ; \ <nl> + else : ; fi <nl> <nl> config / stamp - h1 : $ ( top_srcdir ) / config / config . h . in $ ( top_builddir ) / config . status <nl> @ rm - f config / stamp - h1 <nl> $ ( top_srcdir ) / config / config . h . in : $ ( am__configure_deps ) <nl> touch $ @ <nl> <nl> lib / BasicsC / local - configuration . h : lib / BasicsC / stamp - h2 <nl> - @ if test ! - f $ @ ; then rm - f lib / BasicsC / stamp - h2 ; else : ; fi <nl> - @ if test ! - f $ @ ; then $ ( MAKE ) $ ( AM_MAKEFLAGS ) lib / BasicsC / stamp - h2 ; else : ; fi <nl> + @ if test ! - f $ @ ; then \ <nl> + rm - f lib / BasicsC / stamp - h2 ; \ <nl> + $ ( MAKE ) $ ( AM_MAKEFLAGS ) lib / BasicsC / stamp - h2 ; \ <nl> + else : ; fi <nl> <nl> lib / BasicsC / stamp - h2 : $ ( top_srcdir ) / lib / BasicsC / local - configuration . h . in $ ( top_builddir ) / config . status <nl> @ rm - f lib / BasicsC / stamp - h2 <nl> lib / Variant / VariantVector . $ ( OBJEXT ) : lib / Variant / $ ( am__dirstamp ) \ <nl> lib / $ ( am__dirstamp ) : <nl> @ $ ( MKDIR_P ) lib <nl> @ : > lib / $ ( am__dirstamp ) <nl> - lib / libarango . a : $ ( lib_libarango_a_OBJECTS ) $ ( lib_libarango_a_DEPENDENCIES ) $ ( EXTRA_lib_libarango_a_DEPENDENCIES ) lib / $ ( am__dirstamp ) <nl> + lib / libarango . a : $ ( lib_libarango_a_OBJECTS ) $ ( lib_libarango_a_DEPENDENCIES ) lib / $ ( am__dirstamp ) <nl> $ ( AM_V_at ) - rm - f lib / libarango . a <nl> $ ( AM_V_AR ) $ ( lib_libarango_a_AR ) lib / libarango . a $ ( lib_libarango_a_OBJECTS ) $ ( lib_libarango_a_LIBADD ) <nl> $ ( AM_V_at ) $ ( RANLIB ) lib / libarango . a <nl> lib / SimpleHttpClient / SimpleHttpClient . $ ( OBJEXT ) : \ <nl> lib / SimpleHttpClient / SimpleHttpResult . $ ( OBJEXT ) : \ <nl> lib / SimpleHttpClient / $ ( am__dirstamp ) \ <nl> lib / SimpleHttpClient / $ ( DEPDIR ) / $ ( am__dirstamp ) <nl> - lib / libarango_client . a : $ ( lib_libarango_client_a_OBJECTS ) $ ( lib_libarango_client_a_DEPENDENCIES ) $ ( EXTRA_lib_libarango_client_a_DEPENDENCIES ) lib / $ ( am__dirstamp ) <nl> + lib / libarango_client . a : $ ( lib_libarango_client_a_OBJECTS ) $ ( lib_libarango_client_a_DEPENDENCIES ) lib / $ ( am__dirstamp ) <nl> $ ( AM_V_at ) - rm - f lib / libarango_client . a <nl> $ ( AM_V_AR ) $ ( lib_libarango_client_a_AR ) lib / libarango_client . a $ ( lib_libarango_client_a_OBJECTS ) $ ( lib_libarango_client_a_LIBADD ) <nl> $ ( AM_V_at ) $ ( RANLIB ) lib / libarango_client . a <nl> lib / Scheduler / TaskManager . $ ( OBJEXT ) : lib / Scheduler / $ ( am__dirstamp ) \ <nl> lib / Scheduler / $ ( DEPDIR ) / $ ( am__dirstamp ) <nl> lib / Scheduler / TimerTask . $ ( OBJEXT ) : lib / Scheduler / $ ( am__dirstamp ) \ <nl> lib / Scheduler / $ ( DEPDIR ) / $ ( am__dirstamp ) <nl> - lib / libarango_fe . a : $ ( lib_libarango_fe_a_OBJECTS ) $ ( lib_libarango_fe_a_DEPENDENCIES ) $ ( EXTRA_lib_libarango_fe_a_DEPENDENCIES ) lib / $ ( am__dirstamp ) <nl> + lib / libarango_fe . a : $ ( lib_libarango_fe_a_OBJECTS ) $ ( lib_libarango_fe_a_DEPENDENCIES ) lib / $ ( am__dirstamp ) <nl> $ ( AM_V_at ) - rm - f lib / libarango_fe . a <nl> $ ( AM_V_AR ) $ ( lib_libarango_fe_a_AR ) lib / libarango_fe . a $ ( lib_libarango_fe_a_OBJECTS ) $ ( lib_libarango_fe_a_LIBADD ) <nl> $ ( AM_V_at ) $ ( RANLIB ) lib / libarango_fe . a <nl> lib / MRuby / MRLineEditor . $ ( OBJEXT ) : lib / MRuby / $ ( am__dirstamp ) \ <nl> lib / MRuby / $ ( DEPDIR ) / $ ( am__dirstamp ) <nl> lib / MRuby / mr - utils . $ ( OBJEXT ) : lib / MRuby / $ ( am__dirstamp ) \ <nl> lib / MRuby / $ ( DEPDIR ) / $ ( am__dirstamp ) <nl> - lib / libarango_mruby . a : $ ( lib_libarango_mruby_a_OBJECTS ) $ ( lib_libarango_mruby_a_DEPENDENCIES ) $ ( EXTRA_lib_libarango_mruby_a_DEPENDENCIES ) lib / $ ( am__dirstamp ) <nl> + lib / libarango_mruby . a : $ ( lib_libarango_mruby_a_OBJECTS ) $ ( lib_libarango_mruby_a_DEPENDENCIES ) lib / $ ( am__dirstamp ) <nl> $ ( AM_V_at ) - rm - f lib / libarango_mruby . a <nl> $ ( AM_V_AR ) $ ( lib_libarango_mruby_a_AR ) lib / libarango_mruby . a $ ( lib_libarango_mruby_a_OBJECTS ) $ ( lib_libarango_mruby_a_LIBADD ) <nl> $ ( AM_V_at ) $ ( RANLIB ) lib / libarango_mruby . a <nl> lib / V8 / v8 - shell . $ ( OBJEXT ) : lib / V8 / $ ( am__dirstamp ) \ <nl> lib / V8 / $ ( DEPDIR ) / $ ( am__dirstamp ) <nl> lib / V8 / v8 - utils . $ ( OBJEXT ) : lib / V8 / $ ( am__dirstamp ) \ <nl> lib / V8 / $ ( DEPDIR ) / $ ( am__dirstamp ) <nl> - lib / libarango_v8 . a : $ ( lib_libarango_v8_a_OBJECTS ) $ ( lib_libarango_v8_a_DEPENDENCIES ) $ ( EXTRA_lib_libarango_v8_a_DEPENDENCIES ) lib / $ ( am__dirstamp ) <nl> + lib / libarango_v8 . a : $ ( lib_libarango_v8_a_OBJECTS ) $ ( lib_libarango_v8_a_DEPENDENCIES ) lib / $ ( am__dirstamp ) <nl> $ ( AM_V_at ) - rm - f lib / libarango_v8 . a <nl> $ ( AM_V_AR ) $ ( lib_libarango_v8_a_AR ) lib / libarango_v8 . a $ ( lib_libarango_v8_a_OBJECTS ) $ ( lib_libarango_v8_a_LIBADD ) <nl> $ ( AM_V_at ) $ ( RANLIB ) lib / libarango_v8 . a <nl> install - binPROGRAMS : $ ( bin_PROGRAMS ) <nl> @ $ ( NORMAL_INSTALL ) <nl> + test - z " $ ( bindir ) " | | $ ( MKDIR_P ) " $ ( DESTDIR ) $ ( bindir ) " <nl> @ list = ' $ ( bin_PROGRAMS ) ' ; test - n " $ ( bindir ) " | | list = ; \ <nl> - if test - n " $ $ list " ; then \ <nl> - echo " $ ( MKDIR_P ) ' $ ( DESTDIR ) $ ( bindir ) ' " ; \ <nl> - $ ( MKDIR_P ) " $ ( DESTDIR ) $ ( bindir ) " | | exit 1 ; \ <nl> - fi ; \ <nl> for p in $ $ list ; do echo " $ $ p $ $ p " ; done | \ <nl> sed ' s / $ ( EXEEXT ) $ $ / / ' | \ <nl> while read p p1 ; do if test - f $ $ p ; \ <nl> clean - noinstPROGRAMS : <nl> - test - z " $ ( noinst_PROGRAMS ) " | | rm - f $ ( noinst_PROGRAMS ) <nl> install - sbinPROGRAMS : $ ( sbin_PROGRAMS ) <nl> @ $ ( NORMAL_INSTALL ) <nl> + test - z " $ ( sbindir ) " | | $ ( MKDIR_P ) " $ ( DESTDIR ) $ ( sbindir ) " <nl> @ list = ' $ ( sbin_PROGRAMS ) ' ; test - n " $ ( sbindir ) " | | list = ; \ <nl> - if test - n " $ $ list " ; then \ <nl> - echo " $ ( MKDIR_P ) ' $ ( DESTDIR ) $ ( sbindir ) ' " ; \ <nl> - $ ( MKDIR_P ) " $ ( DESTDIR ) $ ( sbindir ) " | | exit 1 ; \ <nl> - fi ; \ <nl> for p in $ $ list ; do echo " $ $ p $ $ p " ; done | \ <nl> sed ' s / $ ( EXEEXT ) $ $ / / ' | \ <nl> while read p p1 ; do if test - f $ $ p ; \ <nl> UnitTests / Jutland / StringBufferTest . $ ( OBJEXT ) : \ <nl> UnitTests / Jutland / StringUtilsTest . $ ( OBJEXT ) : \ <nl> UnitTests / Jutland / $ ( am__dirstamp ) \ <nl> UnitTests / Jutland / $ ( DEPDIR ) / $ ( am__dirstamp ) <nl> - UnitTests / basics_suite $ ( EXEEXT ) : $ ( UnitTests_basics_suite_OBJECTS ) $ ( UnitTests_basics_suite_DEPENDENCIES ) $ ( EXTRA_UnitTests_basics_suite_DEPENDENCIES ) UnitTests / $ ( am__dirstamp ) <nl> + UnitTests / basics_suite $ ( EXEEXT ) : $ ( UnitTests_basics_suite_OBJECTS ) $ ( UnitTests_basics_suite_DEPENDENCIES ) UnitTests / $ ( am__dirstamp ) <nl> @ rm - f UnitTests / basics_suite $ ( EXEEXT ) <nl> $ ( AM_V_CXXLD ) $ ( CXXLINK ) $ ( UnitTests_basics_suite_OBJECTS ) $ ( UnitTests_basics_suite_LDADD ) $ ( LIBS ) <nl> UnitTests / Cambridge / $ ( am__dirstamp ) : <nl> arangod / GeoIndex / $ ( DEPDIR ) / $ ( am__dirstamp ) : <nl> arangod / GeoIndex / UnitTests_geo_suite - GeoIndex . $ ( OBJEXT ) : \ <nl> arangod / GeoIndex / $ ( am__dirstamp ) \ <nl> arangod / GeoIndex / $ ( DEPDIR ) / $ ( am__dirstamp ) <nl> - UnitTests / geo_suite $ ( EXEEXT ) : $ ( UnitTests_geo_suite_OBJECTS ) $ ( UnitTests_geo_suite_DEPENDENCIES ) $ ( EXTRA_UnitTests_geo_suite_DEPENDENCIES ) UnitTests / $ ( am__dirstamp ) <nl> + UnitTests / geo_suite $ ( EXEEXT ) : $ ( UnitTests_geo_suite_OBJECTS ) $ ( UnitTests_geo_suite_DEPENDENCIES ) UnitTests / $ ( am__dirstamp ) <nl> @ rm - f UnitTests / geo_suite $ ( EXEEXT ) <nl> $ ( AM_V_CXXLD ) $ ( CXXLINK ) $ ( UnitTests_geo_suite_OBJECTS ) $ ( UnitTests_geo_suite_LDADD ) $ ( LIBS ) <nl> arangosh / ArangoShell / $ ( am__dirstamp ) : <nl> arangosh / Benchmark / bin_arangob - arangob . $ ( OBJEXT ) : \ <nl> bin / $ ( am__dirstamp ) : <nl> @ $ ( MKDIR_P ) bin <nl> @ : > bin / $ ( am__dirstamp ) <nl> - bin / arangob $ ( EXEEXT ) : $ ( bin_arangob_OBJECTS ) $ ( bin_arangob_DEPENDENCIES ) $ ( EXTRA_bin_arangob_DEPENDENCIES ) bin / $ ( am__dirstamp ) <nl> + bin / arangob $ ( EXEEXT ) : $ ( bin_arangob_OBJECTS ) $ ( bin_arangob_DEPENDENCIES ) bin / $ ( am__dirstamp ) <nl> @ rm - f bin / arangob $ ( EXEEXT ) <nl> $ ( AM_V_CXXLD ) $ ( CXXLINK ) $ ( bin_arangob_OBJECTS ) $ ( bin_arangob_LDADD ) $ ( LIBS ) <nl> arangod / Actions / $ ( am__dirstamp ) : <nl> arangod / MRServer / bin_arangod - ApplicationMR . $ ( OBJEXT ) : \ <nl> arangod / MRServer / bin_arangod - mr - actions . $ ( OBJEXT ) : \ <nl> arangod / MRServer / $ ( am__dirstamp ) \ <nl> arangod / MRServer / $ ( DEPDIR ) / $ ( am__dirstamp ) <nl> - bin / arangod $ ( EXEEXT ) : $ ( bin_arangod_OBJECTS ) $ ( bin_arangod_DEPENDENCIES ) $ ( EXTRA_bin_arangod_DEPENDENCIES ) bin / $ ( am__dirstamp ) <nl> + bin / arangod $ ( EXEEXT ) : $ ( bin_arangod_OBJECTS ) $ ( bin_arangod_DEPENDENCIES ) bin / $ ( am__dirstamp ) <nl> @ rm - f bin / arangod $ ( EXEEXT ) <nl> $ ( AM_V_CXXLD ) $ ( CXXLINK ) $ ( bin_arangod_OBJECTS ) $ ( bin_arangod_LDADD ) $ ( LIBS ) <nl> arangosh / ArangoShell / bin_arangoimp - ArangoClient . $ ( OBJEXT ) : \ <nl> arangosh / V8Client / bin_arangoimp - V8ClientConnection . $ ( OBJEXT ) : \ <nl> arangosh / V8Client / bin_arangoimp - arangoimp . $ ( OBJEXT ) : \ <nl> arangosh / V8Client / $ ( am__dirstamp ) \ <nl> arangosh / V8Client / $ ( DEPDIR ) / $ ( am__dirstamp ) <nl> - bin / arangoimp $ ( EXEEXT ) : $ ( bin_arangoimp_OBJECTS ) $ ( bin_arangoimp_DEPENDENCIES ) $ ( EXTRA_bin_arangoimp_DEPENDENCIES ) bin / $ ( am__dirstamp ) <nl> + bin / arangoimp $ ( EXEEXT ) : $ ( bin_arangoimp_OBJECTS ) $ ( bin_arangoimp_DEPENDENCIES ) bin / $ ( am__dirstamp ) <nl> @ rm - f bin / arangoimp $ ( EXEEXT ) <nl> $ ( AM_V_CXXLD ) $ ( CXXLINK ) $ ( bin_arangoimp_OBJECTS ) $ ( bin_arangoimp_LDADD ) $ ( LIBS ) <nl> arangosh / ArangoShell / bin_arangoirb - ArangoClient . $ ( OBJEXT ) : \ <nl> arangoirb / MRClient / bin_arangoirb - MRubyClientConnection . $ ( OBJEXT ) : \ <nl> arangoirb / MRClient / bin_arangoirb - arangoirb . $ ( OBJEXT ) : \ <nl> arangoirb / MRClient / $ ( am__dirstamp ) \ <nl> arangoirb / MRClient / $ ( DEPDIR ) / $ ( am__dirstamp ) <nl> - bin / arangoirb $ ( EXEEXT ) : $ ( bin_arangoirb_OBJECTS ) $ ( bin_arangoirb_DEPENDENCIES ) $ ( EXTRA_bin_arangoirb_DEPENDENCIES ) bin / $ ( am__dirstamp ) <nl> + bin / arangoirb $ ( EXEEXT ) : $ ( bin_arangoirb_OBJECTS ) $ ( bin_arangoirb_DEPENDENCIES ) bin / $ ( am__dirstamp ) <nl> @ rm - f bin / arangoirb $ ( EXEEXT ) <nl> $ ( AM_V_CXXLD ) $ ( CXXLINK ) $ ( bin_arangoirb_OBJECTS ) $ ( bin_arangoirb_LDADD ) $ ( LIBS ) <nl> arangosh / ArangoShell / bin_arangosh - ArangoClient . $ ( OBJEXT ) : \ <nl> arangosh / V8Client / bin_arangosh - V8ClientConnection . $ ( OBJEXT ) : \ <nl> arangosh / V8Client / bin_arangosh - arangosh . $ ( OBJEXT ) : \ <nl> arangosh / V8Client / $ ( am__dirstamp ) \ <nl> arangosh / V8Client / $ ( DEPDIR ) / $ ( am__dirstamp ) <nl> - bin / arangosh $ ( EXEEXT ) : $ ( bin_arangosh_OBJECTS ) $ ( bin_arangosh_DEPENDENCIES ) $ ( EXTRA_bin_arangosh_DEPENDENCIES ) bin / $ ( am__dirstamp ) <nl> + bin / arangosh $ ( EXEEXT ) : $ ( bin_arangosh_OBJECTS ) $ ( bin_arangosh_DEPENDENCIES ) bin / $ ( am__dirstamp ) <nl> @ rm - f bin / arangosh $ ( EXEEXT ) <nl> $ ( AM_V_CXXLD ) $ ( CXXLINK ) $ ( bin_arangosh_OBJECTS ) $ ( bin_arangosh_LDADD ) $ ( LIBS ) <nl> install - binSCRIPTS : $ ( bin_SCRIPTS ) <nl> @ $ ( NORMAL_INSTALL ) <nl> + test - z " $ ( bindir ) " | | $ ( MKDIR_P ) " $ ( DESTDIR ) $ ( bindir ) " <nl> @ list = ' $ ( bin_SCRIPTS ) ' ; test - n " $ ( bindir ) " | | list = ; \ <nl> - if test - n " $ $ list " ; then \ <nl> - echo " $ ( MKDIR_P ) ' $ ( DESTDIR ) $ ( bindir ) ' " ; \ <nl> - $ ( MKDIR_P ) " $ ( DESTDIR ) $ ( bindir ) " | | exit 1 ; \ <nl> - fi ; \ <nl> for p in $ $ list ; do \ <nl> if test - f " $ $ p " ; then d = ; else d = " $ ( srcdir ) / " ; fi ; \ <nl> if test - f " $ $ d $ $ p " ; then echo " $ $ d $ $ p " ; echo " $ $ p " ; else : ; fi ; \ <nl> uninstall - binSCRIPTS : <nl> @ list = ' $ ( bin_SCRIPTS ) ' ; test - n " $ ( bindir ) " | | exit 0 ; \ <nl> files = ` for p in $ $ list ; do echo " $ $ p " ; done | \ <nl> sed - e ' s , . * / , , ; $ ( transform ) ' ` ; \ <nl> - dir = ' $ ( DESTDIR ) $ ( bindir ) ' ; $ ( am__uninstall_files_from_dir ) <nl> + test - n " $ $ list " | | exit 0 ; \ <nl> + echo " ( cd ' $ ( DESTDIR ) $ ( bindir ) ' & & rm - f " $ $ files " ) " ; \ <nl> + cd " $ ( DESTDIR ) $ ( bindir ) " & & rm - f $ $ files <nl> <nl> mostlyclean - compile : <nl> - rm - f * . $ ( OBJEXT ) <nl> - - rm - f UnitTests / * . $ ( OBJEXT ) <nl> - - rm - f UnitTests / Cambridge / * . $ ( OBJEXT ) <nl> - - rm - f UnitTests / Jutland / * . $ ( OBJEXT ) <nl> - - rm - f UnitTests / Philadelphia / * . $ ( OBJEXT ) <nl> - - rm - f arangod / Actions / * . $ ( OBJEXT ) <nl> - - rm - f arangod / Ahuacatl / * . $ ( OBJEXT ) <nl> - - rm - f arangod / BitIndexes / * . $ ( OBJEXT ) <nl> - - rm - f arangod / GeoIndex / * . $ ( OBJEXT ) <nl> - - rm - f arangod / HashIndex / * . $ ( OBJEXT ) <nl> - - rm - f arangod / IndexIterators / * . $ ( OBJEXT ) <nl> - - rm - f arangod / IndexOperators / * . $ ( OBJEXT ) <nl> - - rm - f arangod / MRServer / * . $ ( OBJEXT ) <nl> - - rm - f arangod / PriorityQueue / * . $ ( OBJEXT ) <nl> - - rm - f arangod / RestHandler / * . $ ( OBJEXT ) <nl> - - rm - f arangod / RestServer / * . $ ( OBJEXT ) <nl> - - rm - f arangod / SkipLists / * . $ ( OBJEXT ) <nl> - - rm - f arangod / V8Server / * . $ ( OBJEXT ) <nl> - - rm - f arangod / VocBase / * . $ ( OBJEXT ) <nl> - - rm - f arangoirb / MRClient / * . $ ( OBJEXT ) <nl> - - rm - f arangosh / ArangoShell / * . $ ( OBJEXT ) <nl> - - rm - f arangosh / Benchmark / * . $ ( OBJEXT ) <nl> - - rm - f arangosh / V8Client / * . $ ( OBJEXT ) <nl> - - rm - f lib / Admin / * . $ ( OBJEXT ) <nl> - - rm - f lib / ApplicationServer / * . $ ( OBJEXT ) <nl> - - rm - f lib / Basics / * . $ ( OBJEXT ) <nl> - - rm - f lib / BasicsC / * . $ ( OBJEXT ) <nl> - - rm - f lib / Dispatcher / * . $ ( OBJEXT ) <nl> - - rm - f lib / HttpServer / * . $ ( OBJEXT ) <nl> - - rm - f lib / JsonParser / * . $ ( OBJEXT ) <nl> - - rm - f lib / Logger / * . $ ( OBJEXT ) <nl> - - rm - f lib / MRuby / * . $ ( OBJEXT ) <nl> - - rm - f lib / ProgramOptions / * . $ ( OBJEXT ) <nl> - - rm - f lib / Rest / * . $ ( OBJEXT ) <nl> - - rm - f lib / ResultGenerator / * . $ ( OBJEXT ) <nl> - - rm - f lib / Scheduler / * . $ ( OBJEXT ) <nl> - - rm - f lib / ShapedJson / * . $ ( OBJEXT ) <nl> - - rm - f lib / SimpleHttpClient / * . $ ( OBJEXT ) <nl> - - rm - f lib / Statistics / * . $ ( OBJEXT ) <nl> - - rm - f lib / Utilities / * . $ ( OBJEXT ) <nl> - - rm - f lib / V8 / * . $ ( OBJEXT ) <nl> - - rm - f lib / Variant / * . $ ( OBJEXT ) <nl> + - rm - f UnitTests / Cambridge / UnitTests_geo_suite - Runner . $ ( OBJEXT ) <nl> + - rm - f UnitTests / Cambridge / UnitTests_geo_suite - georeg . $ ( OBJEXT ) <nl> + - rm - f UnitTests / Jutland / EndpointTest . $ ( OBJEXT ) <nl> + - rm - f UnitTests / Jutland / StringBufferTest . $ ( OBJEXT ) <nl> + - rm - f UnitTests / Jutland / StringUtilsTest . $ ( OBJEXT ) <nl> + - rm - f UnitTests / Philadelphia / associative - pointer - test . $ ( OBJEXT ) <nl> + - rm - f UnitTests / Philadelphia / csv - test . $ ( OBJEXT ) <nl> + - rm - f UnitTests / Philadelphia / hashes - test . $ ( OBJEXT ) <nl> + - rm - f UnitTests / Philadelphia / json - test . $ ( OBJEXT ) <nl> + - rm - f UnitTests / Philadelphia / json - utilities - test . $ ( OBJEXT ) <nl> + - rm - f UnitTests / Philadelphia / mersenne - test . $ ( OBJEXT ) <nl> + - rm - f UnitTests / Philadelphia / string - buffer - test . $ ( OBJEXT ) <nl> + - rm - f UnitTests / Philadelphia / string - test . $ ( OBJEXT ) <nl> + - rm - f UnitTests / Philadelphia / string - utf8 - normalize - test . $ ( OBJEXT ) <nl> + - rm - f UnitTests / Philadelphia / string - utf8 - test . $ ( OBJEXT ) <nl> + - rm - f UnitTests / Philadelphia / vector - pointer - test . $ ( OBJEXT ) <nl> + - rm - f UnitTests / Philadelphia / vector - test . $ ( OBJEXT ) <nl> + - rm - f UnitTests / Runner . $ ( OBJEXT ) <nl> + - rm - f arangod / Actions / bin_arangod - RestActionHandler . $ ( OBJEXT ) <nl> + - rm - f arangod / Actions / bin_arangod - actions . $ ( OBJEXT ) <nl> + - rm - f arangod / Ahuacatl / bin_arangod - ahuacatl - access - optimiser . $ ( OBJEXT ) <nl> + - rm - f arangod / Ahuacatl / bin_arangod - ahuacatl - ast - node . $ ( OBJEXT ) <nl> + - rm - f arangod / Ahuacatl / bin_arangod - ahuacatl - bind - parameter . $ ( OBJEXT ) <nl> + - rm - f arangod / Ahuacatl / bin_arangod - ahuacatl - codegen . $ ( OBJEXT ) <nl> + - rm - f arangod / Ahuacatl / bin_arangod - ahuacatl - collections . $ ( OBJEXT ) <nl> + - rm - f arangod / Ahuacatl / bin_arangod - ahuacatl - context . $ ( OBJEXT ) <nl> + - rm - f arangod / Ahuacatl / bin_arangod - ahuacatl - conversions . $ ( OBJEXT ) <nl> + - rm - f arangod / Ahuacatl / bin_arangod - ahuacatl - error . $ ( OBJEXT ) <nl> + - rm - f arangod / Ahuacatl / bin_arangod - ahuacatl - explain . $ ( OBJEXT ) <nl> + - rm - f arangod / Ahuacatl / bin_arangod - ahuacatl - functions . $ ( OBJEXT ) <nl> + - rm - f arangod / Ahuacatl / bin_arangod - ahuacatl - grammar . $ ( OBJEXT ) <nl> + - rm - f arangod / Ahuacatl / bin_arangod - ahuacatl - index . $ ( OBJEXT ) <nl> + - rm - f arangod / Ahuacatl / bin_arangod - ahuacatl - node . $ ( OBJEXT ) <nl> + - rm - f arangod / Ahuacatl / bin_arangod - ahuacatl - optimiser . $ ( OBJEXT ) <nl> + - rm - f arangod / Ahuacatl / bin_arangod - ahuacatl - parser - functions . $ ( OBJEXT ) <nl> + - rm - f arangod / Ahuacatl / bin_arangod - ahuacatl - parser . $ ( OBJEXT ) <nl> + - rm - f arangod / Ahuacatl / bin_arangod - ahuacatl - result . $ ( OBJEXT ) <nl> + - rm - f arangod / Ahuacatl / bin_arangod - ahuacatl - scope . $ ( OBJEXT ) <nl> + - rm - f arangod / Ahuacatl / bin_arangod - ahuacatl - statement - dump . $ ( OBJEXT ) <nl> + - rm - f arangod / Ahuacatl / bin_arangod - ahuacatl - statement - walker . $ ( OBJEXT ) <nl> + - rm - f arangod / Ahuacatl / bin_arangod - ahuacatl - statementlist . $ ( OBJEXT ) <nl> + - rm - f arangod / Ahuacatl / bin_arangod - ahuacatl - tokens . $ ( OBJEXT ) <nl> + - rm - f arangod / Ahuacatl / bin_arangod - ahuacatl - variable . $ ( OBJEXT ) <nl> + - rm - f arangod / BitIndexes / bin_arangod - bitarray . $ ( OBJEXT ) <nl> + - rm - f arangod / BitIndexes / bin_arangod - bitarrayIndex . $ ( OBJEXT ) <nl> + - rm - f arangod / GeoIndex / UnitTests_geo_suite - GeoIndex . $ ( OBJEXT ) <nl> + - rm - f arangod / GeoIndex / bin_arangod - GeoIndex . $ ( OBJEXT ) <nl> + - rm - f arangod / HashIndex / bin_arangod - hasharray . $ ( OBJEXT ) <nl> + - rm - f arangod / HashIndex / bin_arangod - hashindex . $ ( OBJEXT ) <nl> + - rm - f arangod / IndexIterators / bin_arangod - index - iterator . $ ( OBJEXT ) <nl> + - rm - f arangod / IndexOperators / bin_arangod - index - operator . $ ( OBJEXT ) <nl> + - rm - f arangod / MRServer / bin_arangod - ApplicationMR . $ ( OBJEXT ) <nl> + - rm - f arangod / MRServer / bin_arangod - mr - actions . $ ( OBJEXT ) <nl> + - rm - f arangod / PriorityQueue / bin_arangod - pqueueindex . $ ( OBJEXT ) <nl> + - rm - f arangod / PriorityQueue / bin_arangod - priorityqueue . $ ( OBJEXT ) <nl> + - rm - f arangod / RestHandler / bin_arangod - ConnectionStatisticsHandler . $ ( OBJEXT ) <nl> + - rm - f arangod / RestHandler / bin_arangod - RequestStatisticsHandler . $ ( OBJEXT ) <nl> + - rm - f arangod / RestHandler / bin_arangod - RestBatchHandler . $ ( OBJEXT ) <nl> + - rm - f arangod / RestHandler / bin_arangod - RestDocumentHandler . $ ( OBJEXT ) <nl> + - rm - f arangod / RestHandler / bin_arangod - RestEdgeHandler . $ ( OBJEXT ) <nl> + - rm - f arangod / RestHandler / bin_arangod - RestImportHandler . $ ( OBJEXT ) <nl> + - rm - f arangod / RestHandler / bin_arangod - RestVocbaseBaseHandler . $ ( OBJEXT ) <nl> + - rm - f arangod / RestHandler / bin_arangod - StatisticsBaseHandler . $ ( OBJEXT ) <nl> + - rm - f arangod / RestServer / bin_arangod - ArangoServer . $ ( OBJEXT ) <nl> + - rm - f arangod / RestServer / bin_arangod - arango . $ ( OBJEXT ) <nl> + - rm - f arangod / SkipLists / bin_arangod - skiplist . $ ( OBJEXT ) <nl> + - rm - f arangod / SkipLists / bin_arangod - skiplistIndex . $ ( OBJEXT ) <nl> + - rm - f arangod / V8Server / bin_arangod - ApplicationV8 . $ ( OBJEXT ) <nl> + - rm - f arangod / V8Server / bin_arangod - v8 - actions . $ ( OBJEXT ) <nl> + - rm - f arangod / V8Server / bin_arangod - v8 - objects . $ ( OBJEXT ) <nl> + - rm - f arangod / V8Server / bin_arangod - v8 - query . $ ( OBJEXT ) <nl> + - rm - f arangod / V8Server / bin_arangod - v8 - vocbase . $ ( OBJEXT ) <nl> + - rm - f arangod / VocBase / bin_arangod - auth . $ ( OBJEXT ) <nl> + - rm - f arangod / VocBase / bin_arangod - barrier . $ ( OBJEXT ) <nl> + - rm - f arangod / VocBase / bin_arangod - cleanup . $ ( OBJEXT ) <nl> + - rm - f arangod / VocBase / bin_arangod - collection . $ ( OBJEXT ) <nl> + - rm - f arangod / VocBase / bin_arangod - compactor . $ ( OBJEXT ) <nl> + - rm - f arangod / VocBase / bin_arangod - datafile . $ ( OBJEXT ) <nl> + - rm - f arangod / VocBase / bin_arangod - document - collection . $ ( OBJEXT ) <nl> + - rm - f arangod / VocBase / bin_arangod - edge - collection . $ ( OBJEXT ) <nl> + - rm - f arangod / VocBase / bin_arangod - general - cursor . $ ( OBJEXT ) <nl> + - rm - f arangod / VocBase / bin_arangod - headers . $ ( OBJEXT ) <nl> + - rm - f arangod / VocBase / bin_arangod - index . $ ( OBJEXT ) <nl> + - rm - f arangod / VocBase / bin_arangod - primary - collection . $ ( OBJEXT ) <nl> + - rm - f arangod / VocBase / bin_arangod - shadow - data . $ ( OBJEXT ) <nl> + - rm - f arangod / VocBase / bin_arangod - shape - collection . $ ( OBJEXT ) <nl> + - rm - f arangod / VocBase / bin_arangod - synchroniser . $ ( OBJEXT ) <nl> + - rm - f arangod / VocBase / bin_arangod - voc - shaper . $ ( OBJEXT ) <nl> + - rm - f arangod / VocBase / bin_arangod - vocbase . $ ( OBJEXT ) <nl> + - rm - f arangoirb / MRClient / bin_arangoirb - MRubyClientConnection . $ ( OBJEXT ) <nl> + - rm - f arangoirb / MRClient / bin_arangoirb - arangoirb . $ ( OBJEXT ) <nl> + - rm - f arangosh / ArangoShell / bin_arangob - ArangoClient . $ ( OBJEXT ) <nl> + - rm - f arangosh / ArangoShell / bin_arangoimp - ArangoClient . $ ( OBJEXT ) <nl> + - rm - f arangosh / ArangoShell / bin_arangoirb - ArangoClient . $ ( OBJEXT ) <nl> + - rm - f arangosh / ArangoShell / bin_arangosh - ArangoClient . $ ( OBJEXT ) <nl> + - rm - f arangosh / Benchmark / bin_arangob - arangob . $ ( OBJEXT ) <nl> + - rm - f arangosh / V8Client / bin_arangoimp - ImportHelper . $ ( OBJEXT ) <nl> + - rm - f arangosh / V8Client / bin_arangoimp - V8ClientConnection . $ ( OBJEXT ) <nl> + - rm - f arangosh / V8Client / bin_arangoimp - arangoimp . $ ( OBJEXT ) <nl> + - rm - f arangosh / V8Client / bin_arangosh - ImportHelper . $ ( OBJEXT ) <nl> + - rm - f arangosh / V8Client / bin_arangosh - V8ClientConnection . $ ( OBJEXT ) <nl> + - rm - f arangosh / V8Client / bin_arangosh - arangosh . $ ( OBJEXT ) <nl> + - rm - f lib / Admin / ApplicationAdminServer . $ ( OBJEXT ) <nl> + - rm - f lib / Admin / RestAdminBaseHandler . $ ( OBJEXT ) <nl> + - rm - f lib / Admin / RestAdminFeConfigurationHandler . $ ( OBJEXT ) <nl> + - rm - f lib / Admin / RestAdminLogHandler . $ ( OBJEXT ) <nl> + - rm - f lib / Admin / RestBaseHandler . $ ( OBJEXT ) <nl> + - rm - f lib / Admin / RestVersionHandler . $ ( OBJEXT ) <nl> + - rm - f lib / ApplicationServer / ApplicationFeature . $ ( OBJEXT ) <nl> + - rm - f lib / ApplicationServer / ApplicationServer . $ ( OBJEXT ) <nl> + - rm - f lib / Basics / ConditionLocker . $ ( OBJEXT ) <nl> + - rm - f lib / Basics / ConditionVariable . $ ( OBJEXT ) <nl> + - rm - f lib / Basics / Exceptions . $ ( OBJEXT ) <nl> + - rm - f lib / Basics / FileUtils . $ ( OBJEXT ) <nl> + - rm - f lib / Basics / Initialise . $ ( OBJEXT ) <nl> + - rm - f lib / Basics / LibraryLoader . $ ( OBJEXT ) <nl> + - rm - f lib / Basics / Mutex . $ ( OBJEXT ) <nl> + - rm - f lib / Basics / MutexLocker . $ ( OBJEXT ) <nl> + - rm - f lib / Basics / ProgramOptions . $ ( OBJEXT ) <nl> + - rm - f lib / Basics / ProgramOptionsDescription . $ ( OBJEXT ) <nl> + - rm - f lib / Basics / Random . $ ( OBJEXT ) <nl> + - rm - f lib / Basics / ReadLocker . $ ( OBJEXT ) <nl> + - rm - f lib / Basics / ReadUnlocker . $ ( OBJEXT ) <nl> + - rm - f lib / Basics / ReadWriteLock . $ ( OBJEXT ) <nl> + - rm - f lib / Basics / StringUtils . $ ( OBJEXT ) <nl> + - rm - f lib / Basics / Thread . $ ( OBJEXT ) <nl> + - rm - f lib / Basics / Timing . $ ( OBJEXT ) <nl> + - rm - f lib / Basics / Utf8Helper . $ ( OBJEXT ) <nl> + - rm - f lib / Basics / WriteLocker . $ ( OBJEXT ) <nl> + - rm - f lib / Basics / WriteUnlocker . $ ( OBJEXT ) <nl> + - rm - f lib / Basics / ssl - helper . $ ( OBJEXT ) <nl> + - rm - f lib / BasicsC / associative - multi . $ ( OBJEXT ) <nl> + - rm - f lib / BasicsC / associative . $ ( OBJEXT ) <nl> + - rm - f lib / BasicsC / conversions . $ ( OBJEXT ) <nl> + - rm - f lib / BasicsC / csv . $ ( OBJEXT ) <nl> + - rm - f lib / BasicsC / error . $ ( OBJEXT ) <nl> + - rm - f lib / BasicsC / files . $ ( OBJEXT ) <nl> + - rm - f lib / BasicsC / hashes . $ ( OBJEXT ) <nl> + - rm - f lib / BasicsC / init . $ ( OBJEXT ) <nl> + - rm - f lib / BasicsC / json - utilities . $ ( OBJEXT ) <nl> + - rm - f lib / BasicsC / json . $ ( OBJEXT ) <nl> + - rm - f lib / BasicsC / linked - list . $ ( OBJEXT ) <nl> + - rm - f lib / BasicsC / locks - macos . $ ( OBJEXT ) <nl> + - rm - f lib / BasicsC / locks - posix . $ ( OBJEXT ) <nl> + - rm - f lib / BasicsC / logging . $ ( OBJEXT ) <nl> + - rm - f lib / BasicsC / memory - map - posix . $ ( OBJEXT ) <nl> + - rm - f lib / BasicsC / memory . $ ( OBJEXT ) <nl> + - rm - f lib / BasicsC / mersenne . $ ( OBJEXT ) <nl> + - rm - f lib / BasicsC / process - utils . $ ( OBJEXT ) <nl> + - rm - f lib / BasicsC / random . $ ( OBJEXT ) <nl> + - rm - f lib / BasicsC / socket - utils . $ ( OBJEXT ) <nl> + - rm - f lib / BasicsC / string - buffer . $ ( OBJEXT ) <nl> + - rm - f lib / BasicsC / strings . $ ( OBJEXT ) <nl> + - rm - f lib / BasicsC / structures . $ ( OBJEXT ) <nl> + - rm - f lib / BasicsC / system - functions . $ ( OBJEXT ) <nl> + - rm - f lib / BasicsC / terminal - utils - posix . $ ( OBJEXT ) <nl> + - rm - f lib / BasicsC / terminal - utils . $ ( OBJEXT ) <nl> + - rm - f lib / BasicsC / threads - posix . $ ( OBJEXT ) <nl> + - rm - f lib / BasicsC / utf8 - helper . $ ( OBJEXT ) <nl> + - rm - f lib / BasicsC / vector . $ ( OBJEXT ) <nl> + - rm - f lib / BasicsC / voc - errors . $ ( OBJEXT ) <nl> + - rm - f lib / Dispatcher / ApplicationDispatcher . $ ( OBJEXT ) <nl> + - rm - f lib / Dispatcher / Dispatcher . $ ( OBJEXT ) <nl> + - rm - f lib / Dispatcher / DispatcherQueue . $ ( OBJEXT ) <nl> + - rm - f lib / Dispatcher / DispatcherThread . $ ( OBJEXT ) <nl> + - rm - f lib / Dispatcher / Job . $ ( OBJEXT ) <nl> + - rm - f lib / HttpServer / ApplicationEndpointServer . $ ( OBJEXT ) <nl> + - rm - f lib / HttpServer / HttpHandler . $ ( OBJEXT ) <nl> + - rm - f lib / HttpServer / HttpHandlerFactory . $ ( OBJEXT ) <nl> + - rm - f lib / HttpServer / PathHandler . $ ( OBJEXT ) <nl> + - rm - f lib / HttpServer / RedirectHandler . $ ( OBJEXT ) <nl> + - rm - f lib / HttpServer / ServiceUnavailableHandler . $ ( OBJEXT ) <nl> + - rm - f lib / JsonParser / json - parser . $ ( OBJEXT ) <nl> + - rm - f lib / Logger / Logger . $ ( OBJEXT ) <nl> + - rm - f lib / Logger / LoggerData . $ ( OBJEXT ) <nl> + - rm - f lib / Logger / LoggerInfo . $ ( OBJEXT ) <nl> + - rm - f lib / Logger / LoggerStream . $ ( OBJEXT ) <nl> + - rm - f lib / Logger / LoggerTiming . $ ( OBJEXT ) <nl> + - rm - f lib / MRuby / MRLineEditor . $ ( OBJEXT ) <nl> + - rm - f lib / MRuby / MRLoader . $ ( OBJEXT ) <nl> + - rm - f lib / MRuby / mr - utils . $ ( OBJEXT ) <nl> + - rm - f lib / ProgramOptions / program - options . $ ( OBJEXT ) <nl> + - rm - f lib / Rest / AnyServer . $ ( OBJEXT ) <nl> + - rm - f lib / Rest / Endpoint . $ ( OBJEXT ) <nl> + - rm - f lib / Rest / EndpointList . $ ( OBJEXT ) <nl> + - rm - f lib / Rest / Handler . $ ( OBJEXT ) <nl> + - rm - f lib / Rest / HttpRequest . $ ( OBJEXT ) <nl> + - rm - f lib / Rest / HttpResponse . $ ( OBJEXT ) <nl> + - rm - f lib / Rest / Initialise . $ ( OBJEXT ) <nl> + - rm - f lib / Rest / JsonContainer . $ ( OBJEXT ) <nl> + - rm - f lib / Rest / SslInterface . $ ( OBJEXT ) <nl> + - rm - f lib / Rest / Url . $ ( OBJEXT ) <nl> + - rm - f lib / ResultGenerator / HtmlResultGenerator . $ ( OBJEXT ) <nl> + - rm - f lib / ResultGenerator / Initialise . $ ( OBJEXT ) <nl> + - rm - f lib / ResultGenerator / JsonResultGenerator . $ ( OBJEXT ) <nl> + - rm - f lib / ResultGenerator / JsonXResultGenerator . $ ( OBJEXT ) <nl> + - rm - f lib / ResultGenerator / OutputGenerator . $ ( OBJEXT ) <nl> + - rm - f lib / ResultGenerator / PhpResultGenerator . $ ( OBJEXT ) <nl> + - rm - f lib / ResultGenerator / ResultGenerator . $ ( OBJEXT ) <nl> + - rm - f lib / ResultGenerator / XmlResultGenerator . $ ( OBJEXT ) <nl> + - rm - f lib / Scheduler / ApplicationScheduler . $ ( OBJEXT ) <nl> + - rm - f lib / Scheduler / AsyncTask . $ ( OBJEXT ) <nl> + - rm - f lib / Scheduler / ListenTask . $ ( OBJEXT ) <nl> + - rm - f lib / Scheduler / PeriodicTask . $ ( OBJEXT ) <nl> + - rm - f lib / Scheduler / Scheduler . $ ( OBJEXT ) <nl> + - rm - f lib / Scheduler / SchedulerLibev . $ ( OBJEXT ) <nl> + - rm - f lib / Scheduler / SchedulerThread . $ ( OBJEXT ) <nl> + - rm - f lib / Scheduler / SignalTask . $ ( OBJEXT ) <nl> + - rm - f lib / Scheduler / SocketTask . $ ( OBJEXT ) <nl> + - rm - f lib / Scheduler / Task . $ ( OBJEXT ) <nl> + - rm - f lib / Scheduler / TaskManager . $ ( OBJEXT ) <nl> + - rm - f lib / Scheduler / TimerTask . $ ( OBJEXT ) <nl> + - rm - f lib / ShapedJson / json - shaper . $ ( OBJEXT ) <nl> + - rm - f lib / ShapedJson / shape - accessor . $ ( OBJEXT ) <nl> + - rm - f lib / ShapedJson / shaped - json . $ ( OBJEXT ) <nl> + - rm - f lib / SimpleHttpClient / ClientConnection . $ ( OBJEXT ) <nl> + - rm - f lib / SimpleHttpClient / GeneralClientConnection . $ ( OBJEXT ) <nl> + - rm - f lib / SimpleHttpClient / SimpleClient . $ ( OBJEXT ) <nl> + - rm - f lib / SimpleHttpClient / SimpleHttpClient . $ ( OBJEXT ) <nl> + - rm - f lib / SimpleHttpClient / SimpleHttpResult . $ ( OBJEXT ) <nl> + - rm - f lib / SimpleHttpClient / SslClientConnection . $ ( OBJEXT ) <nl> + - rm - f lib / Statistics / statistics . $ ( OBJEXT ) <nl> + - rm - f lib / Utilities / LineEditor . $ ( OBJEXT ) <nl> + - rm - f lib / Utilities / ScriptLoader . $ ( OBJEXT ) <nl> + - rm - f lib / V8 / JSLoader . $ ( OBJEXT ) <nl> + - rm - f lib / V8 / V8LineEditor . $ ( OBJEXT ) <nl> + - rm - f lib / V8 / v8 - conv . $ ( OBJEXT ) <nl> + - rm - f lib / V8 / v8 - execution . $ ( OBJEXT ) <nl> + - rm - f lib / V8 / v8 - json . $ ( OBJEXT ) <nl> + - rm - f lib / V8 / v8 - shell . $ ( OBJEXT ) <nl> + - rm - f lib / V8 / v8 - utils . $ ( OBJEXT ) <nl> + - rm - f lib / Variant / VariantArray . $ ( OBJEXT ) <nl> + - rm - f lib / Variant / VariantBlob . $ ( OBJEXT ) <nl> + - rm - f lib / Variant / VariantBoolean . $ ( OBJEXT ) <nl> + - rm - f lib / Variant / VariantDate . $ ( OBJEXT ) <nl> + - rm - f lib / Variant / VariantDatetime . $ ( OBJEXT ) <nl> + - rm - f lib / Variant / VariantDouble . $ ( OBJEXT ) <nl> + - rm - f lib / Variant / VariantFloat . $ ( OBJEXT ) <nl> + - rm - f lib / Variant / VariantInt16 . $ ( OBJEXT ) <nl> + - rm - f lib / Variant / VariantInt32 . $ ( OBJEXT ) <nl> + - rm - f lib / Variant / VariantInt64 . $ ( OBJEXT ) <nl> + - rm - f lib / Variant / VariantInt8 . $ ( OBJEXT ) <nl> + - rm - f lib / Variant / VariantMatrix2 . $ ( OBJEXT ) <nl> + - rm - f lib / Variant / VariantNull . $ ( OBJEXT ) <nl> + - rm - f lib / Variant / VariantObject . $ ( OBJEXT ) <nl> + - rm - f lib / Variant / VariantString . $ ( OBJEXT ) <nl> + - rm - f lib / Variant / VariantUInt16 . $ ( OBJEXT ) <nl> + - rm - f lib / Variant / VariantUInt32 . $ ( OBJEXT ) <nl> + - rm - f lib / Variant / VariantUInt64 . $ ( OBJEXT ) <nl> + - rm - f lib / Variant / VariantUInt8 . $ ( OBJEXT ) <nl> + - rm - f lib / Variant / VariantVector . $ ( OBJEXT ) <nl> <nl> distclean - compile : <nl> - rm - f * . tab . c <nl> distclean - compile : <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) depbase = ` echo $ @ | sed ' s | [ ^ / ] * $ $ | $ ( DEPDIR ) / & | ; s | \ . o $ $ | | ' ` ; \ <nl> @ am__fastdepCC_TRUE @ $ ( COMPILE ) - MT $ @ - MD - MP - MF $ $ depbase . Tpo - c - o $ @ $ < & & \ <nl> @ am__fastdepCC_TRUE @ $ ( am__mv ) $ $ depbase . Tpo $ $ depbase . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' $ < ' object = ' $ @ ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' $ < ' object = ' $ @ ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( COMPILE ) - c - o $ @ $ < <nl> + @ am__fastdepCC_FALSE @ $ ( COMPILE ) - c - o $ @ $ < <nl> <nl> . c . obj : <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) depbase = ` echo $ @ | sed ' s | [ ^ / ] * $ $ | $ ( DEPDIR ) / & | ; s | \ . obj $ $ | | ' ` ; \ <nl> @ am__fastdepCC_TRUE @ $ ( COMPILE ) - MT $ @ - MD - MP - MF $ $ depbase . Tpo - c - o $ @ ` $ ( CYGPATH_W ) ' $ < ' ` & & \ <nl> @ am__fastdepCC_TRUE @ $ ( am__mv ) $ $ depbase . Tpo $ $ depbase . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' $ < ' object = ' $ @ ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' $ < ' object = ' $ @ ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( COMPILE ) - c - o $ @ ` $ ( CYGPATH_W ) ' $ < ' ` <nl> + @ am__fastdepCC_FALSE @ $ ( COMPILE ) - c - o $ @ ` $ ( CYGPATH_W ) ' $ < ' ` <nl> <nl> arangod / GeoIndex / UnitTests_geo_suite - GeoIndex . o : arangod / GeoIndex / GeoIndex . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( UnitTests_geo_suite_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / GeoIndex / UnitTests_geo_suite - GeoIndex . o - MD - MP - MF arangod / GeoIndex / $ ( DEPDIR ) / UnitTests_geo_suite - GeoIndex . Tpo - c - o arangod / GeoIndex / UnitTests_geo_suite - GeoIndex . o ` test - f ' arangod / GeoIndex / GeoIndex . c ' | | echo ' $ ( srcdir ) / ' ` arangod / GeoIndex / GeoIndex . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / GeoIndex / $ ( DEPDIR ) / UnitTests_geo_suite - GeoIndex . Tpo arangod / GeoIndex / $ ( DEPDIR ) / UnitTests_geo_suite - GeoIndex . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / GeoIndex / GeoIndex . c ' object = ' arangod / GeoIndex / UnitTests_geo_suite - GeoIndex . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / GeoIndex / GeoIndex . c ' object = ' arangod / GeoIndex / UnitTests_geo_suite - GeoIndex . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( UnitTests_geo_suite_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / GeoIndex / UnitTests_geo_suite - GeoIndex . o ` test - f ' arangod / GeoIndex / GeoIndex . c ' | | echo ' $ ( srcdir ) / ' ` arangod / GeoIndex / GeoIndex . c <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( UnitTests_geo_suite_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / GeoIndex / UnitTests_geo_suite - GeoIndex . o ` test - f ' arangod / GeoIndex / GeoIndex . c ' | | echo ' $ ( srcdir ) / ' ` arangod / GeoIndex / GeoIndex . c <nl> <nl> arangod / GeoIndex / UnitTests_geo_suite - GeoIndex . obj : arangod / GeoIndex / GeoIndex . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( UnitTests_geo_suite_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / GeoIndex / UnitTests_geo_suite - GeoIndex . obj - MD - MP - MF arangod / GeoIndex / $ ( DEPDIR ) / UnitTests_geo_suite - GeoIndex . Tpo - c - o arangod / GeoIndex / UnitTests_geo_suite - GeoIndex . obj ` if test - f ' arangod / GeoIndex / GeoIndex . c ' ; then $ ( CYGPATH_W ) ' arangod / GeoIndex / GeoIndex . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / GeoIndex / GeoIndex . c ' ; fi ` <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / GeoIndex / $ ( DEPDIR ) / UnitTests_geo_suite - GeoIndex . Tpo arangod / GeoIndex / $ ( DEPDIR ) / UnitTests_geo_suite - GeoIndex . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / GeoIndex / GeoIndex . c ' object = ' arangod / GeoIndex / UnitTests_geo_suite - GeoIndex . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / GeoIndex / GeoIndex . c ' object = ' arangod / GeoIndex / UnitTests_geo_suite - GeoIndex . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( UnitTests_geo_suite_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / GeoIndex / UnitTests_geo_suite - GeoIndex . obj ` if test - f ' arangod / GeoIndex / GeoIndex . c ' ; then $ ( CYGPATH_W ) ' arangod / GeoIndex / GeoIndex . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / GeoIndex / GeoIndex . c ' ; fi ` <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( UnitTests_geo_suite_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / GeoIndex / UnitTests_geo_suite - GeoIndex . obj ` if test - f ' arangod / GeoIndex / GeoIndex . c ' ; then $ ( CYGPATH_W ) ' arangod / GeoIndex / GeoIndex . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / GeoIndex / GeoIndex . c ' ; fi ` <nl> <nl> arangod / Ahuacatl / bin_arangod - ahuacatl - access - optimiser . o : arangod / Ahuacatl / ahuacatl - access - optimiser . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / Ahuacatl / bin_arangod - ahuacatl - access - optimiser . o - MD - MP - MF arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - access - optimiser . Tpo - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - access - optimiser . o ` test - f ' arangod / Ahuacatl / ahuacatl - access - optimiser . c ' | | echo ' $ ( srcdir ) / ' ` arangod / Ahuacatl / ahuacatl - access - optimiser . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - access - optimiser . Tpo arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - access - optimiser . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / Ahuacatl / ahuacatl - access - optimiser . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - access - optimiser . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / Ahuacatl / ahuacatl - access - optimiser . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - access - optimiser . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - access - optimiser . o ` test - f ' arangod / Ahuacatl / ahuacatl - access - optimiser . c ' | | echo ' $ ( srcdir ) / ' ` arangod / Ahuacatl / ahuacatl - access - optimiser . c <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - access - optimiser . o ` test - f ' arangod / Ahuacatl / ahuacatl - access - optimiser . c ' | | echo ' $ ( srcdir ) / ' ` arangod / Ahuacatl / ahuacatl - access - optimiser . c <nl> <nl> arangod / Ahuacatl / bin_arangod - ahuacatl - access - optimiser . obj : arangod / Ahuacatl / ahuacatl - access - optimiser . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / Ahuacatl / bin_arangod - ahuacatl - access - optimiser . obj - MD - MP - MF arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - access - optimiser . Tpo - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - access - optimiser . obj ` if test - f ' arangod / Ahuacatl / ahuacatl - access - optimiser . c ' ; then $ ( CYGPATH_W ) ' arangod / Ahuacatl / ahuacatl - access - optimiser . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / Ahuacatl / ahuacatl - access - optimiser . c ' ; fi ` <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - access - optimiser . Tpo arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - access - optimiser . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / Ahuacatl / ahuacatl - access - optimiser . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - access - optimiser . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / Ahuacatl / ahuacatl - access - optimiser . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - access - optimiser . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - access - optimiser . obj ` if test - f ' arangod / Ahuacatl / ahuacatl - access - optimiser . c ' ; then $ ( CYGPATH_W ) ' arangod / Ahuacatl / ahuacatl - access - optimiser . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / Ahuacatl / ahuacatl - access - optimiser . c ' ; fi ` <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - access - optimiser . obj ` if test - f ' arangod / Ahuacatl / ahuacatl - access - optimiser . c ' ; then $ ( CYGPATH_W ) ' arangod / Ahuacatl / ahuacatl - access - optimiser . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / Ahuacatl / ahuacatl - access - optimiser . c ' ; fi ` <nl> <nl> arangod / Ahuacatl / bin_arangod - ahuacatl - ast - node . o : arangod / Ahuacatl / ahuacatl - ast - node . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / Ahuacatl / bin_arangod - ahuacatl - ast - node . o - MD - MP - MF arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - ast - node . Tpo - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - ast - node . o ` test - f ' arangod / Ahuacatl / ahuacatl - ast - node . c ' | | echo ' $ ( srcdir ) / ' ` arangod / Ahuacatl / ahuacatl - ast - node . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - ast - node . Tpo arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - ast - node . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / Ahuacatl / ahuacatl - ast - node . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - ast - node . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / Ahuacatl / ahuacatl - ast - node . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - ast - node . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - ast - node . o ` test - f ' arangod / Ahuacatl / ahuacatl - ast - node . c ' | | echo ' $ ( srcdir ) / ' ` arangod / Ahuacatl / ahuacatl - ast - node . c <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - ast - node . o ` test - f ' arangod / Ahuacatl / ahuacatl - ast - node . c ' | | echo ' $ ( srcdir ) / ' ` arangod / Ahuacatl / ahuacatl - ast - node . c <nl> <nl> arangod / Ahuacatl / bin_arangod - ahuacatl - ast - node . obj : arangod / Ahuacatl / ahuacatl - ast - node . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / Ahuacatl / bin_arangod - ahuacatl - ast - node . obj - MD - MP - MF arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - ast - node . Tpo - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - ast - node . obj ` if test - f ' arangod / Ahuacatl / ahuacatl - ast - node . c ' ; then $ ( CYGPATH_W ) ' arangod / Ahuacatl / ahuacatl - ast - node . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / Ahuacatl / ahuacatl - ast - node . c ' ; fi ` <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - ast - node . Tpo arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - ast - node . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / Ahuacatl / ahuacatl - ast - node . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - ast - node . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / Ahuacatl / ahuacatl - ast - node . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - ast - node . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - ast - node . obj ` if test - f ' arangod / Ahuacatl / ahuacatl - ast - node . c ' ; then $ ( CYGPATH_W ) ' arangod / Ahuacatl / ahuacatl - ast - node . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / Ahuacatl / ahuacatl - ast - node . c ' ; fi ` <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - ast - node . obj ` if test - f ' arangod / Ahuacatl / ahuacatl - ast - node . c ' ; then $ ( CYGPATH_W ) ' arangod / Ahuacatl / ahuacatl - ast - node . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / Ahuacatl / ahuacatl - ast - node . c ' ; fi ` <nl> <nl> arangod / Ahuacatl / bin_arangod - ahuacatl - bind - parameter . o : arangod / Ahuacatl / ahuacatl - bind - parameter . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / Ahuacatl / bin_arangod - ahuacatl - bind - parameter . o - MD - MP - MF arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - bind - parameter . Tpo - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - bind - parameter . o ` test - f ' arangod / Ahuacatl / ahuacatl - bind - parameter . c ' | | echo ' $ ( srcdir ) / ' ` arangod / Ahuacatl / ahuacatl - bind - parameter . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - bind - parameter . Tpo arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - bind - parameter . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / Ahuacatl / ahuacatl - bind - parameter . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - bind - parameter . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / Ahuacatl / ahuacatl - bind - parameter . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - bind - parameter . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - bind - parameter . o ` test - f ' arangod / Ahuacatl / ahuacatl - bind - parameter . c ' | | echo ' $ ( srcdir ) / ' ` arangod / Ahuacatl / ahuacatl - bind - parameter . c <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - bind - parameter . o ` test - f ' arangod / Ahuacatl / ahuacatl - bind - parameter . c ' | | echo ' $ ( srcdir ) / ' ` arangod / Ahuacatl / ahuacatl - bind - parameter . c <nl> <nl> arangod / Ahuacatl / bin_arangod - ahuacatl - bind - parameter . obj : arangod / Ahuacatl / ahuacatl - bind - parameter . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / Ahuacatl / bin_arangod - ahuacatl - bind - parameter . obj - MD - MP - MF arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - bind - parameter . Tpo - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - bind - parameter . obj ` if test - f ' arangod / Ahuacatl / ahuacatl - bind - parameter . c ' ; then $ ( CYGPATH_W ) ' arangod / Ahuacatl / ahuacatl - bind - parameter . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / Ahuacatl / ahuacatl - bind - parameter . c ' ; fi ` <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - bind - parameter . Tpo arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - bind - parameter . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / Ahuacatl / ahuacatl - bind - parameter . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - bind - parameter . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / Ahuacatl / ahuacatl - bind - parameter . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - bind - parameter . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - bind - parameter . obj ` if test - f ' arangod / Ahuacatl / ahuacatl - bind - parameter . c ' ; then $ ( CYGPATH_W ) ' arangod / Ahuacatl / ahuacatl - bind - parameter . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / Ahuacatl / ahuacatl - bind - parameter . c ' ; fi ` <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - bind - parameter . obj ` if test - f ' arangod / Ahuacatl / ahuacatl - bind - parameter . c ' ; then $ ( CYGPATH_W ) ' arangod / Ahuacatl / ahuacatl - bind - parameter . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / Ahuacatl / ahuacatl - bind - parameter . c ' ; fi ` <nl> <nl> arangod / Ahuacatl / bin_arangod - ahuacatl - codegen . o : arangod / Ahuacatl / ahuacatl - codegen . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / Ahuacatl / bin_arangod - ahuacatl - codegen . o - MD - MP - MF arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - codegen . Tpo - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - codegen . o ` test - f ' arangod / Ahuacatl / ahuacatl - codegen . c ' | | echo ' $ ( srcdir ) / ' ` arangod / Ahuacatl / ahuacatl - codegen . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - codegen . Tpo arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - codegen . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / Ahuacatl / ahuacatl - codegen . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - codegen . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / Ahuacatl / ahuacatl - codegen . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - codegen . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - codegen . o ` test - f ' arangod / Ahuacatl / ahuacatl - codegen . c ' | | echo ' $ ( srcdir ) / ' ` arangod / Ahuacatl / ahuacatl - codegen . c <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - codegen . o ` test - f ' arangod / Ahuacatl / ahuacatl - codegen . c ' | | echo ' $ ( srcdir ) / ' ` arangod / Ahuacatl / ahuacatl - codegen . c <nl> <nl> arangod / Ahuacatl / bin_arangod - ahuacatl - codegen . obj : arangod / Ahuacatl / ahuacatl - codegen . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / Ahuacatl / bin_arangod - ahuacatl - codegen . obj - MD - MP - MF arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - codegen . Tpo - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - codegen . obj ` if test - f ' arangod / Ahuacatl / ahuacatl - codegen . c ' ; then $ ( CYGPATH_W ) ' arangod / Ahuacatl / ahuacatl - codegen . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / Ahuacatl / ahuacatl - codegen . c ' ; fi ` <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - codegen . Tpo arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - codegen . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / Ahuacatl / ahuacatl - codegen . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - codegen . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / Ahuacatl / ahuacatl - codegen . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - codegen . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - codegen . obj ` if test - f ' arangod / Ahuacatl / ahuacatl - codegen . c ' ; then $ ( CYGPATH_W ) ' arangod / Ahuacatl / ahuacatl - codegen . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / Ahuacatl / ahuacatl - codegen . c ' ; fi ` <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - codegen . obj ` if test - f ' arangod / Ahuacatl / ahuacatl - codegen . c ' ; then $ ( CYGPATH_W ) ' arangod / Ahuacatl / ahuacatl - codegen . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / Ahuacatl / ahuacatl - codegen . c ' ; fi ` <nl> <nl> arangod / Ahuacatl / bin_arangod - ahuacatl - collections . o : arangod / Ahuacatl / ahuacatl - collections . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / Ahuacatl / bin_arangod - ahuacatl - collections . o - MD - MP - MF arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - collections . Tpo - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - collections . o ` test - f ' arangod / Ahuacatl / ahuacatl - collections . c ' | | echo ' $ ( srcdir ) / ' ` arangod / Ahuacatl / ahuacatl - collections . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - collections . Tpo arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - collections . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / Ahuacatl / ahuacatl - collections . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - collections . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / Ahuacatl / ahuacatl - collections . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - collections . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - collections . o ` test - f ' arangod / Ahuacatl / ahuacatl - collections . c ' | | echo ' $ ( srcdir ) / ' ` arangod / Ahuacatl / ahuacatl - collections . c <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - collections . o ` test - f ' arangod / Ahuacatl / ahuacatl - collections . c ' | | echo ' $ ( srcdir ) / ' ` arangod / Ahuacatl / ahuacatl - collections . c <nl> <nl> arangod / Ahuacatl / bin_arangod - ahuacatl - collections . obj : arangod / Ahuacatl / ahuacatl - collections . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / Ahuacatl / bin_arangod - ahuacatl - collections . obj - MD - MP - MF arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - collections . Tpo - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - collections . obj ` if test - f ' arangod / Ahuacatl / ahuacatl - collections . c ' ; then $ ( CYGPATH_W ) ' arangod / Ahuacatl / ahuacatl - collections . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / Ahuacatl / ahuacatl - collections . c ' ; fi ` <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - collections . Tpo arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - collections . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / Ahuacatl / ahuacatl - collections . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - collections . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / Ahuacatl / ahuacatl - collections . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - collections . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - collections . obj ` if test - f ' arangod / Ahuacatl / ahuacatl - collections . c ' ; then $ ( CYGPATH_W ) ' arangod / Ahuacatl / ahuacatl - collections . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / Ahuacatl / ahuacatl - collections . c ' ; fi ` <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - collections . obj ` if test - f ' arangod / Ahuacatl / ahuacatl - collections . c ' ; then $ ( CYGPATH_W ) ' arangod / Ahuacatl / ahuacatl - collections . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / Ahuacatl / ahuacatl - collections . c ' ; fi ` <nl> <nl> arangod / Ahuacatl / bin_arangod - ahuacatl - context . o : arangod / Ahuacatl / ahuacatl - context . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / Ahuacatl / bin_arangod - ahuacatl - context . o - MD - MP - MF arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - context . Tpo - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - context . o ` test - f ' arangod / Ahuacatl / ahuacatl - context . c ' | | echo ' $ ( srcdir ) / ' ` arangod / Ahuacatl / ahuacatl - context . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - context . Tpo arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - context . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / Ahuacatl / ahuacatl - context . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - context . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / Ahuacatl / ahuacatl - context . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - context . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - context . o ` test - f ' arangod / Ahuacatl / ahuacatl - context . c ' | | echo ' $ ( srcdir ) / ' ` arangod / Ahuacatl / ahuacatl - context . c <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - context . o ` test - f ' arangod / Ahuacatl / ahuacatl - context . c ' | | echo ' $ ( srcdir ) / ' ` arangod / Ahuacatl / ahuacatl - context . c <nl> <nl> arangod / Ahuacatl / bin_arangod - ahuacatl - context . obj : arangod / Ahuacatl / ahuacatl - context . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / Ahuacatl / bin_arangod - ahuacatl - context . obj - MD - MP - MF arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - context . Tpo - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - context . obj ` if test - f ' arangod / Ahuacatl / ahuacatl - context . c ' ; then $ ( CYGPATH_W ) ' arangod / Ahuacatl / ahuacatl - context . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / Ahuacatl / ahuacatl - context . c ' ; fi ` <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - context . Tpo arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - context . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / Ahuacatl / ahuacatl - context . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - context . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / Ahuacatl / ahuacatl - context . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - context . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - context . obj ` if test - f ' arangod / Ahuacatl / ahuacatl - context . c ' ; then $ ( CYGPATH_W ) ' arangod / Ahuacatl / ahuacatl - context . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / Ahuacatl / ahuacatl - context . c ' ; fi ` <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - context . obj ` if test - f ' arangod / Ahuacatl / ahuacatl - context . c ' ; then $ ( CYGPATH_W ) ' arangod / Ahuacatl / ahuacatl - context . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / Ahuacatl / ahuacatl - context . c ' ; fi ` <nl> <nl> arangod / Ahuacatl / bin_arangod - ahuacatl - conversions . o : arangod / Ahuacatl / ahuacatl - conversions . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / Ahuacatl / bin_arangod - ahuacatl - conversions . o - MD - MP - MF arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - conversions . Tpo - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - conversions . o ` test - f ' arangod / Ahuacatl / ahuacatl - conversions . c ' | | echo ' $ ( srcdir ) / ' ` arangod / Ahuacatl / ahuacatl - conversions . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - conversions . Tpo arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - conversions . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / Ahuacatl / ahuacatl - conversions . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - conversions . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / Ahuacatl / ahuacatl - conversions . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - conversions . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - conversions . o ` test - f ' arangod / Ahuacatl / ahuacatl - conversions . c ' | | echo ' $ ( srcdir ) / ' ` arangod / Ahuacatl / ahuacatl - conversions . c <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - conversions . o ` test - f ' arangod / Ahuacatl / ahuacatl - conversions . c ' | | echo ' $ ( srcdir ) / ' ` arangod / Ahuacatl / ahuacatl - conversions . c <nl> <nl> arangod / Ahuacatl / bin_arangod - ahuacatl - conversions . obj : arangod / Ahuacatl / ahuacatl - conversions . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / Ahuacatl / bin_arangod - ahuacatl - conversions . obj - MD - MP - MF arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - conversions . Tpo - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - conversions . obj ` if test - f ' arangod / Ahuacatl / ahuacatl - conversions . c ' ; then $ ( CYGPATH_W ) ' arangod / Ahuacatl / ahuacatl - conversions . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / Ahuacatl / ahuacatl - conversions . c ' ; fi ` <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - conversions . Tpo arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - conversions . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / Ahuacatl / ahuacatl - conversions . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - conversions . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / Ahuacatl / ahuacatl - conversions . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - conversions . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - conversions . obj ` if test - f ' arangod / Ahuacatl / ahuacatl - conversions . c ' ; then $ ( CYGPATH_W ) ' arangod / Ahuacatl / ahuacatl - conversions . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / Ahuacatl / ahuacatl - conversions . c ' ; fi ` <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - conversions . obj ` if test - f ' arangod / Ahuacatl / ahuacatl - conversions . c ' ; then $ ( CYGPATH_W ) ' arangod / Ahuacatl / ahuacatl - conversions . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / Ahuacatl / ahuacatl - conversions . c ' ; fi ` <nl> <nl> arangod / Ahuacatl / bin_arangod - ahuacatl - error . o : arangod / Ahuacatl / ahuacatl - error . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / Ahuacatl / bin_arangod - ahuacatl - error . o - MD - MP - MF arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - error . Tpo - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - error . o ` test - f ' arangod / Ahuacatl / ahuacatl - error . c ' | | echo ' $ ( srcdir ) / ' ` arangod / Ahuacatl / ahuacatl - error . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - error . Tpo arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - error . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / Ahuacatl / ahuacatl - error . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - error . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / Ahuacatl / ahuacatl - error . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - error . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - error . o ` test - f ' arangod / Ahuacatl / ahuacatl - error . c ' | | echo ' $ ( srcdir ) / ' ` arangod / Ahuacatl / ahuacatl - error . c <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - error . o ` test - f ' arangod / Ahuacatl / ahuacatl - error . c ' | | echo ' $ ( srcdir ) / ' ` arangod / Ahuacatl / ahuacatl - error . c <nl> <nl> arangod / Ahuacatl / bin_arangod - ahuacatl - error . obj : arangod / Ahuacatl / ahuacatl - error . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / Ahuacatl / bin_arangod - ahuacatl - error . obj - MD - MP - MF arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - error . Tpo - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - error . obj ` if test - f ' arangod / Ahuacatl / ahuacatl - error . c ' ; then $ ( CYGPATH_W ) ' arangod / Ahuacatl / ahuacatl - error . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / Ahuacatl / ahuacatl - error . c ' ; fi ` <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - error . Tpo arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - error . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / Ahuacatl / ahuacatl - error . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - error . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / Ahuacatl / ahuacatl - error . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - error . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - error . obj ` if test - f ' arangod / Ahuacatl / ahuacatl - error . c ' ; then $ ( CYGPATH_W ) ' arangod / Ahuacatl / ahuacatl - error . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / Ahuacatl / ahuacatl - error . c ' ; fi ` <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - error . obj ` if test - f ' arangod / Ahuacatl / ahuacatl - error . c ' ; then $ ( CYGPATH_W ) ' arangod / Ahuacatl / ahuacatl - error . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / Ahuacatl / ahuacatl - error . c ' ; fi ` <nl> <nl> arangod / Ahuacatl / bin_arangod - ahuacatl - explain . o : arangod / Ahuacatl / ahuacatl - explain . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / Ahuacatl / bin_arangod - ahuacatl - explain . o - MD - MP - MF arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - explain . Tpo - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - explain . o ` test - f ' arangod / Ahuacatl / ahuacatl - explain . c ' | | echo ' $ ( srcdir ) / ' ` arangod / Ahuacatl / ahuacatl - explain . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - explain . Tpo arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - explain . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / Ahuacatl / ahuacatl - explain . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - explain . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / Ahuacatl / ahuacatl - explain . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - explain . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - explain . o ` test - f ' arangod / Ahuacatl / ahuacatl - explain . c ' | | echo ' $ ( srcdir ) / ' ` arangod / Ahuacatl / ahuacatl - explain . c <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - explain . o ` test - f ' arangod / Ahuacatl / ahuacatl - explain . c ' | | echo ' $ ( srcdir ) / ' ` arangod / Ahuacatl / ahuacatl - explain . c <nl> <nl> arangod / Ahuacatl / bin_arangod - ahuacatl - explain . obj : arangod / Ahuacatl / ahuacatl - explain . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / Ahuacatl / bin_arangod - ahuacatl - explain . obj - MD - MP - MF arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - explain . Tpo - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - explain . obj ` if test - f ' arangod / Ahuacatl / ahuacatl - explain . c ' ; then $ ( CYGPATH_W ) ' arangod / Ahuacatl / ahuacatl - explain . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / Ahuacatl / ahuacatl - explain . c ' ; fi ` <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - explain . Tpo arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - explain . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / Ahuacatl / ahuacatl - explain . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - explain . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / Ahuacatl / ahuacatl - explain . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - explain . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - explain . obj ` if test - f ' arangod / Ahuacatl / ahuacatl - explain . c ' ; then $ ( CYGPATH_W ) ' arangod / Ahuacatl / ahuacatl - explain . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / Ahuacatl / ahuacatl - explain . c ' ; fi ` <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - explain . obj ` if test - f ' arangod / Ahuacatl / ahuacatl - explain . c ' ; then $ ( CYGPATH_W ) ' arangod / Ahuacatl / ahuacatl - explain . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / Ahuacatl / ahuacatl - explain . c ' ; fi ` <nl> <nl> arangod / Ahuacatl / bin_arangod - ahuacatl - functions . o : arangod / Ahuacatl / ahuacatl - functions . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / Ahuacatl / bin_arangod - ahuacatl - functions . o - MD - MP - MF arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - functions . Tpo - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - functions . o ` test - f ' arangod / Ahuacatl / ahuacatl - functions . c ' | | echo ' $ ( srcdir ) / ' ` arangod / Ahuacatl / ahuacatl - functions . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - functions . Tpo arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - functions . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / Ahuacatl / ahuacatl - functions . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - functions . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / Ahuacatl / ahuacatl - functions . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - functions . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - functions . o ` test - f ' arangod / Ahuacatl / ahuacatl - functions . c ' | | echo ' $ ( srcdir ) / ' ` arangod / Ahuacatl / ahuacatl - functions . c <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - functions . o ` test - f ' arangod / Ahuacatl / ahuacatl - functions . c ' | | echo ' $ ( srcdir ) / ' ` arangod / Ahuacatl / ahuacatl - functions . c <nl> <nl> arangod / Ahuacatl / bin_arangod - ahuacatl - functions . obj : arangod / Ahuacatl / ahuacatl - functions . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / Ahuacatl / bin_arangod - ahuacatl - functions . obj - MD - MP - MF arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - functions . Tpo - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - functions . obj ` if test - f ' arangod / Ahuacatl / ahuacatl - functions . c ' ; then $ ( CYGPATH_W ) ' arangod / Ahuacatl / ahuacatl - functions . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / Ahuacatl / ahuacatl - functions . c ' ; fi ` <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - functions . Tpo arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - functions . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / Ahuacatl / ahuacatl - functions . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - functions . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / Ahuacatl / ahuacatl - functions . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - functions . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - functions . obj ` if test - f ' arangod / Ahuacatl / ahuacatl - functions . c ' ; then $ ( CYGPATH_W ) ' arangod / Ahuacatl / ahuacatl - functions . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / Ahuacatl / ahuacatl - functions . c ' ; fi ` <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - functions . obj ` if test - f ' arangod / Ahuacatl / ahuacatl - functions . c ' ; then $ ( CYGPATH_W ) ' arangod / Ahuacatl / ahuacatl - functions . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / Ahuacatl / ahuacatl - functions . c ' ; fi ` <nl> <nl> arangod / Ahuacatl / bin_arangod - ahuacatl - grammar . o : arangod / Ahuacatl / ahuacatl - grammar . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / Ahuacatl / bin_arangod - ahuacatl - grammar . o - MD - MP - MF arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - grammar . Tpo - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - grammar . o ` test - f ' arangod / Ahuacatl / ahuacatl - grammar . c ' | | echo ' $ ( srcdir ) / ' ` arangod / Ahuacatl / ahuacatl - grammar . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - grammar . Tpo arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - grammar . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / Ahuacatl / ahuacatl - grammar . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - grammar . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / Ahuacatl / ahuacatl - grammar . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - grammar . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - grammar . o ` test - f ' arangod / Ahuacatl / ahuacatl - grammar . c ' | | echo ' $ ( srcdir ) / ' ` arangod / Ahuacatl / ahuacatl - grammar . c <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - grammar . o ` test - f ' arangod / Ahuacatl / ahuacatl - grammar . c ' | | echo ' $ ( srcdir ) / ' ` arangod / Ahuacatl / ahuacatl - grammar . c <nl> <nl> arangod / Ahuacatl / bin_arangod - ahuacatl - grammar . obj : arangod / Ahuacatl / ahuacatl - grammar . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / Ahuacatl / bin_arangod - ahuacatl - grammar . obj - MD - MP - MF arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - grammar . Tpo - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - grammar . obj ` if test - f ' arangod / Ahuacatl / ahuacatl - grammar . c ' ; then $ ( CYGPATH_W ) ' arangod / Ahuacatl / ahuacatl - grammar . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / Ahuacatl / ahuacatl - grammar . c ' ; fi ` <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - grammar . Tpo arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - grammar . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / Ahuacatl / ahuacatl - grammar . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - grammar . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / Ahuacatl / ahuacatl - grammar . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - grammar . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - grammar . obj ` if test - f ' arangod / Ahuacatl / ahuacatl - grammar . c ' ; then $ ( CYGPATH_W ) ' arangod / Ahuacatl / ahuacatl - grammar . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / Ahuacatl / ahuacatl - grammar . c ' ; fi ` <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - grammar . obj ` if test - f ' arangod / Ahuacatl / ahuacatl - grammar . c ' ; then $ ( CYGPATH_W ) ' arangod / Ahuacatl / ahuacatl - grammar . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / Ahuacatl / ahuacatl - grammar . c ' ; fi ` <nl> <nl> arangod / Ahuacatl / bin_arangod - ahuacatl - index . o : arangod / Ahuacatl / ahuacatl - index . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / Ahuacatl / bin_arangod - ahuacatl - index . o - MD - MP - MF arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - index . Tpo - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - index . o ` test - f ' arangod / Ahuacatl / ahuacatl - index . c ' | | echo ' $ ( srcdir ) / ' ` arangod / Ahuacatl / ahuacatl - index . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - index . Tpo arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - index . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / Ahuacatl / ahuacatl - index . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - index . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / Ahuacatl / ahuacatl - index . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - index . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - index . o ` test - f ' arangod / Ahuacatl / ahuacatl - index . c ' | | echo ' $ ( srcdir ) / ' ` arangod / Ahuacatl / ahuacatl - index . c <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - index . o ` test - f ' arangod / Ahuacatl / ahuacatl - index . c ' | | echo ' $ ( srcdir ) / ' ` arangod / Ahuacatl / ahuacatl - index . c <nl> <nl> arangod / Ahuacatl / bin_arangod - ahuacatl - index . obj : arangod / Ahuacatl / ahuacatl - index . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / Ahuacatl / bin_arangod - ahuacatl - index . obj - MD - MP - MF arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - index . Tpo - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - index . obj ` if test - f ' arangod / Ahuacatl / ahuacatl - index . c ' ; then $ ( CYGPATH_W ) ' arangod / Ahuacatl / ahuacatl - index . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / Ahuacatl / ahuacatl - index . c ' ; fi ` <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - index . Tpo arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - index . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / Ahuacatl / ahuacatl - index . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - index . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / Ahuacatl / ahuacatl - index . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - index . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - index . obj ` if test - f ' arangod / Ahuacatl / ahuacatl - index . c ' ; then $ ( CYGPATH_W ) ' arangod / Ahuacatl / ahuacatl - index . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / Ahuacatl / ahuacatl - index . c ' ; fi ` <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - index . obj ` if test - f ' arangod / Ahuacatl / ahuacatl - index . c ' ; then $ ( CYGPATH_W ) ' arangod / Ahuacatl / ahuacatl - index . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / Ahuacatl / ahuacatl - index . c ' ; fi ` <nl> <nl> arangod / Ahuacatl / bin_arangod - ahuacatl - node . o : arangod / Ahuacatl / ahuacatl - node . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / Ahuacatl / bin_arangod - ahuacatl - node . o - MD - MP - MF arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - node . Tpo - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - node . o ` test - f ' arangod / Ahuacatl / ahuacatl - node . c ' | | echo ' $ ( srcdir ) / ' ` arangod / Ahuacatl / ahuacatl - node . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - node . Tpo arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - node . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / Ahuacatl / ahuacatl - node . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - node . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / Ahuacatl / ahuacatl - node . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - node . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - node . o ` test - f ' arangod / Ahuacatl / ahuacatl - node . c ' | | echo ' $ ( srcdir ) / ' ` arangod / Ahuacatl / ahuacatl - node . c <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - node . o ` test - f ' arangod / Ahuacatl / ahuacatl - node . c ' | | echo ' $ ( srcdir ) / ' ` arangod / Ahuacatl / ahuacatl - node . c <nl> <nl> arangod / Ahuacatl / bin_arangod - ahuacatl - node . obj : arangod / Ahuacatl / ahuacatl - node . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / Ahuacatl / bin_arangod - ahuacatl - node . obj - MD - MP - MF arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - node . Tpo - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - node . obj ` if test - f ' arangod / Ahuacatl / ahuacatl - node . c ' ; then $ ( CYGPATH_W ) ' arangod / Ahuacatl / ahuacatl - node . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / Ahuacatl / ahuacatl - node . c ' ; fi ` <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - node . Tpo arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - node . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / Ahuacatl / ahuacatl - node . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - node . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / Ahuacatl / ahuacatl - node . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - node . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - node . obj ` if test - f ' arangod / Ahuacatl / ahuacatl - node . c ' ; then $ ( CYGPATH_W ) ' arangod / Ahuacatl / ahuacatl - node . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / Ahuacatl / ahuacatl - node . c ' ; fi ` <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - node . obj ` if test - f ' arangod / Ahuacatl / ahuacatl - node . c ' ; then $ ( CYGPATH_W ) ' arangod / Ahuacatl / ahuacatl - node . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / Ahuacatl / ahuacatl - node . c ' ; fi ` <nl> <nl> arangod / Ahuacatl / bin_arangod - ahuacatl - optimiser . o : arangod / Ahuacatl / ahuacatl - optimiser . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / Ahuacatl / bin_arangod - ahuacatl - optimiser . o - MD - MP - MF arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - optimiser . Tpo - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - optimiser . o ` test - f ' arangod / Ahuacatl / ahuacatl - optimiser . c ' | | echo ' $ ( srcdir ) / ' ` arangod / Ahuacatl / ahuacatl - optimiser . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - optimiser . Tpo arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - optimiser . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / Ahuacatl / ahuacatl - optimiser . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - optimiser . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / Ahuacatl / ahuacatl - optimiser . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - optimiser . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - optimiser . o ` test - f ' arangod / Ahuacatl / ahuacatl - optimiser . c ' | | echo ' $ ( srcdir ) / ' ` arangod / Ahuacatl / ahuacatl - optimiser . c <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - optimiser . o ` test - f ' arangod / Ahuacatl / ahuacatl - optimiser . c ' | | echo ' $ ( srcdir ) / ' ` arangod / Ahuacatl / ahuacatl - optimiser . c <nl> <nl> arangod / Ahuacatl / bin_arangod - ahuacatl - optimiser . obj : arangod / Ahuacatl / ahuacatl - optimiser . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / Ahuacatl / bin_arangod - ahuacatl - optimiser . obj - MD - MP - MF arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - optimiser . Tpo - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - optimiser . obj ` if test - f ' arangod / Ahuacatl / ahuacatl - optimiser . c ' ; then $ ( CYGPATH_W ) ' arangod / Ahuacatl / ahuacatl - optimiser . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / Ahuacatl / ahuacatl - optimiser . c ' ; fi ` <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - optimiser . Tpo arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - optimiser . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / Ahuacatl / ahuacatl - optimiser . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - optimiser . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / Ahuacatl / ahuacatl - optimiser . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - optimiser . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - optimiser . obj ` if test - f ' arangod / Ahuacatl / ahuacatl - optimiser . c ' ; then $ ( CYGPATH_W ) ' arangod / Ahuacatl / ahuacatl - optimiser . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / Ahuacatl / ahuacatl - optimiser . c ' ; fi ` <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - optimiser . obj ` if test - f ' arangod / Ahuacatl / ahuacatl - optimiser . c ' ; then $ ( CYGPATH_W ) ' arangod / Ahuacatl / ahuacatl - optimiser . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / Ahuacatl / ahuacatl - optimiser . c ' ; fi ` <nl> <nl> arangod / Ahuacatl / bin_arangod - ahuacatl - parser - functions . o : arangod / Ahuacatl / ahuacatl - parser - functions . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / Ahuacatl / bin_arangod - ahuacatl - parser - functions . o - MD - MP - MF arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - parser - functions . Tpo - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - parser - functions . o ` test - f ' arangod / Ahuacatl / ahuacatl - parser - functions . c ' | | echo ' $ ( srcdir ) / ' ` arangod / Ahuacatl / ahuacatl - parser - functions . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - parser - functions . Tpo arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - parser - functions . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / Ahuacatl / ahuacatl - parser - functions . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - parser - functions . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / Ahuacatl / ahuacatl - parser - functions . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - parser - functions . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - parser - functions . o ` test - f ' arangod / Ahuacatl / ahuacatl - parser - functions . c ' | | echo ' $ ( srcdir ) / ' ` arangod / Ahuacatl / ahuacatl - parser - functions . c <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - parser - functions . o ` test - f ' arangod / Ahuacatl / ahuacatl - parser - functions . c ' | | echo ' $ ( srcdir ) / ' ` arangod / Ahuacatl / ahuacatl - parser - functions . c <nl> <nl> arangod / Ahuacatl / bin_arangod - ahuacatl - parser - functions . obj : arangod / Ahuacatl / ahuacatl - parser - functions . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / Ahuacatl / bin_arangod - ahuacatl - parser - functions . obj - MD - MP - MF arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - parser - functions . Tpo - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - parser - functions . obj ` if test - f ' arangod / Ahuacatl / ahuacatl - parser - functions . c ' ; then $ ( CYGPATH_W ) ' arangod / Ahuacatl / ahuacatl - parser - functions . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / Ahuacatl / ahuacatl - parser - functions . c ' ; fi ` <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - parser - functions . Tpo arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - parser - functions . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / Ahuacatl / ahuacatl - parser - functions . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - parser - functions . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / Ahuacatl / ahuacatl - parser - functions . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - parser - functions . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - parser - functions . obj ` if test - f ' arangod / Ahuacatl / ahuacatl - parser - functions . c ' ; then $ ( CYGPATH_W ) ' arangod / Ahuacatl / ahuacatl - parser - functions . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / Ahuacatl / ahuacatl - parser - functions . c ' ; fi ` <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - parser - functions . obj ` if test - f ' arangod / Ahuacatl / ahuacatl - parser - functions . c ' ; then $ ( CYGPATH_W ) ' arangod / Ahuacatl / ahuacatl - parser - functions . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / Ahuacatl / ahuacatl - parser - functions . c ' ; fi ` <nl> <nl> arangod / Ahuacatl / bin_arangod - ahuacatl - parser . o : arangod / Ahuacatl / ahuacatl - parser . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / Ahuacatl / bin_arangod - ahuacatl - parser . o - MD - MP - MF arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - parser . Tpo - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - parser . o ` test - f ' arangod / Ahuacatl / ahuacatl - parser . c ' | | echo ' $ ( srcdir ) / ' ` arangod / Ahuacatl / ahuacatl - parser . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - parser . Tpo arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - parser . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / Ahuacatl / ahuacatl - parser . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - parser . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / Ahuacatl / ahuacatl - parser . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - parser . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - parser . o ` test - f ' arangod / Ahuacatl / ahuacatl - parser . c ' | | echo ' $ ( srcdir ) / ' ` arangod / Ahuacatl / ahuacatl - parser . c <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - parser . o ` test - f ' arangod / Ahuacatl / ahuacatl - parser . c ' | | echo ' $ ( srcdir ) / ' ` arangod / Ahuacatl / ahuacatl - parser . c <nl> <nl> arangod / Ahuacatl / bin_arangod - ahuacatl - parser . obj : arangod / Ahuacatl / ahuacatl - parser . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / Ahuacatl / bin_arangod - ahuacatl - parser . obj - MD - MP - MF arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - parser . Tpo - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - parser . obj ` if test - f ' arangod / Ahuacatl / ahuacatl - parser . c ' ; then $ ( CYGPATH_W ) ' arangod / Ahuacatl / ahuacatl - parser . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / Ahuacatl / ahuacatl - parser . c ' ; fi ` <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - parser . Tpo arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - parser . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / Ahuacatl / ahuacatl - parser . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - parser . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / Ahuacatl / ahuacatl - parser . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - parser . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - parser . obj ` if test - f ' arangod / Ahuacatl / ahuacatl - parser . c ' ; then $ ( CYGPATH_W ) ' arangod / Ahuacatl / ahuacatl - parser . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / Ahuacatl / ahuacatl - parser . c ' ; fi ` <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - parser . obj ` if test - f ' arangod / Ahuacatl / ahuacatl - parser . c ' ; then $ ( CYGPATH_W ) ' arangod / Ahuacatl / ahuacatl - parser . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / Ahuacatl / ahuacatl - parser . c ' ; fi ` <nl> <nl> arangod / Ahuacatl / bin_arangod - ahuacatl - result . o : arangod / Ahuacatl / ahuacatl - result . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / Ahuacatl / bin_arangod - ahuacatl - result . o - MD - MP - MF arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - result . Tpo - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - result . o ` test - f ' arangod / Ahuacatl / ahuacatl - result . c ' | | echo ' $ ( srcdir ) / ' ` arangod / Ahuacatl / ahuacatl - result . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - result . Tpo arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - result . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / Ahuacatl / ahuacatl - result . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - result . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / Ahuacatl / ahuacatl - result . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - result . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - result . o ` test - f ' arangod / Ahuacatl / ahuacatl - result . c ' | | echo ' $ ( srcdir ) / ' ` arangod / Ahuacatl / ahuacatl - result . c <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - result . o ` test - f ' arangod / Ahuacatl / ahuacatl - result . c ' | | echo ' $ ( srcdir ) / ' ` arangod / Ahuacatl / ahuacatl - result . c <nl> <nl> arangod / Ahuacatl / bin_arangod - ahuacatl - result . obj : arangod / Ahuacatl / ahuacatl - result . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / Ahuacatl / bin_arangod - ahuacatl - result . obj - MD - MP - MF arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - result . Tpo - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - result . obj ` if test - f ' arangod / Ahuacatl / ahuacatl - result . c ' ; then $ ( CYGPATH_W ) ' arangod / Ahuacatl / ahuacatl - result . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / Ahuacatl / ahuacatl - result . c ' ; fi ` <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - result . Tpo arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - result . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / Ahuacatl / ahuacatl - result . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - result . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / Ahuacatl / ahuacatl - result . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - result . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - result . obj ` if test - f ' arangod / Ahuacatl / ahuacatl - result . c ' ; then $ ( CYGPATH_W ) ' arangod / Ahuacatl / ahuacatl - result . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / Ahuacatl / ahuacatl - result . c ' ; fi ` <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - result . obj ` if test - f ' arangod / Ahuacatl / ahuacatl - result . c ' ; then $ ( CYGPATH_W ) ' arangod / Ahuacatl / ahuacatl - result . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / Ahuacatl / ahuacatl - result . c ' ; fi ` <nl> <nl> arangod / Ahuacatl / bin_arangod - ahuacatl - scope . o : arangod / Ahuacatl / ahuacatl - scope . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / Ahuacatl / bin_arangod - ahuacatl - scope . o - MD - MP - MF arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - scope . Tpo - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - scope . o ` test - f ' arangod / Ahuacatl / ahuacatl - scope . c ' | | echo ' $ ( srcdir ) / ' ` arangod / Ahuacatl / ahuacatl - scope . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - scope . Tpo arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - scope . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / Ahuacatl / ahuacatl - scope . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - scope . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / Ahuacatl / ahuacatl - scope . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - scope . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - scope . o ` test - f ' arangod / Ahuacatl / ahuacatl - scope . c ' | | echo ' $ ( srcdir ) / ' ` arangod / Ahuacatl / ahuacatl - scope . c <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - scope . o ` test - f ' arangod / Ahuacatl / ahuacatl - scope . c ' | | echo ' $ ( srcdir ) / ' ` arangod / Ahuacatl / ahuacatl - scope . c <nl> <nl> arangod / Ahuacatl / bin_arangod - ahuacatl - scope . obj : arangod / Ahuacatl / ahuacatl - scope . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / Ahuacatl / bin_arangod - ahuacatl - scope . obj - MD - MP - MF arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - scope . Tpo - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - scope . obj ` if test - f ' arangod / Ahuacatl / ahuacatl - scope . c ' ; then $ ( CYGPATH_W ) ' arangod / Ahuacatl / ahuacatl - scope . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / Ahuacatl / ahuacatl - scope . c ' ; fi ` <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - scope . Tpo arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - scope . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / Ahuacatl / ahuacatl - scope . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - scope . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / Ahuacatl / ahuacatl - scope . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - scope . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - scope . obj ` if test - f ' arangod / Ahuacatl / ahuacatl - scope . c ' ; then $ ( CYGPATH_W ) ' arangod / Ahuacatl / ahuacatl - scope . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / Ahuacatl / ahuacatl - scope . c ' ; fi ` <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - scope . obj ` if test - f ' arangod / Ahuacatl / ahuacatl - scope . c ' ; then $ ( CYGPATH_W ) ' arangod / Ahuacatl / ahuacatl - scope . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / Ahuacatl / ahuacatl - scope . c ' ; fi ` <nl> <nl> arangod / Ahuacatl / bin_arangod - ahuacatl - statementlist . o : arangod / Ahuacatl / ahuacatl - statementlist . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / Ahuacatl / bin_arangod - ahuacatl - statementlist . o - MD - MP - MF arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - statementlist . Tpo - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - statementlist . o ` test - f ' arangod / Ahuacatl / ahuacatl - statementlist . c ' | | echo ' $ ( srcdir ) / ' ` arangod / Ahuacatl / ahuacatl - statementlist . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - statementlist . Tpo arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - statementlist . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / Ahuacatl / ahuacatl - statementlist . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - statementlist . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / Ahuacatl / ahuacatl - statementlist . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - statementlist . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - statementlist . o ` test - f ' arangod / Ahuacatl / ahuacatl - statementlist . c ' | | echo ' $ ( srcdir ) / ' ` arangod / Ahuacatl / ahuacatl - statementlist . c <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - statementlist . o ` test - f ' arangod / Ahuacatl / ahuacatl - statementlist . c ' | | echo ' $ ( srcdir ) / ' ` arangod / Ahuacatl / ahuacatl - statementlist . c <nl> <nl> arangod / Ahuacatl / bin_arangod - ahuacatl - statementlist . obj : arangod / Ahuacatl / ahuacatl - statementlist . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / Ahuacatl / bin_arangod - ahuacatl - statementlist . obj - MD - MP - MF arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - statementlist . Tpo - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - statementlist . obj ` if test - f ' arangod / Ahuacatl / ahuacatl - statementlist . c ' ; then $ ( CYGPATH_W ) ' arangod / Ahuacatl / ahuacatl - statementlist . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / Ahuacatl / ahuacatl - statementlist . c ' ; fi ` <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - statementlist . Tpo arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - statementlist . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / Ahuacatl / ahuacatl - statementlist . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - statementlist . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / Ahuacatl / ahuacatl - statementlist . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - statementlist . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - statementlist . obj ` if test - f ' arangod / Ahuacatl / ahuacatl - statementlist . c ' ; then $ ( CYGPATH_W ) ' arangod / Ahuacatl / ahuacatl - statementlist . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / Ahuacatl / ahuacatl - statementlist . c ' ; fi ` <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - statementlist . obj ` if test - f ' arangod / Ahuacatl / ahuacatl - statementlist . c ' ; then $ ( CYGPATH_W ) ' arangod / Ahuacatl / ahuacatl - statementlist . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / Ahuacatl / ahuacatl - statementlist . c ' ; fi ` <nl> <nl> arangod / Ahuacatl / bin_arangod - ahuacatl - statement - dump . o : arangod / Ahuacatl / ahuacatl - statement - dump . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / Ahuacatl / bin_arangod - ahuacatl - statement - dump . o - MD - MP - MF arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - statement - dump . Tpo - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - statement - dump . o ` test - f ' arangod / Ahuacatl / ahuacatl - statement - dump . c ' | | echo ' $ ( srcdir ) / ' ` arangod / Ahuacatl / ahuacatl - statement - dump . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - statement - dump . Tpo arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - statement - dump . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / Ahuacatl / ahuacatl - statement - dump . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - statement - dump . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / Ahuacatl / ahuacatl - statement - dump . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - statement - dump . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - statement - dump . o ` test - f ' arangod / Ahuacatl / ahuacatl - statement - dump . c ' | | echo ' $ ( srcdir ) / ' ` arangod / Ahuacatl / ahuacatl - statement - dump . c <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - statement - dump . o ` test - f ' arangod / Ahuacatl / ahuacatl - statement - dump . c ' | | echo ' $ ( srcdir ) / ' ` arangod / Ahuacatl / ahuacatl - statement - dump . c <nl> <nl> arangod / Ahuacatl / bin_arangod - ahuacatl - statement - dump . obj : arangod / Ahuacatl / ahuacatl - statement - dump . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / Ahuacatl / bin_arangod - ahuacatl - statement - dump . obj - MD - MP - MF arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - statement - dump . Tpo - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - statement - dump . obj ` if test - f ' arangod / Ahuacatl / ahuacatl - statement - dump . c ' ; then $ ( CYGPATH_W ) ' arangod / Ahuacatl / ahuacatl - statement - dump . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / Ahuacatl / ahuacatl - statement - dump . c ' ; fi ` <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - statement - dump . Tpo arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - statement - dump . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / Ahuacatl / ahuacatl - statement - dump . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - statement - dump . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / Ahuacatl / ahuacatl - statement - dump . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - statement - dump . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - statement - dump . obj ` if test - f ' arangod / Ahuacatl / ahuacatl - statement - dump . c ' ; then $ ( CYGPATH_W ) ' arangod / Ahuacatl / ahuacatl - statement - dump . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / Ahuacatl / ahuacatl - statement - dump . c ' ; fi ` <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - statement - dump . obj ` if test - f ' arangod / Ahuacatl / ahuacatl - statement - dump . c ' ; then $ ( CYGPATH_W ) ' arangod / Ahuacatl / ahuacatl - statement - dump . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / Ahuacatl / ahuacatl - statement - dump . c ' ; fi ` <nl> <nl> arangod / Ahuacatl / bin_arangod - ahuacatl - statement - walker . o : arangod / Ahuacatl / ahuacatl - statement - walker . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / Ahuacatl / bin_arangod - ahuacatl - statement - walker . o - MD - MP - MF arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - statement - walker . Tpo - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - statement - walker . o ` test - f ' arangod / Ahuacatl / ahuacatl - statement - walker . c ' | | echo ' $ ( srcdir ) / ' ` arangod / Ahuacatl / ahuacatl - statement - walker . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - statement - walker . Tpo arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - statement - walker . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / Ahuacatl / ahuacatl - statement - walker . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - statement - walker . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / Ahuacatl / ahuacatl - statement - walker . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - statement - walker . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - statement - walker . o ` test - f ' arangod / Ahuacatl / ahuacatl - statement - walker . c ' | | echo ' $ ( srcdir ) / ' ` arangod / Ahuacatl / ahuacatl - statement - walker . c <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - statement - walker . o ` test - f ' arangod / Ahuacatl / ahuacatl - statement - walker . c ' | | echo ' $ ( srcdir ) / ' ` arangod / Ahuacatl / ahuacatl - statement - walker . c <nl> <nl> arangod / Ahuacatl / bin_arangod - ahuacatl - statement - walker . obj : arangod / Ahuacatl / ahuacatl - statement - walker . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / Ahuacatl / bin_arangod - ahuacatl - statement - walker . obj - MD - MP - MF arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - statement - walker . Tpo - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - statement - walker . obj ` if test - f ' arangod / Ahuacatl / ahuacatl - statement - walker . c ' ; then $ ( CYGPATH_W ) ' arangod / Ahuacatl / ahuacatl - statement - walker . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / Ahuacatl / ahuacatl - statement - walker . c ' ; fi ` <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - statement - walker . Tpo arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - statement - walker . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / Ahuacatl / ahuacatl - statement - walker . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - statement - walker . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / Ahuacatl / ahuacatl - statement - walker . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - statement - walker . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - statement - walker . obj ` if test - f ' arangod / Ahuacatl / ahuacatl - statement - walker . c ' ; then $ ( CYGPATH_W ) ' arangod / Ahuacatl / ahuacatl - statement - walker . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / Ahuacatl / ahuacatl - statement - walker . c ' ; fi ` <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - statement - walker . obj ` if test - f ' arangod / Ahuacatl / ahuacatl - statement - walker . c ' ; then $ ( CYGPATH_W ) ' arangod / Ahuacatl / ahuacatl - statement - walker . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / Ahuacatl / ahuacatl - statement - walker . c ' ; fi ` <nl> <nl> arangod / Ahuacatl / bin_arangod - ahuacatl - tokens . o : arangod / Ahuacatl / ahuacatl - tokens . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / Ahuacatl / bin_arangod - ahuacatl - tokens . o - MD - MP - MF arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - tokens . Tpo - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - tokens . o ` test - f ' arangod / Ahuacatl / ahuacatl - tokens . c ' | | echo ' $ ( srcdir ) / ' ` arangod / Ahuacatl / ahuacatl - tokens . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - tokens . Tpo arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - tokens . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / Ahuacatl / ahuacatl - tokens . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - tokens . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / Ahuacatl / ahuacatl - tokens . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - tokens . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - tokens . o ` test - f ' arangod / Ahuacatl / ahuacatl - tokens . c ' | | echo ' $ ( srcdir ) / ' ` arangod / Ahuacatl / ahuacatl - tokens . c <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - tokens . o ` test - f ' arangod / Ahuacatl / ahuacatl - tokens . c ' | | echo ' $ ( srcdir ) / ' ` arangod / Ahuacatl / ahuacatl - tokens . c <nl> <nl> arangod / Ahuacatl / bin_arangod - ahuacatl - tokens . obj : arangod / Ahuacatl / ahuacatl - tokens . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / Ahuacatl / bin_arangod - ahuacatl - tokens . obj - MD - MP - MF arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - tokens . Tpo - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - tokens . obj ` if test - f ' arangod / Ahuacatl / ahuacatl - tokens . c ' ; then $ ( CYGPATH_W ) ' arangod / Ahuacatl / ahuacatl - tokens . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / Ahuacatl / ahuacatl - tokens . c ' ; fi ` <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - tokens . Tpo arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - tokens . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / Ahuacatl / ahuacatl - tokens . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - tokens . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / Ahuacatl / ahuacatl - tokens . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - tokens . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - tokens . obj ` if test - f ' arangod / Ahuacatl / ahuacatl - tokens . c ' ; then $ ( CYGPATH_W ) ' arangod / Ahuacatl / ahuacatl - tokens . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / Ahuacatl / ahuacatl - tokens . c ' ; fi ` <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - tokens . obj ` if test - f ' arangod / Ahuacatl / ahuacatl - tokens . c ' ; then $ ( CYGPATH_W ) ' arangod / Ahuacatl / ahuacatl - tokens . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / Ahuacatl / ahuacatl - tokens . c ' ; fi ` <nl> <nl> arangod / Ahuacatl / bin_arangod - ahuacatl - variable . o : arangod / Ahuacatl / ahuacatl - variable . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / Ahuacatl / bin_arangod - ahuacatl - variable . o - MD - MP - MF arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - variable . Tpo - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - variable . o ` test - f ' arangod / Ahuacatl / ahuacatl - variable . c ' | | echo ' $ ( srcdir ) / ' ` arangod / Ahuacatl / ahuacatl - variable . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - variable . Tpo arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - variable . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / Ahuacatl / ahuacatl - variable . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - variable . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / Ahuacatl / ahuacatl - variable . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - variable . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - variable . o ` test - f ' arangod / Ahuacatl / ahuacatl - variable . c ' | | echo ' $ ( srcdir ) / ' ` arangod / Ahuacatl / ahuacatl - variable . c <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - variable . o ` test - f ' arangod / Ahuacatl / ahuacatl - variable . c ' | | echo ' $ ( srcdir ) / ' ` arangod / Ahuacatl / ahuacatl - variable . c <nl> <nl> arangod / Ahuacatl / bin_arangod - ahuacatl - variable . obj : arangod / Ahuacatl / ahuacatl - variable . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / Ahuacatl / bin_arangod - ahuacatl - variable . obj - MD - MP - MF arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - variable . Tpo - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - variable . obj ` if test - f ' arangod / Ahuacatl / ahuacatl - variable . c ' ; then $ ( CYGPATH_W ) ' arangod / Ahuacatl / ahuacatl - variable . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / Ahuacatl / ahuacatl - variable . c ' ; fi ` <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - variable . Tpo arangod / Ahuacatl / $ ( DEPDIR ) / bin_arangod - ahuacatl - variable . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / Ahuacatl / ahuacatl - variable . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - variable . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / Ahuacatl / ahuacatl - variable . c ' object = ' arangod / Ahuacatl / bin_arangod - ahuacatl - variable . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - variable . obj ` if test - f ' arangod / Ahuacatl / ahuacatl - variable . c ' ; then $ ( CYGPATH_W ) ' arangod / Ahuacatl / ahuacatl - variable . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / Ahuacatl / ahuacatl - variable . c ' ; fi ` <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / Ahuacatl / bin_arangod - ahuacatl - variable . obj ` if test - f ' arangod / Ahuacatl / ahuacatl - variable . c ' ; then $ ( CYGPATH_W ) ' arangod / Ahuacatl / ahuacatl - variable . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / Ahuacatl / ahuacatl - variable . c ' ; fi ` <nl> <nl> arangod / BitIndexes / bin_arangod - bitarray . o : arangod / BitIndexes / bitarray . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / BitIndexes / bin_arangod - bitarray . o - MD - MP - MF arangod / BitIndexes / $ ( DEPDIR ) / bin_arangod - bitarray . Tpo - c - o arangod / BitIndexes / bin_arangod - bitarray . o ` test - f ' arangod / BitIndexes / bitarray . c ' | | echo ' $ ( srcdir ) / ' ` arangod / BitIndexes / bitarray . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / BitIndexes / $ ( DEPDIR ) / bin_arangod - bitarray . Tpo arangod / BitIndexes / $ ( DEPDIR ) / bin_arangod - bitarray . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / BitIndexes / bitarray . c ' object = ' arangod / BitIndexes / bin_arangod - bitarray . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / BitIndexes / bitarray . c ' object = ' arangod / BitIndexes / bin_arangod - bitarray . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / BitIndexes / bin_arangod - bitarray . o ` test - f ' arangod / BitIndexes / bitarray . c ' | | echo ' $ ( srcdir ) / ' ` arangod / BitIndexes / bitarray . c <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / BitIndexes / bin_arangod - bitarray . o ` test - f ' arangod / BitIndexes / bitarray . c ' | | echo ' $ ( srcdir ) / ' ` arangod / BitIndexes / bitarray . c <nl> <nl> arangod / BitIndexes / bin_arangod - bitarray . obj : arangod / BitIndexes / bitarray . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / BitIndexes / bin_arangod - bitarray . obj - MD - MP - MF arangod / BitIndexes / $ ( DEPDIR ) / bin_arangod - bitarray . Tpo - c - o arangod / BitIndexes / bin_arangod - bitarray . obj ` if test - f ' arangod / BitIndexes / bitarray . c ' ; then $ ( CYGPATH_W ) ' arangod / BitIndexes / bitarray . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / BitIndexes / bitarray . c ' ; fi ` <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / BitIndexes / $ ( DEPDIR ) / bin_arangod - bitarray . Tpo arangod / BitIndexes / $ ( DEPDIR ) / bin_arangod - bitarray . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / BitIndexes / bitarray . c ' object = ' arangod / BitIndexes / bin_arangod - bitarray . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / BitIndexes / bitarray . c ' object = ' arangod / BitIndexes / bin_arangod - bitarray . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / BitIndexes / bin_arangod - bitarray . obj ` if test - f ' arangod / BitIndexes / bitarray . c ' ; then $ ( CYGPATH_W ) ' arangod / BitIndexes / bitarray . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / BitIndexes / bitarray . c ' ; fi ` <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / BitIndexes / bin_arangod - bitarray . obj ` if test - f ' arangod / BitIndexes / bitarray . c ' ; then $ ( CYGPATH_W ) ' arangod / BitIndexes / bitarray . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / BitIndexes / bitarray . c ' ; fi ` <nl> <nl> arangod / BitIndexes / bin_arangod - bitarrayIndex . o : arangod / BitIndexes / bitarrayIndex . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / BitIndexes / bin_arangod - bitarrayIndex . o - MD - MP - MF arangod / BitIndexes / $ ( DEPDIR ) / bin_arangod - bitarrayIndex . Tpo - c - o arangod / BitIndexes / bin_arangod - bitarrayIndex . o ` test - f ' arangod / BitIndexes / bitarrayIndex . c ' | | echo ' $ ( srcdir ) / ' ` arangod / BitIndexes / bitarrayIndex . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / BitIndexes / $ ( DEPDIR ) / bin_arangod - bitarrayIndex . Tpo arangod / BitIndexes / $ ( DEPDIR ) / bin_arangod - bitarrayIndex . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / BitIndexes / bitarrayIndex . c ' object = ' arangod / BitIndexes / bin_arangod - bitarrayIndex . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / BitIndexes / bitarrayIndex . c ' object = ' arangod / BitIndexes / bin_arangod - bitarrayIndex . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / BitIndexes / bin_arangod - bitarrayIndex . o ` test - f ' arangod / BitIndexes / bitarrayIndex . c ' | | echo ' $ ( srcdir ) / ' ` arangod / BitIndexes / bitarrayIndex . c <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / BitIndexes / bin_arangod - bitarrayIndex . o ` test - f ' arangod / BitIndexes / bitarrayIndex . c ' | | echo ' $ ( srcdir ) / ' ` arangod / BitIndexes / bitarrayIndex . c <nl> <nl> arangod / BitIndexes / bin_arangod - bitarrayIndex . obj : arangod / BitIndexes / bitarrayIndex . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / BitIndexes / bin_arangod - bitarrayIndex . obj - MD - MP - MF arangod / BitIndexes / $ ( DEPDIR ) / bin_arangod - bitarrayIndex . Tpo - c - o arangod / BitIndexes / bin_arangod - bitarrayIndex . obj ` if test - f ' arangod / BitIndexes / bitarrayIndex . c ' ; then $ ( CYGPATH_W ) ' arangod / BitIndexes / bitarrayIndex . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / BitIndexes / bitarrayIndex . c ' ; fi ` <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / BitIndexes / $ ( DEPDIR ) / bin_arangod - bitarrayIndex . Tpo arangod / BitIndexes / $ ( DEPDIR ) / bin_arangod - bitarrayIndex . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / BitIndexes / bitarrayIndex . c ' object = ' arangod / BitIndexes / bin_arangod - bitarrayIndex . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / BitIndexes / bitarrayIndex . c ' object = ' arangod / BitIndexes / bin_arangod - bitarrayIndex . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / BitIndexes / bin_arangod - bitarrayIndex . obj ` if test - f ' arangod / BitIndexes / bitarrayIndex . c ' ; then $ ( CYGPATH_W ) ' arangod / BitIndexes / bitarrayIndex . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / BitIndexes / bitarrayIndex . c ' ; fi ` <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / BitIndexes / bin_arangod - bitarrayIndex . obj ` if test - f ' arangod / BitIndexes / bitarrayIndex . c ' ; then $ ( CYGPATH_W ) ' arangod / BitIndexes / bitarrayIndex . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / BitIndexes / bitarrayIndex . c ' ; fi ` <nl> <nl> arangod / GeoIndex / bin_arangod - GeoIndex . o : arangod / GeoIndex / GeoIndex . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / GeoIndex / bin_arangod - GeoIndex . o - MD - MP - MF arangod / GeoIndex / $ ( DEPDIR ) / bin_arangod - GeoIndex . Tpo - c - o arangod / GeoIndex / bin_arangod - GeoIndex . o ` test - f ' arangod / GeoIndex / GeoIndex . c ' | | echo ' $ ( srcdir ) / ' ` arangod / GeoIndex / GeoIndex . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / GeoIndex / $ ( DEPDIR ) / bin_arangod - GeoIndex . Tpo arangod / GeoIndex / $ ( DEPDIR ) / bin_arangod - GeoIndex . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / GeoIndex / GeoIndex . c ' object = ' arangod / GeoIndex / bin_arangod - GeoIndex . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / GeoIndex / GeoIndex . c ' object = ' arangod / GeoIndex / bin_arangod - GeoIndex . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / GeoIndex / bin_arangod - GeoIndex . o ` test - f ' arangod / GeoIndex / GeoIndex . c ' | | echo ' $ ( srcdir ) / ' ` arangod / GeoIndex / GeoIndex . c <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / GeoIndex / bin_arangod - GeoIndex . o ` test - f ' arangod / GeoIndex / GeoIndex . c ' | | echo ' $ ( srcdir ) / ' ` arangod / GeoIndex / GeoIndex . c <nl> <nl> arangod / GeoIndex / bin_arangod - GeoIndex . obj : arangod / GeoIndex / GeoIndex . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / GeoIndex / bin_arangod - GeoIndex . obj - MD - MP - MF arangod / GeoIndex / $ ( DEPDIR ) / bin_arangod - GeoIndex . Tpo - c - o arangod / GeoIndex / bin_arangod - GeoIndex . obj ` if test - f ' arangod / GeoIndex / GeoIndex . c ' ; then $ ( CYGPATH_W ) ' arangod / GeoIndex / GeoIndex . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / GeoIndex / GeoIndex . c ' ; fi ` <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / GeoIndex / $ ( DEPDIR ) / bin_arangod - GeoIndex . Tpo arangod / GeoIndex / $ ( DEPDIR ) / bin_arangod - GeoIndex . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / GeoIndex / GeoIndex . c ' object = ' arangod / GeoIndex / bin_arangod - GeoIndex . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / GeoIndex / GeoIndex . c ' object = ' arangod / GeoIndex / bin_arangod - GeoIndex . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / GeoIndex / bin_arangod - GeoIndex . obj ` if test - f ' arangod / GeoIndex / GeoIndex . c ' ; then $ ( CYGPATH_W ) ' arangod / GeoIndex / GeoIndex . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / GeoIndex / GeoIndex . c ' ; fi ` <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / GeoIndex / bin_arangod - GeoIndex . obj ` if test - f ' arangod / GeoIndex / GeoIndex . c ' ; then $ ( CYGPATH_W ) ' arangod / GeoIndex / GeoIndex . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / GeoIndex / GeoIndex . c ' ; fi ` <nl> <nl> arangod / HashIndex / bin_arangod - hasharray . o : arangod / HashIndex / hasharray . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / HashIndex / bin_arangod - hasharray . o - MD - MP - MF arangod / HashIndex / $ ( DEPDIR ) / bin_arangod - hasharray . Tpo - c - o arangod / HashIndex / bin_arangod - hasharray . o ` test - f ' arangod / HashIndex / hasharray . c ' | | echo ' $ ( srcdir ) / ' ` arangod / HashIndex / hasharray . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / HashIndex / $ ( DEPDIR ) / bin_arangod - hasharray . Tpo arangod / HashIndex / $ ( DEPDIR ) / bin_arangod - hasharray . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / HashIndex / hasharray . c ' object = ' arangod / HashIndex / bin_arangod - hasharray . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / HashIndex / hasharray . c ' object = ' arangod / HashIndex / bin_arangod - hasharray . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / HashIndex / bin_arangod - hasharray . o ` test - f ' arangod / HashIndex / hasharray . c ' | | echo ' $ ( srcdir ) / ' ` arangod / HashIndex / hasharray . c <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / HashIndex / bin_arangod - hasharray . o ` test - f ' arangod / HashIndex / hasharray . c ' | | echo ' $ ( srcdir ) / ' ` arangod / HashIndex / hasharray . c <nl> <nl> arangod / HashIndex / bin_arangod - hasharray . obj : arangod / HashIndex / hasharray . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / HashIndex / bin_arangod - hasharray . obj - MD - MP - MF arangod / HashIndex / $ ( DEPDIR ) / bin_arangod - hasharray . Tpo - c - o arangod / HashIndex / bin_arangod - hasharray . obj ` if test - f ' arangod / HashIndex / hasharray . c ' ; then $ ( CYGPATH_W ) ' arangod / HashIndex / hasharray . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / HashIndex / hasharray . c ' ; fi ` <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / HashIndex / $ ( DEPDIR ) / bin_arangod - hasharray . Tpo arangod / HashIndex / $ ( DEPDIR ) / bin_arangod - hasharray . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / HashIndex / hasharray . c ' object = ' arangod / HashIndex / bin_arangod - hasharray . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / HashIndex / hasharray . c ' object = ' arangod / HashIndex / bin_arangod - hasharray . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / HashIndex / bin_arangod - hasharray . obj ` if test - f ' arangod / HashIndex / hasharray . c ' ; then $ ( CYGPATH_W ) ' arangod / HashIndex / hasharray . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / HashIndex / hasharray . c ' ; fi ` <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / HashIndex / bin_arangod - hasharray . obj ` if test - f ' arangod / HashIndex / hasharray . c ' ; then $ ( CYGPATH_W ) ' arangod / HashIndex / hasharray . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / HashIndex / hasharray . c ' ; fi ` <nl> <nl> arangod / HashIndex / bin_arangod - hashindex . o : arangod / HashIndex / hashindex . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / HashIndex / bin_arangod - hashindex . o - MD - MP - MF arangod / HashIndex / $ ( DEPDIR ) / bin_arangod - hashindex . Tpo - c - o arangod / HashIndex / bin_arangod - hashindex . o ` test - f ' arangod / HashIndex / hashindex . c ' | | echo ' $ ( srcdir ) / ' ` arangod / HashIndex / hashindex . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / HashIndex / $ ( DEPDIR ) / bin_arangod - hashindex . Tpo arangod / HashIndex / $ ( DEPDIR ) / bin_arangod - hashindex . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / HashIndex / hashindex . c ' object = ' arangod / HashIndex / bin_arangod - hashindex . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / HashIndex / hashindex . c ' object = ' arangod / HashIndex / bin_arangod - hashindex . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / HashIndex / bin_arangod - hashindex . o ` test - f ' arangod / HashIndex / hashindex . c ' | | echo ' $ ( srcdir ) / ' ` arangod / HashIndex / hashindex . c <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / HashIndex / bin_arangod - hashindex . o ` test - f ' arangod / HashIndex / hashindex . c ' | | echo ' $ ( srcdir ) / ' ` arangod / HashIndex / hashindex . c <nl> <nl> arangod / HashIndex / bin_arangod - hashindex . obj : arangod / HashIndex / hashindex . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / HashIndex / bin_arangod - hashindex . obj - MD - MP - MF arangod / HashIndex / $ ( DEPDIR ) / bin_arangod - hashindex . Tpo - c - o arangod / HashIndex / bin_arangod - hashindex . obj ` if test - f ' arangod / HashIndex / hashindex . c ' ; then $ ( CYGPATH_W ) ' arangod / HashIndex / hashindex . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / HashIndex / hashindex . c ' ; fi ` <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / HashIndex / $ ( DEPDIR ) / bin_arangod - hashindex . Tpo arangod / HashIndex / $ ( DEPDIR ) / bin_arangod - hashindex . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / HashIndex / hashindex . c ' object = ' arangod / HashIndex / bin_arangod - hashindex . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / HashIndex / hashindex . c ' object = ' arangod / HashIndex / bin_arangod - hashindex . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / HashIndex / bin_arangod - hashindex . obj ` if test - f ' arangod / HashIndex / hashindex . c ' ; then $ ( CYGPATH_W ) ' arangod / HashIndex / hashindex . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / HashIndex / hashindex . c ' ; fi ` <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / HashIndex / bin_arangod - hashindex . obj ` if test - f ' arangod / HashIndex / hashindex . c ' ; then $ ( CYGPATH_W ) ' arangod / HashIndex / hashindex . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / HashIndex / hashindex . c ' ; fi ` <nl> <nl> arangod / IndexIterators / bin_arangod - index - iterator . o : arangod / IndexIterators / index - iterator . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / IndexIterators / bin_arangod - index - iterator . o - MD - MP - MF arangod / IndexIterators / $ ( DEPDIR ) / bin_arangod - index - iterator . Tpo - c - o arangod / IndexIterators / bin_arangod - index - iterator . o ` test - f ' arangod / IndexIterators / index - iterator . c ' | | echo ' $ ( srcdir ) / ' ` arangod / IndexIterators / index - iterator . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / IndexIterators / $ ( DEPDIR ) / bin_arangod - index - iterator . Tpo arangod / IndexIterators / $ ( DEPDIR ) / bin_arangod - index - iterator . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / IndexIterators / index - iterator . c ' object = ' arangod / IndexIterators / bin_arangod - index - iterator . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / IndexIterators / index - iterator . c ' object = ' arangod / IndexIterators / bin_arangod - index - iterator . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / IndexIterators / bin_arangod - index - iterator . o ` test - f ' arangod / IndexIterators / index - iterator . c ' | | echo ' $ ( srcdir ) / ' ` arangod / IndexIterators / index - iterator . c <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / IndexIterators / bin_arangod - index - iterator . o ` test - f ' arangod / IndexIterators / index - iterator . c ' | | echo ' $ ( srcdir ) / ' ` arangod / IndexIterators / index - iterator . c <nl> <nl> arangod / IndexIterators / bin_arangod - index - iterator . obj : arangod / IndexIterators / index - iterator . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / IndexIterators / bin_arangod - index - iterator . obj - MD - MP - MF arangod / IndexIterators / $ ( DEPDIR ) / bin_arangod - index - iterator . Tpo - c - o arangod / IndexIterators / bin_arangod - index - iterator . obj ` if test - f ' arangod / IndexIterators / index - iterator . c ' ; then $ ( CYGPATH_W ) ' arangod / IndexIterators / index - iterator . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / IndexIterators / index - iterator . c ' ; fi ` <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / IndexIterators / $ ( DEPDIR ) / bin_arangod - index - iterator . Tpo arangod / IndexIterators / $ ( DEPDIR ) / bin_arangod - index - iterator . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / IndexIterators / index - iterator . c ' object = ' arangod / IndexIterators / bin_arangod - index - iterator . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / IndexIterators / index - iterator . c ' object = ' arangod / IndexIterators / bin_arangod - index - iterator . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / IndexIterators / bin_arangod - index - iterator . obj ` if test - f ' arangod / IndexIterators / index - iterator . c ' ; then $ ( CYGPATH_W ) ' arangod / IndexIterators / index - iterator . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / IndexIterators / index - iterator . c ' ; fi ` <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / IndexIterators / bin_arangod - index - iterator . obj ` if test - f ' arangod / IndexIterators / index - iterator . c ' ; then $ ( CYGPATH_W ) ' arangod / IndexIterators / index - iterator . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / IndexIterators / index - iterator . c ' ; fi ` <nl> <nl> arangod / IndexOperators / bin_arangod - index - operator . o : arangod / IndexOperators / index - operator . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / IndexOperators / bin_arangod - index - operator . o - MD - MP - MF arangod / IndexOperators / $ ( DEPDIR ) / bin_arangod - index - operator . Tpo - c - o arangod / IndexOperators / bin_arangod - index - operator . o ` test - f ' arangod / IndexOperators / index - operator . c ' | | echo ' $ ( srcdir ) / ' ` arangod / IndexOperators / index - operator . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / IndexOperators / $ ( DEPDIR ) / bin_arangod - index - operator . Tpo arangod / IndexOperators / $ ( DEPDIR ) / bin_arangod - index - operator . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / IndexOperators / index - operator . c ' object = ' arangod / IndexOperators / bin_arangod - index - operator . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / IndexOperators / index - operator . c ' object = ' arangod / IndexOperators / bin_arangod - index - operator . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / IndexOperators / bin_arangod - index - operator . o ` test - f ' arangod / IndexOperators / index - operator . c ' | | echo ' $ ( srcdir ) / ' ` arangod / IndexOperators / index - operator . c <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / IndexOperators / bin_arangod - index - operator . o ` test - f ' arangod / IndexOperators / index - operator . c ' | | echo ' $ ( srcdir ) / ' ` arangod / IndexOperators / index - operator . c <nl> <nl> arangod / IndexOperators / bin_arangod - index - operator . obj : arangod / IndexOperators / index - operator . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / IndexOperators / bin_arangod - index - operator . obj - MD - MP - MF arangod / IndexOperators / $ ( DEPDIR ) / bin_arangod - index - operator . Tpo - c - o arangod / IndexOperators / bin_arangod - index - operator . obj ` if test - f ' arangod / IndexOperators / index - operator . c ' ; then $ ( CYGPATH_W ) ' arangod / IndexOperators / index - operator . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / IndexOperators / index - operator . c ' ; fi ` <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / IndexOperators / $ ( DEPDIR ) / bin_arangod - index - operator . Tpo arangod / IndexOperators / $ ( DEPDIR ) / bin_arangod - index - operator . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / IndexOperators / index - operator . c ' object = ' arangod / IndexOperators / bin_arangod - index - operator . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / IndexOperators / index - operator . c ' object = ' arangod / IndexOperators / bin_arangod - index - operator . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / IndexOperators / bin_arangod - index - operator . obj ` if test - f ' arangod / IndexOperators / index - operator . c ' ; then $ ( CYGPATH_W ) ' arangod / IndexOperators / index - operator . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / IndexOperators / index - operator . c ' ; fi ` <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / IndexOperators / bin_arangod - index - operator . obj ` if test - f ' arangod / IndexOperators / index - operator . c ' ; then $ ( CYGPATH_W ) ' arangod / IndexOperators / index - operator . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / IndexOperators / index - operator . c ' ; fi ` <nl> <nl> arangod / PriorityQueue / bin_arangod - pqueueindex . o : arangod / PriorityQueue / pqueueindex . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / PriorityQueue / bin_arangod - pqueueindex . o - MD - MP - MF arangod / PriorityQueue / $ ( DEPDIR ) / bin_arangod - pqueueindex . Tpo - c - o arangod / PriorityQueue / bin_arangod - pqueueindex . o ` test - f ' arangod / PriorityQueue / pqueueindex . c ' | | echo ' $ ( srcdir ) / ' ` arangod / PriorityQueue / pqueueindex . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / PriorityQueue / $ ( DEPDIR ) / bin_arangod - pqueueindex . Tpo arangod / PriorityQueue / $ ( DEPDIR ) / bin_arangod - pqueueindex . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / PriorityQueue / pqueueindex . c ' object = ' arangod / PriorityQueue / bin_arangod - pqueueindex . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / PriorityQueue / pqueueindex . c ' object = ' arangod / PriorityQueue / bin_arangod - pqueueindex . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / PriorityQueue / bin_arangod - pqueueindex . o ` test - f ' arangod / PriorityQueue / pqueueindex . c ' | | echo ' $ ( srcdir ) / ' ` arangod / PriorityQueue / pqueueindex . c <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / PriorityQueue / bin_arangod - pqueueindex . o ` test - f ' arangod / PriorityQueue / pqueueindex . c ' | | echo ' $ ( srcdir ) / ' ` arangod / PriorityQueue / pqueueindex . c <nl> <nl> arangod / PriorityQueue / bin_arangod - pqueueindex . obj : arangod / PriorityQueue / pqueueindex . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / PriorityQueue / bin_arangod - pqueueindex . obj - MD - MP - MF arangod / PriorityQueue / $ ( DEPDIR ) / bin_arangod - pqueueindex . Tpo - c - o arangod / PriorityQueue / bin_arangod - pqueueindex . obj ` if test - f ' arangod / PriorityQueue / pqueueindex . c ' ; then $ ( CYGPATH_W ) ' arangod / PriorityQueue / pqueueindex . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / PriorityQueue / pqueueindex . c ' ; fi ` <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / PriorityQueue / $ ( DEPDIR ) / bin_arangod - pqueueindex . Tpo arangod / PriorityQueue / $ ( DEPDIR ) / bin_arangod - pqueueindex . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / PriorityQueue / pqueueindex . c ' object = ' arangod / PriorityQueue / bin_arangod - pqueueindex . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / PriorityQueue / pqueueindex . c ' object = ' arangod / PriorityQueue / bin_arangod - pqueueindex . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / PriorityQueue / bin_arangod - pqueueindex . obj ` if test - f ' arangod / PriorityQueue / pqueueindex . c ' ; then $ ( CYGPATH_W ) ' arangod / PriorityQueue / pqueueindex . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / PriorityQueue / pqueueindex . c ' ; fi ` <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / PriorityQueue / bin_arangod - pqueueindex . obj ` if test - f ' arangod / PriorityQueue / pqueueindex . c ' ; then $ ( CYGPATH_W ) ' arangod / PriorityQueue / pqueueindex . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / PriorityQueue / pqueueindex . c ' ; fi ` <nl> <nl> arangod / PriorityQueue / bin_arangod - priorityqueue . o : arangod / PriorityQueue / priorityqueue . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / PriorityQueue / bin_arangod - priorityqueue . o - MD - MP - MF arangod / PriorityQueue / $ ( DEPDIR ) / bin_arangod - priorityqueue . Tpo - c - o arangod / PriorityQueue / bin_arangod - priorityqueue . o ` test - f ' arangod / PriorityQueue / priorityqueue . c ' | | echo ' $ ( srcdir ) / ' ` arangod / PriorityQueue / priorityqueue . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / PriorityQueue / $ ( DEPDIR ) / bin_arangod - priorityqueue . Tpo arangod / PriorityQueue / $ ( DEPDIR ) / bin_arangod - priorityqueue . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / PriorityQueue / priorityqueue . c ' object = ' arangod / PriorityQueue / bin_arangod - priorityqueue . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / PriorityQueue / priorityqueue . c ' object = ' arangod / PriorityQueue / bin_arangod - priorityqueue . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / PriorityQueue / bin_arangod - priorityqueue . o ` test - f ' arangod / PriorityQueue / priorityqueue . c ' | | echo ' $ ( srcdir ) / ' ` arangod / PriorityQueue / priorityqueue . c <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / PriorityQueue / bin_arangod - priorityqueue . o ` test - f ' arangod / PriorityQueue / priorityqueue . c ' | | echo ' $ ( srcdir ) / ' ` arangod / PriorityQueue / priorityqueue . c <nl> <nl> arangod / PriorityQueue / bin_arangod - priorityqueue . obj : arangod / PriorityQueue / priorityqueue . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / PriorityQueue / bin_arangod - priorityqueue . obj - MD - MP - MF arangod / PriorityQueue / $ ( DEPDIR ) / bin_arangod - priorityqueue . Tpo - c - o arangod / PriorityQueue / bin_arangod - priorityqueue . obj ` if test - f ' arangod / PriorityQueue / priorityqueue . c ' ; then $ ( CYGPATH_W ) ' arangod / PriorityQueue / priorityqueue . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / PriorityQueue / priorityqueue . c ' ; fi ` <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / PriorityQueue / $ ( DEPDIR ) / bin_arangod - priorityqueue . Tpo arangod / PriorityQueue / $ ( DEPDIR ) / bin_arangod - priorityqueue . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / PriorityQueue / priorityqueue . c ' object = ' arangod / PriorityQueue / bin_arangod - priorityqueue . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / PriorityQueue / priorityqueue . c ' object = ' arangod / PriorityQueue / bin_arangod - priorityqueue . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / PriorityQueue / bin_arangod - priorityqueue . obj ` if test - f ' arangod / PriorityQueue / priorityqueue . c ' ; then $ ( CYGPATH_W ) ' arangod / PriorityQueue / priorityqueue . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / PriorityQueue / priorityqueue . c ' ; fi ` <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / PriorityQueue / bin_arangod - priorityqueue . obj ` if test - f ' arangod / PriorityQueue / priorityqueue . c ' ; then $ ( CYGPATH_W ) ' arangod / PriorityQueue / priorityqueue . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / PriorityQueue / priorityqueue . c ' ; fi ` <nl> <nl> arangod / SkipLists / bin_arangod - skiplist . o : arangod / SkipLists / skiplist . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / SkipLists / bin_arangod - skiplist . o - MD - MP - MF arangod / SkipLists / $ ( DEPDIR ) / bin_arangod - skiplist . Tpo - c - o arangod / SkipLists / bin_arangod - skiplist . o ` test - f ' arangod / SkipLists / skiplist . c ' | | echo ' $ ( srcdir ) / ' ` arangod / SkipLists / skiplist . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / SkipLists / $ ( DEPDIR ) / bin_arangod - skiplist . Tpo arangod / SkipLists / $ ( DEPDIR ) / bin_arangod - skiplist . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / SkipLists / skiplist . c ' object = ' arangod / SkipLists / bin_arangod - skiplist . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / SkipLists / skiplist . c ' object = ' arangod / SkipLists / bin_arangod - skiplist . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / SkipLists / bin_arangod - skiplist . o ` test - f ' arangod / SkipLists / skiplist . c ' | | echo ' $ ( srcdir ) / ' ` arangod / SkipLists / skiplist . c <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / SkipLists / bin_arangod - skiplist . o ` test - f ' arangod / SkipLists / skiplist . c ' | | echo ' $ ( srcdir ) / ' ` arangod / SkipLists / skiplist . c <nl> <nl> arangod / SkipLists / bin_arangod - skiplist . obj : arangod / SkipLists / skiplist . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / SkipLists / bin_arangod - skiplist . obj - MD - MP - MF arangod / SkipLists / $ ( DEPDIR ) / bin_arangod - skiplist . Tpo - c - o arangod / SkipLists / bin_arangod - skiplist . obj ` if test - f ' arangod / SkipLists / skiplist . c ' ; then $ ( CYGPATH_W ) ' arangod / SkipLists / skiplist . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / SkipLists / skiplist . c ' ; fi ` <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / SkipLists / $ ( DEPDIR ) / bin_arangod - skiplist . Tpo arangod / SkipLists / $ ( DEPDIR ) / bin_arangod - skiplist . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / SkipLists / skiplist . c ' object = ' arangod / SkipLists / bin_arangod - skiplist . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / SkipLists / skiplist . c ' object = ' arangod / SkipLists / bin_arangod - skiplist . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / SkipLists / bin_arangod - skiplist . obj ` if test - f ' arangod / SkipLists / skiplist . c ' ; then $ ( CYGPATH_W ) ' arangod / SkipLists / skiplist . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / SkipLists / skiplist . c ' ; fi ` <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / SkipLists / bin_arangod - skiplist . obj ` if test - f ' arangod / SkipLists / skiplist . c ' ; then $ ( CYGPATH_W ) ' arangod / SkipLists / skiplist . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / SkipLists / skiplist . c ' ; fi ` <nl> <nl> arangod / SkipLists / bin_arangod - skiplistIndex . o : arangod / SkipLists / skiplistIndex . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / SkipLists / bin_arangod - skiplistIndex . o - MD - MP - MF arangod / SkipLists / $ ( DEPDIR ) / bin_arangod - skiplistIndex . Tpo - c - o arangod / SkipLists / bin_arangod - skiplistIndex . o ` test - f ' arangod / SkipLists / skiplistIndex . c ' | | echo ' $ ( srcdir ) / ' ` arangod / SkipLists / skiplistIndex . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / SkipLists / $ ( DEPDIR ) / bin_arangod - skiplistIndex . Tpo arangod / SkipLists / $ ( DEPDIR ) / bin_arangod - skiplistIndex . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / SkipLists / skiplistIndex . c ' object = ' arangod / SkipLists / bin_arangod - skiplistIndex . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / SkipLists / skiplistIndex . c ' object = ' arangod / SkipLists / bin_arangod - skiplistIndex . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / SkipLists / bin_arangod - skiplistIndex . o ` test - f ' arangod / SkipLists / skiplistIndex . c ' | | echo ' $ ( srcdir ) / ' ` arangod / SkipLists / skiplistIndex . c <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / SkipLists / bin_arangod - skiplistIndex . o ` test - f ' arangod / SkipLists / skiplistIndex . c ' | | echo ' $ ( srcdir ) / ' ` arangod / SkipLists / skiplistIndex . c <nl> <nl> arangod / SkipLists / bin_arangod - skiplistIndex . obj : arangod / SkipLists / skiplistIndex . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / SkipLists / bin_arangod - skiplistIndex . obj - MD - MP - MF arangod / SkipLists / $ ( DEPDIR ) / bin_arangod - skiplistIndex . Tpo - c - o arangod / SkipLists / bin_arangod - skiplistIndex . obj ` if test - f ' arangod / SkipLists / skiplistIndex . c ' ; then $ ( CYGPATH_W ) ' arangod / SkipLists / skiplistIndex . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / SkipLists / skiplistIndex . c ' ; fi ` <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / SkipLists / $ ( DEPDIR ) / bin_arangod - skiplistIndex . Tpo arangod / SkipLists / $ ( DEPDIR ) / bin_arangod - skiplistIndex . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / SkipLists / skiplistIndex . c ' object = ' arangod / SkipLists / bin_arangod - skiplistIndex . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / SkipLists / skiplistIndex . c ' object = ' arangod / SkipLists / bin_arangod - skiplistIndex . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / SkipLists / bin_arangod - skiplistIndex . obj ` if test - f ' arangod / SkipLists / skiplistIndex . c ' ; then $ ( CYGPATH_W ) ' arangod / SkipLists / skiplistIndex . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / SkipLists / skiplistIndex . c ' ; fi ` <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / SkipLists / bin_arangod - skiplistIndex . obj ` if test - f ' arangod / SkipLists / skiplistIndex . c ' ; then $ ( CYGPATH_W ) ' arangod / SkipLists / skiplistIndex . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / SkipLists / skiplistIndex . c ' ; fi ` <nl> <nl> arangod / VocBase / bin_arangod - auth . o : arangod / VocBase / auth . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / VocBase / bin_arangod - auth . o - MD - MP - MF arangod / VocBase / $ ( DEPDIR ) / bin_arangod - auth . Tpo - c - o arangod / VocBase / bin_arangod - auth . o ` test - f ' arangod / VocBase / auth . c ' | | echo ' $ ( srcdir ) / ' ` arangod / VocBase / auth . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / VocBase / $ ( DEPDIR ) / bin_arangod - auth . Tpo arangod / VocBase / $ ( DEPDIR ) / bin_arangod - auth . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / VocBase / auth . c ' object = ' arangod / VocBase / bin_arangod - auth . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / VocBase / auth . c ' object = ' arangod / VocBase / bin_arangod - auth . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / VocBase / bin_arangod - auth . o ` test - f ' arangod / VocBase / auth . c ' | | echo ' $ ( srcdir ) / ' ` arangod / VocBase / auth . c <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / VocBase / bin_arangod - auth . o ` test - f ' arangod / VocBase / auth . c ' | | echo ' $ ( srcdir ) / ' ` arangod / VocBase / auth . c <nl> <nl> arangod / VocBase / bin_arangod - auth . obj : arangod / VocBase / auth . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / VocBase / bin_arangod - auth . obj - MD - MP - MF arangod / VocBase / $ ( DEPDIR ) / bin_arangod - auth . Tpo - c - o arangod / VocBase / bin_arangod - auth . obj ` if test - f ' arangod / VocBase / auth . c ' ; then $ ( CYGPATH_W ) ' arangod / VocBase / auth . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / VocBase / auth . c ' ; fi ` <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / VocBase / $ ( DEPDIR ) / bin_arangod - auth . Tpo arangod / VocBase / $ ( DEPDIR ) / bin_arangod - auth . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / VocBase / auth . c ' object = ' arangod / VocBase / bin_arangod - auth . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / VocBase / auth . c ' object = ' arangod / VocBase / bin_arangod - auth . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / VocBase / bin_arangod - auth . obj ` if test - f ' arangod / VocBase / auth . c ' ; then $ ( CYGPATH_W ) ' arangod / VocBase / auth . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / VocBase / auth . c ' ; fi ` <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / VocBase / bin_arangod - auth . obj ` if test - f ' arangod / VocBase / auth . c ' ; then $ ( CYGPATH_W ) ' arangod / VocBase / auth . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / VocBase / auth . c ' ; fi ` <nl> <nl> arangod / VocBase / bin_arangod - barrier . o : arangod / VocBase / barrier . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / VocBase / bin_arangod - barrier . o - MD - MP - MF arangod / VocBase / $ ( DEPDIR ) / bin_arangod - barrier . Tpo - c - o arangod / VocBase / bin_arangod - barrier . o ` test - f ' arangod / VocBase / barrier . c ' | | echo ' $ ( srcdir ) / ' ` arangod / VocBase / barrier . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / VocBase / $ ( DEPDIR ) / bin_arangod - barrier . Tpo arangod / VocBase / $ ( DEPDIR ) / bin_arangod - barrier . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / VocBase / barrier . c ' object = ' arangod / VocBase / bin_arangod - barrier . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / VocBase / barrier . c ' object = ' arangod / VocBase / bin_arangod - barrier . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / VocBase / bin_arangod - barrier . o ` test - f ' arangod / VocBase / barrier . c ' | | echo ' $ ( srcdir ) / ' ` arangod / VocBase / barrier . c <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / VocBase / bin_arangod - barrier . o ` test - f ' arangod / VocBase / barrier . c ' | | echo ' $ ( srcdir ) / ' ` arangod / VocBase / barrier . c <nl> <nl> arangod / VocBase / bin_arangod - barrier . obj : arangod / VocBase / barrier . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / VocBase / bin_arangod - barrier . obj - MD - MP - MF arangod / VocBase / $ ( DEPDIR ) / bin_arangod - barrier . Tpo - c - o arangod / VocBase / bin_arangod - barrier . obj ` if test - f ' arangod / VocBase / barrier . c ' ; then $ ( CYGPATH_W ) ' arangod / VocBase / barrier . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / VocBase / barrier . c ' ; fi ` <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / VocBase / $ ( DEPDIR ) / bin_arangod - barrier . Tpo arangod / VocBase / $ ( DEPDIR ) / bin_arangod - barrier . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / VocBase / barrier . c ' object = ' arangod / VocBase / bin_arangod - barrier . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / VocBase / barrier . c ' object = ' arangod / VocBase / bin_arangod - barrier . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / VocBase / bin_arangod - barrier . obj ` if test - f ' arangod / VocBase / barrier . c ' ; then $ ( CYGPATH_W ) ' arangod / VocBase / barrier . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / VocBase / barrier . c ' ; fi ` <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / VocBase / bin_arangod - barrier . obj ` if test - f ' arangod / VocBase / barrier . c ' ; then $ ( CYGPATH_W ) ' arangod / VocBase / barrier . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / VocBase / barrier . c ' ; fi ` <nl> <nl> arangod / VocBase / bin_arangod - cleanup . o : arangod / VocBase / cleanup . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / VocBase / bin_arangod - cleanup . o - MD - MP - MF arangod / VocBase / $ ( DEPDIR ) / bin_arangod - cleanup . Tpo - c - o arangod / VocBase / bin_arangod - cleanup . o ` test - f ' arangod / VocBase / cleanup . c ' | | echo ' $ ( srcdir ) / ' ` arangod / VocBase / cleanup . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / VocBase / $ ( DEPDIR ) / bin_arangod - cleanup . Tpo arangod / VocBase / $ ( DEPDIR ) / bin_arangod - cleanup . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / VocBase / cleanup . c ' object = ' arangod / VocBase / bin_arangod - cleanup . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / VocBase / cleanup . c ' object = ' arangod / VocBase / bin_arangod - cleanup . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / VocBase / bin_arangod - cleanup . o ` test - f ' arangod / VocBase / cleanup . c ' | | echo ' $ ( srcdir ) / ' ` arangod / VocBase / cleanup . c <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / VocBase / bin_arangod - cleanup . o ` test - f ' arangod / VocBase / cleanup . c ' | | echo ' $ ( srcdir ) / ' ` arangod / VocBase / cleanup . c <nl> <nl> arangod / VocBase / bin_arangod - cleanup . obj : arangod / VocBase / cleanup . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / VocBase / bin_arangod - cleanup . obj - MD - MP - MF arangod / VocBase / $ ( DEPDIR ) / bin_arangod - cleanup . Tpo - c - o arangod / VocBase / bin_arangod - cleanup . obj ` if test - f ' arangod / VocBase / cleanup . c ' ; then $ ( CYGPATH_W ) ' arangod / VocBase / cleanup . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / VocBase / cleanup . c ' ; fi ` <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / VocBase / $ ( DEPDIR ) / bin_arangod - cleanup . Tpo arangod / VocBase / $ ( DEPDIR ) / bin_arangod - cleanup . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / VocBase / cleanup . c ' object = ' arangod / VocBase / bin_arangod - cleanup . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / VocBase / cleanup . c ' object = ' arangod / VocBase / bin_arangod - cleanup . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / VocBase / bin_arangod - cleanup . obj ` if test - f ' arangod / VocBase / cleanup . c ' ; then $ ( CYGPATH_W ) ' arangod / VocBase / cleanup . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / VocBase / cleanup . c ' ; fi ` <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / VocBase / bin_arangod - cleanup . obj ` if test - f ' arangod / VocBase / cleanup . c ' ; then $ ( CYGPATH_W ) ' arangod / VocBase / cleanup . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / VocBase / cleanup . c ' ; fi ` <nl> <nl> arangod / VocBase / bin_arangod - collection . o : arangod / VocBase / collection . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / VocBase / bin_arangod - collection . o - MD - MP - MF arangod / VocBase / $ ( DEPDIR ) / bin_arangod - collection . Tpo - c - o arangod / VocBase / bin_arangod - collection . o ` test - f ' arangod / VocBase / collection . c ' | | echo ' $ ( srcdir ) / ' ` arangod / VocBase / collection . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / VocBase / $ ( DEPDIR ) / bin_arangod - collection . Tpo arangod / VocBase / $ ( DEPDIR ) / bin_arangod - collection . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / VocBase / collection . c ' object = ' arangod / VocBase / bin_arangod - collection . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / VocBase / collection . c ' object = ' arangod / VocBase / bin_arangod - collection . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / VocBase / bin_arangod - collection . o ` test - f ' arangod / VocBase / collection . c ' | | echo ' $ ( srcdir ) / ' ` arangod / VocBase / collection . c <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / VocBase / bin_arangod - collection . o ` test - f ' arangod / VocBase / collection . c ' | | echo ' $ ( srcdir ) / ' ` arangod / VocBase / collection . c <nl> <nl> arangod / VocBase / bin_arangod - collection . obj : arangod / VocBase / collection . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / VocBase / bin_arangod - collection . obj - MD - MP - MF arangod / VocBase / $ ( DEPDIR ) / bin_arangod - collection . Tpo - c - o arangod / VocBase / bin_arangod - collection . obj ` if test - f ' arangod / VocBase / collection . c ' ; then $ ( CYGPATH_W ) ' arangod / VocBase / collection . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / VocBase / collection . c ' ; fi ` <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / VocBase / $ ( DEPDIR ) / bin_arangod - collection . Tpo arangod / VocBase / $ ( DEPDIR ) / bin_arangod - collection . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / VocBase / collection . c ' object = ' arangod / VocBase / bin_arangod - collection . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / VocBase / collection . c ' object = ' arangod / VocBase / bin_arangod - collection . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / VocBase / bin_arangod - collection . obj ` if test - f ' arangod / VocBase / collection . c ' ; then $ ( CYGPATH_W ) ' arangod / VocBase / collection . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / VocBase / collection . c ' ; fi ` <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / VocBase / bin_arangod - collection . obj ` if test - f ' arangod / VocBase / collection . c ' ; then $ ( CYGPATH_W ) ' arangod / VocBase / collection . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / VocBase / collection . c ' ; fi ` <nl> <nl> arangod / VocBase / bin_arangod - compactor . o : arangod / VocBase / compactor . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / VocBase / bin_arangod - compactor . o - MD - MP - MF arangod / VocBase / $ ( DEPDIR ) / bin_arangod - compactor . Tpo - c - o arangod / VocBase / bin_arangod - compactor . o ` test - f ' arangod / VocBase / compactor . c ' | | echo ' $ ( srcdir ) / ' ` arangod / VocBase / compactor . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / VocBase / $ ( DEPDIR ) / bin_arangod - compactor . Tpo arangod / VocBase / $ ( DEPDIR ) / bin_arangod - compactor . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / VocBase / compactor . c ' object = ' arangod / VocBase / bin_arangod - compactor . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / VocBase / compactor . c ' object = ' arangod / VocBase / bin_arangod - compactor . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / VocBase / bin_arangod - compactor . o ` test - f ' arangod / VocBase / compactor . c ' | | echo ' $ ( srcdir ) / ' ` arangod / VocBase / compactor . c <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / VocBase / bin_arangod - compactor . o ` test - f ' arangod / VocBase / compactor . c ' | | echo ' $ ( srcdir ) / ' ` arangod / VocBase / compactor . c <nl> <nl> arangod / VocBase / bin_arangod - compactor . obj : arangod / VocBase / compactor . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / VocBase / bin_arangod - compactor . obj - MD - MP - MF arangod / VocBase / $ ( DEPDIR ) / bin_arangod - compactor . Tpo - c - o arangod / VocBase / bin_arangod - compactor . obj ` if test - f ' arangod / VocBase / compactor . c ' ; then $ ( CYGPATH_W ) ' arangod / VocBase / compactor . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / VocBase / compactor . c ' ; fi ` <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / VocBase / $ ( DEPDIR ) / bin_arangod - compactor . Tpo arangod / VocBase / $ ( DEPDIR ) / bin_arangod - compactor . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / VocBase / compactor . c ' object = ' arangod / VocBase / bin_arangod - compactor . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / VocBase / compactor . c ' object = ' arangod / VocBase / bin_arangod - compactor . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / VocBase / bin_arangod - compactor . obj ` if test - f ' arangod / VocBase / compactor . c ' ; then $ ( CYGPATH_W ) ' arangod / VocBase / compactor . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / VocBase / compactor . c ' ; fi ` <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / VocBase / bin_arangod - compactor . obj ` if test - f ' arangod / VocBase / compactor . c ' ; then $ ( CYGPATH_W ) ' arangod / VocBase / compactor . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / VocBase / compactor . c ' ; fi ` <nl> <nl> arangod / VocBase / bin_arangod - datafile . o : arangod / VocBase / datafile . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / VocBase / bin_arangod - datafile . o - MD - MP - MF arangod / VocBase / $ ( DEPDIR ) / bin_arangod - datafile . Tpo - c - o arangod / VocBase / bin_arangod - datafile . o ` test - f ' arangod / VocBase / datafile . c ' | | echo ' $ ( srcdir ) / ' ` arangod / VocBase / datafile . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / VocBase / $ ( DEPDIR ) / bin_arangod - datafile . Tpo arangod / VocBase / $ ( DEPDIR ) / bin_arangod - datafile . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / VocBase / datafile . c ' object = ' arangod / VocBase / bin_arangod - datafile . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / VocBase / datafile . c ' object = ' arangod / VocBase / bin_arangod - datafile . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / VocBase / bin_arangod - datafile . o ` test - f ' arangod / VocBase / datafile . c ' | | echo ' $ ( srcdir ) / ' ` arangod / VocBase / datafile . c <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / VocBase / bin_arangod - datafile . o ` test - f ' arangod / VocBase / datafile . c ' | | echo ' $ ( srcdir ) / ' ` arangod / VocBase / datafile . c <nl> <nl> arangod / VocBase / bin_arangod - datafile . obj : arangod / VocBase / datafile . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / VocBase / bin_arangod - datafile . obj - MD - MP - MF arangod / VocBase / $ ( DEPDIR ) / bin_arangod - datafile . Tpo - c - o arangod / VocBase / bin_arangod - datafile . obj ` if test - f ' arangod / VocBase / datafile . c ' ; then $ ( CYGPATH_W ) ' arangod / VocBase / datafile . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / VocBase / datafile . c ' ; fi ` <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / VocBase / $ ( DEPDIR ) / bin_arangod - datafile . Tpo arangod / VocBase / $ ( DEPDIR ) / bin_arangod - datafile . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / VocBase / datafile . c ' object = ' arangod / VocBase / bin_arangod - datafile . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / VocBase / datafile . c ' object = ' arangod / VocBase / bin_arangod - datafile . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / VocBase / bin_arangod - datafile . obj ` if test - f ' arangod / VocBase / datafile . c ' ; then $ ( CYGPATH_W ) ' arangod / VocBase / datafile . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / VocBase / datafile . c ' ; fi ` <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / VocBase / bin_arangod - datafile . obj ` if test - f ' arangod / VocBase / datafile . c ' ; then $ ( CYGPATH_W ) ' arangod / VocBase / datafile . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / VocBase / datafile . c ' ; fi ` <nl> <nl> arangod / VocBase / bin_arangod - document - collection . o : arangod / VocBase / document - collection . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / VocBase / bin_arangod - document - collection . o - MD - MP - MF arangod / VocBase / $ ( DEPDIR ) / bin_arangod - document - collection . Tpo - c - o arangod / VocBase / bin_arangod - document - collection . o ` test - f ' arangod / VocBase / document - collection . c ' | | echo ' $ ( srcdir ) / ' ` arangod / VocBase / document - collection . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / VocBase / $ ( DEPDIR ) / bin_arangod - document - collection . Tpo arangod / VocBase / $ ( DEPDIR ) / bin_arangod - document - collection . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / VocBase / document - collection . c ' object = ' arangod / VocBase / bin_arangod - document - collection . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / VocBase / document - collection . c ' object = ' arangod / VocBase / bin_arangod - document - collection . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / VocBase / bin_arangod - document - collection . o ` test - f ' arangod / VocBase / document - collection . c ' | | echo ' $ ( srcdir ) / ' ` arangod / VocBase / document - collection . c <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / VocBase / bin_arangod - document - collection . o ` test - f ' arangod / VocBase / document - collection . c ' | | echo ' $ ( srcdir ) / ' ` arangod / VocBase / document - collection . c <nl> <nl> arangod / VocBase / bin_arangod - document - collection . obj : arangod / VocBase / document - collection . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / VocBase / bin_arangod - document - collection . obj - MD - MP - MF arangod / VocBase / $ ( DEPDIR ) / bin_arangod - document - collection . Tpo - c - o arangod / VocBase / bin_arangod - document - collection . obj ` if test - f ' arangod / VocBase / document - collection . c ' ; then $ ( CYGPATH_W ) ' arangod / VocBase / document - collection . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / VocBase / document - collection . c ' ; fi ` <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / VocBase / $ ( DEPDIR ) / bin_arangod - document - collection . Tpo arangod / VocBase / $ ( DEPDIR ) / bin_arangod - document - collection . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / VocBase / document - collection . c ' object = ' arangod / VocBase / bin_arangod - document - collection . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / VocBase / document - collection . c ' object = ' arangod / VocBase / bin_arangod - document - collection . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / VocBase / bin_arangod - document - collection . obj ` if test - f ' arangod / VocBase / document - collection . c ' ; then $ ( CYGPATH_W ) ' arangod / VocBase / document - collection . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / VocBase / document - collection . c ' ; fi ` <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / VocBase / bin_arangod - document - collection . obj ` if test - f ' arangod / VocBase / document - collection . c ' ; then $ ( CYGPATH_W ) ' arangod / VocBase / document - collection . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / VocBase / document - collection . c ' ; fi ` <nl> <nl> arangod / VocBase / bin_arangod - edge - collection . o : arangod / VocBase / edge - collection . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / VocBase / bin_arangod - edge - collection . o - MD - MP - MF arangod / VocBase / $ ( DEPDIR ) / bin_arangod - edge - collection . Tpo - c - o arangod / VocBase / bin_arangod - edge - collection . o ` test - f ' arangod / VocBase / edge - collection . c ' | | echo ' $ ( srcdir ) / ' ` arangod / VocBase / edge - collection . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / VocBase / $ ( DEPDIR ) / bin_arangod - edge - collection . Tpo arangod / VocBase / $ ( DEPDIR ) / bin_arangod - edge - collection . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / VocBase / edge - collection . c ' object = ' arangod / VocBase / bin_arangod - edge - collection . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / VocBase / edge - collection . c ' object = ' arangod / VocBase / bin_arangod - edge - collection . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / VocBase / bin_arangod - edge - collection . o ` test - f ' arangod / VocBase / edge - collection . c ' | | echo ' $ ( srcdir ) / ' ` arangod / VocBase / edge - collection . c <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / VocBase / bin_arangod - edge - collection . o ` test - f ' arangod / VocBase / edge - collection . c ' | | echo ' $ ( srcdir ) / ' ` arangod / VocBase / edge - collection . c <nl> <nl> arangod / VocBase / bin_arangod - edge - collection . obj : arangod / VocBase / edge - collection . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / VocBase / bin_arangod - edge - collection . obj - MD - MP - MF arangod / VocBase / $ ( DEPDIR ) / bin_arangod - edge - collection . Tpo - c - o arangod / VocBase / bin_arangod - edge - collection . obj ` if test - f ' arangod / VocBase / edge - collection . c ' ; then $ ( CYGPATH_W ) ' arangod / VocBase / edge - collection . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / VocBase / edge - collection . c ' ; fi ` <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / VocBase / $ ( DEPDIR ) / bin_arangod - edge - collection . Tpo arangod / VocBase / $ ( DEPDIR ) / bin_arangod - edge - collection . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / VocBase / edge - collection . c ' object = ' arangod / VocBase / bin_arangod - edge - collection . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / VocBase / edge - collection . c ' object = ' arangod / VocBase / bin_arangod - edge - collection . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / VocBase / bin_arangod - edge - collection . obj ` if test - f ' arangod / VocBase / edge - collection . c ' ; then $ ( CYGPATH_W ) ' arangod / VocBase / edge - collection . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / VocBase / edge - collection . c ' ; fi ` <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / VocBase / bin_arangod - edge - collection . obj ` if test - f ' arangod / VocBase / edge - collection . c ' ; then $ ( CYGPATH_W ) ' arangod / VocBase / edge - collection . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / VocBase / edge - collection . c ' ; fi ` <nl> <nl> arangod / VocBase / bin_arangod - general - cursor . o : arangod / VocBase / general - cursor . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / VocBase / bin_arangod - general - cursor . o - MD - MP - MF arangod / VocBase / $ ( DEPDIR ) / bin_arangod - general - cursor . Tpo - c - o arangod / VocBase / bin_arangod - general - cursor . o ` test - f ' arangod / VocBase / general - cursor . c ' | | echo ' $ ( srcdir ) / ' ` arangod / VocBase / general - cursor . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / VocBase / $ ( DEPDIR ) / bin_arangod - general - cursor . Tpo arangod / VocBase / $ ( DEPDIR ) / bin_arangod - general - cursor . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / VocBase / general - cursor . c ' object = ' arangod / VocBase / bin_arangod - general - cursor . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / VocBase / general - cursor . c ' object = ' arangod / VocBase / bin_arangod - general - cursor . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / VocBase / bin_arangod - general - cursor . o ` test - f ' arangod / VocBase / general - cursor . c ' | | echo ' $ ( srcdir ) / ' ` arangod / VocBase / general - cursor . c <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / VocBase / bin_arangod - general - cursor . o ` test - f ' arangod / VocBase / general - cursor . c ' | | echo ' $ ( srcdir ) / ' ` arangod / VocBase / general - cursor . c <nl> <nl> arangod / VocBase / bin_arangod - general - cursor . obj : arangod / VocBase / general - cursor . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / VocBase / bin_arangod - general - cursor . obj - MD - MP - MF arangod / VocBase / $ ( DEPDIR ) / bin_arangod - general - cursor . Tpo - c - o arangod / VocBase / bin_arangod - general - cursor . obj ` if test - f ' arangod / VocBase / general - cursor . c ' ; then $ ( CYGPATH_W ) ' arangod / VocBase / general - cursor . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / VocBase / general - cursor . c ' ; fi ` <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / VocBase / $ ( DEPDIR ) / bin_arangod - general - cursor . Tpo arangod / VocBase / $ ( DEPDIR ) / bin_arangod - general - cursor . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / VocBase / general - cursor . c ' object = ' arangod / VocBase / bin_arangod - general - cursor . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / VocBase / general - cursor . c ' object = ' arangod / VocBase / bin_arangod - general - cursor . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / VocBase / bin_arangod - general - cursor . obj ` if test - f ' arangod / VocBase / general - cursor . c ' ; then $ ( CYGPATH_W ) ' arangod / VocBase / general - cursor . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / VocBase / general - cursor . c ' ; fi ` <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / VocBase / bin_arangod - general - cursor . obj ` if test - f ' arangod / VocBase / general - cursor . c ' ; then $ ( CYGPATH_W ) ' arangod / VocBase / general - cursor . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / VocBase / general - cursor . c ' ; fi ` <nl> <nl> arangod / VocBase / bin_arangod - headers . o : arangod / VocBase / headers . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / VocBase / bin_arangod - headers . o - MD - MP - MF arangod / VocBase / $ ( DEPDIR ) / bin_arangod - headers . Tpo - c - o arangod / VocBase / bin_arangod - headers . o ` test - f ' arangod / VocBase / headers . c ' | | echo ' $ ( srcdir ) / ' ` arangod / VocBase / headers . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / VocBase / $ ( DEPDIR ) / bin_arangod - headers . Tpo arangod / VocBase / $ ( DEPDIR ) / bin_arangod - headers . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / VocBase / headers . c ' object = ' arangod / VocBase / bin_arangod - headers . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / VocBase / headers . c ' object = ' arangod / VocBase / bin_arangod - headers . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / VocBase / bin_arangod - headers . o ` test - f ' arangod / VocBase / headers . c ' | | echo ' $ ( srcdir ) / ' ` arangod / VocBase / headers . c <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / VocBase / bin_arangod - headers . o ` test - f ' arangod / VocBase / headers . c ' | | echo ' $ ( srcdir ) / ' ` arangod / VocBase / headers . c <nl> <nl> arangod / VocBase / bin_arangod - headers . obj : arangod / VocBase / headers . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / VocBase / bin_arangod - headers . obj - MD - MP - MF arangod / VocBase / $ ( DEPDIR ) / bin_arangod - headers . Tpo - c - o arangod / VocBase / bin_arangod - headers . obj ` if test - f ' arangod / VocBase / headers . c ' ; then $ ( CYGPATH_W ) ' arangod / VocBase / headers . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / VocBase / headers . c ' ; fi ` <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / VocBase / $ ( DEPDIR ) / bin_arangod - headers . Tpo arangod / VocBase / $ ( DEPDIR ) / bin_arangod - headers . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / VocBase / headers . c ' object = ' arangod / VocBase / bin_arangod - headers . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / VocBase / headers . c ' object = ' arangod / VocBase / bin_arangod - headers . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / VocBase / bin_arangod - headers . obj ` if test - f ' arangod / VocBase / headers . c ' ; then $ ( CYGPATH_W ) ' arangod / VocBase / headers . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / VocBase / headers . c ' ; fi ` <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / VocBase / bin_arangod - headers . obj ` if test - f ' arangod / VocBase / headers . c ' ; then $ ( CYGPATH_W ) ' arangod / VocBase / headers . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / VocBase / headers . c ' ; fi ` <nl> <nl> arangod / VocBase / bin_arangod - index . o : arangod / VocBase / index . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / VocBase / bin_arangod - index . o - MD - MP - MF arangod / VocBase / $ ( DEPDIR ) / bin_arangod - index . Tpo - c - o arangod / VocBase / bin_arangod - index . o ` test - f ' arangod / VocBase / index . c ' | | echo ' $ ( srcdir ) / ' ` arangod / VocBase / index . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / VocBase / $ ( DEPDIR ) / bin_arangod - index . Tpo arangod / VocBase / $ ( DEPDIR ) / bin_arangod - index . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / VocBase / index . c ' object = ' arangod / VocBase / bin_arangod - index . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / VocBase / index . c ' object = ' arangod / VocBase / bin_arangod - index . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / VocBase / bin_arangod - index . o ` test - f ' arangod / VocBase / index . c ' | | echo ' $ ( srcdir ) / ' ` arangod / VocBase / index . c <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / VocBase / bin_arangod - index . o ` test - f ' arangod / VocBase / index . c ' | | echo ' $ ( srcdir ) / ' ` arangod / VocBase / index . c <nl> <nl> arangod / VocBase / bin_arangod - index . obj : arangod / VocBase / index . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / VocBase / bin_arangod - index . obj - MD - MP - MF arangod / VocBase / $ ( DEPDIR ) / bin_arangod - index . Tpo - c - o arangod / VocBase / bin_arangod - index . obj ` if test - f ' arangod / VocBase / index . c ' ; then $ ( CYGPATH_W ) ' arangod / VocBase / index . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / VocBase / index . c ' ; fi ` <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / VocBase / $ ( DEPDIR ) / bin_arangod - index . Tpo arangod / VocBase / $ ( DEPDIR ) / bin_arangod - index . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / VocBase / index . c ' object = ' arangod / VocBase / bin_arangod - index . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / VocBase / index . c ' object = ' arangod / VocBase / bin_arangod - index . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / VocBase / bin_arangod - index . obj ` if test - f ' arangod / VocBase / index . c ' ; then $ ( CYGPATH_W ) ' arangod / VocBase / index . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / VocBase / index . c ' ; fi ` <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / VocBase / bin_arangod - index . obj ` if test - f ' arangod / VocBase / index . c ' ; then $ ( CYGPATH_W ) ' arangod / VocBase / index . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / VocBase / index . c ' ; fi ` <nl> <nl> arangod / VocBase / bin_arangod - primary - collection . o : arangod / VocBase / primary - collection . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / VocBase / bin_arangod - primary - collection . o - MD - MP - MF arangod / VocBase / $ ( DEPDIR ) / bin_arangod - primary - collection . Tpo - c - o arangod / VocBase / bin_arangod - primary - collection . o ` test - f ' arangod / VocBase / primary - collection . c ' | | echo ' $ ( srcdir ) / ' ` arangod / VocBase / primary - collection . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / VocBase / $ ( DEPDIR ) / bin_arangod - primary - collection . Tpo arangod / VocBase / $ ( DEPDIR ) / bin_arangod - primary - collection . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / VocBase / primary - collection . c ' object = ' arangod / VocBase / bin_arangod - primary - collection . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / VocBase / primary - collection . c ' object = ' arangod / VocBase / bin_arangod - primary - collection . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / VocBase / bin_arangod - primary - collection . o ` test - f ' arangod / VocBase / primary - collection . c ' | | echo ' $ ( srcdir ) / ' ` arangod / VocBase / primary - collection . c <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / VocBase / bin_arangod - primary - collection . o ` test - f ' arangod / VocBase / primary - collection . c ' | | echo ' $ ( srcdir ) / ' ` arangod / VocBase / primary - collection . c <nl> <nl> arangod / VocBase / bin_arangod - primary - collection . obj : arangod / VocBase / primary - collection . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / VocBase / bin_arangod - primary - collection . obj - MD - MP - MF arangod / VocBase / $ ( DEPDIR ) / bin_arangod - primary - collection . Tpo - c - o arangod / VocBase / bin_arangod - primary - collection . obj ` if test - f ' arangod / VocBase / primary - collection . c ' ; then $ ( CYGPATH_W ) ' arangod / VocBase / primary - collection . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / VocBase / primary - collection . c ' ; fi ` <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / VocBase / $ ( DEPDIR ) / bin_arangod - primary - collection . Tpo arangod / VocBase / $ ( DEPDIR ) / bin_arangod - primary - collection . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / VocBase / primary - collection . c ' object = ' arangod / VocBase / bin_arangod - primary - collection . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / VocBase / primary - collection . c ' object = ' arangod / VocBase / bin_arangod - primary - collection . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / VocBase / bin_arangod - primary - collection . obj ` if test - f ' arangod / VocBase / primary - collection . c ' ; then $ ( CYGPATH_W ) ' arangod / VocBase / primary - collection . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / VocBase / primary - collection . c ' ; fi ` <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / VocBase / bin_arangod - primary - collection . obj ` if test - f ' arangod / VocBase / primary - collection . c ' ; then $ ( CYGPATH_W ) ' arangod / VocBase / primary - collection . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / VocBase / primary - collection . c ' ; fi ` <nl> <nl> arangod / VocBase / bin_arangod - shadow - data . o : arangod / VocBase / shadow - data . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / VocBase / bin_arangod - shadow - data . o - MD - MP - MF arangod / VocBase / $ ( DEPDIR ) / bin_arangod - shadow - data . Tpo - c - o arangod / VocBase / bin_arangod - shadow - data . o ` test - f ' arangod / VocBase / shadow - data . c ' | | echo ' $ ( srcdir ) / ' ` arangod / VocBase / shadow - data . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / VocBase / $ ( DEPDIR ) / bin_arangod - shadow - data . Tpo arangod / VocBase / $ ( DEPDIR ) / bin_arangod - shadow - data . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / VocBase / shadow - data . c ' object = ' arangod / VocBase / bin_arangod - shadow - data . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / VocBase / shadow - data . c ' object = ' arangod / VocBase / bin_arangod - shadow - data . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / VocBase / bin_arangod - shadow - data . o ` test - f ' arangod / VocBase / shadow - data . c ' | | echo ' $ ( srcdir ) / ' ` arangod / VocBase / shadow - data . c <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / VocBase / bin_arangod - shadow - data . o ` test - f ' arangod / VocBase / shadow - data . c ' | | echo ' $ ( srcdir ) / ' ` arangod / VocBase / shadow - data . c <nl> <nl> arangod / VocBase / bin_arangod - shadow - data . obj : arangod / VocBase / shadow - data . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / VocBase / bin_arangod - shadow - data . obj - MD - MP - MF arangod / VocBase / $ ( DEPDIR ) / bin_arangod - shadow - data . Tpo - c - o arangod / VocBase / bin_arangod - shadow - data . obj ` if test - f ' arangod / VocBase / shadow - data . c ' ; then $ ( CYGPATH_W ) ' arangod / VocBase / shadow - data . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / VocBase / shadow - data . c ' ; fi ` <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / VocBase / $ ( DEPDIR ) / bin_arangod - shadow - data . Tpo arangod / VocBase / $ ( DEPDIR ) / bin_arangod - shadow - data . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / VocBase / shadow - data . c ' object = ' arangod / VocBase / bin_arangod - shadow - data . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / VocBase / shadow - data . c ' object = ' arangod / VocBase / bin_arangod - shadow - data . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / VocBase / bin_arangod - shadow - data . obj ` if test - f ' arangod / VocBase / shadow - data . c ' ; then $ ( CYGPATH_W ) ' arangod / VocBase / shadow - data . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / VocBase / shadow - data . c ' ; fi ` <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / VocBase / bin_arangod - shadow - data . obj ` if test - f ' arangod / VocBase / shadow - data . c ' ; then $ ( CYGPATH_W ) ' arangod / VocBase / shadow - data . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / VocBase / shadow - data . c ' ; fi ` <nl> <nl> arangod / VocBase / bin_arangod - shape - collection . o : arangod / VocBase / shape - collection . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / VocBase / bin_arangod - shape - collection . o - MD - MP - MF arangod / VocBase / $ ( DEPDIR ) / bin_arangod - shape - collection . Tpo - c - o arangod / VocBase / bin_arangod - shape - collection . o ` test - f ' arangod / VocBase / shape - collection . c ' | | echo ' $ ( srcdir ) / ' ` arangod / VocBase / shape - collection . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / VocBase / $ ( DEPDIR ) / bin_arangod - shape - collection . Tpo arangod / VocBase / $ ( DEPDIR ) / bin_arangod - shape - collection . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / VocBase / shape - collection . c ' object = ' arangod / VocBase / bin_arangod - shape - collection . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / VocBase / shape - collection . c ' object = ' arangod / VocBase / bin_arangod - shape - collection . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / VocBase / bin_arangod - shape - collection . o ` test - f ' arangod / VocBase / shape - collection . c ' | | echo ' $ ( srcdir ) / ' ` arangod / VocBase / shape - collection . c <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / VocBase / bin_arangod - shape - collection . o ` test - f ' arangod / VocBase / shape - collection . c ' | | echo ' $ ( srcdir ) / ' ` arangod / VocBase / shape - collection . c <nl> <nl> arangod / VocBase / bin_arangod - shape - collection . obj : arangod / VocBase / shape - collection . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / VocBase / bin_arangod - shape - collection . obj - MD - MP - MF arangod / VocBase / $ ( DEPDIR ) / bin_arangod - shape - collection . Tpo - c - o arangod / VocBase / bin_arangod - shape - collection . obj ` if test - f ' arangod / VocBase / shape - collection . c ' ; then $ ( CYGPATH_W ) ' arangod / VocBase / shape - collection . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / VocBase / shape - collection . c ' ; fi ` <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / VocBase / $ ( DEPDIR ) / bin_arangod - shape - collection . Tpo arangod / VocBase / $ ( DEPDIR ) / bin_arangod - shape - collection . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / VocBase / shape - collection . c ' object = ' arangod / VocBase / bin_arangod - shape - collection . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / VocBase / shape - collection . c ' object = ' arangod / VocBase / bin_arangod - shape - collection . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / VocBase / bin_arangod - shape - collection . obj ` if test - f ' arangod / VocBase / shape - collection . c ' ; then $ ( CYGPATH_W ) ' arangod / VocBase / shape - collection . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / VocBase / shape - collection . c ' ; fi ` <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / VocBase / bin_arangod - shape - collection . obj ` if test - f ' arangod / VocBase / shape - collection . c ' ; then $ ( CYGPATH_W ) ' arangod / VocBase / shape - collection . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / VocBase / shape - collection . c ' ; fi ` <nl> <nl> arangod / VocBase / bin_arangod - synchroniser . o : arangod / VocBase / synchroniser . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / VocBase / bin_arangod - synchroniser . o - MD - MP - MF arangod / VocBase / $ ( DEPDIR ) / bin_arangod - synchroniser . Tpo - c - o arangod / VocBase / bin_arangod - synchroniser . o ` test - f ' arangod / VocBase / synchroniser . c ' | | echo ' $ ( srcdir ) / ' ` arangod / VocBase / synchroniser . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / VocBase / $ ( DEPDIR ) / bin_arangod - synchroniser . Tpo arangod / VocBase / $ ( DEPDIR ) / bin_arangod - synchroniser . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / VocBase / synchroniser . c ' object = ' arangod / VocBase / bin_arangod - synchroniser . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / VocBase / synchroniser . c ' object = ' arangod / VocBase / bin_arangod - synchroniser . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / VocBase / bin_arangod - synchroniser . o ` test - f ' arangod / VocBase / synchroniser . c ' | | echo ' $ ( srcdir ) / ' ` arangod / VocBase / synchroniser . c <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / VocBase / bin_arangod - synchroniser . o ` test - f ' arangod / VocBase / synchroniser . c ' | | echo ' $ ( srcdir ) / ' ` arangod / VocBase / synchroniser . c <nl> <nl> arangod / VocBase / bin_arangod - synchroniser . obj : arangod / VocBase / synchroniser . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / VocBase / bin_arangod - synchroniser . obj - MD - MP - MF arangod / VocBase / $ ( DEPDIR ) / bin_arangod - synchroniser . Tpo - c - o arangod / VocBase / bin_arangod - synchroniser . obj ` if test - f ' arangod / VocBase / synchroniser . c ' ; then $ ( CYGPATH_W ) ' arangod / VocBase / synchroniser . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / VocBase / synchroniser . c ' ; fi ` <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / VocBase / $ ( DEPDIR ) / bin_arangod - synchroniser . Tpo arangod / VocBase / $ ( DEPDIR ) / bin_arangod - synchroniser . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / VocBase / synchroniser . c ' object = ' arangod / VocBase / bin_arangod - synchroniser . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / VocBase / synchroniser . c ' object = ' arangod / VocBase / bin_arangod - synchroniser . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / VocBase / bin_arangod - synchroniser . obj ` if test - f ' arangod / VocBase / synchroniser . c ' ; then $ ( CYGPATH_W ) ' arangod / VocBase / synchroniser . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / VocBase / synchroniser . c ' ; fi ` <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / VocBase / bin_arangod - synchroniser . obj ` if test - f ' arangod / VocBase / synchroniser . c ' ; then $ ( CYGPATH_W ) ' arangod / VocBase / synchroniser . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / VocBase / synchroniser . c ' ; fi ` <nl> <nl> arangod / VocBase / bin_arangod - voc - shaper . o : arangod / VocBase / voc - shaper . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / VocBase / bin_arangod - voc - shaper . o - MD - MP - MF arangod / VocBase / $ ( DEPDIR ) / bin_arangod - voc - shaper . Tpo - c - o arangod / VocBase / bin_arangod - voc - shaper . o ` test - f ' arangod / VocBase / voc - shaper . c ' | | echo ' $ ( srcdir ) / ' ` arangod / VocBase / voc - shaper . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / VocBase / $ ( DEPDIR ) / bin_arangod - voc - shaper . Tpo arangod / VocBase / $ ( DEPDIR ) / bin_arangod - voc - shaper . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / VocBase / voc - shaper . c ' object = ' arangod / VocBase / bin_arangod - voc - shaper . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / VocBase / voc - shaper . c ' object = ' arangod / VocBase / bin_arangod - voc - shaper . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / VocBase / bin_arangod - voc - shaper . o ` test - f ' arangod / VocBase / voc - shaper . c ' | | echo ' $ ( srcdir ) / ' ` arangod / VocBase / voc - shaper . c <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / VocBase / bin_arangod - voc - shaper . o ` test - f ' arangod / VocBase / voc - shaper . c ' | | echo ' $ ( srcdir ) / ' ` arangod / VocBase / voc - shaper . c <nl> <nl> arangod / VocBase / bin_arangod - voc - shaper . obj : arangod / VocBase / voc - shaper . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / VocBase / bin_arangod - voc - shaper . obj - MD - MP - MF arangod / VocBase / $ ( DEPDIR ) / bin_arangod - voc - shaper . Tpo - c - o arangod / VocBase / bin_arangod - voc - shaper . obj ` if test - f ' arangod / VocBase / voc - shaper . c ' ; then $ ( CYGPATH_W ) ' arangod / VocBase / voc - shaper . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / VocBase / voc - shaper . c ' ; fi ` <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / VocBase / $ ( DEPDIR ) / bin_arangod - voc - shaper . Tpo arangod / VocBase / $ ( DEPDIR ) / bin_arangod - voc - shaper . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / VocBase / voc - shaper . c ' object = ' arangod / VocBase / bin_arangod - voc - shaper . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / VocBase / voc - shaper . c ' object = ' arangod / VocBase / bin_arangod - voc - shaper . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / VocBase / bin_arangod - voc - shaper . obj ` if test - f ' arangod / VocBase / voc - shaper . c ' ; then $ ( CYGPATH_W ) ' arangod / VocBase / voc - shaper . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / VocBase / voc - shaper . c ' ; fi ` <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / VocBase / bin_arangod - voc - shaper . obj ` if test - f ' arangod / VocBase / voc - shaper . c ' ; then $ ( CYGPATH_W ) ' arangod / VocBase / voc - shaper . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / VocBase / voc - shaper . c ' ; fi ` <nl> <nl> arangod / VocBase / bin_arangod - vocbase . o : arangod / VocBase / vocbase . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / VocBase / bin_arangod - vocbase . o - MD - MP - MF arangod / VocBase / $ ( DEPDIR ) / bin_arangod - vocbase . Tpo - c - o arangod / VocBase / bin_arangod - vocbase . o ` test - f ' arangod / VocBase / vocbase . c ' | | echo ' $ ( srcdir ) / ' ` arangod / VocBase / vocbase . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / VocBase / $ ( DEPDIR ) / bin_arangod - vocbase . Tpo arangod / VocBase / $ ( DEPDIR ) / bin_arangod - vocbase . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / VocBase / vocbase . c ' object = ' arangod / VocBase / bin_arangod - vocbase . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / VocBase / vocbase . c ' object = ' arangod / VocBase / bin_arangod - vocbase . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / VocBase / bin_arangod - vocbase . o ` test - f ' arangod / VocBase / vocbase . c ' | | echo ' $ ( srcdir ) / ' ` arangod / VocBase / vocbase . c <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / VocBase / bin_arangod - vocbase . o ` test - f ' arangod / VocBase / vocbase . c ' | | echo ' $ ( srcdir ) / ' ` arangod / VocBase / vocbase . c <nl> <nl> arangod / VocBase / bin_arangod - vocbase . obj : arangod / VocBase / vocbase . c <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_CC ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - MT arangod / VocBase / bin_arangod - vocbase . obj - MD - MP - MF arangod / VocBase / $ ( DEPDIR ) / bin_arangod - vocbase . Tpo - c - o arangod / VocBase / bin_arangod - vocbase . obj ` if test - f ' arangod / VocBase / vocbase . c ' ; then $ ( CYGPATH_W ) ' arangod / VocBase / vocbase . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / VocBase / vocbase . c ' ; fi ` <nl> @ am__fastdepCC_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / VocBase / $ ( DEPDIR ) / bin_arangod - vocbase . Tpo arangod / VocBase / $ ( DEPDIR ) / bin_arangod - vocbase . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) source = ' arangod / VocBase / vocbase . c ' object = ' arangod / VocBase / bin_arangod - vocbase . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCC_FALSE @ $ ( AM_V_CC ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ source = ' arangod / VocBase / vocbase . c ' object = ' arangod / VocBase / bin_arangod - vocbase . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCC_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CCDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCC_FALSE @ $ ( AM_V_CC @ am__nodep @ ) $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / VocBase / bin_arangod - vocbase . obj ` if test - f ' arangod / VocBase / vocbase . c ' ; then $ ( CYGPATH_W ) ' arangod / VocBase / vocbase . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / VocBase / vocbase . c ' ; fi ` <nl> + @ am__fastdepCC_FALSE @ $ ( CC ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CFLAGS ) $ ( CFLAGS ) - c - o arangod / VocBase / bin_arangod - vocbase . obj ` if test - f ' arangod / VocBase / vocbase . c ' ; then $ ( CYGPATH_W ) ' arangod / VocBase / vocbase . c ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / VocBase / vocbase . c ' ; fi ` <nl> <nl> . cpp . o : <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_CXX ) depbase = ` echo $ @ | sed ' s | [ ^ / ] * $ $ | $ ( DEPDIR ) / & | ; s | \ . o $ $ | | ' ` ; \ <nl> @ am__fastdepCXX_TRUE @ $ ( CXXCOMPILE ) - MT $ @ - MD - MP - MF $ $ depbase . Tpo - c - o $ @ $ < & & \ <nl> @ am__fastdepCXX_TRUE @ $ ( am__mv ) $ $ depbase . Tpo $ $ depbase . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) source = ' $ < ' object = ' $ @ ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ source = ' $ < ' object = ' $ @ ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CXXDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX @ am__nodep @ ) $ ( CXXCOMPILE ) - c - o $ @ $ < <nl> + @ am__fastdepCXX_FALSE @ $ ( CXXCOMPILE ) - c - o $ @ $ < <nl> <nl> . cpp . obj : <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_CXX ) depbase = ` echo $ @ | sed ' s | [ ^ / ] * $ $ | $ ( DEPDIR ) / & | ; s | \ . obj $ $ | | ' ` ; \ <nl> @ am__fastdepCXX_TRUE @ $ ( CXXCOMPILE ) - MT $ @ - MD - MP - MF $ $ depbase . Tpo - c - o $ @ ` $ ( CYGPATH_W ) ' $ < ' ` & & \ <nl> @ am__fastdepCXX_TRUE @ $ ( am__mv ) $ $ depbase . Tpo $ $ depbase . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) source = ' $ < ' object = ' $ @ ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ source = ' $ < ' object = ' $ @ ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CXXDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX @ am__nodep @ ) $ ( CXXCOMPILE ) - c - o $ @ ` $ ( CYGPATH_W ) ' $ < ' ` <nl> + @ am__fastdepCXX_FALSE @ $ ( CXXCOMPILE ) - c - o $ @ ` $ ( CYGPATH_W ) ' $ < ' ` <nl> <nl> UnitTests / Cambridge / UnitTests_geo_suite - Runner . o : UnitTests / Cambridge / Runner . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_CXX ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( UnitTests_geo_suite_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - MT UnitTests / Cambridge / UnitTests_geo_suite - Runner . o - MD - MP - MF UnitTests / Cambridge / $ ( DEPDIR ) / UnitTests_geo_suite - Runner . Tpo - c - o UnitTests / Cambridge / UnitTests_geo_suite - Runner . o ` test - f ' UnitTests / Cambridge / Runner . cpp ' | | echo ' $ ( srcdir ) / ' ` UnitTests / Cambridge / Runner . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_at ) $ ( am__mv ) UnitTests / Cambridge / $ ( DEPDIR ) / UnitTests_geo_suite - Runner . Tpo UnitTests / Cambridge / $ ( DEPDIR ) / UnitTests_geo_suite - Runner . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) source = ' UnitTests / Cambridge / Runner . cpp ' object = ' UnitTests / Cambridge / UnitTests_geo_suite - Runner . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ source = ' UnitTests / Cambridge / Runner . cpp ' object = ' UnitTests / Cambridge / UnitTests_geo_suite - Runner . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CXXDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX @ am__nodep @ ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( UnitTests_geo_suite_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o UnitTests / Cambridge / UnitTests_geo_suite - Runner . o ` test - f ' UnitTests / Cambridge / Runner . cpp ' | | echo ' $ ( srcdir ) / ' ` UnitTests / Cambridge / Runner . cpp <nl> + @ am__fastdepCXX_FALSE @ $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( UnitTests_geo_suite_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o UnitTests / Cambridge / UnitTests_geo_suite - Runner . o ` test - f ' UnitTests / Cambridge / Runner . cpp ' | | echo ' $ ( srcdir ) / ' ` UnitTests / Cambridge / Runner . cpp <nl> <nl> UnitTests / Cambridge / UnitTests_geo_suite - Runner . obj : UnitTests / Cambridge / Runner . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_CXX ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( UnitTests_geo_suite_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - MT UnitTests / Cambridge / UnitTests_geo_suite - Runner . obj - MD - MP - MF UnitTests / Cambridge / $ ( DEPDIR ) / UnitTests_geo_suite - Runner . Tpo - c - o UnitTests / Cambridge / UnitTests_geo_suite - Runner . obj ` if test - f ' UnitTests / Cambridge / Runner . cpp ' ; then $ ( CYGPATH_W ) ' UnitTests / Cambridge / Runner . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / UnitTests / Cambridge / Runner . cpp ' ; fi ` <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_at ) $ ( am__mv ) UnitTests / Cambridge / $ ( DEPDIR ) / UnitTests_geo_suite - Runner . Tpo UnitTests / Cambridge / $ ( DEPDIR ) / UnitTests_geo_suite - Runner . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) source = ' UnitTests / Cambridge / Runner . cpp ' object = ' UnitTests / Cambridge / UnitTests_geo_suite - Runner . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ source = ' UnitTests / Cambridge / Runner . cpp ' object = ' UnitTests / Cambridge / UnitTests_geo_suite - Runner . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CXXDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX @ am__nodep @ ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( UnitTests_geo_suite_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o UnitTests / Cambridge / UnitTests_geo_suite - Runner . obj ` if test - f ' UnitTests / Cambridge / Runner . cpp ' ; then $ ( CYGPATH_W ) ' UnitTests / Cambridge / Runner . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / UnitTests / Cambridge / Runner . cpp ' ; fi ` <nl> + @ am__fastdepCXX_FALSE @ $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( UnitTests_geo_suite_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o UnitTests / Cambridge / UnitTests_geo_suite - Runner . obj ` if test - f ' UnitTests / Cambridge / Runner . cpp ' ; then $ ( CYGPATH_W ) ' UnitTests / Cambridge / Runner . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / UnitTests / Cambridge / Runner . cpp ' ; fi ` <nl> <nl> UnitTests / Cambridge / UnitTests_geo_suite - georeg . o : UnitTests / Cambridge / georeg . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_CXX ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( UnitTests_geo_suite_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - MT UnitTests / Cambridge / UnitTests_geo_suite - georeg . o - MD - MP - MF UnitTests / Cambridge / $ ( DEPDIR ) / UnitTests_geo_suite - georeg . Tpo - c - o UnitTests / Cambridge / UnitTests_geo_suite - georeg . o ` test - f ' UnitTests / Cambridge / georeg . cpp ' | | echo ' $ ( srcdir ) / ' ` UnitTests / Cambridge / georeg . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_at ) $ ( am__mv ) UnitTests / Cambridge / $ ( DEPDIR ) / UnitTests_geo_suite - georeg . Tpo UnitTests / Cambridge / $ ( DEPDIR ) / UnitTests_geo_suite - georeg . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) source = ' UnitTests / Cambridge / georeg . cpp ' object = ' UnitTests / Cambridge / UnitTests_geo_suite - georeg . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ source = ' UnitTests / Cambridge / georeg . cpp ' object = ' UnitTests / Cambridge / UnitTests_geo_suite - georeg . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CXXDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX @ am__nodep @ ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( UnitTests_geo_suite_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o UnitTests / Cambridge / UnitTests_geo_suite - georeg . o ` test - f ' UnitTests / Cambridge / georeg . cpp ' | | echo ' $ ( srcdir ) / ' ` UnitTests / Cambridge / georeg . cpp <nl> + @ am__fastdepCXX_FALSE @ $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( UnitTests_geo_suite_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o UnitTests / Cambridge / UnitTests_geo_suite - georeg . o ` test - f ' UnitTests / Cambridge / georeg . cpp ' | | echo ' $ ( srcdir ) / ' ` UnitTests / Cambridge / georeg . cpp <nl> <nl> UnitTests / Cambridge / UnitTests_geo_suite - georeg . obj : UnitTests / Cambridge / georeg . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_CXX ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( UnitTests_geo_suite_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - MT UnitTests / Cambridge / UnitTests_geo_suite - georeg . obj - MD - MP - MF UnitTests / Cambridge / $ ( DEPDIR ) / UnitTests_geo_suite - georeg . Tpo - c - o UnitTests / Cambridge / UnitTests_geo_suite - georeg . obj ` if test - f ' UnitTests / Cambridge / georeg . cpp ' ; then $ ( CYGPATH_W ) ' UnitTests / Cambridge / georeg . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / UnitTests / Cambridge / georeg . cpp ' ; fi ` <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_at ) $ ( am__mv ) UnitTests / Cambridge / $ ( DEPDIR ) / UnitTests_geo_suite - georeg . Tpo UnitTests / Cambridge / $ ( DEPDIR ) / UnitTests_geo_suite - georeg . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) source = ' UnitTests / Cambridge / georeg . cpp ' object = ' UnitTests / Cambridge / UnitTests_geo_suite - georeg . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ source = ' UnitTests / Cambridge / georeg . cpp ' object = ' UnitTests / Cambridge / UnitTests_geo_suite - georeg . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CXXDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX @ am__nodep @ ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( UnitTests_geo_suite_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o UnitTests / Cambridge / UnitTests_geo_suite - georeg . obj ` if test - f ' UnitTests / Cambridge / georeg . cpp ' ; then $ ( CYGPATH_W ) ' UnitTests / Cambridge / georeg . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / UnitTests / Cambridge / georeg . cpp ' ; fi ` <nl> + @ am__fastdepCXX_FALSE @ $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( UnitTests_geo_suite_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o UnitTests / Cambridge / UnitTests_geo_suite - georeg . obj ` if test - f ' UnitTests / Cambridge / georeg . cpp ' ; then $ ( CYGPATH_W ) ' UnitTests / Cambridge / georeg . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / UnitTests / Cambridge / georeg . cpp ' ; fi ` <nl> <nl> arangosh / ArangoShell / bin_arangob - ArangoClient . o : arangosh / ArangoShell / ArangoClient . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_CXX ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangob_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - MT arangosh / ArangoShell / bin_arangob - ArangoClient . o - MD - MP - MF arangosh / ArangoShell / $ ( DEPDIR ) / bin_arangob - ArangoClient . Tpo - c - o arangosh / ArangoShell / bin_arangob - ArangoClient . o ` test - f ' arangosh / ArangoShell / ArangoClient . cpp ' | | echo ' $ ( srcdir ) / ' ` arangosh / ArangoShell / ArangoClient . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangosh / ArangoShell / $ ( DEPDIR ) / bin_arangob - ArangoClient . Tpo arangosh / ArangoShell / $ ( DEPDIR ) / bin_arangob - ArangoClient . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) source = ' arangosh / ArangoShell / ArangoClient . cpp ' object = ' arangosh / ArangoShell / bin_arangob - ArangoClient . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ source = ' arangosh / ArangoShell / ArangoClient . cpp ' object = ' arangosh / ArangoShell / bin_arangob - ArangoClient . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CXXDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX @ am__nodep @ ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangob_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangosh / ArangoShell / bin_arangob - ArangoClient . o ` test - f ' arangosh / ArangoShell / ArangoClient . cpp ' | | echo ' $ ( srcdir ) / ' ` arangosh / ArangoShell / ArangoClient . cpp <nl> + @ am__fastdepCXX_FALSE @ $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangob_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangosh / ArangoShell / bin_arangob - ArangoClient . o ` test - f ' arangosh / ArangoShell / ArangoClient . cpp ' | | echo ' $ ( srcdir ) / ' ` arangosh / ArangoShell / ArangoClient . cpp <nl> <nl> arangosh / ArangoShell / bin_arangob - ArangoClient . obj : arangosh / ArangoShell / ArangoClient . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_CXX ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangob_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - MT arangosh / ArangoShell / bin_arangob - ArangoClient . obj - MD - MP - MF arangosh / ArangoShell / $ ( DEPDIR ) / bin_arangob - ArangoClient . Tpo - c - o arangosh / ArangoShell / bin_arangob - ArangoClient . obj ` if test - f ' arangosh / ArangoShell / ArangoClient . cpp ' ; then $ ( CYGPATH_W ) ' arangosh / ArangoShell / ArangoClient . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangosh / ArangoShell / ArangoClient . cpp ' ; fi ` <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangosh / ArangoShell / $ ( DEPDIR ) / bin_arangob - ArangoClient . Tpo arangosh / ArangoShell / $ ( DEPDIR ) / bin_arangob - ArangoClient . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) source = ' arangosh / ArangoShell / ArangoClient . cpp ' object = ' arangosh / ArangoShell / bin_arangob - ArangoClient . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ source = ' arangosh / ArangoShell / ArangoClient . cpp ' object = ' arangosh / ArangoShell / bin_arangob - ArangoClient . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CXXDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX @ am__nodep @ ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangob_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangosh / ArangoShell / bin_arangob - ArangoClient . obj ` if test - f ' arangosh / ArangoShell / ArangoClient . cpp ' ; then $ ( CYGPATH_W ) ' arangosh / ArangoShell / ArangoClient . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangosh / ArangoShell / ArangoClient . cpp ' ; fi ` <nl> + @ am__fastdepCXX_FALSE @ $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangob_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangosh / ArangoShell / bin_arangob - ArangoClient . obj ` if test - f ' arangosh / ArangoShell / ArangoClient . cpp ' ; then $ ( CYGPATH_W ) ' arangosh / ArangoShell / ArangoClient . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangosh / ArangoShell / ArangoClient . cpp ' ; fi ` <nl> <nl> arangosh / Benchmark / bin_arangob - arangob . o : arangosh / Benchmark / arangob . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_CXX ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangob_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - MT arangosh / Benchmark / bin_arangob - arangob . o - MD - MP - MF arangosh / Benchmark / $ ( DEPDIR ) / bin_arangob - arangob . Tpo - c - o arangosh / Benchmark / bin_arangob - arangob . o ` test - f ' arangosh / Benchmark / arangob . cpp ' | | echo ' $ ( srcdir ) / ' ` arangosh / Benchmark / arangob . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangosh / Benchmark / $ ( DEPDIR ) / bin_arangob - arangob . Tpo arangosh / Benchmark / $ ( DEPDIR ) / bin_arangob - arangob . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) source = ' arangosh / Benchmark / arangob . cpp ' object = ' arangosh / Benchmark / bin_arangob - arangob . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ source = ' arangosh / Benchmark / arangob . cpp ' object = ' arangosh / Benchmark / bin_arangob - arangob . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CXXDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX @ am__nodep @ ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangob_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangosh / Benchmark / bin_arangob - arangob . o ` test - f ' arangosh / Benchmark / arangob . cpp ' | | echo ' $ ( srcdir ) / ' ` arangosh / Benchmark / arangob . cpp <nl> + @ am__fastdepCXX_FALSE @ $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangob_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangosh / Benchmark / bin_arangob - arangob . o ` test - f ' arangosh / Benchmark / arangob . cpp ' | | echo ' $ ( srcdir ) / ' ` arangosh / Benchmark / arangob . cpp <nl> <nl> arangosh / Benchmark / bin_arangob - arangob . obj : arangosh / Benchmark / arangob . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_CXX ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangob_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - MT arangosh / Benchmark / bin_arangob - arangob . obj - MD - MP - MF arangosh / Benchmark / $ ( DEPDIR ) / bin_arangob - arangob . Tpo - c - o arangosh / Benchmark / bin_arangob - arangob . obj ` if test - f ' arangosh / Benchmark / arangob . cpp ' ; then $ ( CYGPATH_W ) ' arangosh / Benchmark / arangob . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangosh / Benchmark / arangob . cpp ' ; fi ` <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangosh / Benchmark / $ ( DEPDIR ) / bin_arangob - arangob . Tpo arangosh / Benchmark / $ ( DEPDIR ) / bin_arangob - arangob . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) source = ' arangosh / Benchmark / arangob . cpp ' object = ' arangosh / Benchmark / bin_arangob - arangob . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ source = ' arangosh / Benchmark / arangob . cpp ' object = ' arangosh / Benchmark / bin_arangob - arangob . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CXXDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX @ am__nodep @ ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangob_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangosh / Benchmark / bin_arangob - arangob . obj ` if test - f ' arangosh / Benchmark / arangob . cpp ' ; then $ ( CYGPATH_W ) ' arangosh / Benchmark / arangob . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangosh / Benchmark / arangob . cpp ' ; fi ` <nl> + @ am__fastdepCXX_FALSE @ $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangob_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangosh / Benchmark / bin_arangob - arangob . obj ` if test - f ' arangosh / Benchmark / arangob . cpp ' ; then $ ( CYGPATH_W ) ' arangosh / Benchmark / arangob . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangosh / Benchmark / arangob . cpp ' ; fi ` <nl> <nl> arangod / Actions / bin_arangod - actions . o : arangod / Actions / actions . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_CXX ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - MT arangod / Actions / bin_arangod - actions . o - MD - MP - MF arangod / Actions / $ ( DEPDIR ) / bin_arangod - actions . Tpo - c - o arangod / Actions / bin_arangod - actions . o ` test - f ' arangod / Actions / actions . cpp ' | | echo ' $ ( srcdir ) / ' ` arangod / Actions / actions . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / Actions / $ ( DEPDIR ) / bin_arangod - actions . Tpo arangod / Actions / $ ( DEPDIR ) / bin_arangod - actions . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) source = ' arangod / Actions / actions . cpp ' object = ' arangod / Actions / bin_arangod - actions . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ source = ' arangod / Actions / actions . cpp ' object = ' arangod / Actions / bin_arangod - actions . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CXXDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX @ am__nodep @ ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / Actions / bin_arangod - actions . o ` test - f ' arangod / Actions / actions . cpp ' | | echo ' $ ( srcdir ) / ' ` arangod / Actions / actions . cpp <nl> + @ am__fastdepCXX_FALSE @ $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / Actions / bin_arangod - actions . o ` test - f ' arangod / Actions / actions . cpp ' | | echo ' $ ( srcdir ) / ' ` arangod / Actions / actions . cpp <nl> <nl> arangod / Actions / bin_arangod - actions . obj : arangod / Actions / actions . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_CXX ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - MT arangod / Actions / bin_arangod - actions . obj - MD - MP - MF arangod / Actions / $ ( DEPDIR ) / bin_arangod - actions . Tpo - c - o arangod / Actions / bin_arangod - actions . obj ` if test - f ' arangod / Actions / actions . cpp ' ; then $ ( CYGPATH_W ) ' arangod / Actions / actions . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / Actions / actions . cpp ' ; fi ` <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / Actions / $ ( DEPDIR ) / bin_arangod - actions . Tpo arangod / Actions / $ ( DEPDIR ) / bin_arangod - actions . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) source = ' arangod / Actions / actions . cpp ' object = ' arangod / Actions / bin_arangod - actions . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ source = ' arangod / Actions / actions . cpp ' object = ' arangod / Actions / bin_arangod - actions . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CXXDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX @ am__nodep @ ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / Actions / bin_arangod - actions . obj ` if test - f ' arangod / Actions / actions . cpp ' ; then $ ( CYGPATH_W ) ' arangod / Actions / actions . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / Actions / actions . cpp ' ; fi ` <nl> + @ am__fastdepCXX_FALSE @ $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / Actions / bin_arangod - actions . obj ` if test - f ' arangod / Actions / actions . cpp ' ; then $ ( CYGPATH_W ) ' arangod / Actions / actions . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / Actions / actions . cpp ' ; fi ` <nl> <nl> arangod / Actions / bin_arangod - RestActionHandler . o : arangod / Actions / RestActionHandler . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_CXX ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - MT arangod / Actions / bin_arangod - RestActionHandler . o - MD - MP - MF arangod / Actions / $ ( DEPDIR ) / bin_arangod - RestActionHandler . Tpo - c - o arangod / Actions / bin_arangod - RestActionHandler . o ` test - f ' arangod / Actions / RestActionHandler . cpp ' | | echo ' $ ( srcdir ) / ' ` arangod / Actions / RestActionHandler . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / Actions / $ ( DEPDIR ) / bin_arangod - RestActionHandler . Tpo arangod / Actions / $ ( DEPDIR ) / bin_arangod - RestActionHandler . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) source = ' arangod / Actions / RestActionHandler . cpp ' object = ' arangod / Actions / bin_arangod - RestActionHandler . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ source = ' arangod / Actions / RestActionHandler . cpp ' object = ' arangod / Actions / bin_arangod - RestActionHandler . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CXXDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX @ am__nodep @ ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / Actions / bin_arangod - RestActionHandler . o ` test - f ' arangod / Actions / RestActionHandler . cpp ' | | echo ' $ ( srcdir ) / ' ` arangod / Actions / RestActionHandler . cpp <nl> + @ am__fastdepCXX_FALSE @ $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / Actions / bin_arangod - RestActionHandler . o ` test - f ' arangod / Actions / RestActionHandler . cpp ' | | echo ' $ ( srcdir ) / ' ` arangod / Actions / RestActionHandler . cpp <nl> <nl> arangod / Actions / bin_arangod - RestActionHandler . obj : arangod / Actions / RestActionHandler . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_CXX ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - MT arangod / Actions / bin_arangod - RestActionHandler . obj - MD - MP - MF arangod / Actions / $ ( DEPDIR ) / bin_arangod - RestActionHandler . Tpo - c - o arangod / Actions / bin_arangod - RestActionHandler . obj ` if test - f ' arangod / Actions / RestActionHandler . cpp ' ; then $ ( CYGPATH_W ) ' arangod / Actions / RestActionHandler . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / Actions / RestActionHandler . cpp ' ; fi ` <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / Actions / $ ( DEPDIR ) / bin_arangod - RestActionHandler . Tpo arangod / Actions / $ ( DEPDIR ) / bin_arangod - RestActionHandler . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) source = ' arangod / Actions / RestActionHandler . cpp ' object = ' arangod / Actions / bin_arangod - RestActionHandler . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ source = ' arangod / Actions / RestActionHandler . cpp ' object = ' arangod / Actions / bin_arangod - RestActionHandler . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CXXDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX @ am__nodep @ ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / Actions / bin_arangod - RestActionHandler . obj ` if test - f ' arangod / Actions / RestActionHandler . cpp ' ; then $ ( CYGPATH_W ) ' arangod / Actions / RestActionHandler . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / Actions / RestActionHandler . cpp ' ; fi ` <nl> + @ am__fastdepCXX_FALSE @ $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / Actions / bin_arangod - RestActionHandler . obj ` if test - f ' arangod / Actions / RestActionHandler . cpp ' ; then $ ( CYGPATH_W ) ' arangod / Actions / RestActionHandler . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / Actions / RestActionHandler . cpp ' ; fi ` <nl> <nl> arangod / RestHandler / bin_arangod - StatisticsBaseHandler . o : arangod / RestHandler / StatisticsBaseHandler . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_CXX ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - MT arangod / RestHandler / bin_arangod - StatisticsBaseHandler . o - MD - MP - MF arangod / RestHandler / $ ( DEPDIR ) / bin_arangod - StatisticsBaseHandler . Tpo - c - o arangod / RestHandler / bin_arangod - StatisticsBaseHandler . o ` test - f ' arangod / RestHandler / StatisticsBaseHandler . cpp ' | | echo ' $ ( srcdir ) / ' ` arangod / RestHandler / StatisticsBaseHandler . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / RestHandler / $ ( DEPDIR ) / bin_arangod - StatisticsBaseHandler . Tpo arangod / RestHandler / $ ( DEPDIR ) / bin_arangod - StatisticsBaseHandler . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) source = ' arangod / RestHandler / StatisticsBaseHandler . cpp ' object = ' arangod / RestHandler / bin_arangod - StatisticsBaseHandler . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ source = ' arangod / RestHandler / StatisticsBaseHandler . cpp ' object = ' arangod / RestHandler / bin_arangod - StatisticsBaseHandler . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CXXDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX @ am__nodep @ ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / RestHandler / bin_arangod - StatisticsBaseHandler . o ` test - f ' arangod / RestHandler / StatisticsBaseHandler . cpp ' | | echo ' $ ( srcdir ) / ' ` arangod / RestHandler / StatisticsBaseHandler . cpp <nl> + @ am__fastdepCXX_FALSE @ $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / RestHandler / bin_arangod - StatisticsBaseHandler . o ` test - f ' arangod / RestHandler / StatisticsBaseHandler . cpp ' | | echo ' $ ( srcdir ) / ' ` arangod / RestHandler / StatisticsBaseHandler . cpp <nl> <nl> arangod / RestHandler / bin_arangod - StatisticsBaseHandler . obj : arangod / RestHandler / StatisticsBaseHandler . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_CXX ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - MT arangod / RestHandler / bin_arangod - StatisticsBaseHandler . obj - MD - MP - MF arangod / RestHandler / $ ( DEPDIR ) / bin_arangod - StatisticsBaseHandler . Tpo - c - o arangod / RestHandler / bin_arangod - StatisticsBaseHandler . obj ` if test - f ' arangod / RestHandler / StatisticsBaseHandler . cpp ' ; then $ ( CYGPATH_W ) ' arangod / RestHandler / StatisticsBaseHandler . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / RestHandler / StatisticsBaseHandler . cpp ' ; fi ` <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / RestHandler / $ ( DEPDIR ) / bin_arangod - StatisticsBaseHandler . Tpo arangod / RestHandler / $ ( DEPDIR ) / bin_arangod - StatisticsBaseHandler . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) source = ' arangod / RestHandler / StatisticsBaseHandler . cpp ' object = ' arangod / RestHandler / bin_arangod - StatisticsBaseHandler . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ source = ' arangod / RestHandler / StatisticsBaseHandler . cpp ' object = ' arangod / RestHandler / bin_arangod - StatisticsBaseHandler . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CXXDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX @ am__nodep @ ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / RestHandler / bin_arangod - StatisticsBaseHandler . obj ` if test - f ' arangod / RestHandler / StatisticsBaseHandler . cpp ' ; then $ ( CYGPATH_W ) ' arangod / RestHandler / StatisticsBaseHandler . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / RestHandler / StatisticsBaseHandler . cpp ' ; fi ` <nl> + @ am__fastdepCXX_FALSE @ $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / RestHandler / bin_arangod - StatisticsBaseHandler . obj ` if test - f ' arangod / RestHandler / StatisticsBaseHandler . cpp ' ; then $ ( CYGPATH_W ) ' arangod / RestHandler / StatisticsBaseHandler . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / RestHandler / StatisticsBaseHandler . cpp ' ; fi ` <nl> <nl> arangod / RestHandler / bin_arangod - ConnectionStatisticsHandler . o : arangod / RestHandler / ConnectionStatisticsHandler . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_CXX ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - MT arangod / RestHandler / bin_arangod - ConnectionStatisticsHandler . o - MD - MP - MF arangod / RestHandler / $ ( DEPDIR ) / bin_arangod - ConnectionStatisticsHandler . Tpo - c - o arangod / RestHandler / bin_arangod - ConnectionStatisticsHandler . o ` test - f ' arangod / RestHandler / ConnectionStatisticsHandler . cpp ' | | echo ' $ ( srcdir ) / ' ` arangod / RestHandler / ConnectionStatisticsHandler . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / RestHandler / $ ( DEPDIR ) / bin_arangod - ConnectionStatisticsHandler . Tpo arangod / RestHandler / $ ( DEPDIR ) / bin_arangod - ConnectionStatisticsHandler . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) source = ' arangod / RestHandler / ConnectionStatisticsHandler . cpp ' object = ' arangod / RestHandler / bin_arangod - ConnectionStatisticsHandler . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ source = ' arangod / RestHandler / ConnectionStatisticsHandler . cpp ' object = ' arangod / RestHandler / bin_arangod - ConnectionStatisticsHandler . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CXXDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX @ am__nodep @ ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / RestHandler / bin_arangod - ConnectionStatisticsHandler . o ` test - f ' arangod / RestHandler / ConnectionStatisticsHandler . cpp ' | | echo ' $ ( srcdir ) / ' ` arangod / RestHandler / ConnectionStatisticsHandler . cpp <nl> + @ am__fastdepCXX_FALSE @ $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / RestHandler / bin_arangod - ConnectionStatisticsHandler . o ` test - f ' arangod / RestHandler / ConnectionStatisticsHandler . cpp ' | | echo ' $ ( srcdir ) / ' ` arangod / RestHandler / ConnectionStatisticsHandler . cpp <nl> <nl> arangod / RestHandler / bin_arangod - ConnectionStatisticsHandler . obj : arangod / RestHandler / ConnectionStatisticsHandler . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_CXX ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - MT arangod / RestHandler / bin_arangod - ConnectionStatisticsHandler . obj - MD - MP - MF arangod / RestHandler / $ ( DEPDIR ) / bin_arangod - ConnectionStatisticsHandler . Tpo - c - o arangod / RestHandler / bin_arangod - ConnectionStatisticsHandler . obj ` if test - f ' arangod / RestHandler / ConnectionStatisticsHandler . cpp ' ; then $ ( CYGPATH_W ) ' arangod / RestHandler / ConnectionStatisticsHandler . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / RestHandler / ConnectionStatisticsHandler . cpp ' ; fi ` <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / RestHandler / $ ( DEPDIR ) / bin_arangod - ConnectionStatisticsHandler . Tpo arangod / RestHandler / $ ( DEPDIR ) / bin_arangod - ConnectionStatisticsHandler . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) source = ' arangod / RestHandler / ConnectionStatisticsHandler . cpp ' object = ' arangod / RestHandler / bin_arangod - ConnectionStatisticsHandler . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ source = ' arangod / RestHandler / ConnectionStatisticsHandler . cpp ' object = ' arangod / RestHandler / bin_arangod - ConnectionStatisticsHandler . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CXXDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX @ am__nodep @ ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / RestHandler / bin_arangod - ConnectionStatisticsHandler . obj ` if test - f ' arangod / RestHandler / ConnectionStatisticsHandler . cpp ' ; then $ ( CYGPATH_W ) ' arangod / RestHandler / ConnectionStatisticsHandler . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / RestHandler / ConnectionStatisticsHandler . cpp ' ; fi ` <nl> + @ am__fastdepCXX_FALSE @ $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / RestHandler / bin_arangod - ConnectionStatisticsHandler . obj ` if test - f ' arangod / RestHandler / ConnectionStatisticsHandler . cpp ' ; then $ ( CYGPATH_W ) ' arangod / RestHandler / ConnectionStatisticsHandler . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / RestHandler / ConnectionStatisticsHandler . cpp ' ; fi ` <nl> <nl> arangod / RestHandler / bin_arangod - RequestStatisticsHandler . o : arangod / RestHandler / RequestStatisticsHandler . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_CXX ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - MT arangod / RestHandler / bin_arangod - RequestStatisticsHandler . o - MD - MP - MF arangod / RestHandler / $ ( DEPDIR ) / bin_arangod - RequestStatisticsHandler . Tpo - c - o arangod / RestHandler / bin_arangod - RequestStatisticsHandler . o ` test - f ' arangod / RestHandler / RequestStatisticsHandler . cpp ' | | echo ' $ ( srcdir ) / ' ` arangod / RestHandler / RequestStatisticsHandler . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / RestHandler / $ ( DEPDIR ) / bin_arangod - RequestStatisticsHandler . Tpo arangod / RestHandler / $ ( DEPDIR ) / bin_arangod - RequestStatisticsHandler . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) source = ' arangod / RestHandler / RequestStatisticsHandler . cpp ' object = ' arangod / RestHandler / bin_arangod - RequestStatisticsHandler . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ source = ' arangod / RestHandler / RequestStatisticsHandler . cpp ' object = ' arangod / RestHandler / bin_arangod - RequestStatisticsHandler . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CXXDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX @ am__nodep @ ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / RestHandler / bin_arangod - RequestStatisticsHandler . o ` test - f ' arangod / RestHandler / RequestStatisticsHandler . cpp ' | | echo ' $ ( srcdir ) / ' ` arangod / RestHandler / RequestStatisticsHandler . cpp <nl> + @ am__fastdepCXX_FALSE @ $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / RestHandler / bin_arangod - RequestStatisticsHandler . o ` test - f ' arangod / RestHandler / RequestStatisticsHandler . cpp ' | | echo ' $ ( srcdir ) / ' ` arangod / RestHandler / RequestStatisticsHandler . cpp <nl> <nl> arangod / RestHandler / bin_arangod - RequestStatisticsHandler . obj : arangod / RestHandler / RequestStatisticsHandler . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_CXX ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - MT arangod / RestHandler / bin_arangod - RequestStatisticsHandler . obj - MD - MP - MF arangod / RestHandler / $ ( DEPDIR ) / bin_arangod - RequestStatisticsHandler . Tpo - c - o arangod / RestHandler / bin_arangod - RequestStatisticsHandler . obj ` if test - f ' arangod / RestHandler / RequestStatisticsHandler . cpp ' ; then $ ( CYGPATH_W ) ' arangod / RestHandler / RequestStatisticsHandler . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / RestHandler / RequestStatisticsHandler . cpp ' ; fi ` <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / RestHandler / $ ( DEPDIR ) / bin_arangod - RequestStatisticsHandler . Tpo arangod / RestHandler / $ ( DEPDIR ) / bin_arangod - RequestStatisticsHandler . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) source = ' arangod / RestHandler / RequestStatisticsHandler . cpp ' object = ' arangod / RestHandler / bin_arangod - RequestStatisticsHandler . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ source = ' arangod / RestHandler / RequestStatisticsHandler . cpp ' object = ' arangod / RestHandler / bin_arangod - RequestStatisticsHandler . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CXXDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX @ am__nodep @ ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / RestHandler / bin_arangod - RequestStatisticsHandler . obj ` if test - f ' arangod / RestHandler / RequestStatisticsHandler . cpp ' ; then $ ( CYGPATH_W ) ' arangod / RestHandler / RequestStatisticsHandler . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / RestHandler / RequestStatisticsHandler . cpp ' ; fi ` <nl> + @ am__fastdepCXX_FALSE @ $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / RestHandler / bin_arangod - RequestStatisticsHandler . obj ` if test - f ' arangod / RestHandler / RequestStatisticsHandler . cpp ' ; then $ ( CYGPATH_W ) ' arangod / RestHandler / RequestStatisticsHandler . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / RestHandler / RequestStatisticsHandler . cpp ' ; fi ` <nl> <nl> arangod / RestHandler / bin_arangod - RestBatchHandler . o : arangod / RestHandler / RestBatchHandler . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_CXX ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - MT arangod / RestHandler / bin_arangod - RestBatchHandler . o - MD - MP - MF arangod / RestHandler / $ ( DEPDIR ) / bin_arangod - RestBatchHandler . Tpo - c - o arangod / RestHandler / bin_arangod - RestBatchHandler . o ` test - f ' arangod / RestHandler / RestBatchHandler . cpp ' | | echo ' $ ( srcdir ) / ' ` arangod / RestHandler / RestBatchHandler . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / RestHandler / $ ( DEPDIR ) / bin_arangod - RestBatchHandler . Tpo arangod / RestHandler / $ ( DEPDIR ) / bin_arangod - RestBatchHandler . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) source = ' arangod / RestHandler / RestBatchHandler . cpp ' object = ' arangod / RestHandler / bin_arangod - RestBatchHandler . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ source = ' arangod / RestHandler / RestBatchHandler . cpp ' object = ' arangod / RestHandler / bin_arangod - RestBatchHandler . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CXXDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX @ am__nodep @ ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / RestHandler / bin_arangod - RestBatchHandler . o ` test - f ' arangod / RestHandler / RestBatchHandler . cpp ' | | echo ' $ ( srcdir ) / ' ` arangod / RestHandler / RestBatchHandler . cpp <nl> + @ am__fastdepCXX_FALSE @ $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / RestHandler / bin_arangod - RestBatchHandler . o ` test - f ' arangod / RestHandler / RestBatchHandler . cpp ' | | echo ' $ ( srcdir ) / ' ` arangod / RestHandler / RestBatchHandler . cpp <nl> <nl> arangod / RestHandler / bin_arangod - RestBatchHandler . obj : arangod / RestHandler / RestBatchHandler . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_CXX ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - MT arangod / RestHandler / bin_arangod - RestBatchHandler . obj - MD - MP - MF arangod / RestHandler / $ ( DEPDIR ) / bin_arangod - RestBatchHandler . Tpo - c - o arangod / RestHandler / bin_arangod - RestBatchHandler . obj ` if test - f ' arangod / RestHandler / RestBatchHandler . cpp ' ; then $ ( CYGPATH_W ) ' arangod / RestHandler / RestBatchHandler . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / RestHandler / RestBatchHandler . cpp ' ; fi ` <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / RestHandler / $ ( DEPDIR ) / bin_arangod - RestBatchHandler . Tpo arangod / RestHandler / $ ( DEPDIR ) / bin_arangod - RestBatchHandler . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) source = ' arangod / RestHandler / RestBatchHandler . cpp ' object = ' arangod / RestHandler / bin_arangod - RestBatchHandler . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ source = ' arangod / RestHandler / RestBatchHandler . cpp ' object = ' arangod / RestHandler / bin_arangod - RestBatchHandler . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CXXDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX @ am__nodep @ ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / RestHandler / bin_arangod - RestBatchHandler . obj ` if test - f ' arangod / RestHandler / RestBatchHandler . cpp ' ; then $ ( CYGPATH_W ) ' arangod / RestHandler / RestBatchHandler . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / RestHandler / RestBatchHandler . cpp ' ; fi ` <nl> + @ am__fastdepCXX_FALSE @ $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / RestHandler / bin_arangod - RestBatchHandler . obj ` if test - f ' arangod / RestHandler / RestBatchHandler . cpp ' ; then $ ( CYGPATH_W ) ' arangod / RestHandler / RestBatchHandler . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / RestHandler / RestBatchHandler . cpp ' ; fi ` <nl> <nl> arangod / RestHandler / bin_arangod - RestDocumentHandler . o : arangod / RestHandler / RestDocumentHandler . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_CXX ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - MT arangod / RestHandler / bin_arangod - RestDocumentHandler . o - MD - MP - MF arangod / RestHandler / $ ( DEPDIR ) / bin_arangod - RestDocumentHandler . Tpo - c - o arangod / RestHandler / bin_arangod - RestDocumentHandler . o ` test - f ' arangod / RestHandler / RestDocumentHandler . cpp ' | | echo ' $ ( srcdir ) / ' ` arangod / RestHandler / RestDocumentHandler . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / RestHandler / $ ( DEPDIR ) / bin_arangod - RestDocumentHandler . Tpo arangod / RestHandler / $ ( DEPDIR ) / bin_arangod - RestDocumentHandler . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) source = ' arangod / RestHandler / RestDocumentHandler . cpp ' object = ' arangod / RestHandler / bin_arangod - RestDocumentHandler . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ source = ' arangod / RestHandler / RestDocumentHandler . cpp ' object = ' arangod / RestHandler / bin_arangod - RestDocumentHandler . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CXXDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX @ am__nodep @ ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / RestHandler / bin_arangod - RestDocumentHandler . o ` test - f ' arangod / RestHandler / RestDocumentHandler . cpp ' | | echo ' $ ( srcdir ) / ' ` arangod / RestHandler / RestDocumentHandler . cpp <nl> + @ am__fastdepCXX_FALSE @ $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / RestHandler / bin_arangod - RestDocumentHandler . o ` test - f ' arangod / RestHandler / RestDocumentHandler . cpp ' | | echo ' $ ( srcdir ) / ' ` arangod / RestHandler / RestDocumentHandler . cpp <nl> <nl> arangod / RestHandler / bin_arangod - RestDocumentHandler . obj : arangod / RestHandler / RestDocumentHandler . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_CXX ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - MT arangod / RestHandler / bin_arangod - RestDocumentHandler . obj - MD - MP - MF arangod / RestHandler / $ ( DEPDIR ) / bin_arangod - RestDocumentHandler . Tpo - c - o arangod / RestHandler / bin_arangod - RestDocumentHandler . obj ` if test - f ' arangod / RestHandler / RestDocumentHandler . cpp ' ; then $ ( CYGPATH_W ) ' arangod / RestHandler / RestDocumentHandler . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / RestHandler / RestDocumentHandler . cpp ' ; fi ` <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / RestHandler / $ ( DEPDIR ) / bin_arangod - RestDocumentHandler . Tpo arangod / RestHandler / $ ( DEPDIR ) / bin_arangod - RestDocumentHandler . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) source = ' arangod / RestHandler / RestDocumentHandler . cpp ' object = ' arangod / RestHandler / bin_arangod - RestDocumentHandler . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ source = ' arangod / RestHandler / RestDocumentHandler . cpp ' object = ' arangod / RestHandler / bin_arangod - RestDocumentHandler . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CXXDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX @ am__nodep @ ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / RestHandler / bin_arangod - RestDocumentHandler . obj ` if test - f ' arangod / RestHandler / RestDocumentHandler . cpp ' ; then $ ( CYGPATH_W ) ' arangod / RestHandler / RestDocumentHandler . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / RestHandler / RestDocumentHandler . cpp ' ; fi ` <nl> + @ am__fastdepCXX_FALSE @ $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / RestHandler / bin_arangod - RestDocumentHandler . obj ` if test - f ' arangod / RestHandler / RestDocumentHandler . cpp ' ; then $ ( CYGPATH_W ) ' arangod / RestHandler / RestDocumentHandler . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / RestHandler / RestDocumentHandler . cpp ' ; fi ` <nl> <nl> arangod / RestHandler / bin_arangod - RestEdgeHandler . o : arangod / RestHandler / RestEdgeHandler . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_CXX ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - MT arangod / RestHandler / bin_arangod - RestEdgeHandler . o - MD - MP - MF arangod / RestHandler / $ ( DEPDIR ) / bin_arangod - RestEdgeHandler . Tpo - c - o arangod / RestHandler / bin_arangod - RestEdgeHandler . o ` test - f ' arangod / RestHandler / RestEdgeHandler . cpp ' | | echo ' $ ( srcdir ) / ' ` arangod / RestHandler / RestEdgeHandler . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / RestHandler / $ ( DEPDIR ) / bin_arangod - RestEdgeHandler . Tpo arangod / RestHandler / $ ( DEPDIR ) / bin_arangod - RestEdgeHandler . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) source = ' arangod / RestHandler / RestEdgeHandler . cpp ' object = ' arangod / RestHandler / bin_arangod - RestEdgeHandler . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ source = ' arangod / RestHandler / RestEdgeHandler . cpp ' object = ' arangod / RestHandler / bin_arangod - RestEdgeHandler . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CXXDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX @ am__nodep @ ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / RestHandler / bin_arangod - RestEdgeHandler . o ` test - f ' arangod / RestHandler / RestEdgeHandler . cpp ' | | echo ' $ ( srcdir ) / ' ` arangod / RestHandler / RestEdgeHandler . cpp <nl> + @ am__fastdepCXX_FALSE @ $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / RestHandler / bin_arangod - RestEdgeHandler . o ` test - f ' arangod / RestHandler / RestEdgeHandler . cpp ' | | echo ' $ ( srcdir ) / ' ` arangod / RestHandler / RestEdgeHandler . cpp <nl> <nl> arangod / RestHandler / bin_arangod - RestEdgeHandler . obj : arangod / RestHandler / RestEdgeHandler . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_CXX ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - MT arangod / RestHandler / bin_arangod - RestEdgeHandler . obj - MD - MP - MF arangod / RestHandler / $ ( DEPDIR ) / bin_arangod - RestEdgeHandler . Tpo - c - o arangod / RestHandler / bin_arangod - RestEdgeHandler . obj ` if test - f ' arangod / RestHandler / RestEdgeHandler . cpp ' ; then $ ( CYGPATH_W ) ' arangod / RestHandler / RestEdgeHandler . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / RestHandler / RestEdgeHandler . cpp ' ; fi ` <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / RestHandler / $ ( DEPDIR ) / bin_arangod - RestEdgeHandler . Tpo arangod / RestHandler / $ ( DEPDIR ) / bin_arangod - RestEdgeHandler . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) source = ' arangod / RestHandler / RestEdgeHandler . cpp ' object = ' arangod / RestHandler / bin_arangod - RestEdgeHandler . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ source = ' arangod / RestHandler / RestEdgeHandler . cpp ' object = ' arangod / RestHandler / bin_arangod - RestEdgeHandler . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CXXDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX @ am__nodep @ ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / RestHandler / bin_arangod - RestEdgeHandler . obj ` if test - f ' arangod / RestHandler / RestEdgeHandler . cpp ' ; then $ ( CYGPATH_W ) ' arangod / RestHandler / RestEdgeHandler . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / RestHandler / RestEdgeHandler . cpp ' ; fi ` <nl> + @ am__fastdepCXX_FALSE @ $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / RestHandler / bin_arangod - RestEdgeHandler . obj ` if test - f ' arangod / RestHandler / RestEdgeHandler . cpp ' ; then $ ( CYGPATH_W ) ' arangod / RestHandler / RestEdgeHandler . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / RestHandler / RestEdgeHandler . cpp ' ; fi ` <nl> <nl> arangod / RestHandler / bin_arangod - RestImportHandler . o : arangod / RestHandler / RestImportHandler . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_CXX ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - MT arangod / RestHandler / bin_arangod - RestImportHandler . o - MD - MP - MF arangod / RestHandler / $ ( DEPDIR ) / bin_arangod - RestImportHandler . Tpo - c - o arangod / RestHandler / bin_arangod - RestImportHandler . o ` test - f ' arangod / RestHandler / RestImportHandler . cpp ' | | echo ' $ ( srcdir ) / ' ` arangod / RestHandler / RestImportHandler . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / RestHandler / $ ( DEPDIR ) / bin_arangod - RestImportHandler . Tpo arangod / RestHandler / $ ( DEPDIR ) / bin_arangod - RestImportHandler . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) source = ' arangod / RestHandler / RestImportHandler . cpp ' object = ' arangod / RestHandler / bin_arangod - RestImportHandler . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ source = ' arangod / RestHandler / RestImportHandler . cpp ' object = ' arangod / RestHandler / bin_arangod - RestImportHandler . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CXXDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX @ am__nodep @ ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / RestHandler / bin_arangod - RestImportHandler . o ` test - f ' arangod / RestHandler / RestImportHandler . cpp ' | | echo ' $ ( srcdir ) / ' ` arangod / RestHandler / RestImportHandler . cpp <nl> + @ am__fastdepCXX_FALSE @ $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / RestHandler / bin_arangod - RestImportHandler . o ` test - f ' arangod / RestHandler / RestImportHandler . cpp ' | | echo ' $ ( srcdir ) / ' ` arangod / RestHandler / RestImportHandler . cpp <nl> <nl> arangod / RestHandler / bin_arangod - RestImportHandler . obj : arangod / RestHandler / RestImportHandler . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_CXX ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - MT arangod / RestHandler / bin_arangod - RestImportHandler . obj - MD - MP - MF arangod / RestHandler / $ ( DEPDIR ) / bin_arangod - RestImportHandler . Tpo - c - o arangod / RestHandler / bin_arangod - RestImportHandler . obj ` if test - f ' arangod / RestHandler / RestImportHandler . cpp ' ; then $ ( CYGPATH_W ) ' arangod / RestHandler / RestImportHandler . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / RestHandler / RestImportHandler . cpp ' ; fi ` <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / RestHandler / $ ( DEPDIR ) / bin_arangod - RestImportHandler . Tpo arangod / RestHandler / $ ( DEPDIR ) / bin_arangod - RestImportHandler . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) source = ' arangod / RestHandler / RestImportHandler . cpp ' object = ' arangod / RestHandler / bin_arangod - RestImportHandler . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ source = ' arangod / RestHandler / RestImportHandler . cpp ' object = ' arangod / RestHandler / bin_arangod - RestImportHandler . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CXXDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX @ am__nodep @ ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / RestHandler / bin_arangod - RestImportHandler . obj ` if test - f ' arangod / RestHandler / RestImportHandler . cpp ' ; then $ ( CYGPATH_W ) ' arangod / RestHandler / RestImportHandler . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / RestHandler / RestImportHandler . cpp ' ; fi ` <nl> + @ am__fastdepCXX_FALSE @ $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / RestHandler / bin_arangod - RestImportHandler . obj ` if test - f ' arangod / RestHandler / RestImportHandler . cpp ' ; then $ ( CYGPATH_W ) ' arangod / RestHandler / RestImportHandler . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / RestHandler / RestImportHandler . cpp ' ; fi ` <nl> <nl> arangod / RestHandler / bin_arangod - RestVocbaseBaseHandler . o : arangod / RestHandler / RestVocbaseBaseHandler . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_CXX ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - MT arangod / RestHandler / bin_arangod - RestVocbaseBaseHandler . o - MD - MP - MF arangod / RestHandler / $ ( DEPDIR ) / bin_arangod - RestVocbaseBaseHandler . Tpo - c - o arangod / RestHandler / bin_arangod - RestVocbaseBaseHandler . o ` test - f ' arangod / RestHandler / RestVocbaseBaseHandler . cpp ' | | echo ' $ ( srcdir ) / ' ` arangod / RestHandler / RestVocbaseBaseHandler . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / RestHandler / $ ( DEPDIR ) / bin_arangod - RestVocbaseBaseHandler . Tpo arangod / RestHandler / $ ( DEPDIR ) / bin_arangod - RestVocbaseBaseHandler . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) source = ' arangod / RestHandler / RestVocbaseBaseHandler . cpp ' object = ' arangod / RestHandler / bin_arangod - RestVocbaseBaseHandler . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ source = ' arangod / RestHandler / RestVocbaseBaseHandler . cpp ' object = ' arangod / RestHandler / bin_arangod - RestVocbaseBaseHandler . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CXXDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX @ am__nodep @ ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / RestHandler / bin_arangod - RestVocbaseBaseHandler . o ` test - f ' arangod / RestHandler / RestVocbaseBaseHandler . cpp ' | | echo ' $ ( srcdir ) / ' ` arangod / RestHandler / RestVocbaseBaseHandler . cpp <nl> + @ am__fastdepCXX_FALSE @ $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / RestHandler / bin_arangod - RestVocbaseBaseHandler . o ` test - f ' arangod / RestHandler / RestVocbaseBaseHandler . cpp ' | | echo ' $ ( srcdir ) / ' ` arangod / RestHandler / RestVocbaseBaseHandler . cpp <nl> <nl> arangod / RestHandler / bin_arangod - RestVocbaseBaseHandler . obj : arangod / RestHandler / RestVocbaseBaseHandler . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_CXX ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - MT arangod / RestHandler / bin_arangod - RestVocbaseBaseHandler . obj - MD - MP - MF arangod / RestHandler / $ ( DEPDIR ) / bin_arangod - RestVocbaseBaseHandler . Tpo - c - o arangod / RestHandler / bin_arangod - RestVocbaseBaseHandler . obj ` if test - f ' arangod / RestHandler / RestVocbaseBaseHandler . cpp ' ; then $ ( CYGPATH_W ) ' arangod / RestHandler / RestVocbaseBaseHandler . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / RestHandler / RestVocbaseBaseHandler . cpp ' ; fi ` <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / RestHandler / $ ( DEPDIR ) / bin_arangod - RestVocbaseBaseHandler . Tpo arangod / RestHandler / $ ( DEPDIR ) / bin_arangod - RestVocbaseBaseHandler . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) source = ' arangod / RestHandler / RestVocbaseBaseHandler . cpp ' object = ' arangod / RestHandler / bin_arangod - RestVocbaseBaseHandler . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ source = ' arangod / RestHandler / RestVocbaseBaseHandler . cpp ' object = ' arangod / RestHandler / bin_arangod - RestVocbaseBaseHandler . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CXXDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX @ am__nodep @ ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / RestHandler / bin_arangod - RestVocbaseBaseHandler . obj ` if test - f ' arangod / RestHandler / RestVocbaseBaseHandler . cpp ' ; then $ ( CYGPATH_W ) ' arangod / RestHandler / RestVocbaseBaseHandler . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / RestHandler / RestVocbaseBaseHandler . cpp ' ; fi ` <nl> + @ am__fastdepCXX_FALSE @ $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / RestHandler / bin_arangod - RestVocbaseBaseHandler . obj ` if test - f ' arangod / RestHandler / RestVocbaseBaseHandler . cpp ' ; then $ ( CYGPATH_W ) ' arangod / RestHandler / RestVocbaseBaseHandler . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / RestHandler / RestVocbaseBaseHandler . cpp ' ; fi ` <nl> <nl> arangod / RestServer / bin_arangod - ArangoServer . o : arangod / RestServer / ArangoServer . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_CXX ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - MT arangod / RestServer / bin_arangod - ArangoServer . o - MD - MP - MF arangod / RestServer / $ ( DEPDIR ) / bin_arangod - ArangoServer . Tpo - c - o arangod / RestServer / bin_arangod - ArangoServer . o ` test - f ' arangod / RestServer / ArangoServer . cpp ' | | echo ' $ ( srcdir ) / ' ` arangod / RestServer / ArangoServer . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / RestServer / $ ( DEPDIR ) / bin_arangod - ArangoServer . Tpo arangod / RestServer / $ ( DEPDIR ) / bin_arangod - ArangoServer . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) source = ' arangod / RestServer / ArangoServer . cpp ' object = ' arangod / RestServer / bin_arangod - ArangoServer . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ source = ' arangod / RestServer / ArangoServer . cpp ' object = ' arangod / RestServer / bin_arangod - ArangoServer . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CXXDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX @ am__nodep @ ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / RestServer / bin_arangod - ArangoServer . o ` test - f ' arangod / RestServer / ArangoServer . cpp ' | | echo ' $ ( srcdir ) / ' ` arangod / RestServer / ArangoServer . cpp <nl> + @ am__fastdepCXX_FALSE @ $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / RestServer / bin_arangod - ArangoServer . o ` test - f ' arangod / RestServer / ArangoServer . cpp ' | | echo ' $ ( srcdir ) / ' ` arangod / RestServer / ArangoServer . cpp <nl> <nl> arangod / RestServer / bin_arangod - ArangoServer . obj : arangod / RestServer / ArangoServer . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_CXX ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - MT arangod / RestServer / bin_arangod - ArangoServer . obj - MD - MP - MF arangod / RestServer / $ ( DEPDIR ) / bin_arangod - ArangoServer . Tpo - c - o arangod / RestServer / bin_arangod - ArangoServer . obj ` if test - f ' arangod / RestServer / ArangoServer . cpp ' ; then $ ( CYGPATH_W ) ' arangod / RestServer / ArangoServer . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / RestServer / ArangoServer . cpp ' ; fi ` <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / RestServer / $ ( DEPDIR ) / bin_arangod - ArangoServer . Tpo arangod / RestServer / $ ( DEPDIR ) / bin_arangod - ArangoServer . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) source = ' arangod / RestServer / ArangoServer . cpp ' object = ' arangod / RestServer / bin_arangod - ArangoServer . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ source = ' arangod / RestServer / ArangoServer . cpp ' object = ' arangod / RestServer / bin_arangod - ArangoServer . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CXXDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX @ am__nodep @ ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / RestServer / bin_arangod - ArangoServer . obj ` if test - f ' arangod / RestServer / ArangoServer . cpp ' ; then $ ( CYGPATH_W ) ' arangod / RestServer / ArangoServer . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / RestServer / ArangoServer . cpp ' ; fi ` <nl> + @ am__fastdepCXX_FALSE @ $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / RestServer / bin_arangod - ArangoServer . obj ` if test - f ' arangod / RestServer / ArangoServer . cpp ' ; then $ ( CYGPATH_W ) ' arangod / RestServer / ArangoServer . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / RestServer / ArangoServer . cpp ' ; fi ` <nl> <nl> arangod / RestServer / bin_arangod - arango . o : arangod / RestServer / arango . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_CXX ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - MT arangod / RestServer / bin_arangod - arango . o - MD - MP - MF arangod / RestServer / $ ( DEPDIR ) / bin_arangod - arango . Tpo - c - o arangod / RestServer / bin_arangod - arango . o ` test - f ' arangod / RestServer / arango . cpp ' | | echo ' $ ( srcdir ) / ' ` arangod / RestServer / arango . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / RestServer / $ ( DEPDIR ) / bin_arangod - arango . Tpo arangod / RestServer / $ ( DEPDIR ) / bin_arangod - arango . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) source = ' arangod / RestServer / arango . cpp ' object = ' arangod / RestServer / bin_arangod - arango . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ source = ' arangod / RestServer / arango . cpp ' object = ' arangod / RestServer / bin_arangod - arango . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CXXDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX @ am__nodep @ ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / RestServer / bin_arangod - arango . o ` test - f ' arangod / RestServer / arango . cpp ' | | echo ' $ ( srcdir ) / ' ` arangod / RestServer / arango . cpp <nl> + @ am__fastdepCXX_FALSE @ $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / RestServer / bin_arangod - arango . o ` test - f ' arangod / RestServer / arango . cpp ' | | echo ' $ ( srcdir ) / ' ` arangod / RestServer / arango . cpp <nl> <nl> arangod / RestServer / bin_arangod - arango . obj : arangod / RestServer / arango . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_CXX ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - MT arangod / RestServer / bin_arangod - arango . obj - MD - MP - MF arangod / RestServer / $ ( DEPDIR ) / bin_arangod - arango . Tpo - c - o arangod / RestServer / bin_arangod - arango . obj ` if test - f ' arangod / RestServer / arango . cpp ' ; then $ ( CYGPATH_W ) ' arangod / RestServer / arango . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / RestServer / arango . cpp ' ; fi ` <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / RestServer / $ ( DEPDIR ) / bin_arangod - arango . Tpo arangod / RestServer / $ ( DEPDIR ) / bin_arangod - arango . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) source = ' arangod / RestServer / arango . cpp ' object = ' arangod / RestServer / bin_arangod - arango . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ source = ' arangod / RestServer / arango . cpp ' object = ' arangod / RestServer / bin_arangod - arango . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CXXDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX @ am__nodep @ ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / RestServer / bin_arangod - arango . obj ` if test - f ' arangod / RestServer / arango . cpp ' ; then $ ( CYGPATH_W ) ' arangod / RestServer / arango . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / RestServer / arango . cpp ' ; fi ` <nl> + @ am__fastdepCXX_FALSE @ $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / RestServer / bin_arangod - arango . obj ` if test - f ' arangod / RestServer / arango . cpp ' ; then $ ( CYGPATH_W ) ' arangod / RestServer / arango . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / RestServer / arango . cpp ' ; fi ` <nl> <nl> arangod / V8Server / bin_arangod - ApplicationV8 . o : arangod / V8Server / ApplicationV8 . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_CXX ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - MT arangod / V8Server / bin_arangod - ApplicationV8 . o - MD - MP - MF arangod / V8Server / $ ( DEPDIR ) / bin_arangod - ApplicationV8 . Tpo - c - o arangod / V8Server / bin_arangod - ApplicationV8 . o ` test - f ' arangod / V8Server / ApplicationV8 . cpp ' | | echo ' $ ( srcdir ) / ' ` arangod / V8Server / ApplicationV8 . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / V8Server / $ ( DEPDIR ) / bin_arangod - ApplicationV8 . Tpo arangod / V8Server / $ ( DEPDIR ) / bin_arangod - ApplicationV8 . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) source = ' arangod / V8Server / ApplicationV8 . cpp ' object = ' arangod / V8Server / bin_arangod - ApplicationV8 . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ source = ' arangod / V8Server / ApplicationV8 . cpp ' object = ' arangod / V8Server / bin_arangod - ApplicationV8 . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CXXDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX @ am__nodep @ ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / V8Server / bin_arangod - ApplicationV8 . o ` test - f ' arangod / V8Server / ApplicationV8 . cpp ' | | echo ' $ ( srcdir ) / ' ` arangod / V8Server / ApplicationV8 . cpp <nl> + @ am__fastdepCXX_FALSE @ $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / V8Server / bin_arangod - ApplicationV8 . o ` test - f ' arangod / V8Server / ApplicationV8 . cpp ' | | echo ' $ ( srcdir ) / ' ` arangod / V8Server / ApplicationV8 . cpp <nl> <nl> arangod / V8Server / bin_arangod - ApplicationV8 . obj : arangod / V8Server / ApplicationV8 . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_CXX ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - MT arangod / V8Server / bin_arangod - ApplicationV8 . obj - MD - MP - MF arangod / V8Server / $ ( DEPDIR ) / bin_arangod - ApplicationV8 . Tpo - c - o arangod / V8Server / bin_arangod - ApplicationV8 . obj ` if test - f ' arangod / V8Server / ApplicationV8 . cpp ' ; then $ ( CYGPATH_W ) ' arangod / V8Server / ApplicationV8 . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / V8Server / ApplicationV8 . cpp ' ; fi ` <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / V8Server / $ ( DEPDIR ) / bin_arangod - ApplicationV8 . Tpo arangod / V8Server / $ ( DEPDIR ) / bin_arangod - ApplicationV8 . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) source = ' arangod / V8Server / ApplicationV8 . cpp ' object = ' arangod / V8Server / bin_arangod - ApplicationV8 . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ source = ' arangod / V8Server / ApplicationV8 . cpp ' object = ' arangod / V8Server / bin_arangod - ApplicationV8 . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CXXDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX @ am__nodep @ ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / V8Server / bin_arangod - ApplicationV8 . obj ` if test - f ' arangod / V8Server / ApplicationV8 . cpp ' ; then $ ( CYGPATH_W ) ' arangod / V8Server / ApplicationV8 . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / V8Server / ApplicationV8 . cpp ' ; fi ` <nl> + @ am__fastdepCXX_FALSE @ $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / V8Server / bin_arangod - ApplicationV8 . obj ` if test - f ' arangod / V8Server / ApplicationV8 . cpp ' ; then $ ( CYGPATH_W ) ' arangod / V8Server / ApplicationV8 . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / V8Server / ApplicationV8 . cpp ' ; fi ` <nl> <nl> arangod / V8Server / bin_arangod - v8 - actions . o : arangod / V8Server / v8 - actions . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_CXX ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - MT arangod / V8Server / bin_arangod - v8 - actions . o - MD - MP - MF arangod / V8Server / $ ( DEPDIR ) / bin_arangod - v8 - actions . Tpo - c - o arangod / V8Server / bin_arangod - v8 - actions . o ` test - f ' arangod / V8Server / v8 - actions . cpp ' | | echo ' $ ( srcdir ) / ' ` arangod / V8Server / v8 - actions . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / V8Server / $ ( DEPDIR ) / bin_arangod - v8 - actions . Tpo arangod / V8Server / $ ( DEPDIR ) / bin_arangod - v8 - actions . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) source = ' arangod / V8Server / v8 - actions . cpp ' object = ' arangod / V8Server / bin_arangod - v8 - actions . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ source = ' arangod / V8Server / v8 - actions . cpp ' object = ' arangod / V8Server / bin_arangod - v8 - actions . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CXXDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX @ am__nodep @ ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / V8Server / bin_arangod - v8 - actions . o ` test - f ' arangod / V8Server / v8 - actions . cpp ' | | echo ' $ ( srcdir ) / ' ` arangod / V8Server / v8 - actions . cpp <nl> + @ am__fastdepCXX_FALSE @ $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / V8Server / bin_arangod - v8 - actions . o ` test - f ' arangod / V8Server / v8 - actions . cpp ' | | echo ' $ ( srcdir ) / ' ` arangod / V8Server / v8 - actions . cpp <nl> <nl> arangod / V8Server / bin_arangod - v8 - actions . obj : arangod / V8Server / v8 - actions . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_CXX ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - MT arangod / V8Server / bin_arangod - v8 - actions . obj - MD - MP - MF arangod / V8Server / $ ( DEPDIR ) / bin_arangod - v8 - actions . Tpo - c - o arangod / V8Server / bin_arangod - v8 - actions . obj ` if test - f ' arangod / V8Server / v8 - actions . cpp ' ; then $ ( CYGPATH_W ) ' arangod / V8Server / v8 - actions . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / V8Server / v8 - actions . cpp ' ; fi ` <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / V8Server / $ ( DEPDIR ) / bin_arangod - v8 - actions . Tpo arangod / V8Server / $ ( DEPDIR ) / bin_arangod - v8 - actions . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) source = ' arangod / V8Server / v8 - actions . cpp ' object = ' arangod / V8Server / bin_arangod - v8 - actions . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ source = ' arangod / V8Server / v8 - actions . cpp ' object = ' arangod / V8Server / bin_arangod - v8 - actions . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CXXDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX @ am__nodep @ ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / V8Server / bin_arangod - v8 - actions . obj ` if test - f ' arangod / V8Server / v8 - actions . cpp ' ; then $ ( CYGPATH_W ) ' arangod / V8Server / v8 - actions . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / V8Server / v8 - actions . cpp ' ; fi ` <nl> + @ am__fastdepCXX_FALSE @ $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / V8Server / bin_arangod - v8 - actions . obj ` if test - f ' arangod / V8Server / v8 - actions . cpp ' ; then $ ( CYGPATH_W ) ' arangod / V8Server / v8 - actions . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / V8Server / v8 - actions . cpp ' ; fi ` <nl> <nl> arangod / V8Server / bin_arangod - v8 - objects . o : arangod / V8Server / v8 - objects . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_CXX ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - MT arangod / V8Server / bin_arangod - v8 - objects . o - MD - MP - MF arangod / V8Server / $ ( DEPDIR ) / bin_arangod - v8 - objects . Tpo - c - o arangod / V8Server / bin_arangod - v8 - objects . o ` test - f ' arangod / V8Server / v8 - objects . cpp ' | | echo ' $ ( srcdir ) / ' ` arangod / V8Server / v8 - objects . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / V8Server / $ ( DEPDIR ) / bin_arangod - v8 - objects . Tpo arangod / V8Server / $ ( DEPDIR ) / bin_arangod - v8 - objects . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) source = ' arangod / V8Server / v8 - objects . cpp ' object = ' arangod / V8Server / bin_arangod - v8 - objects . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ source = ' arangod / V8Server / v8 - objects . cpp ' object = ' arangod / V8Server / bin_arangod - v8 - objects . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CXXDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX @ am__nodep @ ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / V8Server / bin_arangod - v8 - objects . o ` test - f ' arangod / V8Server / v8 - objects . cpp ' | | echo ' $ ( srcdir ) / ' ` arangod / V8Server / v8 - objects . cpp <nl> + @ am__fastdepCXX_FALSE @ $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / V8Server / bin_arangod - v8 - objects . o ` test - f ' arangod / V8Server / v8 - objects . cpp ' | | echo ' $ ( srcdir ) / ' ` arangod / V8Server / v8 - objects . cpp <nl> <nl> arangod / V8Server / bin_arangod - v8 - objects . obj : arangod / V8Server / v8 - objects . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_CXX ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - MT arangod / V8Server / bin_arangod - v8 - objects . obj - MD - MP - MF arangod / V8Server / $ ( DEPDIR ) / bin_arangod - v8 - objects . Tpo - c - o arangod / V8Server / bin_arangod - v8 - objects . obj ` if test - f ' arangod / V8Server / v8 - objects . cpp ' ; then $ ( CYGPATH_W ) ' arangod / V8Server / v8 - objects . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / V8Server / v8 - objects . cpp ' ; fi ` <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / V8Server / $ ( DEPDIR ) / bin_arangod - v8 - objects . Tpo arangod / V8Server / $ ( DEPDIR ) / bin_arangod - v8 - objects . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) source = ' arangod / V8Server / v8 - objects . cpp ' object = ' arangod / V8Server / bin_arangod - v8 - objects . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ source = ' arangod / V8Server / v8 - objects . cpp ' object = ' arangod / V8Server / bin_arangod - v8 - objects . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CXXDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX @ am__nodep @ ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / V8Server / bin_arangod - v8 - objects . obj ` if test - f ' arangod / V8Server / v8 - objects . cpp ' ; then $ ( CYGPATH_W ) ' arangod / V8Server / v8 - objects . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / V8Server / v8 - objects . cpp ' ; fi ` <nl> + @ am__fastdepCXX_FALSE @ $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / V8Server / bin_arangod - v8 - objects . obj ` if test - f ' arangod / V8Server / v8 - objects . cpp ' ; then $ ( CYGPATH_W ) ' arangod / V8Server / v8 - objects . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / V8Server / v8 - objects . cpp ' ; fi ` <nl> <nl> arangod / V8Server / bin_arangod - v8 - query . o : arangod / V8Server / v8 - query . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_CXX ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - MT arangod / V8Server / bin_arangod - v8 - query . o - MD - MP - MF arangod / V8Server / $ ( DEPDIR ) / bin_arangod - v8 - query . Tpo - c - o arangod / V8Server / bin_arangod - v8 - query . o ` test - f ' arangod / V8Server / v8 - query . cpp ' | | echo ' $ ( srcdir ) / ' ` arangod / V8Server / v8 - query . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / V8Server / $ ( DEPDIR ) / bin_arangod - v8 - query . Tpo arangod / V8Server / $ ( DEPDIR ) / bin_arangod - v8 - query . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) source = ' arangod / V8Server / v8 - query . cpp ' object = ' arangod / V8Server / bin_arangod - v8 - query . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ source = ' arangod / V8Server / v8 - query . cpp ' object = ' arangod / V8Server / bin_arangod - v8 - query . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CXXDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX @ am__nodep @ ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / V8Server / bin_arangod - v8 - query . o ` test - f ' arangod / V8Server / v8 - query . cpp ' | | echo ' $ ( srcdir ) / ' ` arangod / V8Server / v8 - query . cpp <nl> + @ am__fastdepCXX_FALSE @ $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / V8Server / bin_arangod - v8 - query . o ` test - f ' arangod / V8Server / v8 - query . cpp ' | | echo ' $ ( srcdir ) / ' ` arangod / V8Server / v8 - query . cpp <nl> <nl> arangod / V8Server / bin_arangod - v8 - query . obj : arangod / V8Server / v8 - query . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_CXX ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - MT arangod / V8Server / bin_arangod - v8 - query . obj - MD - MP - MF arangod / V8Server / $ ( DEPDIR ) / bin_arangod - v8 - query . Tpo - c - o arangod / V8Server / bin_arangod - v8 - query . obj ` if test - f ' arangod / V8Server / v8 - query . cpp ' ; then $ ( CYGPATH_W ) ' arangod / V8Server / v8 - query . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / V8Server / v8 - query . cpp ' ; fi ` <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / V8Server / $ ( DEPDIR ) / bin_arangod - v8 - query . Tpo arangod / V8Server / $ ( DEPDIR ) / bin_arangod - v8 - query . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) source = ' arangod / V8Server / v8 - query . cpp ' object = ' arangod / V8Server / bin_arangod - v8 - query . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ source = ' arangod / V8Server / v8 - query . cpp ' object = ' arangod / V8Server / bin_arangod - v8 - query . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CXXDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX @ am__nodep @ ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / V8Server / bin_arangod - v8 - query . obj ` if test - f ' arangod / V8Server / v8 - query . cpp ' ; then $ ( CYGPATH_W ) ' arangod / V8Server / v8 - query . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / V8Server / v8 - query . cpp ' ; fi ` <nl> + @ am__fastdepCXX_FALSE @ $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / V8Server / bin_arangod - v8 - query . obj ` if test - f ' arangod / V8Server / v8 - query . cpp ' ; then $ ( CYGPATH_W ) ' arangod / V8Server / v8 - query . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / V8Server / v8 - query . cpp ' ; fi ` <nl> <nl> arangod / V8Server / bin_arangod - v8 - vocbase . o : arangod / V8Server / v8 - vocbase . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_CXX ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - MT arangod / V8Server / bin_arangod - v8 - vocbase . o - MD - MP - MF arangod / V8Server / $ ( DEPDIR ) / bin_arangod - v8 - vocbase . Tpo - c - o arangod / V8Server / bin_arangod - v8 - vocbase . o ` test - f ' arangod / V8Server / v8 - vocbase . cpp ' | | echo ' $ ( srcdir ) / ' ` arangod / V8Server / v8 - vocbase . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / V8Server / $ ( DEPDIR ) / bin_arangod - v8 - vocbase . Tpo arangod / V8Server / $ ( DEPDIR ) / bin_arangod - v8 - vocbase . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) source = ' arangod / V8Server / v8 - vocbase . cpp ' object = ' arangod / V8Server / bin_arangod - v8 - vocbase . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ source = ' arangod / V8Server / v8 - vocbase . cpp ' object = ' arangod / V8Server / bin_arangod - v8 - vocbase . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CXXDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX @ am__nodep @ ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / V8Server / bin_arangod - v8 - vocbase . o ` test - f ' arangod / V8Server / v8 - vocbase . cpp ' | | echo ' $ ( srcdir ) / ' ` arangod / V8Server / v8 - vocbase . cpp <nl> + @ am__fastdepCXX_FALSE @ $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / V8Server / bin_arangod - v8 - vocbase . o ` test - f ' arangod / V8Server / v8 - vocbase . cpp ' | | echo ' $ ( srcdir ) / ' ` arangod / V8Server / v8 - vocbase . cpp <nl> <nl> arangod / V8Server / bin_arangod - v8 - vocbase . obj : arangod / V8Server / v8 - vocbase . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_CXX ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - MT arangod / V8Server / bin_arangod - v8 - vocbase . obj - MD - MP - MF arangod / V8Server / $ ( DEPDIR ) / bin_arangod - v8 - vocbase . Tpo - c - o arangod / V8Server / bin_arangod - v8 - vocbase . obj ` if test - f ' arangod / V8Server / v8 - vocbase . cpp ' ; then $ ( CYGPATH_W ) ' arangod / V8Server / v8 - vocbase . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / V8Server / v8 - vocbase . cpp ' ; fi ` <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / V8Server / $ ( DEPDIR ) / bin_arangod - v8 - vocbase . Tpo arangod / V8Server / $ ( DEPDIR ) / bin_arangod - v8 - vocbase . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) source = ' arangod / V8Server / v8 - vocbase . cpp ' object = ' arangod / V8Server / bin_arangod - v8 - vocbase . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ source = ' arangod / V8Server / v8 - vocbase . cpp ' object = ' arangod / V8Server / bin_arangod - v8 - vocbase . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CXXDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX @ am__nodep @ ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / V8Server / bin_arangod - v8 - vocbase . obj ` if test - f ' arangod / V8Server / v8 - vocbase . cpp ' ; then $ ( CYGPATH_W ) ' arangod / V8Server / v8 - vocbase . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / V8Server / v8 - vocbase . cpp ' ; fi ` <nl> + @ am__fastdepCXX_FALSE @ $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / V8Server / bin_arangod - v8 - vocbase . obj ` if test - f ' arangod / V8Server / v8 - vocbase . cpp ' ; then $ ( CYGPATH_W ) ' arangod / V8Server / v8 - vocbase . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / V8Server / v8 - vocbase . cpp ' ; fi ` <nl> <nl> arangod / MRServer / bin_arangod - ApplicationMR . o : arangod / MRServer / ApplicationMR . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_CXX ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - MT arangod / MRServer / bin_arangod - ApplicationMR . o - MD - MP - MF arangod / MRServer / $ ( DEPDIR ) / bin_arangod - ApplicationMR . Tpo - c - o arangod / MRServer / bin_arangod - ApplicationMR . o ` test - f ' arangod / MRServer / ApplicationMR . cpp ' | | echo ' $ ( srcdir ) / ' ` arangod / MRServer / ApplicationMR . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / MRServer / $ ( DEPDIR ) / bin_arangod - ApplicationMR . Tpo arangod / MRServer / $ ( DEPDIR ) / bin_arangod - ApplicationMR . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) source = ' arangod / MRServer / ApplicationMR . cpp ' object = ' arangod / MRServer / bin_arangod - ApplicationMR . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ source = ' arangod / MRServer / ApplicationMR . cpp ' object = ' arangod / MRServer / bin_arangod - ApplicationMR . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CXXDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX @ am__nodep @ ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / MRServer / bin_arangod - ApplicationMR . o ` test - f ' arangod / MRServer / ApplicationMR . cpp ' | | echo ' $ ( srcdir ) / ' ` arangod / MRServer / ApplicationMR . cpp <nl> + @ am__fastdepCXX_FALSE @ $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / MRServer / bin_arangod - ApplicationMR . o ` test - f ' arangod / MRServer / ApplicationMR . cpp ' | | echo ' $ ( srcdir ) / ' ` arangod / MRServer / ApplicationMR . cpp <nl> <nl> arangod / MRServer / bin_arangod - ApplicationMR . obj : arangod / MRServer / ApplicationMR . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_CXX ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - MT arangod / MRServer / bin_arangod - ApplicationMR . obj - MD - MP - MF arangod / MRServer / $ ( DEPDIR ) / bin_arangod - ApplicationMR . Tpo - c - o arangod / MRServer / bin_arangod - ApplicationMR . obj ` if test - f ' arangod / MRServer / ApplicationMR . cpp ' ; then $ ( CYGPATH_W ) ' arangod / MRServer / ApplicationMR . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / MRServer / ApplicationMR . cpp ' ; fi ` <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / MRServer / $ ( DEPDIR ) / bin_arangod - ApplicationMR . Tpo arangod / MRServer / $ ( DEPDIR ) / bin_arangod - ApplicationMR . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) source = ' arangod / MRServer / ApplicationMR . cpp ' object = ' arangod / MRServer / bin_arangod - ApplicationMR . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ source = ' arangod / MRServer / ApplicationMR . cpp ' object = ' arangod / MRServer / bin_arangod - ApplicationMR . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CXXDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX @ am__nodep @ ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / MRServer / bin_arangod - ApplicationMR . obj ` if test - f ' arangod / MRServer / ApplicationMR . cpp ' ; then $ ( CYGPATH_W ) ' arangod / MRServer / ApplicationMR . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / MRServer / ApplicationMR . cpp ' ; fi ` <nl> + @ am__fastdepCXX_FALSE @ $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / MRServer / bin_arangod - ApplicationMR . obj ` if test - f ' arangod / MRServer / ApplicationMR . cpp ' ; then $ ( CYGPATH_W ) ' arangod / MRServer / ApplicationMR . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / MRServer / ApplicationMR . cpp ' ; fi ` <nl> <nl> arangod / MRServer / bin_arangod - mr - actions . o : arangod / MRServer / mr - actions . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_CXX ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - MT arangod / MRServer / bin_arangod - mr - actions . o - MD - MP - MF arangod / MRServer / $ ( DEPDIR ) / bin_arangod - mr - actions . Tpo - c - o arangod / MRServer / bin_arangod - mr - actions . o ` test - f ' arangod / MRServer / mr - actions . cpp ' | | echo ' $ ( srcdir ) / ' ` arangod / MRServer / mr - actions . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / MRServer / $ ( DEPDIR ) / bin_arangod - mr - actions . Tpo arangod / MRServer / $ ( DEPDIR ) / bin_arangod - mr - actions . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) source = ' arangod / MRServer / mr - actions . cpp ' object = ' arangod / MRServer / bin_arangod - mr - actions . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ source = ' arangod / MRServer / mr - actions . cpp ' object = ' arangod / MRServer / bin_arangod - mr - actions . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CXXDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX @ am__nodep @ ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / MRServer / bin_arangod - mr - actions . o ` test - f ' arangod / MRServer / mr - actions . cpp ' | | echo ' $ ( srcdir ) / ' ` arangod / MRServer / mr - actions . cpp <nl> + @ am__fastdepCXX_FALSE @ $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / MRServer / bin_arangod - mr - actions . o ` test - f ' arangod / MRServer / mr - actions . cpp ' | | echo ' $ ( srcdir ) / ' ` arangod / MRServer / mr - actions . cpp <nl> <nl> arangod / MRServer / bin_arangod - mr - actions . obj : arangod / MRServer / mr - actions . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_CXX ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - MT arangod / MRServer / bin_arangod - mr - actions . obj - MD - MP - MF arangod / MRServer / $ ( DEPDIR ) / bin_arangod - mr - actions . Tpo - c - o arangod / MRServer / bin_arangod - mr - actions . obj ` if test - f ' arangod / MRServer / mr - actions . cpp ' ; then $ ( CYGPATH_W ) ' arangod / MRServer / mr - actions . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / MRServer / mr - actions . cpp ' ; fi ` <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangod / MRServer / $ ( DEPDIR ) / bin_arangod - mr - actions . Tpo arangod / MRServer / $ ( DEPDIR ) / bin_arangod - mr - actions . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) source = ' arangod / MRServer / mr - actions . cpp ' object = ' arangod / MRServer / bin_arangod - mr - actions . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ source = ' arangod / MRServer / mr - actions . cpp ' object = ' arangod / MRServer / bin_arangod - mr - actions . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CXXDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX @ am__nodep @ ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / MRServer / bin_arangod - mr - actions . obj ` if test - f ' arangod / MRServer / mr - actions . cpp ' ; then $ ( CYGPATH_W ) ' arangod / MRServer / mr - actions . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / MRServer / mr - actions . cpp ' ; fi ` <nl> + @ am__fastdepCXX_FALSE @ $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangod_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangod / MRServer / bin_arangod - mr - actions . obj ` if test - f ' arangod / MRServer / mr - actions . cpp ' ; then $ ( CYGPATH_W ) ' arangod / MRServer / mr - actions . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangod / MRServer / mr - actions . cpp ' ; fi ` <nl> <nl> arangosh / ArangoShell / bin_arangoimp - ArangoClient . o : arangosh / ArangoShell / ArangoClient . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_CXX ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangoimp_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - MT arangosh / ArangoShell / bin_arangoimp - ArangoClient . o - MD - MP - MF arangosh / ArangoShell / $ ( DEPDIR ) / bin_arangoimp - ArangoClient . Tpo - c - o arangosh / ArangoShell / bin_arangoimp - ArangoClient . o ` test - f ' arangosh / ArangoShell / ArangoClient . cpp ' | | echo ' $ ( srcdir ) / ' ` arangosh / ArangoShell / ArangoClient . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangosh / ArangoShell / $ ( DEPDIR ) / bin_arangoimp - ArangoClient . Tpo arangosh / ArangoShell / $ ( DEPDIR ) / bin_arangoimp - ArangoClient . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) source = ' arangosh / ArangoShell / ArangoClient . cpp ' object = ' arangosh / ArangoShell / bin_arangoimp - ArangoClient . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ source = ' arangosh / ArangoShell / ArangoClient . cpp ' object = ' arangosh / ArangoShell / bin_arangoimp - ArangoClient . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CXXDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX @ am__nodep @ ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangoimp_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangosh / ArangoShell / bin_arangoimp - ArangoClient . o ` test - f ' arangosh / ArangoShell / ArangoClient . cpp ' | | echo ' $ ( srcdir ) / ' ` arangosh / ArangoShell / ArangoClient . cpp <nl> + @ am__fastdepCXX_FALSE @ $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangoimp_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangosh / ArangoShell / bin_arangoimp - ArangoClient . o ` test - f ' arangosh / ArangoShell / ArangoClient . cpp ' | | echo ' $ ( srcdir ) / ' ` arangosh / ArangoShell / ArangoClient . cpp <nl> <nl> arangosh / ArangoShell / bin_arangoimp - ArangoClient . obj : arangosh / ArangoShell / ArangoClient . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_CXX ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangoimp_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - MT arangosh / ArangoShell / bin_arangoimp - ArangoClient . obj - MD - MP - MF arangosh / ArangoShell / $ ( DEPDIR ) / bin_arangoimp - ArangoClient . Tpo - c - o arangosh / ArangoShell / bin_arangoimp - ArangoClient . obj ` if test - f ' arangosh / ArangoShell / ArangoClient . cpp ' ; then $ ( CYGPATH_W ) ' arangosh / ArangoShell / ArangoClient . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangosh / ArangoShell / ArangoClient . cpp ' ; fi ` <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangosh / ArangoShell / $ ( DEPDIR ) / bin_arangoimp - ArangoClient . Tpo arangosh / ArangoShell / $ ( DEPDIR ) / bin_arangoimp - ArangoClient . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) source = ' arangosh / ArangoShell / ArangoClient . cpp ' object = ' arangosh / ArangoShell / bin_arangoimp - ArangoClient . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ source = ' arangosh / ArangoShell / ArangoClient . cpp ' object = ' arangosh / ArangoShell / bin_arangoimp - ArangoClient . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CXXDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX @ am__nodep @ ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangoimp_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangosh / ArangoShell / bin_arangoimp - ArangoClient . obj ` if test - f ' arangosh / ArangoShell / ArangoClient . cpp ' ; then $ ( CYGPATH_W ) ' arangosh / ArangoShell / ArangoClient . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangosh / ArangoShell / ArangoClient . cpp ' ; fi ` <nl> + @ am__fastdepCXX_FALSE @ $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangoimp_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangosh / ArangoShell / bin_arangoimp - ArangoClient . obj ` if test - f ' arangosh / ArangoShell / ArangoClient . cpp ' ; then $ ( CYGPATH_W ) ' arangosh / ArangoShell / ArangoClient . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangosh / ArangoShell / ArangoClient . cpp ' ; fi ` <nl> <nl> arangosh / V8Client / bin_arangoimp - ImportHelper . o : arangosh / V8Client / ImportHelper . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_CXX ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangoimp_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - MT arangosh / V8Client / bin_arangoimp - ImportHelper . o - MD - MP - MF arangosh / V8Client / $ ( DEPDIR ) / bin_arangoimp - ImportHelper . Tpo - c - o arangosh / V8Client / bin_arangoimp - ImportHelper . o ` test - f ' arangosh / V8Client / ImportHelper . cpp ' | | echo ' $ ( srcdir ) / ' ` arangosh / V8Client / ImportHelper . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangosh / V8Client / $ ( DEPDIR ) / bin_arangoimp - ImportHelper . Tpo arangosh / V8Client / $ ( DEPDIR ) / bin_arangoimp - ImportHelper . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) source = ' arangosh / V8Client / ImportHelper . cpp ' object = ' arangosh / V8Client / bin_arangoimp - ImportHelper . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ source = ' arangosh / V8Client / ImportHelper . cpp ' object = ' arangosh / V8Client / bin_arangoimp - ImportHelper . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CXXDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX @ am__nodep @ ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangoimp_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangosh / V8Client / bin_arangoimp - ImportHelper . o ` test - f ' arangosh / V8Client / ImportHelper . cpp ' | | echo ' $ ( srcdir ) / ' ` arangosh / V8Client / ImportHelper . cpp <nl> + @ am__fastdepCXX_FALSE @ $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangoimp_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangosh / V8Client / bin_arangoimp - ImportHelper . o ` test - f ' arangosh / V8Client / ImportHelper . cpp ' | | echo ' $ ( srcdir ) / ' ` arangosh / V8Client / ImportHelper . cpp <nl> <nl> arangosh / V8Client / bin_arangoimp - ImportHelper . obj : arangosh / V8Client / ImportHelper . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_CXX ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangoimp_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - MT arangosh / V8Client / bin_arangoimp - ImportHelper . obj - MD - MP - MF arangosh / V8Client / $ ( DEPDIR ) / bin_arangoimp - ImportHelper . Tpo - c - o arangosh / V8Client / bin_arangoimp - ImportHelper . obj ` if test - f ' arangosh / V8Client / ImportHelper . cpp ' ; then $ ( CYGPATH_W ) ' arangosh / V8Client / ImportHelper . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangosh / V8Client / ImportHelper . cpp ' ; fi ` <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangosh / V8Client / $ ( DEPDIR ) / bin_arangoimp - ImportHelper . Tpo arangosh / V8Client / $ ( DEPDIR ) / bin_arangoimp - ImportHelper . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) source = ' arangosh / V8Client / ImportHelper . cpp ' object = ' arangosh / V8Client / bin_arangoimp - ImportHelper . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ source = ' arangosh / V8Client / ImportHelper . cpp ' object = ' arangosh / V8Client / bin_arangoimp - ImportHelper . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CXXDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX @ am__nodep @ ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangoimp_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangosh / V8Client / bin_arangoimp - ImportHelper . obj ` if test - f ' arangosh / V8Client / ImportHelper . cpp ' ; then $ ( CYGPATH_W ) ' arangosh / V8Client / ImportHelper . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangosh / V8Client / ImportHelper . cpp ' ; fi ` <nl> + @ am__fastdepCXX_FALSE @ $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangoimp_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangosh / V8Client / bin_arangoimp - ImportHelper . obj ` if test - f ' arangosh / V8Client / ImportHelper . cpp ' ; then $ ( CYGPATH_W ) ' arangosh / V8Client / ImportHelper . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangosh / V8Client / ImportHelper . cpp ' ; fi ` <nl> <nl> arangosh / V8Client / bin_arangoimp - V8ClientConnection . o : arangosh / V8Client / V8ClientConnection . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_CXX ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangoimp_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - MT arangosh / V8Client / bin_arangoimp - V8ClientConnection . o - MD - MP - MF arangosh / V8Client / $ ( DEPDIR ) / bin_arangoimp - V8ClientConnection . Tpo - c - o arangosh / V8Client / bin_arangoimp - V8ClientConnection . o ` test - f ' arangosh / V8Client / V8ClientConnection . cpp ' | | echo ' $ ( srcdir ) / ' ` arangosh / V8Client / V8ClientConnection . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangosh / V8Client / $ ( DEPDIR ) / bin_arangoimp - V8ClientConnection . Tpo arangosh / V8Client / $ ( DEPDIR ) / bin_arangoimp - V8ClientConnection . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) source = ' arangosh / V8Client / V8ClientConnection . cpp ' object = ' arangosh / V8Client / bin_arangoimp - V8ClientConnection . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ source = ' arangosh / V8Client / V8ClientConnection . cpp ' object = ' arangosh / V8Client / bin_arangoimp - V8ClientConnection . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CXXDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX @ am__nodep @ ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangoimp_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangosh / V8Client / bin_arangoimp - V8ClientConnection . o ` test - f ' arangosh / V8Client / V8ClientConnection . cpp ' | | echo ' $ ( srcdir ) / ' ` arangosh / V8Client / V8ClientConnection . cpp <nl> + @ am__fastdepCXX_FALSE @ $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangoimp_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangosh / V8Client / bin_arangoimp - V8ClientConnection . o ` test - f ' arangosh / V8Client / V8ClientConnection . cpp ' | | echo ' $ ( srcdir ) / ' ` arangosh / V8Client / V8ClientConnection . cpp <nl> <nl> arangosh / V8Client / bin_arangoimp - V8ClientConnection . obj : arangosh / V8Client / V8ClientConnection . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_CXX ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangoimp_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - MT arangosh / V8Client / bin_arangoimp - V8ClientConnection . obj - MD - MP - MF arangosh / V8Client / $ ( DEPDIR ) / bin_arangoimp - V8ClientConnection . Tpo - c - o arangosh / V8Client / bin_arangoimp - V8ClientConnection . obj ` if test - f ' arangosh / V8Client / V8ClientConnection . cpp ' ; then $ ( CYGPATH_W ) ' arangosh / V8Client / V8ClientConnection . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangosh / V8Client / V8ClientConnection . cpp ' ; fi ` <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangosh / V8Client / $ ( DEPDIR ) / bin_arangoimp - V8ClientConnection . Tpo arangosh / V8Client / $ ( DEPDIR ) / bin_arangoimp - V8ClientConnection . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) source = ' arangosh / V8Client / V8ClientConnection . cpp ' object = ' arangosh / V8Client / bin_arangoimp - V8ClientConnection . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ source = ' arangosh / V8Client / V8ClientConnection . cpp ' object = ' arangosh / V8Client / bin_arangoimp - V8ClientConnection . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CXXDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX @ am__nodep @ ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangoimp_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangosh / V8Client / bin_arangoimp - V8ClientConnection . obj ` if test - f ' arangosh / V8Client / V8ClientConnection . cpp ' ; then $ ( CYGPATH_W ) ' arangosh / V8Client / V8ClientConnection . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangosh / V8Client / V8ClientConnection . cpp ' ; fi ` <nl> + @ am__fastdepCXX_FALSE @ $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangoimp_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangosh / V8Client / bin_arangoimp - V8ClientConnection . obj ` if test - f ' arangosh / V8Client / V8ClientConnection . cpp ' ; then $ ( CYGPATH_W ) ' arangosh / V8Client / V8ClientConnection . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangosh / V8Client / V8ClientConnection . cpp ' ; fi ` <nl> <nl> arangosh / V8Client / bin_arangoimp - arangoimp . o : arangosh / V8Client / arangoimp . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_CXX ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangoimp_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - MT arangosh / V8Client / bin_arangoimp - arangoimp . o - MD - MP - MF arangosh / V8Client / $ ( DEPDIR ) / bin_arangoimp - arangoimp . Tpo - c - o arangosh / V8Client / bin_arangoimp - arangoimp . o ` test - f ' arangosh / V8Client / arangoimp . cpp ' | | echo ' $ ( srcdir ) / ' ` arangosh / V8Client / arangoimp . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangosh / V8Client / $ ( DEPDIR ) / bin_arangoimp - arangoimp . Tpo arangosh / V8Client / $ ( DEPDIR ) / bin_arangoimp - arangoimp . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) source = ' arangosh / V8Client / arangoimp . cpp ' object = ' arangosh / V8Client / bin_arangoimp - arangoimp . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ source = ' arangosh / V8Client / arangoimp . cpp ' object = ' arangosh / V8Client / bin_arangoimp - arangoimp . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CXXDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX @ am__nodep @ ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangoimp_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangosh / V8Client / bin_arangoimp - arangoimp . o ` test - f ' arangosh / V8Client / arangoimp . cpp ' | | echo ' $ ( srcdir ) / ' ` arangosh / V8Client / arangoimp . cpp <nl> + @ am__fastdepCXX_FALSE @ $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangoimp_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangosh / V8Client / bin_arangoimp - arangoimp . o ` test - f ' arangosh / V8Client / arangoimp . cpp ' | | echo ' $ ( srcdir ) / ' ` arangosh / V8Client / arangoimp . cpp <nl> <nl> arangosh / V8Client / bin_arangoimp - arangoimp . obj : arangosh / V8Client / arangoimp . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_CXX ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangoimp_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - MT arangosh / V8Client / bin_arangoimp - arangoimp . obj - MD - MP - MF arangosh / V8Client / $ ( DEPDIR ) / bin_arangoimp - arangoimp . Tpo - c - o arangosh / V8Client / bin_arangoimp - arangoimp . obj ` if test - f ' arangosh / V8Client / arangoimp . cpp ' ; then $ ( CYGPATH_W ) ' arangosh / V8Client / arangoimp . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangosh / V8Client / arangoimp . cpp ' ; fi ` <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangosh / V8Client / $ ( DEPDIR ) / bin_arangoimp - arangoimp . Tpo arangosh / V8Client / $ ( DEPDIR ) / bin_arangoimp - arangoimp . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) source = ' arangosh / V8Client / arangoimp . cpp ' object = ' arangosh / V8Client / bin_arangoimp - arangoimp . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ source = ' arangosh / V8Client / arangoimp . cpp ' object = ' arangosh / V8Client / bin_arangoimp - arangoimp . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CXXDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX @ am__nodep @ ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangoimp_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangosh / V8Client / bin_arangoimp - arangoimp . obj ` if test - f ' arangosh / V8Client / arangoimp . cpp ' ; then $ ( CYGPATH_W ) ' arangosh / V8Client / arangoimp . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangosh / V8Client / arangoimp . cpp ' ; fi ` <nl> + @ am__fastdepCXX_FALSE @ $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangoimp_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangosh / V8Client / bin_arangoimp - arangoimp . obj ` if test - f ' arangosh / V8Client / arangoimp . cpp ' ; then $ ( CYGPATH_W ) ' arangosh / V8Client / arangoimp . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangosh / V8Client / arangoimp . cpp ' ; fi ` <nl> <nl> arangosh / ArangoShell / bin_arangoirb - ArangoClient . o : arangosh / ArangoShell / ArangoClient . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_CXX ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangoirb_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - MT arangosh / ArangoShell / bin_arangoirb - ArangoClient . o - MD - MP - MF arangosh / ArangoShell / $ ( DEPDIR ) / bin_arangoirb - ArangoClient . Tpo - c - o arangosh / ArangoShell / bin_arangoirb - ArangoClient . o ` test - f ' arangosh / ArangoShell / ArangoClient . cpp ' | | echo ' $ ( srcdir ) / ' ` arangosh / ArangoShell / ArangoClient . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangosh / ArangoShell / $ ( DEPDIR ) / bin_arangoirb - ArangoClient . Tpo arangosh / ArangoShell / $ ( DEPDIR ) / bin_arangoirb - ArangoClient . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) source = ' arangosh / ArangoShell / ArangoClient . cpp ' object = ' arangosh / ArangoShell / bin_arangoirb - ArangoClient . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ source = ' arangosh / ArangoShell / ArangoClient . cpp ' object = ' arangosh / ArangoShell / bin_arangoirb - ArangoClient . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CXXDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX @ am__nodep @ ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangoirb_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangosh / ArangoShell / bin_arangoirb - ArangoClient . o ` test - f ' arangosh / ArangoShell / ArangoClient . cpp ' | | echo ' $ ( srcdir ) / ' ` arangosh / ArangoShell / ArangoClient . cpp <nl> + @ am__fastdepCXX_FALSE @ $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangoirb_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangosh / ArangoShell / bin_arangoirb - ArangoClient . o ` test - f ' arangosh / ArangoShell / ArangoClient . cpp ' | | echo ' $ ( srcdir ) / ' ` arangosh / ArangoShell / ArangoClient . cpp <nl> <nl> arangosh / ArangoShell / bin_arangoirb - ArangoClient . obj : arangosh / ArangoShell / ArangoClient . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_CXX ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangoirb_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - MT arangosh / ArangoShell / bin_arangoirb - ArangoClient . obj - MD - MP - MF arangosh / ArangoShell / $ ( DEPDIR ) / bin_arangoirb - ArangoClient . Tpo - c - o arangosh / ArangoShell / bin_arangoirb - ArangoClient . obj ` if test - f ' arangosh / ArangoShell / ArangoClient . cpp ' ; then $ ( CYGPATH_W ) ' arangosh / ArangoShell / ArangoClient . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangosh / ArangoShell / ArangoClient . cpp ' ; fi ` <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangosh / ArangoShell / $ ( DEPDIR ) / bin_arangoirb - ArangoClient . Tpo arangosh / ArangoShell / $ ( DEPDIR ) / bin_arangoirb - ArangoClient . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) source = ' arangosh / ArangoShell / ArangoClient . cpp ' object = ' arangosh / ArangoShell / bin_arangoirb - ArangoClient . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ source = ' arangosh / ArangoShell / ArangoClient . cpp ' object = ' arangosh / ArangoShell / bin_arangoirb - ArangoClient . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CXXDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX @ am__nodep @ ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangoirb_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangosh / ArangoShell / bin_arangoirb - ArangoClient . obj ` if test - f ' arangosh / ArangoShell / ArangoClient . cpp ' ; then $ ( CYGPATH_W ) ' arangosh / ArangoShell / ArangoClient . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangosh / ArangoShell / ArangoClient . cpp ' ; fi ` <nl> + @ am__fastdepCXX_FALSE @ $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangoirb_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangosh / ArangoShell / bin_arangoirb - ArangoClient . obj ` if test - f ' arangosh / ArangoShell / ArangoClient . cpp ' ; then $ ( CYGPATH_W ) ' arangosh / ArangoShell / ArangoClient . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangosh / ArangoShell / ArangoClient . cpp ' ; fi ` <nl> <nl> arangoirb / MRClient / bin_arangoirb - MRubyClientConnection . o : arangoirb / MRClient / MRubyClientConnection . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_CXX ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangoirb_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - MT arangoirb / MRClient / bin_arangoirb - MRubyClientConnection . o - MD - MP - MF arangoirb / MRClient / $ ( DEPDIR ) / bin_arangoirb - MRubyClientConnection . Tpo - c - o arangoirb / MRClient / bin_arangoirb - MRubyClientConnection . o ` test - f ' arangoirb / MRClient / MRubyClientConnection . cpp ' | | echo ' $ ( srcdir ) / ' ` arangoirb / MRClient / MRubyClientConnection . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangoirb / MRClient / $ ( DEPDIR ) / bin_arangoirb - MRubyClientConnection . Tpo arangoirb / MRClient / $ ( DEPDIR ) / bin_arangoirb - MRubyClientConnection . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) source = ' arangoirb / MRClient / MRubyClientConnection . cpp ' object = ' arangoirb / MRClient / bin_arangoirb - MRubyClientConnection . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ source = ' arangoirb / MRClient / MRubyClientConnection . cpp ' object = ' arangoirb / MRClient / bin_arangoirb - MRubyClientConnection . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CXXDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX @ am__nodep @ ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangoirb_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangoirb / MRClient / bin_arangoirb - MRubyClientConnection . o ` test - f ' arangoirb / MRClient / MRubyClientConnection . cpp ' | | echo ' $ ( srcdir ) / ' ` arangoirb / MRClient / MRubyClientConnection . cpp <nl> + @ am__fastdepCXX_FALSE @ $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangoirb_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangoirb / MRClient / bin_arangoirb - MRubyClientConnection . o ` test - f ' arangoirb / MRClient / MRubyClientConnection . cpp ' | | echo ' $ ( srcdir ) / ' ` arangoirb / MRClient / MRubyClientConnection . cpp <nl> <nl> arangoirb / MRClient / bin_arangoirb - MRubyClientConnection . obj : arangoirb / MRClient / MRubyClientConnection . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_CXX ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangoirb_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - MT arangoirb / MRClient / bin_arangoirb - MRubyClientConnection . obj - MD - MP - MF arangoirb / MRClient / $ ( DEPDIR ) / bin_arangoirb - MRubyClientConnection . Tpo - c - o arangoirb / MRClient / bin_arangoirb - MRubyClientConnection . obj ` if test - f ' arangoirb / MRClient / MRubyClientConnection . cpp ' ; then $ ( CYGPATH_W ) ' arangoirb / MRClient / MRubyClientConnection . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangoirb / MRClient / MRubyClientConnection . cpp ' ; fi ` <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangoirb / MRClient / $ ( DEPDIR ) / bin_arangoirb - MRubyClientConnection . Tpo arangoirb / MRClient / $ ( DEPDIR ) / bin_arangoirb - MRubyClientConnection . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) source = ' arangoirb / MRClient / MRubyClientConnection . cpp ' object = ' arangoirb / MRClient / bin_arangoirb - MRubyClientConnection . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ source = ' arangoirb / MRClient / MRubyClientConnection . cpp ' object = ' arangoirb / MRClient / bin_arangoirb - MRubyClientConnection . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CXXDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX @ am__nodep @ ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangoirb_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangoirb / MRClient / bin_arangoirb - MRubyClientConnection . obj ` if test - f ' arangoirb / MRClient / MRubyClientConnection . cpp ' ; then $ ( CYGPATH_W ) ' arangoirb / MRClient / MRubyClientConnection . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangoirb / MRClient / MRubyClientConnection . cpp ' ; fi ` <nl> + @ am__fastdepCXX_FALSE @ $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangoirb_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangoirb / MRClient / bin_arangoirb - MRubyClientConnection . obj ` if test - f ' arangoirb / MRClient / MRubyClientConnection . cpp ' ; then $ ( CYGPATH_W ) ' arangoirb / MRClient / MRubyClientConnection . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangoirb / MRClient / MRubyClientConnection . cpp ' ; fi ` <nl> <nl> arangoirb / MRClient / bin_arangoirb - arangoirb . o : arangoirb / MRClient / arangoirb . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_CXX ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangoirb_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - MT arangoirb / MRClient / bin_arangoirb - arangoirb . o - MD - MP - MF arangoirb / MRClient / $ ( DEPDIR ) / bin_arangoirb - arangoirb . Tpo - c - o arangoirb / MRClient / bin_arangoirb - arangoirb . o ` test - f ' arangoirb / MRClient / arangoirb . cpp ' | | echo ' $ ( srcdir ) / ' ` arangoirb / MRClient / arangoirb . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangoirb / MRClient / $ ( DEPDIR ) / bin_arangoirb - arangoirb . Tpo arangoirb / MRClient / $ ( DEPDIR ) / bin_arangoirb - arangoirb . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) source = ' arangoirb / MRClient / arangoirb . cpp ' object = ' arangoirb / MRClient / bin_arangoirb - arangoirb . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ source = ' arangoirb / MRClient / arangoirb . cpp ' object = ' arangoirb / MRClient / bin_arangoirb - arangoirb . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CXXDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX @ am__nodep @ ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangoirb_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangoirb / MRClient / bin_arangoirb - arangoirb . o ` test - f ' arangoirb / MRClient / arangoirb . cpp ' | | echo ' $ ( srcdir ) / ' ` arangoirb / MRClient / arangoirb . cpp <nl> + @ am__fastdepCXX_FALSE @ $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangoirb_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangoirb / MRClient / bin_arangoirb - arangoirb . o ` test - f ' arangoirb / MRClient / arangoirb . cpp ' | | echo ' $ ( srcdir ) / ' ` arangoirb / MRClient / arangoirb . cpp <nl> <nl> arangoirb / MRClient / bin_arangoirb - arangoirb . obj : arangoirb / MRClient / arangoirb . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_CXX ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangoirb_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - MT arangoirb / MRClient / bin_arangoirb - arangoirb . obj - MD - MP - MF arangoirb / MRClient / $ ( DEPDIR ) / bin_arangoirb - arangoirb . Tpo - c - o arangoirb / MRClient / bin_arangoirb - arangoirb . obj ` if test - f ' arangoirb / MRClient / arangoirb . cpp ' ; then $ ( CYGPATH_W ) ' arangoirb / MRClient / arangoirb . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangoirb / MRClient / arangoirb . cpp ' ; fi ` <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangoirb / MRClient / $ ( DEPDIR ) / bin_arangoirb - arangoirb . Tpo arangoirb / MRClient / $ ( DEPDIR ) / bin_arangoirb - arangoirb . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) source = ' arangoirb / MRClient / arangoirb . cpp ' object = ' arangoirb / MRClient / bin_arangoirb - arangoirb . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ source = ' arangoirb / MRClient / arangoirb . cpp ' object = ' arangoirb / MRClient / bin_arangoirb - arangoirb . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CXXDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX @ am__nodep @ ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangoirb_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangoirb / MRClient / bin_arangoirb - arangoirb . obj ` if test - f ' arangoirb / MRClient / arangoirb . cpp ' ; then $ ( CYGPATH_W ) ' arangoirb / MRClient / arangoirb . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangoirb / MRClient / arangoirb . cpp ' ; fi ` <nl> + @ am__fastdepCXX_FALSE @ $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangoirb_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangoirb / MRClient / bin_arangoirb - arangoirb . obj ` if test - f ' arangoirb / MRClient / arangoirb . cpp ' ; then $ ( CYGPATH_W ) ' arangoirb / MRClient / arangoirb . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangoirb / MRClient / arangoirb . cpp ' ; fi ` <nl> <nl> arangosh / ArangoShell / bin_arangosh - ArangoClient . o : arangosh / ArangoShell / ArangoClient . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_CXX ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangosh_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - MT arangosh / ArangoShell / bin_arangosh - ArangoClient . o - MD - MP - MF arangosh / ArangoShell / $ ( DEPDIR ) / bin_arangosh - ArangoClient . Tpo - c - o arangosh / ArangoShell / bin_arangosh - ArangoClient . o ` test - f ' arangosh / ArangoShell / ArangoClient . cpp ' | | echo ' $ ( srcdir ) / ' ` arangosh / ArangoShell / ArangoClient . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangosh / ArangoShell / $ ( DEPDIR ) / bin_arangosh - ArangoClient . Tpo arangosh / ArangoShell / $ ( DEPDIR ) / bin_arangosh - ArangoClient . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) source = ' arangosh / ArangoShell / ArangoClient . cpp ' object = ' arangosh / ArangoShell / bin_arangosh - ArangoClient . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ source = ' arangosh / ArangoShell / ArangoClient . cpp ' object = ' arangosh / ArangoShell / bin_arangosh - ArangoClient . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CXXDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX @ am__nodep @ ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangosh_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangosh / ArangoShell / bin_arangosh - ArangoClient . o ` test - f ' arangosh / ArangoShell / ArangoClient . cpp ' | | echo ' $ ( srcdir ) / ' ` arangosh / ArangoShell / ArangoClient . cpp <nl> + @ am__fastdepCXX_FALSE @ $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangosh_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangosh / ArangoShell / bin_arangosh - ArangoClient . o ` test - f ' arangosh / ArangoShell / ArangoClient . cpp ' | | echo ' $ ( srcdir ) / ' ` arangosh / ArangoShell / ArangoClient . cpp <nl> <nl> arangosh / ArangoShell / bin_arangosh - ArangoClient . obj : arangosh / ArangoShell / ArangoClient . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_CXX ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangosh_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - MT arangosh / ArangoShell / bin_arangosh - ArangoClient . obj - MD - MP - MF arangosh / ArangoShell / $ ( DEPDIR ) / bin_arangosh - ArangoClient . Tpo - c - o arangosh / ArangoShell / bin_arangosh - ArangoClient . obj ` if test - f ' arangosh / ArangoShell / ArangoClient . cpp ' ; then $ ( CYGPATH_W ) ' arangosh / ArangoShell / ArangoClient . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangosh / ArangoShell / ArangoClient . cpp ' ; fi ` <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangosh / ArangoShell / $ ( DEPDIR ) / bin_arangosh - ArangoClient . Tpo arangosh / ArangoShell / $ ( DEPDIR ) / bin_arangosh - ArangoClient . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) source = ' arangosh / ArangoShell / ArangoClient . cpp ' object = ' arangosh / ArangoShell / bin_arangosh - ArangoClient . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ source = ' arangosh / ArangoShell / ArangoClient . cpp ' object = ' arangosh / ArangoShell / bin_arangosh - ArangoClient . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CXXDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX @ am__nodep @ ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangosh_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangosh / ArangoShell / bin_arangosh - ArangoClient . obj ` if test - f ' arangosh / ArangoShell / ArangoClient . cpp ' ; then $ ( CYGPATH_W ) ' arangosh / ArangoShell / ArangoClient . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangosh / ArangoShell / ArangoClient . cpp ' ; fi ` <nl> + @ am__fastdepCXX_FALSE @ $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangosh_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangosh / ArangoShell / bin_arangosh - ArangoClient . obj ` if test - f ' arangosh / ArangoShell / ArangoClient . cpp ' ; then $ ( CYGPATH_W ) ' arangosh / ArangoShell / ArangoClient . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangosh / ArangoShell / ArangoClient . cpp ' ; fi ` <nl> <nl> arangosh / V8Client / bin_arangosh - ImportHelper . o : arangosh / V8Client / ImportHelper . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_CXX ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangosh_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - MT arangosh / V8Client / bin_arangosh - ImportHelper . o - MD - MP - MF arangosh / V8Client / $ ( DEPDIR ) / bin_arangosh - ImportHelper . Tpo - c - o arangosh / V8Client / bin_arangosh - ImportHelper . o ` test - f ' arangosh / V8Client / ImportHelper . cpp ' | | echo ' $ ( srcdir ) / ' ` arangosh / V8Client / ImportHelper . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangosh / V8Client / $ ( DEPDIR ) / bin_arangosh - ImportHelper . Tpo arangosh / V8Client / $ ( DEPDIR ) / bin_arangosh - ImportHelper . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) source = ' arangosh / V8Client / ImportHelper . cpp ' object = ' arangosh / V8Client / bin_arangosh - ImportHelper . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ source = ' arangosh / V8Client / ImportHelper . cpp ' object = ' arangosh / V8Client / bin_arangosh - ImportHelper . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CXXDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX @ am__nodep @ ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangosh_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangosh / V8Client / bin_arangosh - ImportHelper . o ` test - f ' arangosh / V8Client / ImportHelper . cpp ' | | echo ' $ ( srcdir ) / ' ` arangosh / V8Client / ImportHelper . cpp <nl> + @ am__fastdepCXX_FALSE @ $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangosh_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangosh / V8Client / bin_arangosh - ImportHelper . o ` test - f ' arangosh / V8Client / ImportHelper . cpp ' | | echo ' $ ( srcdir ) / ' ` arangosh / V8Client / ImportHelper . cpp <nl> <nl> arangosh / V8Client / bin_arangosh - ImportHelper . obj : arangosh / V8Client / ImportHelper . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_CXX ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangosh_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - MT arangosh / V8Client / bin_arangosh - ImportHelper . obj - MD - MP - MF arangosh / V8Client / $ ( DEPDIR ) / bin_arangosh - ImportHelper . Tpo - c - o arangosh / V8Client / bin_arangosh - ImportHelper . obj ` if test - f ' arangosh / V8Client / ImportHelper . cpp ' ; then $ ( CYGPATH_W ) ' arangosh / V8Client / ImportHelper . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangosh / V8Client / ImportHelper . cpp ' ; fi ` <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangosh / V8Client / $ ( DEPDIR ) / bin_arangosh - ImportHelper . Tpo arangosh / V8Client / $ ( DEPDIR ) / bin_arangosh - ImportHelper . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) source = ' arangosh / V8Client / ImportHelper . cpp ' object = ' arangosh / V8Client / bin_arangosh - ImportHelper . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ source = ' arangosh / V8Client / ImportHelper . cpp ' object = ' arangosh / V8Client / bin_arangosh - ImportHelper . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CXXDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX @ am__nodep @ ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangosh_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangosh / V8Client / bin_arangosh - ImportHelper . obj ` if test - f ' arangosh / V8Client / ImportHelper . cpp ' ; then $ ( CYGPATH_W ) ' arangosh / V8Client / ImportHelper . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangosh / V8Client / ImportHelper . cpp ' ; fi ` <nl> + @ am__fastdepCXX_FALSE @ $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangosh_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangosh / V8Client / bin_arangosh - ImportHelper . obj ` if test - f ' arangosh / V8Client / ImportHelper . cpp ' ; then $ ( CYGPATH_W ) ' arangosh / V8Client / ImportHelper . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangosh / V8Client / ImportHelper . cpp ' ; fi ` <nl> <nl> arangosh / V8Client / bin_arangosh - V8ClientConnection . o : arangosh / V8Client / V8ClientConnection . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_CXX ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangosh_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - MT arangosh / V8Client / bin_arangosh - V8ClientConnection . o - MD - MP - MF arangosh / V8Client / $ ( DEPDIR ) / bin_arangosh - V8ClientConnection . Tpo - c - o arangosh / V8Client / bin_arangosh - V8ClientConnection . o ` test - f ' arangosh / V8Client / V8ClientConnection . cpp ' | | echo ' $ ( srcdir ) / ' ` arangosh / V8Client / V8ClientConnection . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangosh / V8Client / $ ( DEPDIR ) / bin_arangosh - V8ClientConnection . Tpo arangosh / V8Client / $ ( DEPDIR ) / bin_arangosh - V8ClientConnection . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) source = ' arangosh / V8Client / V8ClientConnection . cpp ' object = ' arangosh / V8Client / bin_arangosh - V8ClientConnection . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ source = ' arangosh / V8Client / V8ClientConnection . cpp ' object = ' arangosh / V8Client / bin_arangosh - V8ClientConnection . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CXXDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX @ am__nodep @ ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangosh_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangosh / V8Client / bin_arangosh - V8ClientConnection . o ` test - f ' arangosh / V8Client / V8ClientConnection . cpp ' | | echo ' $ ( srcdir ) / ' ` arangosh / V8Client / V8ClientConnection . cpp <nl> + @ am__fastdepCXX_FALSE @ $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangosh_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangosh / V8Client / bin_arangosh - V8ClientConnection . o ` test - f ' arangosh / V8Client / V8ClientConnection . cpp ' | | echo ' $ ( srcdir ) / ' ` arangosh / V8Client / V8ClientConnection . cpp <nl> <nl> arangosh / V8Client / bin_arangosh - V8ClientConnection . obj : arangosh / V8Client / V8ClientConnection . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_CXX ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangosh_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - MT arangosh / V8Client / bin_arangosh - V8ClientConnection . obj - MD - MP - MF arangosh / V8Client / $ ( DEPDIR ) / bin_arangosh - V8ClientConnection . Tpo - c - o arangosh / V8Client / bin_arangosh - V8ClientConnection . obj ` if test - f ' arangosh / V8Client / V8ClientConnection . cpp ' ; then $ ( CYGPATH_W ) ' arangosh / V8Client / V8ClientConnection . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangosh / V8Client / V8ClientConnection . cpp ' ; fi ` <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangosh / V8Client / $ ( DEPDIR ) / bin_arangosh - V8ClientConnection . Tpo arangosh / V8Client / $ ( DEPDIR ) / bin_arangosh - V8ClientConnection . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) source = ' arangosh / V8Client / V8ClientConnection . cpp ' object = ' arangosh / V8Client / bin_arangosh - V8ClientConnection . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ source = ' arangosh / V8Client / V8ClientConnection . cpp ' object = ' arangosh / V8Client / bin_arangosh - V8ClientConnection . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CXXDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX @ am__nodep @ ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangosh_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangosh / V8Client / bin_arangosh - V8ClientConnection . obj ` if test - f ' arangosh / V8Client / V8ClientConnection . cpp ' ; then $ ( CYGPATH_W ) ' arangosh / V8Client / V8ClientConnection . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangosh / V8Client / V8ClientConnection . cpp ' ; fi ` <nl> + @ am__fastdepCXX_FALSE @ $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangosh_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangosh / V8Client / bin_arangosh - V8ClientConnection . obj ` if test - f ' arangosh / V8Client / V8ClientConnection . cpp ' ; then $ ( CYGPATH_W ) ' arangosh / V8Client / V8ClientConnection . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangosh / V8Client / V8ClientConnection . cpp ' ; fi ` <nl> <nl> arangosh / V8Client / bin_arangosh - arangosh . o : arangosh / V8Client / arangosh . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_CXX ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangosh_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - MT arangosh / V8Client / bin_arangosh - arangosh . o - MD - MP - MF arangosh / V8Client / $ ( DEPDIR ) / bin_arangosh - arangosh . Tpo - c - o arangosh / V8Client / bin_arangosh - arangosh . o ` test - f ' arangosh / V8Client / arangosh . cpp ' | | echo ' $ ( srcdir ) / ' ` arangosh / V8Client / arangosh . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangosh / V8Client / $ ( DEPDIR ) / bin_arangosh - arangosh . Tpo arangosh / V8Client / $ ( DEPDIR ) / bin_arangosh - arangosh . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) source = ' arangosh / V8Client / arangosh . cpp ' object = ' arangosh / V8Client / bin_arangosh - arangosh . o ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ source = ' arangosh / V8Client / arangosh . cpp ' object = ' arangosh / V8Client / bin_arangosh - arangosh . o ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CXXDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX @ am__nodep @ ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangosh_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangosh / V8Client / bin_arangosh - arangosh . o ` test - f ' arangosh / V8Client / arangosh . cpp ' | | echo ' $ ( srcdir ) / ' ` arangosh / V8Client / arangosh . cpp <nl> + @ am__fastdepCXX_FALSE @ $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangosh_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangosh / V8Client / bin_arangosh - arangosh . o ` test - f ' arangosh / V8Client / arangosh . cpp ' | | echo ' $ ( srcdir ) / ' ` arangosh / V8Client / arangosh . cpp <nl> <nl> arangosh / V8Client / bin_arangosh - arangosh . obj : arangosh / V8Client / arangosh . cpp <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_CXX ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangosh_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - MT arangosh / V8Client / bin_arangosh - arangosh . obj - MD - MP - MF arangosh / V8Client / $ ( DEPDIR ) / bin_arangosh - arangosh . Tpo - c - o arangosh / V8Client / bin_arangosh - arangosh . obj ` if test - f ' arangosh / V8Client / arangosh . cpp ' ; then $ ( CYGPATH_W ) ' arangosh / V8Client / arangosh . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangosh / V8Client / arangosh . cpp ' ; fi ` <nl> @ am__fastdepCXX_TRUE @ $ ( AM_V_at ) $ ( am__mv ) arangosh / V8Client / $ ( DEPDIR ) / bin_arangosh - arangosh . Tpo arangosh / V8Client / $ ( DEPDIR ) / bin_arangosh - arangosh . Po <nl> - @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) source = ' arangosh / V8Client / arangosh . cpp ' object = ' arangosh / V8Client / bin_arangosh - arangosh . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> + @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX ) @ AM_BACKSLASH @ <nl> + @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ source = ' arangosh / V8Client / arangosh . cpp ' object = ' arangosh / V8Client / bin_arangosh - arangosh . obj ' libtool = no @ AMDEPBACKSLASH @ <nl> @ AMDEP_TRUE @ @ am__fastdepCXX_FALSE @ DEPDIR = $ ( DEPDIR ) $ ( CXXDEPMODE ) $ ( depcomp ) @ AMDEPBACKSLASH @ <nl> - @ am__fastdepCXX_FALSE @ $ ( AM_V_CXX @ am__nodep @ ) $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangosh_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangosh / V8Client / bin_arangosh - arangosh . obj ` if test - f ' arangosh / V8Client / arangosh . cpp ' ; then $ ( CYGPATH_W ) ' arangosh / V8Client / arangosh . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangosh / V8Client / arangosh . cpp ' ; fi ` <nl> + @ am__fastdepCXX_FALSE @ $ ( CXX ) $ ( DEFS ) $ ( DEFAULT_INCLUDES ) $ ( INCLUDES ) $ ( bin_arangosh_CPPFLAGS ) $ ( CPPFLAGS ) $ ( AM_CXXFLAGS ) $ ( CXXFLAGS ) - c - o arangosh / V8Client / bin_arangosh - arangosh . obj ` if test - f ' arangosh / V8Client / arangosh . cpp ' ; then $ ( CYGPATH_W ) ' arangosh / V8Client / arangosh . cpp ' ; else $ ( CYGPATH_W ) ' $ ( srcdir ) / arangosh / V8Client / arangosh . cpp ' ; fi ` <nl> install - man1 : $ ( dist_man_MANS ) <nl> @ $ ( NORMAL_INSTALL ) <nl> - @ list1 = ' ' ; \ <nl> - list2 = ' $ ( dist_man_MANS ) ' ; \ <nl> - test - n " $ ( man1dir ) " \ <nl> - & & test - n " ` echo $ $ list1 $ $ list2 ` " \ <nl> - | | exit 0 ; \ <nl> - echo " $ ( MKDIR_P ) ' $ ( DESTDIR ) $ ( man1dir ) ' " ; \ <nl> - $ ( MKDIR_P ) " $ ( DESTDIR ) $ ( man1dir ) " | | exit 1 ; \ <nl> - { for i in $ $ list1 ; do echo " $ $ i " ; done ; \ <nl> - if test - n " $ $ list2 " ; then \ <nl> - for i in $ $ list2 ; do echo " $ $ i " ; done \ <nl> - | sed - n ' / \ . 1 [ a - z ] * $ $ / p ' ; \ <nl> - fi ; \ <nl> + test - z " $ ( man1dir ) " | | $ ( MKDIR_P ) " $ ( DESTDIR ) $ ( man1dir ) " <nl> + @ list = ' ' ; test - n " $ ( man1dir ) " | | exit 0 ; \ <nl> + { for i in $ $ list ; do echo " $ $ i " ; done ; \ <nl> + l2 = ' $ ( dist_man_MANS ) ' ; for i in $ $ l2 ; do echo " $ $ i " ; done | \ <nl> + sed - n ' / \ . 1 [ a - z ] * $ $ / p ' ; \ <nl> } | while read p ; do \ <nl> if test - f $ $ p ; then d = ; else d = " $ ( srcdir ) / " ; fi ; \ <nl> echo " $ $ d $ $ p " ; echo " $ $ p " ; \ <nl> uninstall - man1 : <nl> sed - n ' / \ . 1 [ a - z ] * $ $ / p ' ; \ <nl> } | sed - e ' s , . * / , , ; h ; s , . * \ . , , ; s , ^ [ ^ 1 ] [ 0 - 9a - z ] * $ $ , 1 , ; x ' \ <nl> - e ' s , \ . [ 0 - 9a - z ] * $ $ , , ; $ ( transform ) ; G ; s , \ n , . , ' ` ; \ <nl> - dir = ' $ ( DESTDIR ) $ ( man1dir ) ' ; $ ( am__uninstall_files_from_dir ) <nl> + test - z " $ $ files " | | { \ <nl> + echo " ( cd ' $ ( DESTDIR ) $ ( man1dir ) ' & & rm - f " $ $ files " ) " ; \ <nl> + cd " $ ( DESTDIR ) $ ( man1dir ) " & & rm - f $ $ files ; } <nl> install - man8 : $ ( dist_man_MANS ) <nl> @ $ ( NORMAL_INSTALL ) <nl> - @ list1 = ' ' ; \ <nl> - list2 = ' $ ( dist_man_MANS ) ' ; \ <nl> - test - n " $ ( man8dir ) " \ <nl> - & & test - n " ` echo $ $ list1 $ $ list2 ` " \ <nl> - | | exit 0 ; \ <nl> - echo " $ ( MKDIR_P ) ' $ ( DESTDIR ) $ ( man8dir ) ' " ; \ <nl> - $ ( MKDIR_P ) " $ ( DESTDIR ) $ ( man8dir ) " | | exit 1 ; \ <nl> - { for i in $ $ list1 ; do echo " $ $ i " ; done ; \ <nl> - if test - n " $ $ list2 " ; then \ <nl> - for i in $ $ list2 ; do echo " $ $ i " ; done \ <nl> - | sed - n ' / \ . 8 [ a - z ] * $ $ / p ' ; \ <nl> - fi ; \ <nl> + test - z " $ ( man8dir ) " | | $ ( MKDIR_P ) " $ ( DESTDIR ) $ ( man8dir ) " <nl> + @ list = ' ' ; test - n " $ ( man8dir ) " | | exit 0 ; \ <nl> + { for i in $ $ list ; do echo " $ $ i " ; done ; \ <nl> + l2 = ' $ ( dist_man_MANS ) ' ; for i in $ $ l2 ; do echo " $ $ i " ; done | \ <nl> + sed - n ' / \ . 8 [ a - z ] * $ $ / p ' ; \ <nl> } | while read p ; do \ <nl> if test - f $ $ p ; then d = ; else d = " $ ( srcdir ) / " ; fi ; \ <nl> echo " $ $ d $ $ p " ; echo " $ $ p " ; \ <nl> uninstall - man8 : <nl> sed - n ' / \ . 8 [ a - z ] * $ $ / p ' ; \ <nl> } | sed - e ' s , . * / , , ; h ; s , . * \ . , , ; s , ^ [ ^ 8 ] [ 0 - 9a - z ] * $ $ , 8 , ; x ' \ <nl> - e ' s , \ . [ 0 - 9a - z ] * $ $ , , ; $ ( transform ) ; G ; s , \ n , . , ' ` ; \ <nl> - dir = ' $ ( DESTDIR ) $ ( man8dir ) ' ; $ ( am__uninstall_files_from_dir ) <nl> + test - z " $ $ files " | | { \ <nl> + echo " ( cd ' $ ( DESTDIR ) $ ( man8dir ) ' & & rm - f " $ $ files " ) " ; \ <nl> + cd " $ ( DESTDIR ) $ ( man8dir ) " & & rm - f $ $ files ; } <nl> install - arangosysconfDATA : $ ( arangosysconf_DATA ) <nl> @ $ ( NORMAL_INSTALL ) <nl> + test - z " $ ( arangosysconfdir ) " | | $ ( MKDIR_P ) " $ ( DESTDIR ) $ ( arangosysconfdir ) " <nl> @ list = ' $ ( arangosysconf_DATA ) ' ; test - n " $ ( arangosysconfdir ) " | | list = ; \ <nl> - if test - n " $ $ list " ; then \ <nl> - echo " $ ( MKDIR_P ) ' $ ( DESTDIR ) $ ( arangosysconfdir ) ' " ; \ <nl> - $ ( MKDIR_P ) " $ ( DESTDIR ) $ ( arangosysconfdir ) " | | exit 1 ; \ <nl> - fi ; \ <nl> for p in $ $ list ; do \ <nl> if test - f " $ $ p " ; then d = ; else d = " $ ( srcdir ) / " ; fi ; \ <nl> echo " $ $ d $ $ p " ; \ <nl> uninstall - arangosysconfDATA : <nl> @ $ ( NORMAL_UNINSTALL ) <nl> @ list = ' $ ( arangosysconf_DATA ) ' ; test - n " $ ( arangosysconfdir ) " | | list = ; \ <nl> files = ` for p in $ $ list ; do echo $ $ p ; done | sed - e ' s | ^ . * / | | ' ` ; \ <nl> - dir = ' $ ( DESTDIR ) $ ( arangosysconfdir ) ' ; $ ( am__uninstall_files_from_dir ) <nl> + test - n " $ $ files " | | exit 0 ; \ <nl> + echo " ( cd ' $ ( DESTDIR ) $ ( arangosysconfdir ) ' & & rm - f " $ $ files " ) " ; \ <nl> + cd " $ ( DESTDIR ) $ ( arangosysconfdir ) " & & rm - f $ $ files <nl> install - nobase_pkgdataDATA : $ ( nobase_pkgdata_DATA ) <nl> @ $ ( NORMAL_INSTALL ) <nl> + test - z " $ ( pkgdatadir ) " | | $ ( MKDIR_P ) " $ ( DESTDIR ) $ ( pkgdatadir ) " <nl> @ list = ' $ ( nobase_pkgdata_DATA ) ' ; test - n " $ ( pkgdatadir ) " | | list = ; \ <nl> - if test - n " $ $ list " ; then \ <nl> - echo " $ ( MKDIR_P ) ' $ ( DESTDIR ) $ ( pkgdatadir ) ' " ; \ <nl> - $ ( MKDIR_P ) " $ ( DESTDIR ) $ ( pkgdatadir ) " | | exit 1 ; \ <nl> - fi ; \ <nl> $ ( am__nobase_list ) | while read dir files ; do \ <nl> xfiles = ; for file in $ $ files ; do \ <nl> if test - f " $ $ file " ; then xfiles = " $ $ xfiles $ $ file " ; \ <nl> else xfiles = " $ $ xfiles $ ( srcdir ) / $ $ file " ; fi ; done ; \ <nl> test - z " $ $ xfiles " | | { \ <nl> test " x $ $ dir " = x . | | { \ <nl> - echo " $ ( MKDIR_P ) ' $ ( DESTDIR ) $ ( pkgdatadir ) / $ $ dir ' " ; \ <nl> + echo " $ ( MKDIR_P ) ' $ ( DESTDIR ) $ ( pkgdatadir ) / $ $ dir ' " ; \ <nl> $ ( MKDIR_P ) " $ ( DESTDIR ) $ ( pkgdatadir ) / $ $ dir " ; } ; \ <nl> echo " $ ( INSTALL_DATA ) $ $ xfiles ' $ ( DESTDIR ) $ ( pkgdatadir ) / $ $ dir ' " ; \ <nl> $ ( INSTALL_DATA ) $ $ xfiles " $ ( DESTDIR ) $ ( pkgdatadir ) / $ $ dir " | | exit $ $ ? ; } ; \ <nl> uninstall - nobase_pkgdataDATA : <nl> @ $ ( NORMAL_UNINSTALL ) <nl> @ list = ' $ ( nobase_pkgdata_DATA ) ' ; test - n " $ ( pkgdatadir ) " | | list = ; \ <nl> $ ( am__nobase_strip_setup ) ; files = ` $ ( am__nobase_strip ) ` ; \ <nl> - dir = ' $ ( DESTDIR ) $ ( pkgdatadir ) ' ; $ ( am__uninstall_files_from_dir ) <nl> + test - n " $ $ files " | | exit 0 ; \ <nl> + echo " ( cd ' $ ( DESTDIR ) $ ( pkgdatadir ) ' & & rm - f " $ $ files " ) " ; \ <nl> + cd " $ ( DESTDIR ) $ ( pkgdatadir ) " & & rm - f $ $ files <nl> <nl> ID : $ ( HEADERS ) $ ( SOURCES ) $ ( LISP ) $ ( TAGS_FILES ) <nl> list = ' $ ( SOURCES ) $ ( HEADERS ) $ ( LISP ) $ ( TAGS_FILES ) ' ; \ <nl> CTAGS : $ ( HEADERS ) $ ( SOURCES ) $ ( TAGS_DEPENDENCIES ) \ <nl> | | $ ( CTAGS ) $ ( CTAGSFLAGS ) $ ( AM_CTAGSFLAGS ) $ ( CTAGS_ARGS ) \ <nl> $ $ unique <nl> <nl> - cscope : cscope . files <nl> - test ! - s cscope . files \ <nl> - | | $ ( CSCOPE ) - b - q $ ( AM_CSCOPEFLAGS ) $ ( CSCOPEFLAGS ) - i cscope . files $ ( CSCOPE_ARGS ) <nl> - <nl> - clean - cscope : <nl> - - rm - f cscope . files <nl> - <nl> - cscope . files : clean - cscope cscopelist <nl> - <nl> - cscopelist : $ ( HEADERS ) $ ( SOURCES ) $ ( LISP ) <nl> - list = ' $ ( SOURCES ) $ ( HEADERS ) $ ( LISP ) ' ; \ <nl> - case " $ ( srcdir ) " in \ <nl> - [ \ \ / ] * | ? : [ \ \ / ] * ) sdir = " $ ( srcdir ) " ; ; \ <nl> - * ) sdir = $ ( subdir ) / $ ( srcdir ) ; ; \ <nl> - esac ; \ <nl> - for i in $ $ list ; do \ <nl> - if test - f " $ $ i " ; then \ <nl> - echo " $ ( subdir ) / $ $ i " ; \ <nl> - else \ <nl> - echo " $ $ sdir / $ $ i " ; \ <nl> - fi ; \ <nl> - done > > $ ( top_builddir ) / cscope . files <nl> - <nl> distclean - tags : <nl> - rm - f TAGS ID GTAGS GRTAGS GSYMS GPATH tags <nl> - - rm - f cscope . out cscope . in . out cscope . po . out cscope . files <nl> <nl> distdir : $ ( DISTFILES ) <nl> @ list = ' $ ( MANS ) ' ; if test - n " $ $ list " ; then \ <nl> distdir : $ ( DISTFILES ) <nl> if test - f " $ $ d $ $ p " ; then echo " $ $ d $ $ p " ; else : ; fi ; done ` ; \ <nl> if test - n " $ $ list " & & \ <nl> grep ' ab help2man is required to generate this page ' $ $ list > / dev / null ; then \ <nl> - echo " error : found man pages containing the ' missing help2man ' replacement text : " > & 2 ; \ <nl> + echo " error : found man pages containing the \ ` missing help2man ' replacement text : " > & 2 ; \ <nl> grep - l ' ab help2man is required to generate this page ' $ $ list | sed ' s / ^ / / ' > & 2 ; \ <nl> echo " to fix them , install help2man , remove and regenerate the man pages ; " > & 2 ; \ <nl> - echo " typically ' make maintainer - clean ' will remove them " > & 2 ; \ <nl> + echo " typically \ ` make maintainer - clean ' will remove them " > & 2 ; \ <nl> exit 1 ; \ <nl> else : ; fi ; \ <nl> else : ; fi <nl> distdir : $ ( DISTFILES ) <nl> | | chmod - R a + r " $ ( distdir ) " <nl> dist - gzip : distdir <nl> tardir = $ ( distdir ) & & $ ( am__tar ) | GZIP = $ ( GZIP_ENV ) gzip - c > $ ( distdir ) . tar . gz <nl> - $ ( am__post_remove_distdir ) <nl> + $ ( am__remove_distdir ) <nl> <nl> dist - bzip2 : distdir <nl> - tardir = $ ( distdir ) & & $ ( am__tar ) | BZIP2 = $ $ { BZIP2 - - 9 } bzip2 - c > $ ( distdir ) . tar . bz2 <nl> - $ ( am__post_remove_distdir ) <nl> + tardir = $ ( distdir ) & & $ ( am__tar ) | bzip2 - 9 - c > $ ( distdir ) . tar . bz2 <nl> + $ ( am__remove_distdir ) <nl> <nl> - dist - lzip : distdir <nl> - tardir = $ ( distdir ) & & $ ( am__tar ) | lzip - c $ $ { LZIP_OPT - - 9 } > $ ( distdir ) . tar . lz <nl> - $ ( am__post_remove_distdir ) <nl> + dist - lzma : distdir <nl> + tardir = $ ( distdir ) & & $ ( am__tar ) | lzma - 9 - c > $ ( distdir ) . tar . lzma <nl> + $ ( am__remove_distdir ) <nl> <nl> dist - xz : distdir <nl> - tardir = $ ( distdir ) & & $ ( am__tar ) | XZ_OPT = $ $ { XZ_OPT - - e } xz - c > $ ( distdir ) . tar . xz <nl> - $ ( am__post_remove_distdir ) <nl> + tardir = $ ( distdir ) & & $ ( am__tar ) | xz - c > $ ( distdir ) . tar . xz <nl> + $ ( am__remove_distdir ) <nl> <nl> dist - tarZ : distdir <nl> tardir = $ ( distdir ) & & $ ( am__tar ) | compress - c > $ ( distdir ) . tar . Z <nl> - $ ( am__post_remove_distdir ) <nl> + $ ( am__remove_distdir ) <nl> <nl> dist - shar : distdir <nl> shar $ ( distdir ) | GZIP = $ ( GZIP_ENV ) gzip - c > $ ( distdir ) . shar . gz <nl> - $ ( am__post_remove_distdir ) <nl> + $ ( am__remove_distdir ) <nl> <nl> dist - zip : distdir <nl> - rm - f $ ( distdir ) . zip <nl> zip - rq $ ( distdir ) . zip $ ( distdir ) <nl> - $ ( am__post_remove_distdir ) <nl> + $ ( am__remove_distdir ) <nl> <nl> - dist dist - all : <nl> - $ ( MAKE ) $ ( AM_MAKEFLAGS ) $ ( DIST_TARGETS ) am__post_remove_distdir = ' @ : ' <nl> - $ ( am__post_remove_distdir ) <nl> + dist dist - all : distdir <nl> + tardir = $ ( distdir ) & & $ ( am__tar ) | GZIP = $ ( GZIP_ENV ) gzip - c > $ ( distdir ) . tar . gz <nl> + $ ( am__remove_distdir ) <nl> <nl> # This target untars the dist file and tries a VPATH configuration . Then <nl> # it guarantees that the distribution is self - contained by making another <nl> distcheck : dist <nl> GZIP = $ ( GZIP_ENV ) gzip - dc $ ( distdir ) . tar . gz | $ ( am__untar ) ; ; \ <nl> * . tar . bz2 * ) \ <nl> bzip2 - dc $ ( distdir ) . tar . bz2 | $ ( am__untar ) ; ; \ <nl> - * . tar . lz * ) \ <nl> - lzip - dc $ ( distdir ) . tar . lz | $ ( am__untar ) ; ; \ <nl> + * . tar . lzma * ) \ <nl> + lzma - dc $ ( distdir ) . tar . lzma | $ ( am__untar ) ; ; \ <nl> * . tar . xz * ) \ <nl> xz - dc $ ( distdir ) . tar . xz | $ ( am__untar ) ; ; \ <nl> * . tar . Z * ) \ <nl> distcheck : dist <nl> * . zip * ) \ <nl> unzip $ ( distdir ) . zip ; ; \ <nl> esac <nl> - chmod - R a - w $ ( distdir ) <nl> - chmod u + w $ ( distdir ) <nl> - mkdir $ ( distdir ) / _build $ ( distdir ) / _inst <nl> + chmod - R a - w $ ( distdir ) ; chmod a + w $ ( distdir ) <nl> + mkdir $ ( distdir ) / _build <nl> + mkdir $ ( distdir ) / _inst <nl> chmod a - w $ ( distdir ) <nl> test - d $ ( distdir ) / _build | | exit 0 ; \ <nl> dc_install_base = ` $ ( am__cd ) $ ( distdir ) / _inst & & pwd | sed - e ' s , ^ [ ^ : \ \ / ] : [ \ \ / ] , / , ' ` \ <nl> distcheck : dist <nl> & & am__cwd = ` pwd ` \ <nl> & & $ ( am__cd ) $ ( distdir ) / _build \ <nl> & & . . / configure - - srcdir = . . - - prefix = " $ $ dc_install_base " \ <nl> - $ ( AM_DISTCHECK_CONFIGURE_FLAGS ) \ <nl> $ ( DISTCHECK_CONFIGURE_FLAGS ) \ <nl> & & $ ( MAKE ) $ ( AM_MAKEFLAGS ) \ <nl> & & $ ( MAKE ) $ ( AM_MAKEFLAGS ) dvi \ <nl> distcheck : dist <nl> & & $ ( MAKE ) $ ( AM_MAKEFLAGS ) distcleancheck \ <nl> & & cd " $ $ am__cwd " \ <nl> | | exit 1 <nl> - $ ( am__post_remove_distdir ) <nl> + $ ( am__remove_distdir ) <nl> @ ( echo " $ ( distdir ) archives ready for distribution : " ; \ <nl> list = ' $ ( DIST_ARCHIVES ) ' ; for i in $ $ list ; do echo $ $ i ; done ) | \ <nl> sed - e 1h - e 1s / . / = / g - e 1p - e 1x - e ' $ $ p ' - e ' $ $ x ' <nl> distuninstallcheck : <nl> - @ test - n ' $ ( distuninstallcheck_dir ) ' | | { \ <nl> - echo ' ERROR : trying to run $ @ with an empty ' \ <nl> - ' $ $ ( distuninstallcheck_dir ) ' > & 2 ; \ <nl> - exit 1 ; \ <nl> - } ; \ <nl> - $ ( am__cd ) ' $ ( distuninstallcheck_dir ) ' | | { \ <nl> - echo ' ERROR : cannot chdir into $ ( distuninstallcheck_dir ) ' > & 2 ; \ <nl> - exit 1 ; \ <nl> - } ; \ <nl> - test ` $ ( am__distuninstallcheck_listfiles ) | wc - l ` - eq 0 \ <nl> + @ $ ( am__cd ) ' $ ( distuninstallcheck_dir ) ' \ <nl> + & & test ` $ ( distuninstallcheck_listfiles ) | wc - l ` - le 1 \ <nl> | | { echo " ERROR : files left after uninstall : " ; \ <nl> if test - n " $ ( DESTDIR ) " ; then \ <nl> echo " ( check DESTDIR support ) " ; \ <nl> install - am : all - am <nl> <nl> installcheck : installcheck - am <nl> install - strip : <nl> - if test - z ' $ ( STRIP ) ' ; then \ <nl> - $ ( MAKE ) $ ( AM_MAKEFLAGS ) INSTALL_PROGRAM = " $ ( INSTALL_STRIP_PROGRAM ) " \ <nl> - install_sh_PROGRAM = " $ ( INSTALL_STRIP_PROGRAM ) " INSTALL_STRIP_FLAG = - s \ <nl> - install ; \ <nl> - else \ <nl> - $ ( MAKE ) $ ( AM_MAKEFLAGS ) INSTALL_PROGRAM = " $ ( INSTALL_STRIP_PROGRAM ) " \ <nl> - install_sh_PROGRAM = " $ ( INSTALL_STRIP_PROGRAM ) " INSTALL_STRIP_FLAG = - s \ <nl> - " INSTALL_PROGRAM_ENV = STRIPPROG = ' $ ( STRIP ) ' " install ; \ <nl> - fi <nl> + $ ( MAKE ) $ ( AM_MAKEFLAGS ) INSTALL_PROGRAM = " $ ( INSTALL_STRIP_PROGRAM ) " \ <nl> + install_sh_PROGRAM = " $ ( INSTALL_STRIP_PROGRAM ) " INSTALL_STRIP_FLAG = - s \ <nl> + ` test - z ' $ ( STRIP ) ' | | \ <nl> + echo " INSTALL_PROGRAM_ENV = STRIPPROG = ' $ ( STRIP ) ' " ` install <nl> mostlyclean - generic : <nl> <nl> clean - generic : <nl> uninstall - man : uninstall - man1 uninstall - man8 <nl> . MAKE : all check install install - am install - strip <nl> <nl> . PHONY : CTAGS GTAGS all all - am am - - refresh check check - am clean \ <nl> - clean - binPROGRAMS clean - cscope clean - generic clean - local \ <nl> + clean - binPROGRAMS clean - generic clean - local \ <nl> clean - noinstLIBRARIES clean - noinstPROGRAMS clean - sbinPROGRAMS \ <nl> - cscope cscopelist ctags dist dist - all dist - bzip2 dist - gzip \ <nl> - dist - lzip dist - shar dist - tarZ dist - xz dist - zip distcheck \ <nl> - distclean distclean - compile distclean - generic distclean - hdr \ <nl> + ctags dist dist - all dist - bzip2 dist - gzip dist - lzma dist - shar \ <nl> + dist - tarZ dist - xz dist - zip distcheck distclean \ <nl> + distclean - compile distclean - generic distclean - hdr \ <nl> distclean - tags distcleancheck distdir distuninstallcheck dvi \ <nl> dvi - am html html - am info info - am install install - am \ <nl> install - arangosysconfDATA install - binPROGRAMS \ <nl> mmm a / html / admin / js / modules / simple - query - basics . js <nl> ppp b / html / admin / js / modules / simple - query - basics . js <nl> SimpleQuery . prototype . execute = function ( ) { <nl> / / / @ FUN { @ FA { query } . limit ( @ FA { number } ) } <nl> / / / <nl> / / / Limits a result to the first @ FA { number } documents . Specifying a limit of <nl> - / / / @ CODE { 0 } returns no documents at all . If you do not need a limit , just do <nl> + / / / @ LIT { 0 } returns no documents at all . If you do not need a limit , just do <nl> / / / not add the limit operator . The limit must be non - negative . <nl> / / / <nl> / / / In general the input to @ FN { limit } should be sorted . Otherwise it will be <nl> | updaded upgrading notes in documentation | arangodb/arangodb | f73364354d3b4e6fe87e0efee046c1df9da70292 | 2012-11-21T18:26:33Z |
mmm a / buildscripts / idl / idl / ast . py <nl> ppp b / buildscripts / idl / idl / ast . py <nl> class Command ( Struct ) : <nl> All fields are either required or have a non - None default . <nl> " " " <nl> <nl> + # pylint : disable = too - many - instance - attributes <nl> + <nl> def __init__ ( self , file_name , line , column ) : <nl> # type : ( str , int , int ) - > None <nl> " " " Construct a command . " " " <nl> def __init__ ( self , file_name , line , column ) : <nl> self . reply_type = None # type : Field <nl> self . api_version = " " # type : str <nl> self . is_deprecated = False # type : bool <nl> + self . unstable = False # type : bool <nl> + self . forward_to_shards = False # type : bool <nl> + self . forward_from_shards = False # type : bool <nl> super ( Command , self ) . __init__ ( file_name , line , column ) <nl> <nl> <nl> mmm a / buildscripts / idl / idl / errors . py <nl> ppp b / buildscripts / idl / idl / errors . py <nl> <nl> ERROR_ID_FEATURE_FLAG_DEFAULT_TRUE_MISSING_VERSION = " ID0070 " <nl> ERROR_ID_FEATURE_FLAG_DEFAULT_FALSE_HAS_VERSION = " ID0071 " <nl> ERROR_ID_INVALID_REPLY_TYPE = " ID0072 " <nl> + ERROR_ID_UNSTABLE_NO_API_VERSION = " ID0073 " <nl> + ERROR_ID_MISSING_REPLY_TYPE = " ID0074 " <nl> <nl> <nl> class IDLError ( Exception ) : <nl> def add_reply_type_invalid_type ( self , location , command_name , reply_type_name ) : <nl> location , ERROR_ID_INVALID_REPLY_TYPE , <nl> ( " Command ' % s ' has invalid reply_type ' % s ' " % ( command_name , reply_type_name ) ) ) <nl> <nl> + def add_unstable_no_api_version ( self , location , command_name ) : <nl> + # type : ( common . SourceLocation , str ) - > None <nl> + " " " Add an error about a command with ' unstable ' but no ' api_version ' . " " " <nl> + # pylint : disable = invalid - name <nl> + self . _add_error ( <nl> + location , ERROR_ID_UNSTABLE_NO_API_VERSION , <nl> + ( " Command ' % s ' specifies ' unstable ' but has no ' api_version " % ( command_name , ) ) ) <nl> + <nl> + def add_missing_reply_type ( self , location , command_name ) : <nl> + # type : ( common . SourceLocation , str ) - > None <nl> + " " " Add an error about a command with ' api_version ' but no ' reply_type ' . " " " <nl> + # pylint : disable = invalid - name <nl> + self . _add_error ( <nl> + location , ERROR_ID_MISSING_REPLY_TYPE , <nl> + ( " Command ' % s ' has an ' api_version ' but no ' reply_type ' " % ( command_name , ) ) ) <nl> + <nl> <nl> def _assert_unique_error_messages ( ) : <nl> # type : ( ) - > None <nl> mmm a / buildscripts / idl / idl / parser . py <nl> ppp b / buildscripts / idl / idl / parser . py <nl> def __init__ ( self , node_type , required = OPTIONAL , mapping_parser_func = None ) : <nl> self . mapping_parser_func = mapping_parser_func # type : Callable [ [ errors . ParserContext , yaml . nodes . MappingNode ] , Any ] <nl> <nl> <nl> + def _has_field ( <nl> + node , # type : Union [ yaml . nodes . MappingNode , yaml . nodes . ScalarNode , yaml . nodes . SequenceNode ] <nl> + field_name , # type : str <nl> + ) : # type : ( . . . ) - > bool <nl> + return any ( kv [ 0 ] . value = = field_name for kv in node . value ) <nl> + <nl> + <nl> def _generic_parser ( <nl> ctxt , # type : errors . ParserContext <nl> node , # type : Union [ yaml . nodes . MappingNode , yaml . nodes . ScalarNode , yaml . nodes . SequenceNode ] <nl> def _parse_command ( ctxt , spec , name , node ) : <nl> " reply_type " : _RuleDesc ( ' scalar ' ) , <nl> " api_version " : _RuleDesc ( ' scalar ' ) , <nl> " is_deprecated " : _RuleDesc ( ' bool_scalar ' ) , <nl> + " unstable " : _RuleDesc ( " bool_scalar " ) , <nl> + " forward_to_shards " : _RuleDesc ( " bool_scalar " ) , <nl> + " forward_from_shards " : _RuleDesc ( " bool_scalar " ) , <nl> " strict " : _RuleDesc ( " bool_scalar " ) , <nl> " inline_chained_structs " : _RuleDesc ( " bool_scalar " ) , <nl> " immutable " : _RuleDesc ( ' bool_scalar ' ) , <nl> def _parse_command ( ctxt , spec , name , node ) : <nl> if command . namespace ! = common . COMMAND_NAMESPACE_TYPE and command . type : <nl> ctxt . add_extranous_command_type ( command , command . name ) <nl> <nl> + if _has_field ( node , " unstable " ) and not command . api_version : <nl> + ctxt . add_unstable_no_api_version ( command , command . name ) <nl> + <nl> + if command . api_version and command . reply_type is None : <nl> + ctxt . add_missing_reply_type ( command , command . name ) <nl> + <nl> # Commands may only have the first parameter , ensure the fields property is an empty array . <nl> if not command . fields : <nl> command . fields = [ ] <nl> mmm a / buildscripts / idl / idl / syntax . py <nl> ppp b / buildscripts / idl / idl / syntax . py <nl> class Command ( Struct ) : <nl> Namespace is required . <nl> " " " <nl> <nl> + # pylint : disable = too - many - instance - attributes <nl> + <nl> def __init__ ( self , file_name , line , column ) : <nl> # type : ( str , int , int ) - > None <nl> " " " Construct a Command . " " " <nl> def __init__ ( self , file_name , line , column ) : <nl> self . reply_type = None # type : str <nl> self . api_version = " " # type : str <nl> self . is_deprecated = False # type : bool <nl> - <nl> + self . unstable = False # type : bool <nl> + self . forward_to_shards = False # type : bool <nl> + self . forward_from_shards = False # type : bool <nl> super ( Command , self ) . __init__ ( file_name , line , column ) <nl> <nl> <nl> mmm a / buildscripts / idl / tests / test_parser . py <nl> ppp b / buildscripts / idl / tests / test_parser . py <nl> def test_command_positive ( self ) : <nl> namespace : ignored <nl> api_version : 1 <nl> is_deprecated : true <nl> + unstable : true <nl> + forward_to_shards : true <nl> + forward_from_shards : true <nl> immutable : true <nl> inline_chained_structs : true <nl> generate_comparison_operators : true <nl> cpp_name : foo <nl> fields : <nl> foo : bar <nl> + reply_type : foo_reply_struct <nl> " " " ) ) <nl> <nl> # All fields with false for bools <nl> def test_command_positive ( self ) : <nl> namespace : ignored <nl> api_version : 1 <nl> is_deprecated : false <nl> + unstable : false <nl> + forward_to_shards : false <nl> + forward_from_shards : false <nl> immutable : false <nl> inline_chained_structs : false <nl> generate_comparison_operators : false <nl> fields : <nl> foo : bar <nl> + reply_type : foo_reply_struct <nl> " " " ) ) <nl> <nl> # Quoted api_version <nl> def test_command_positive ( self ) : <nl> api_version : " 1 " <nl> fields : <nl> foo : bar <nl> + reply_type : foo_reply_struct <nl> " " " ) ) <nl> <nl> # Namespace ignored <nl> def test_command_positive ( self ) : <nl> strict : true <nl> " " " ) ) <nl> <nl> - # Reply type <nl> + # Reply type permitted without api_version <nl> self . assert_parse ( <nl> textwrap . dedent ( " " " <nl> commands : <nl> def test_command_negative ( self ) : <nl> api_version : [ 1 ] <nl> fields : <nl> foo : bar <nl> + reply_type : foo_reply_struct <nl> " " " ) , idl . errors . ERROR_ID_IS_NODE_TYPE ) <nl> <nl> self . assert_parse_fail ( <nl> def test_command_negative ( self ) : <nl> api_version : [ " 1 " ] <nl> fields : <nl> foo : bar <nl> + reply_type : foo_reply_struct <nl> " " " ) , idl . errors . ERROR_ID_IS_NODE_TYPE ) <nl> <nl> + # Cannot specify unstable with empty api_version <nl> + self . assert_parse_fail ( <nl> + textwrap . dedent ( " " " <nl> + commands : <nl> + foo : <nl> + description : foo <nl> + namespace : ignored <nl> + api_version : " " <nl> + unstable : true <nl> + fields : <nl> + foo : bar <nl> + reply_type : foo_reply_struct <nl> + " " " ) , idl . errors . ERROR_ID_UNSTABLE_NO_API_VERSION ) <nl> + <nl> + self . assert_parse_fail ( <nl> + textwrap . dedent ( " " " <nl> + commands : <nl> + foo : <nl> + description : foo <nl> + namespace : ignored <nl> + api_version : " " <nl> + unstable : false <nl> + fields : <nl> + foo : bar <nl> + reply_type : foo_reply_struct <nl> + " " " ) , idl . errors . ERROR_ID_UNSTABLE_NO_API_VERSION ) <nl> + <nl> + # Cannot specify unstable without an api_version <nl> + self . assert_parse_fail ( <nl> + textwrap . dedent ( " " " <nl> + commands : <nl> + foo : <nl> + description : foo <nl> + namespace : ignored <nl> + unstable : true <nl> + fields : <nl> + foo : bar <nl> + " " " ) , idl . errors . ERROR_ID_UNSTABLE_NO_API_VERSION ) <nl> + <nl> + self . assert_parse_fail ( <nl> + textwrap . dedent ( " " " <nl> + commands : <nl> + foo : <nl> + description : foo <nl> + namespace : ignored <nl> + unstable : false <nl> + fields : <nl> + foo : bar <nl> + " " " ) , idl . errors . ERROR_ID_UNSTABLE_NO_API_VERSION ) <nl> + <nl> + # Must specify reply_type if api_version is non - empty <nl> + self . assert_parse_fail ( <nl> + textwrap . dedent ( " " " <nl> + commands : <nl> + foo : <nl> + description : foo <nl> + namespace : ignored <nl> + api_version : 1 <nl> + fields : <nl> + foo : bar <nl> + " " " ) , idl . errors . ERROR_ID_MISSING_REPLY_TYPE ) <nl> + <nl> # Namespace is required <nl> self . assert_parse_fail ( <nl> textwrap . dedent ( " " " <nl> | SERVER - 51378 SERVER - 51379 Add API V1 fields to IDL | mongodb/mongo | 2ccf0fe0175419ae3563b3f435723157b5c8b693 | 2020-10-27T15:57:10Z |
mmm a / Marlin / Marlin . ino <nl> ppp b / Marlin / Marlin . ino <nl> <nl> <nl> # if ENABLED ( HAVE_TMCDRIVER ) <nl> # include < SPI . h > <nl> - # include < TMC26XStepper . h > <nl> + # if defined ( STM32F7 ) <nl> + # include " src / HAL / HAL_STM32F7 / TMC2660 . h " <nl> + # else <nl> + # include < TMC26XStepper . h > <nl> + # endif <nl> # endif <nl> <nl> # if ENABLED ( HAVE_TMC2130 ) <nl> mmm a / Marlin / src / HAL / HAL . h <nl> ppp b / Marlin / src / HAL / HAL . h <nl> <nl> # elif defined ( __STM32F1__ ) | | defined ( TARGET_STM32F1 ) <nl> # include " math_32bit . h " <nl> # include " HAL_STM32F1 / HAL_Stm32f1 . h " <nl> + # elif defined ( STM32F7 ) <nl> + # define CPU_32_BIT <nl> + # include " math_32bit . h " <nl> + # include " HAL_STM32F7 / HAL_STM32F7 . h " <nl> # else <nl> # error " Unsupported Platform ! " <nl> # endif <nl> new file mode 100644 <nl> index 00000000000 . . 266573f7b34 <nl> mmm / dev / null <nl> ppp b / Marlin / src / HAL / HAL_STM32F7 / EEPROM_Emul / eeprom_emul . cpp <nl> <nl> + / * * <nl> + * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> + * @ file EEPROM / EEPROM_Emulation / src / eeprom . c <nl> + * @ author MCD Application Team <nl> + * @ version V1 . 2 . 6 <nl> + * @ date 04 - November - 2016 <nl> + * @ brief This file provides all the EEPROM emulation firmware functions . <nl> + * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> + * @ attention <nl> + * <nl> + * < h2 > < center > & copy ; Copyright © 2016 STMicroelectronics International N . V . <nl> + * All rights reserved . < / center > < / h2 > <nl> + * <nl> + * Redistribution and use in source and binary forms , with or without <nl> + * modification , are permitted , provided that the following conditions are met : <nl> + * <nl> + * 1 . Redistribution of source code must retain the above copyright notice , <nl> + * this list of conditions and the following disclaimer . <nl> + * 2 . Redistributions in binary form must reproduce the above copyright notice , <nl> + * this list of conditions and the following disclaimer in the documentation <nl> + * and / or other materials provided with the distribution . <nl> + * 3 . Neither the name of STMicroelectronics nor the names of other <nl> + * contributors to this software may be used to endorse or promote products <nl> + * derived from this software without specific written permission . <nl> + * 4 . This software , including modifications and / or derivative works of this <nl> + * software , must execute solely and exclusively on microcontroller or <nl> + * microprocessor devices manufactured by or for STMicroelectronics . <nl> + * 5 . Redistribution and use of this software other than as permitted under <nl> + * this license is void and will automatically terminate your rights under <nl> + * this license . <nl> + * <nl> + * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS " AS IS " <nl> + * AND ANY EXPRESS , IMPLIED OR STATUTORY WARRANTIES , INCLUDING , BUT NOT <nl> + * LIMITED TO , THE IMPLIED WARRANTIES OF MERCHANTABILITY , FITNESS FOR A <nl> + * PARTICULAR PURPOSE AND NON - INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY <nl> + * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW . IN NO EVENT <nl> + * SHALL STMICROELECTRONICS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT , INDIRECT , <nl> + * INCIDENTAL , SPECIAL , EXEMPLARY , OR CONSEQUENTIAL DAMAGES ( INCLUDING , BUT NOT <nl> + * LIMITED TO , PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES ; LOSS OF USE , DATA , <nl> + * OR PROFITS ; OR BUSINESS INTERRUPTION ) HOWEVER CAUSED AND ON ANY THEORY OF <nl> + * LIABILITY , WHETHER IN CONTRACT , STRICT LIABILITY , OR TORT ( INCLUDING <nl> + * NEGLIGENCE OR OTHERWISE ) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE , <nl> + * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE . <nl> + * <nl> + * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> + * / <nl> + / * * @ addtogroup EEPROM_Emulation <nl> + * @ { <nl> + * / <nl> + # ifdef STM32F7 <nl> + <nl> + / * Includes mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm * / <nl> + # include " eeprom_emul . h " <nl> + <nl> + / * Private typedef mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - * / <nl> + / * Private define mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm * / <nl> + / * Private macro mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - * / <nl> + / * Private variables mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm * / <nl> + <nl> + / * Global variable used to store variable value in read sequence * / <nl> + uint16_t DataVar = 0 ; <nl> + <nl> + / * Virtual address defined by the user : 0xFFFF value is prohibited * / <nl> + uint16_t VirtAddVarTab [ NB_OF_VAR ] ; <nl> + <nl> + / * Private function prototypes mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - * / <nl> + / * Private functions mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm * / <nl> + static HAL_StatusTypeDef EE_Format ( void ) ; <nl> + static uint16_t EE_FindValidPage ( uint8_t Operation ) ; <nl> + static uint16_t EE_VerifyPageFullWriteVariable ( uint16_t VirtAddress , uint16_t Data ) ; <nl> + static uint16_t EE_PageTransfer ( uint16_t VirtAddress , uint16_t Data ) ; <nl> + static uint16_t EE_VerifyPageFullyErased ( uint32_t Address ) ; <nl> + <nl> + / * * <nl> + * @ brief Restore the pages to a known good state in case of page ' s status <nl> + * corruption after a power loss . <nl> + * @ param None . <nl> + * @ retval - Flash error code : on write Flash error <nl> + * - FLASH_COMPLETE : on success <nl> + * / <nl> + uint16_t EE_Initialise ( void ) <nl> + { <nl> + uint16_t PageStatus0 = 6 , PageStatus1 = 6 ; <nl> + uint16_t VarIdx = 0 ; <nl> + uint16_t EepromStatus = 0 , ReadStatus = 0 ; <nl> + int16_t x = - 1 ; <nl> + HAL_StatusTypeDef FlashStatus ; <nl> + uint32_t SectorError = 0 ; <nl> + FLASH_EraseInitTypeDef pEraseInit ; <nl> + <nl> + <nl> + / * Get Page0 status * / <nl> + PageStatus0 = ( * ( __IO uint16_t * ) PAGE0_BASE_ADDRESS ) ; <nl> + / * Get Page1 status * / <nl> + PageStatus1 = ( * ( __IO uint16_t * ) PAGE1_BASE_ADDRESS ) ; <nl> + <nl> + pEraseInit . TypeErase = TYPEERASE_SECTORS ; <nl> + pEraseInit . Sector = PAGE0_ID ; <nl> + pEraseInit . NbSectors = 1 ; <nl> + pEraseInit . VoltageRange = VOLTAGE_RANGE ; <nl> + <nl> + / * Check for invalid header states and repair if necessary * / <nl> + switch ( PageStatus0 ) <nl> + { <nl> + case ERASED : <nl> + if ( PageStatus1 = = VALID_PAGE ) / * Page0 erased , Page1 valid * / <nl> + { <nl> + / * Erase Page0 * / <nl> + if ( ! EE_VerifyPageFullyErased ( PAGE0_BASE_ADDRESS ) ) <nl> + { <nl> + FlashStatus = HAL_FLASHEx_Erase ( & pEraseInit , & SectorError ) ; <nl> + / * If erase operation was failed , a Flash error code is returned * / <nl> + if ( FlashStatus ! = HAL_OK ) <nl> + { <nl> + return FlashStatus ; <nl> + } <nl> + } <nl> + } <nl> + else if ( PageStatus1 = = RECEIVE_DATA ) / * Page0 erased , Page1 receive * / <nl> + { <nl> + / * Erase Page0 * / <nl> + if ( ! EE_VerifyPageFullyErased ( PAGE0_BASE_ADDRESS ) ) <nl> + { <nl> + FlashStatus = HAL_FLASHEx_Erase ( & pEraseInit , & SectorError ) ; <nl> + / * If erase operation was failed , a Flash error code is returned * / <nl> + if ( FlashStatus ! = HAL_OK ) <nl> + { <nl> + return FlashStatus ; <nl> + } <nl> + } <nl> + / * Mark Page1 as valid * / <nl> + FlashStatus = HAL_FLASH_Program ( TYPEPROGRAM_HALFWORD , PAGE1_BASE_ADDRESS , VALID_PAGE ) ; <nl> + / * If program operation was failed , a Flash error code is returned * / <nl> + if ( FlashStatus ! = HAL_OK ) <nl> + { <nl> + return FlashStatus ; <nl> + } <nl> + } <nl> + else / * First EEPROM access ( Page0 & 1 are erased ) or invalid state - > format EEPROM * / <nl> + { <nl> + / * Erase both Page0 and Page1 and set Page0 as valid page * / <nl> + FlashStatus = EE_Format ( ) ; <nl> + / * If erase / program operation was failed , a Flash error code is returned * / <nl> + if ( FlashStatus ! = HAL_OK ) <nl> + { <nl> + return FlashStatus ; <nl> + } <nl> + } <nl> + break ; <nl> + <nl> + case RECEIVE_DATA : <nl> + if ( PageStatus1 = = VALID_PAGE ) / * Page0 receive , Page1 valid * / <nl> + { <nl> + / * Transfer data from Page1 to Page0 * / <nl> + for ( VarIdx = 0 ; VarIdx < NB_OF_VAR ; VarIdx + + ) <nl> + { <nl> + if ( ( * ( __IO uint16_t * ) ( PAGE0_BASE_ADDRESS + 6 ) ) = = VirtAddVarTab [ VarIdx ] ) <nl> + { <nl> + x = VarIdx ; <nl> + } <nl> + if ( VarIdx ! = x ) <nl> + { <nl> + / * Read the last variables ' updates * / <nl> + ReadStatus = EE_ReadVariable ( VirtAddVarTab [ VarIdx ] , & DataVar ) ; <nl> + / * In case variable corresponding to the virtual address was found * / <nl> + if ( ReadStatus ! = 0x1 ) <nl> + { <nl> + / * Transfer the variable to the Page0 * / <nl> + EepromStatus = EE_VerifyPageFullWriteVariable ( VirtAddVarTab [ VarIdx ] , DataVar ) ; <nl> + / * If program operation was failed , a Flash error code is returned * / <nl> + if ( EepromStatus ! = HAL_OK ) <nl> + { <nl> + return EepromStatus ; <nl> + } <nl> + } <nl> + } <nl> + } <nl> + / * Mark Page0 as valid * / <nl> + FlashStatus = HAL_FLASH_Program ( TYPEPROGRAM_HALFWORD , PAGE0_BASE_ADDRESS , VALID_PAGE ) ; <nl> + / * If program operation was failed , a Flash error code is returned * / <nl> + if ( FlashStatus ! = HAL_OK ) <nl> + { <nl> + return FlashStatus ; <nl> + } <nl> + pEraseInit . Sector = PAGE1_ID ; <nl> + pEraseInit . NbSectors = 1 ; <nl> + pEraseInit . VoltageRange = VOLTAGE_RANGE ; <nl> + / * Erase Page1 * / <nl> + if ( ! EE_VerifyPageFullyErased ( PAGE1_BASE_ADDRESS ) ) <nl> + { <nl> + FlashStatus = HAL_FLASHEx_Erase ( & pEraseInit , & SectorError ) ; <nl> + / * If erase operation was failed , a Flash error code is returned * / <nl> + if ( FlashStatus ! = HAL_OK ) <nl> + { <nl> + return FlashStatus ; <nl> + } <nl> + } <nl> + } <nl> + else if ( PageStatus1 = = ERASED ) / * Page0 receive , Page1 erased * / <nl> + { <nl> + pEraseInit . Sector = PAGE1_ID ; <nl> + pEraseInit . NbSectors = 1 ; <nl> + pEraseInit . VoltageRange = VOLTAGE_RANGE ; <nl> + / * Erase Page1 * / <nl> + if ( ! EE_VerifyPageFullyErased ( PAGE1_BASE_ADDRESS ) ) <nl> + { <nl> + FlashStatus = HAL_FLASHEx_Erase ( & pEraseInit , & SectorError ) ; <nl> + / * If erase operation was failed , a Flash error code is returned * / <nl> + if ( FlashStatus ! = HAL_OK ) <nl> + { <nl> + return FlashStatus ; <nl> + } <nl> + } <nl> + / * Mark Page0 as valid * / <nl> + FlashStatus = HAL_FLASH_Program ( TYPEPROGRAM_HALFWORD , PAGE0_BASE_ADDRESS , VALID_PAGE ) ; <nl> + / * If program operation was failed , a Flash error code is returned * / <nl> + if ( FlashStatus ! = HAL_OK ) <nl> + { <nl> + return FlashStatus ; <nl> + } <nl> + } <nl> + else / * Invalid state - > format eeprom * / <nl> + { <nl> + / * Erase both Page0 and Page1 and set Page0 as valid page * / <nl> + FlashStatus = EE_Format ( ) ; <nl> + / * If erase / program operation was failed , a Flash error code is returned * / <nl> + if ( FlashStatus ! = HAL_OK ) <nl> + { <nl> + return FlashStatus ; <nl> + } <nl> + } <nl> + break ; <nl> + <nl> + case VALID_PAGE : <nl> + if ( PageStatus1 = = VALID_PAGE ) / * Invalid state - > format eeprom * / <nl> + { <nl> + / * Erase both Page0 and Page1 and set Page0 as valid page * / <nl> + FlashStatus = EE_Format ( ) ; <nl> + / * If erase / program operation was failed , a Flash error code is returned * / <nl> + if ( FlashStatus ! = HAL_OK ) <nl> + { <nl> + return FlashStatus ; <nl> + } <nl> + } <nl> + else if ( PageStatus1 = = ERASED ) / * Page0 valid , Page1 erased * / <nl> + { <nl> + pEraseInit . Sector = PAGE1_ID ; <nl> + pEraseInit . NbSectors = 1 ; <nl> + pEraseInit . VoltageRange = VOLTAGE_RANGE ; <nl> + / * Erase Page1 * / <nl> + if ( ! EE_VerifyPageFullyErased ( PAGE1_BASE_ADDRESS ) ) <nl> + { <nl> + FlashStatus = HAL_FLASHEx_Erase ( & pEraseInit , & SectorError ) ; <nl> + / * If erase operation was failed , a Flash error code is returned * / <nl> + if ( FlashStatus ! = HAL_OK ) <nl> + { <nl> + return FlashStatus ; <nl> + } <nl> + } <nl> + } <nl> + else / * Page0 valid , Page1 receive * / <nl> + { <nl> + / * Transfer data from Page0 to Page1 * / <nl> + for ( VarIdx = 0 ; VarIdx < NB_OF_VAR ; VarIdx + + ) <nl> + { <nl> + if ( ( * ( __IO uint16_t * ) ( PAGE1_BASE_ADDRESS + 6 ) ) = = VirtAddVarTab [ VarIdx ] ) <nl> + { <nl> + x = VarIdx ; <nl> + } <nl> + if ( VarIdx ! = x ) <nl> + { <nl> + / * Read the last variables ' updates * / <nl> + ReadStatus = EE_ReadVariable ( VirtAddVarTab [ VarIdx ] , & DataVar ) ; <nl> + / * In case variable corresponding to the virtual address was found * / <nl> + if ( ReadStatus ! = 0x1 ) <nl> + { <nl> + / * Transfer the variable to the Page1 * / <nl> + EepromStatus = EE_VerifyPageFullWriteVariable ( VirtAddVarTab [ VarIdx ] , DataVar ) ; <nl> + / * If program operation was failed , a Flash error code is returned * / <nl> + if ( EepromStatus ! = HAL_OK ) <nl> + { <nl> + return EepromStatus ; <nl> + } <nl> + } <nl> + } <nl> + } <nl> + / * Mark Page1 as valid * / <nl> + FlashStatus = HAL_FLASH_Program ( TYPEPROGRAM_HALFWORD , PAGE1_BASE_ADDRESS , VALID_PAGE ) ; <nl> + / * If program operation was failed , a Flash error code is returned * / <nl> + if ( FlashStatus ! = HAL_OK ) <nl> + { <nl> + return FlashStatus ; <nl> + } <nl> + pEraseInit . Sector = PAGE0_ID ; <nl> + pEraseInit . NbSectors = 1 ; <nl> + pEraseInit . VoltageRange = VOLTAGE_RANGE ; <nl> + / * Erase Page0 * / <nl> + if ( ! EE_VerifyPageFullyErased ( PAGE0_BASE_ADDRESS ) ) <nl> + { <nl> + FlashStatus = HAL_FLASHEx_Erase ( & pEraseInit , & SectorError ) ; <nl> + / * If erase operation was failed , a Flash error code is returned * / <nl> + if ( FlashStatus ! = HAL_OK ) <nl> + { <nl> + return FlashStatus ; <nl> + } <nl> + } <nl> + } <nl> + break ; <nl> + <nl> + default : / * Any other state - > format eeprom * / <nl> + / * Erase both Page0 and Page1 and set Page0 as valid page * / <nl> + FlashStatus = EE_Format ( ) ; <nl> + / * If erase / program operation was failed , a Flash error code is returned * / <nl> + if ( FlashStatus ! = HAL_OK ) <nl> + { <nl> + return FlashStatus ; <nl> + } <nl> + break ; <nl> + } <nl> + <nl> + return HAL_OK ; <nl> + } <nl> + <nl> + / * * <nl> + * @ brief Verify if specified page is fully erased . <nl> + * @ param Address : page address <nl> + * This parameter can be one of the following values : <nl> + * @ arg PAGE0_BASE_ADDRESS : Page0 base address <nl> + * @ arg PAGE1_BASE_ADDRESS : Page1 base address <nl> + * @ retval page fully erased status : <nl> + * - 0 : if Page not erased <nl> + * - 1 : if Page erased <nl> + * / <nl> + uint16_t EE_VerifyPageFullyErased ( uint32_t Address ) <nl> + { <nl> + uint32_t ReadStatus = 1 ; <nl> + uint16_t AddressValue = 0x5555 ; <nl> + <nl> + / * Check each active page address starting from end * / <nl> + while ( Address < = PAGE0_END_ADDRESS ) <nl> + { <nl> + / * Get the current location content to be compared with virtual address * / <nl> + AddressValue = ( * ( __IO uint16_t * ) Address ) ; <nl> + <nl> + / * Compare the read address with the virtual address * / <nl> + if ( AddressValue ! = ERASED ) <nl> + { <nl> + <nl> + / * In case variable value is read , reset ReadStatus flag * / <nl> + ReadStatus = 0 ; <nl> + <nl> + break ; <nl> + } <nl> + / * Next address location * / <nl> + Address = Address + 4 ; <nl> + } <nl> + <nl> + / * Return ReadStatus value : ( 0 : Page not erased , 1 : Sector erased ) * / <nl> + return ReadStatus ; <nl> + } <nl> + <nl> + / * * <nl> + * @ brief Returns the last stored variable data , if found , which correspond to <nl> + * the passed virtual address <nl> + * @ param VirtAddress : Variable virtual address <nl> + * @ param Data : Global variable contains the read variable value <nl> + * @ retval Success or error status : <nl> + * - 0 : if variable was found <nl> + * - 1 : if the variable was not found <nl> + * - NO_VALID_PAGE : if no valid page was found . <nl> + * / <nl> + uint16_t EE_ReadVariable ( uint16_t VirtAddress , uint16_t * Data ) <nl> + { <nl> + uint16_t ValidPage = PAGE0 ; <nl> + uint16_t AddressValue = 0x5555 , ReadStatus = 1 ; <nl> + uint32_t Address = EEPROM_START_ADDRESS , PageStartAddress = EEPROM_START_ADDRESS ; <nl> + <nl> + / * Get active Page for read operation * / <nl> + ValidPage = EE_FindValidPage ( READ_FROM_VALID_PAGE ) ; <nl> + <nl> + / * Check if there is no valid page * / <nl> + if ( ValidPage = = NO_VALID_PAGE ) <nl> + { <nl> + return NO_VALID_PAGE ; <nl> + } <nl> + <nl> + / * Get the valid Page start Address * / <nl> + PageStartAddress = ( uint32_t ) ( EEPROM_START_ADDRESS + ( uint32_t ) ( ValidPage * PAGE_SIZE ) ) ; <nl> + <nl> + / * Get the valid Page end Address * / <nl> + Address = ( uint32_t ) ( ( EEPROM_START_ADDRESS - 2 ) + ( uint32_t ) ( ( 1 + ValidPage ) * PAGE_SIZE ) ) ; <nl> + <nl> + / * Check each active page address starting from end * / <nl> + while ( Address > ( PageStartAddress + 2 ) ) <nl> + { <nl> + / * Get the current location content to be compared with virtual address * / <nl> + AddressValue = ( * ( __IO uint16_t * ) Address ) ; <nl> + <nl> + / * Compare the read address with the virtual address * / <nl> + if ( AddressValue = = VirtAddress ) <nl> + { <nl> + / * Get content of Address - 2 which is variable value * / <nl> + * Data = ( * ( __IO uint16_t * ) ( Address - 2 ) ) ; <nl> + <nl> + / * In case variable value is read , reset ReadStatus flag * / <nl> + ReadStatus = 0 ; <nl> + <nl> + break ; <nl> + } <nl> + else <nl> + { <nl> + / * Next address location * / <nl> + Address = Address - 4 ; <nl> + } <nl> + } <nl> + <nl> + / * Return ReadStatus value : ( 0 : variable exist , 1 : variable doesn ' t exist ) * / <nl> + return ReadStatus ; <nl> + } <nl> + <nl> + / * * <nl> + * @ brief Writes / upadtes variable data in EEPROM . <nl> + * @ param VirtAddress : Variable virtual address <nl> + * @ param Data : 16 bit data to be written <nl> + * @ retval Success or error status : <nl> + * - FLASH_COMPLETE : on success <nl> + * - PAGE_FULL : if valid page is full <nl> + * - NO_VALID_PAGE : if no valid page was found <nl> + * - Flash error code : on write Flash error <nl> + * / <nl> + uint16_t EE_WriteVariable ( uint16_t VirtAddress , uint16_t Data ) <nl> + { <nl> + uint16_t Status = 0 ; <nl> + <nl> + / * Write the variable virtual address and value in the EEPROM * / <nl> + Status = EE_VerifyPageFullWriteVariable ( VirtAddress , Data ) ; <nl> + <nl> + / * In case the EEPROM active page is full * / <nl> + if ( Status = = PAGE_FULL ) <nl> + { <nl> + / * Perform Page transfer * / <nl> + Status = EE_PageTransfer ( VirtAddress , Data ) ; <nl> + } <nl> + <nl> + / * Return last operation status * / <nl> + return Status ; <nl> + } <nl> + <nl> + / * * <nl> + * @ brief Erases PAGE and PAGE1 and writes VALID_PAGE header to PAGE <nl> + * @ param None <nl> + * @ retval Status of the last operation ( Flash write or erase ) done during <nl> + * EEPROM formating <nl> + * / <nl> + static HAL_StatusTypeDef EE_Format ( void ) <nl> + { <nl> + HAL_StatusTypeDef FlashStatus = HAL_OK ; <nl> + uint32_t SectorError = 0 ; <nl> + FLASH_EraseInitTypeDef pEraseInit ; <nl> + <nl> + pEraseInit . TypeErase = FLASH_TYPEERASE_SECTORS ; <nl> + pEraseInit . Sector = PAGE0_ID ; <nl> + pEraseInit . NbSectors = 1 ; <nl> + pEraseInit . VoltageRange = VOLTAGE_RANGE ; <nl> + / * Erase Page0 * / <nl> + if ( ! EE_VerifyPageFullyErased ( PAGE0_BASE_ADDRESS ) ) <nl> + { <nl> + FlashStatus = HAL_FLASHEx_Erase ( & pEraseInit , & SectorError ) ; <nl> + / * If erase operation was failed , a Flash error code is returned * / <nl> + if ( FlashStatus ! = HAL_OK ) <nl> + { <nl> + return FlashStatus ; <nl> + } <nl> + } <nl> + / * Set Page0 as valid page : Write VALID_PAGE at Page0 base address * / <nl> + FlashStatus = HAL_FLASH_Program ( TYPEPROGRAM_HALFWORD , PAGE0_BASE_ADDRESS , VALID_PAGE ) ; <nl> + / * If program operation was failed , a Flash error code is returned * / <nl> + if ( FlashStatus ! = HAL_OK ) <nl> + { <nl> + return FlashStatus ; <nl> + } <nl> + <nl> + pEraseInit . Sector = PAGE1_ID ; <nl> + / * Erase Page1 * / <nl> + if ( ! EE_VerifyPageFullyErased ( PAGE1_BASE_ADDRESS ) ) <nl> + { <nl> + FlashStatus = HAL_FLASHEx_Erase ( & pEraseInit , & SectorError ) ; <nl> + / * If erase operation was failed , a Flash error code is returned * / <nl> + if ( FlashStatus ! = HAL_OK ) <nl> + { <nl> + return FlashStatus ; <nl> + } <nl> + } <nl> + <nl> + return HAL_OK ; <nl> + } <nl> + <nl> + / * * <nl> + * @ brief Find valid Page for write or read operation <nl> + * @ param Operation : operation to achieve on the valid page . <nl> + * This parameter can be one of the following values : <nl> + * @ arg READ_FROM_VALID_PAGE : read operation from valid page <nl> + * @ arg WRITE_IN_VALID_PAGE : write operation from valid page <nl> + * @ retval Valid page number ( PAGE or PAGE1 ) or NO_VALID_PAGE in case <nl> + * of no valid page was found <nl> + * / <nl> + static uint16_t EE_FindValidPage ( uint8_t Operation ) <nl> + { <nl> + uint16_t PageStatus0 = 6 , PageStatus1 = 6 ; <nl> + <nl> + / * Get Page0 actual status * / <nl> + PageStatus0 = ( * ( __IO uint16_t * ) PAGE0_BASE_ADDRESS ) ; <nl> + <nl> + / * Get Page1 actual status * / <nl> + PageStatus1 = ( * ( __IO uint16_t * ) PAGE1_BASE_ADDRESS ) ; <nl> + <nl> + / * Write or read operation * / <nl> + switch ( Operation ) <nl> + { <nl> + case WRITE_IN_VALID_PAGE : / * mmm - Write operation mmm - * / <nl> + if ( PageStatus1 = = VALID_PAGE ) <nl> + { <nl> + / * Page0 receiving data * / <nl> + if ( PageStatus0 = = RECEIVE_DATA ) <nl> + { <nl> + return PAGE0 ; / * Page0 valid * / <nl> + } <nl> + else <nl> + { <nl> + return PAGE1 ; / * Page1 valid * / <nl> + } <nl> + } <nl> + else if ( PageStatus0 = = VALID_PAGE ) <nl> + { <nl> + / * Page1 receiving data * / <nl> + if ( PageStatus1 = = RECEIVE_DATA ) <nl> + { <nl> + return PAGE1 ; / * Page1 valid * / <nl> + } <nl> + else <nl> + { <nl> + return PAGE0 ; / * Page0 valid * / <nl> + } <nl> + } <nl> + else <nl> + { <nl> + return NO_VALID_PAGE ; / * No valid Page * / <nl> + } <nl> + <nl> + case READ_FROM_VALID_PAGE : / * mmm - Read operation mmm - * / <nl> + if ( PageStatus0 = = VALID_PAGE ) <nl> + { <nl> + return PAGE0 ; / * Page0 valid * / <nl> + } <nl> + else if ( PageStatus1 = = VALID_PAGE ) <nl> + { <nl> + return PAGE1 ; / * Page1 valid * / <nl> + } <nl> + else <nl> + { <nl> + return NO_VALID_PAGE ; / * No valid Page * / <nl> + } <nl> + <nl> + default : <nl> + return PAGE0 ; / * Page0 valid * / <nl> + } <nl> + } <nl> + <nl> + / * * <nl> + * @ brief Verify if active page is full and Writes variable in EEPROM . <nl> + * @ param VirtAddress : 16 bit virtual address of the variable <nl> + * @ param Data : 16 bit data to be written as variable value <nl> + * @ retval Success or error status : <nl> + * - FLASH_COMPLETE : on success <nl> + * - PAGE_FULL : if valid page is full <nl> + * - NO_VALID_PAGE : if no valid page was found <nl> + * - Flash error code : on write Flash error <nl> + * / <nl> + static uint16_t EE_VerifyPageFullWriteVariable ( uint16_t VirtAddress , uint16_t Data ) <nl> + { <nl> + HAL_StatusTypeDef FlashStatus = HAL_OK ; <nl> + uint16_t ValidPage = PAGE0 ; <nl> + uint32_t Address = EEPROM_START_ADDRESS , PageEndAddress = EEPROM_START_ADDRESS + PAGE_SIZE ; <nl> + <nl> + / * Get valid Page for write operation * / <nl> + ValidPage = EE_FindValidPage ( WRITE_IN_VALID_PAGE ) ; <nl> + <nl> + / * Check if there is no valid page * / <nl> + if ( ValidPage = = NO_VALID_PAGE ) <nl> + { <nl> + return NO_VALID_PAGE ; <nl> + } <nl> + <nl> + / * Get the valid Page start Address * / <nl> + Address = ( uint32_t ) ( EEPROM_START_ADDRESS + ( uint32_t ) ( ValidPage * PAGE_SIZE ) ) ; <nl> + <nl> + / * Get the valid Page end Address * / <nl> + PageEndAddress = ( uint32_t ) ( ( EEPROM_START_ADDRESS - 1 ) + ( uint32_t ) ( ( ValidPage + 1 ) * PAGE_SIZE ) ) ; <nl> + <nl> + / * Check each active page address starting from begining * / <nl> + while ( Address < PageEndAddress ) <nl> + { <nl> + / * Verify if Address and Address + 2 contents are 0xFFFFFFFF * / <nl> + if ( ( * ( __IO uint32_t * ) Address ) = = 0xFFFFFFFF ) <nl> + { <nl> + / * Set variable data * / <nl> + FlashStatus = HAL_FLASH_Program ( TYPEPROGRAM_HALFWORD , Address , Data ) ; <nl> + / * If program operation was failed , a Flash error code is returned * / <nl> + if ( FlashStatus ! = HAL_OK ) <nl> + { <nl> + return FlashStatus ; <nl> + } <nl> + / * Set variable virtual address * / <nl> + FlashStatus = HAL_FLASH_Program ( TYPEPROGRAM_HALFWORD , Address + 2 , VirtAddress ) ; <nl> + / * Return program operation status * / <nl> + return FlashStatus ; <nl> + } <nl> + else <nl> + { <nl> + / * Next address location * / <nl> + Address = Address + 4 ; <nl> + } <nl> + } <nl> + <nl> + / * Return PAGE_FULL in case the valid page is full * / <nl> + return PAGE_FULL ; <nl> + } <nl> + <nl> + / * * <nl> + * @ brief Transfers last updated variables data from the full Page to <nl> + * an empty one . <nl> + * @ param VirtAddress : 16 bit virtual address of the variable <nl> + * @ param Data : 16 bit data to be written as variable value <nl> + * @ retval Success or error status : <nl> + * - FLASH_COMPLETE : on success <nl> + * - PAGE_FULL : if valid page is full <nl> + * - NO_VALID_PAGE : if no valid page was found <nl> + * - Flash error code : on write Flash error <nl> + * / <nl> + static uint16_t EE_PageTransfer ( uint16_t VirtAddress , uint16_t Data ) <nl> + { <nl> + HAL_StatusTypeDef FlashStatus = HAL_OK ; <nl> + uint32_t NewPageAddress = EEPROM_START_ADDRESS ; <nl> + uint16_t OldPageId = 0 ; <nl> + uint16_t ValidPage = PAGE0 , VarIdx = 0 ; <nl> + uint16_t EepromStatus = 0 , ReadStatus = 0 ; <nl> + uint32_t SectorError = 0 ; <nl> + FLASH_EraseInitTypeDef pEraseInit ; <nl> + <nl> + / * Get active Page for read operation * / <nl> + ValidPage = EE_FindValidPage ( READ_FROM_VALID_PAGE ) ; <nl> + <nl> + if ( ValidPage = = PAGE1 ) / * Page1 valid * / <nl> + { <nl> + / * New page address where variable will be moved to * / <nl> + NewPageAddress = PAGE0_BASE_ADDRESS ; <nl> + <nl> + / * Old page ID where variable will be taken from * / <nl> + OldPageId = PAGE1_ID ; <nl> + } <nl> + else if ( ValidPage = = PAGE0 ) / * Page0 valid * / <nl> + { <nl> + / * New page address where variable will be moved to * / <nl> + NewPageAddress = PAGE1_BASE_ADDRESS ; <nl> + <nl> + / * Old page ID where variable will be taken from * / <nl> + OldPageId = PAGE0_ID ; <nl> + } <nl> + else <nl> + { <nl> + return NO_VALID_PAGE ; / * No valid Page * / <nl> + } <nl> + <nl> + / * Set the new Page status to RECEIVE_DATA status * / <nl> + FlashStatus = HAL_FLASH_Program ( TYPEPROGRAM_HALFWORD , NewPageAddress , RECEIVE_DATA ) ; <nl> + / * If program operation was failed , a Flash error code is returned * / <nl> + if ( FlashStatus ! = HAL_OK ) <nl> + { <nl> + return FlashStatus ; <nl> + } <nl> + <nl> + / * Write the variable passed as parameter in the new active page * / <nl> + EepromStatus = EE_VerifyPageFullWriteVariable ( VirtAddress , Data ) ; <nl> + / * If program operation was failed , a Flash error code is returned * / <nl> + if ( EepromStatus ! = HAL_OK ) <nl> + { <nl> + return EepromStatus ; <nl> + } <nl> + <nl> + / * Transfer process : transfer variables from old to the new active page * / <nl> + for ( VarIdx = 0 ; VarIdx < NB_OF_VAR ; VarIdx + + ) <nl> + { <nl> + if ( VirtAddVarTab [ VarIdx ] ! = VirtAddress ) / * Check each variable except the one passed as parameter * / <nl> + { <nl> + / * Read the other last variable updates * / <nl> + ReadStatus = EE_ReadVariable ( VirtAddVarTab [ VarIdx ] , & DataVar ) ; <nl> + / * In case variable corresponding to the virtual address was found * / <nl> + if ( ReadStatus ! = 0x1 ) <nl> + { <nl> + / * Transfer the variable to the new active page * / <nl> + EepromStatus = EE_VerifyPageFullWriteVariable ( VirtAddVarTab [ VarIdx ] , DataVar ) ; <nl> + / * If program operation was failed , a Flash error code is returned * / <nl> + if ( EepromStatus ! = HAL_OK ) <nl> + { <nl> + return EepromStatus ; <nl> + } <nl> + } <nl> + } <nl> + } <nl> + <nl> + pEraseInit . TypeErase = TYPEERASE_SECTORS ; <nl> + pEraseInit . Sector = OldPageId ; <nl> + pEraseInit . NbSectors = 1 ; <nl> + pEraseInit . VoltageRange = VOLTAGE_RANGE ; <nl> + <nl> + / * Erase the old Page : Set old Page status to ERASED status * / <nl> + FlashStatus = HAL_FLASHEx_Erase ( & pEraseInit , & SectorError ) ; <nl> + / * If erase operation was failed , a Flash error code is returned * / <nl> + if ( FlashStatus ! = HAL_OK ) <nl> + { <nl> + return FlashStatus ; <nl> + } <nl> + <nl> + / * Set new Page status to VALID_PAGE status * / <nl> + FlashStatus = HAL_FLASH_Program ( TYPEPROGRAM_HALFWORD , NewPageAddress , VALID_PAGE ) ; <nl> + / * If program operation was failed , a Flash error code is returned * / <nl> + if ( FlashStatus ! = HAL_OK ) <nl> + { <nl> + return FlashStatus ; <nl> + } <nl> + <nl> + / * Return last operation flash status * / <nl> + return FlashStatus ; <nl> + } <nl> + <nl> + # endif / / STM32F7 <nl> + <nl> + / * * <nl> + * @ } <nl> + * / <nl> + <nl> + / * * * * * * * * * * * * * * * * * * * ( C ) COPYRIGHT 2011 STMicroelectronics * * * * * END OF FILE * * * * / <nl> new file mode 100644 <nl> index 00000000000 . . 93d3322f15e <nl> mmm / dev / null <nl> ppp b / Marlin / src / HAL / HAL_STM32F7 / EEPROM_Emul / eeprom_emul . h <nl> <nl> + / * * <nl> + * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> + * @ file EEPROM / EEPROM_Emulation / inc / eeprom . h <nl> + * @ author MCD Application Team <nl> + * @ version V1 . 2 . 6 <nl> + * @ date 04 - November - 2016 <nl> + * @ brief This file contains all the functions prototypes for the EEPROM <nl> + * emulation firmware library . <nl> + * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> + * @ attention <nl> + * <nl> + * < h2 > < center > & copy ; Copyright © 2016 STMicroelectronics International N . V . <nl> + * All rights reserved . < / center > < / h2 > <nl> + * <nl> + * Redistribution and use in source and binary forms , with or without <nl> + * modification , are permitted , provided that the following conditions are met : <nl> + * <nl> + * 1 . Redistribution of source code must retain the above copyright notice , <nl> + * this list of conditions and the following disclaimer . <nl> + * 2 . Redistributions in binary form must reproduce the above copyright notice , <nl> + * this list of conditions and the following disclaimer in the documentation <nl> + * and / or other materials provided with the distribution . <nl> + * 3 . Neither the name of STMicroelectronics nor the names of other <nl> + * contributors to this software may be used to endorse or promote products <nl> + * derived from this software without specific written permission . <nl> + * 4 . This software , including modifications and / or derivative works of this <nl> + * software , must execute solely and exclusively on microcontroller or <nl> + * microprocessor devices manufactured by or for STMicroelectronics . <nl> + * 5 . Redistribution and use of this software other than as permitted under <nl> + * this license is void and will automatically terminate your rights under <nl> + * this license . <nl> + * <nl> + * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS " AS IS " <nl> + * AND ANY EXPRESS , IMPLIED OR STATUTORY WARRANTIES , INCLUDING , BUT NOT <nl> + * LIMITED TO , THE IMPLIED WARRANTIES OF MERCHANTABILITY , FITNESS FOR A <nl> + * PARTICULAR PURPOSE AND NON - INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY <nl> + * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW . IN NO EVENT <nl> + * SHALL STMICROELECTRONICS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT , INDIRECT , <nl> + * INCIDENTAL , SPECIAL , EXEMPLARY , OR CONSEQUENTIAL DAMAGES ( INCLUDING , BUT NOT <nl> + * LIMITED TO , PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES ; LOSS OF USE , DATA , <nl> + * OR PROFITS ; OR BUSINESS INTERRUPTION ) HOWEVER CAUSED AND ON ANY THEORY OF <nl> + * LIABILITY , WHETHER IN CONTRACT , STRICT LIABILITY , OR TORT ( INCLUDING <nl> + * NEGLIGENCE OR OTHERWISE ) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE , <nl> + * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE . <nl> + * <nl> + * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> + * / <nl> + <nl> + / * Define to prevent recursive inclusion mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - * / <nl> + # ifndef __EEEPROM_EMUL_H <nl> + # define __EEEPROM_EMUL_H <nl> + <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + / / Includes <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + # include " . . / . . / . . / inc / MarlinConfig . h " <nl> + # include " . . / . . / HAL . h " <nl> + <nl> + / * Exported constants mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - * / <nl> + / * EEPROM emulation firmware error codes * / <nl> + # define EE_OK ( uint32_t ) HAL_OK <nl> + # define EE_ERROR ( uint32_t ) HAL_ERROR <nl> + # define EE_BUSY ( uint32_t ) HAL_BUSY <nl> + # define EE_TIMEOUT ( uint32_t ) HAL_TIMEOUT <nl> + <nl> + / * Define the size of the sectors to be used * / <nl> + # define PAGE_SIZE ( uint32_t ) 0x4000 / * Page size = 16KByte * / <nl> + <nl> + / * Device voltage range supposed to be [ 2 . 7V to 3 . 6V ] , the operation will <nl> + be done by word * / <nl> + # define VOLTAGE_RANGE ( uint8_t ) VOLTAGE_RANGE_3 <nl> + <nl> + / * EEPROM start address in Flash * / <nl> + # define EEPROM_START_ADDRESS ( ( uint32_t ) 0x08100000 ) / * EEPROM emulation start address : <nl> + from sector2 : after 16KByte of used <nl> + Flash memory * / <nl> + <nl> + / * Pages 0 and 1 base and end addresses * / <nl> + # define PAGE0_BASE_ADDRESS ( ( uint32_t ) ( EEPROM_START_ADDRESS + 0x0000 ) ) <nl> + # define PAGE0_END_ADDRESS ( ( uint32_t ) ( EEPROM_START_ADDRESS + ( PAGE_SIZE - 1 ) ) ) <nl> + # define PAGE0_ID FLASH_SECTOR_1 <nl> + <nl> + # define PAGE1_BASE_ADDRESS ( ( uint32_t ) ( EEPROM_START_ADDRESS + 0x4000 ) ) <nl> + # define PAGE1_END_ADDRESS ( ( uint32_t ) ( EEPROM_START_ADDRESS + ( 2 * PAGE_SIZE - 1 ) ) ) <nl> + # define PAGE1_ID FLASH_SECTOR_2 <nl> + <nl> + / * Used Flash pages for EEPROM emulation * / <nl> + # define PAGE0 ( ( uint16_t ) 0x0000 ) <nl> + # define PAGE1 ( ( uint16_t ) 0x0001 ) / * Page nb between PAGE0_BASE_ADDRESS & PAGE1_BASE_ADDRESS * / <nl> + <nl> + / * No valid page define * / <nl> + # define NO_VALID_PAGE ( ( uint16_t ) 0x00AB ) <nl> + <nl> + / * Page status definitions * / <nl> + # define ERASED ( ( uint16_t ) 0xFFFF ) / * Page is empty * / <nl> + # define RECEIVE_DATA ( ( uint16_t ) 0xEEEE ) / * Page is marked to receive data * / <nl> + # define VALID_PAGE ( ( uint16_t ) 0x0000 ) / * Page containing valid data * / <nl> + <nl> + / * Valid pages in read and write defines * / <nl> + # define READ_FROM_VALID_PAGE ( ( uint8_t ) 0x00 ) <nl> + # define WRITE_IN_VALID_PAGE ( ( uint8_t ) 0x01 ) <nl> + <nl> + / * Page full define * / <nl> + # define PAGE_FULL ( ( uint8_t ) 0x80 ) <nl> + <nl> + / * Variables ' number * / <nl> + # define NB_OF_VAR ( ( uint16_t ) 4096 ) <nl> + <nl> + / * Exported types mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm * / <nl> + / * Exported macro mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm * / <nl> + / * Exported functions mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - * / <nl> + uint16_t EE_Initialise ( void ) ; <nl> + uint16_t EE_ReadVariable ( uint16_t VirtAddress , uint16_t * Data ) ; <nl> + uint16_t EE_WriteVariable ( uint16_t VirtAddress , uint16_t Data ) ; <nl> + <nl> + # endif / * __EEEPROM_H * / <nl> + <nl> + / * * * * * * * * * * * * * * * * * * * * * * * * ( C ) COPYRIGHT STMicroelectronics * * * * * END OF FILE * * * * / <nl> new file mode 100644 <nl> index 00000000000 . . 519dfbddec2 <nl> mmm / dev / null <nl> ppp b / Marlin / src / HAL / HAL_STM32F7 / EmulatedEeprom . cpp <nl> <nl> + / * * <nl> + * Marlin 3D Printer Firmware <nl> + * Copyright ( C ) 2016 MarlinFirmware [ https : / / github . com / MarlinFirmware / Marlin ] <nl> + * <nl> + * This program is free software : you can redistribute it and / or modify <nl> + * it under the terms of the GNU General Public License as published by <nl> + * the Free Software Foundation , either version 3 of the License , or <nl> + * ( at your option ) any later version . <nl> + * <nl> + * This program is distributed in the hope that it will be useful , <nl> + * but WITHOUT ANY WARRANTY ; without even the implied warranty of <nl> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the <nl> + * GNU General Public License for more details . <nl> + * <nl> + * You should have received a copy of the GNU General Public License <nl> + * along with this program . If not , see < http : / / www . gnu . org / licenses / > . <nl> + * <nl> + * / <nl> + <nl> + # ifdef STM32F7 <nl> + <nl> + / * * <nl> + * Description : functions for I2C connected external EEPROM . <nl> + * Not platform dependent . <nl> + * / <nl> + <nl> + # include " . . / . . / inc / MarlinConfig . h " <nl> + <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + / / Includes <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + <nl> + # include " . . / HAL . h " <nl> + # include " EEPROM_Emul / eeprom_emul . h " <nl> + <nl> + <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + / / Externals <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + / / Local defines <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + / / Types <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + / / Variables <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + / / Public Variables <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + / / Private Variables <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + static bool eeprom_initialised = false ; <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + / / Function prototypes <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + / / Private functions <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + / / Public functions <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + <nl> + / / FLASH_FLAG_PGSERR ( Programming Sequence Error ) was renamed to <nl> + / / FLASH_FLAG_ERSERR ( Erasing Sequence Error ) in STM32F7 <nl> + # define FLASH_FLAG_PGSERR FLASH_FLAG_ERSERR <nl> + <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + / / EEPROM <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + <nl> + <nl> + void eeprom_init ( ) { <nl> + if ( ! eeprom_initialised ) { <nl> + HAL_FLASH_Unlock ( ) ; <nl> + <nl> + __HAL_FLASH_CLEAR_FLAG ( FLASH_FLAG_EOP | FLASH_FLAG_OPERR | FLASH_FLAG_WRPERR | FLASH_FLAG_PGAERR | FLASH_FLAG_PGPERR | FLASH_FLAG_PGSERR ) ; <nl> + <nl> + / * EEPROM Init * / <nl> + if ( EE_Initialise ( ) ! = EE_OK ) <nl> + { <nl> + while ( 1 ) { <nl> + HAL_Delay ( 1 ) ; <nl> + } <nl> + } <nl> + <nl> + HAL_FLASH_Lock ( ) ; <nl> + eeprom_initialised = true ; <nl> + } <nl> + <nl> + } <nl> + <nl> + void eeprom_write_byte ( unsigned char * pos , unsigned char value ) { <nl> + uint16_t eeprom_address = ( unsigned ) pos ; <nl> + <nl> + eeprom_init ( ) ; <nl> + <nl> + HAL_FLASH_Unlock ( ) ; <nl> + __HAL_FLASH_CLEAR_FLAG ( FLASH_FLAG_EOP | FLASH_FLAG_OPERR | FLASH_FLAG_WRPERR | FLASH_FLAG_PGAERR | FLASH_FLAG_PGPERR | FLASH_FLAG_PGSERR ) ; <nl> + if ( EE_WriteVariable ( eeprom_address , ( uint16_t ) value ) ! = EE_OK ) { <nl> + while ( 1 ) { <nl> + HAL_Delay ( 1 ) ; <nl> + } <nl> + } <nl> + HAL_FLASH_Lock ( ) ; <nl> + } <nl> + <nl> + unsigned char eeprom_read_byte ( unsigned char * pos ) { <nl> + uint16_t data = 0xFF ; <nl> + uint16_t eeprom_address = ( unsigned ) pos ; <nl> + <nl> + eeprom_init ( ) ; <nl> + <nl> + if ( EE_ReadVariable ( eeprom_address , & data ) ! = EE_OK ) { <nl> + return ( char ) data ; <nl> + } <nl> + return ( char ) data ; <nl> + } <nl> + <nl> + void eeprom_read_block ( void * __dst , const void * __src , size_t __n ) { <nl> + uint16_t data = 0xFF ; <nl> + uint16_t eeprom_address = ( unsigned ) __src ; <nl> + <nl> + eeprom_init ( ) ; <nl> + <nl> + for ( uint8_t c = 0 ; c < __n ; c + + ) { <nl> + EE_ReadVariable ( eeprom_address + c , & data ) ; <nl> + * ( ( uint8_t * ) __dst + c ) = data ; <nl> + } <nl> + } <nl> + <nl> + void eeprom_update_block ( const void * __src , void * __dst , size_t __n ) { <nl> + <nl> + } <nl> + <nl> + # endif / / STM32F7 <nl> + <nl> new file mode 100644 <nl> index 00000000000 . . 17e567ba334 <nl> mmm / dev / null <nl> ppp b / Marlin / src / HAL / HAL_STM32F7 / HAL_STM32F7 . cpp <nl> <nl> + / * * <nl> + * Marlin 3D Printer Firmware <nl> + * <nl> + * Copyright ( C ) 2016 MarlinFirmware [ https : / / github . com / MarlinFirmware / Marlin ] <nl> + * Copyright ( c ) 2016 Bob Cousins bobcousins42 @ googlemail . com <nl> + * Copyright ( c ) 2015 - 2016 Nico Tonnhofer wurstnase . reprap @ gmail . com <nl> + * Copyright ( c ) 2017 Victor Perez <nl> + * <nl> + * This program is free software : you can redistribute it and / or modify <nl> + * it under the terms of the GNU General Public License as published by <nl> + * the Free Software Foundation , either version 3 of the License , or <nl> + * ( at your option ) any later version . <nl> + * <nl> + * This program is distributed in the hope that it will be useful , <nl> + * but WITHOUT ANY WARRANTY ; without even the implied warranty of <nl> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the <nl> + * GNU General Public License for more details . <nl> + * <nl> + * You should have received a copy of the GNU General Public License <nl> + * along with this program . If not , see < http : / / www . gnu . org / licenses / > . <nl> + * <nl> + * / <nl> + <nl> + <nl> + # ifdef STM32F7 <nl> + <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + / / Includes <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + <nl> + # include " . . / HAL . h " <nl> + <nl> + / / # include < Wire . h > <nl> + <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + / / Externals <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + / / Local defines <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + / / Types <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + / / Variables <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + / / Public Variables <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + <nl> + uint16_t HAL_adc_result ; <nl> + <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + / / Private Variables <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + / / Function prototypes <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + / / Private functions <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + / / Public functions <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + <nl> + / * VGPV Done with defines <nl> + / / disable interrupts <nl> + void cli ( void ) { noInterrupts ( ) ; } <nl> + <nl> + / / enable interrupts <nl> + void sei ( void ) { interrupts ( ) ; } <nl> + * / <nl> + <nl> + void HAL_clear_reset_source ( void ) { __HAL_RCC_CLEAR_RESET_FLAGS ( ) ; } <nl> + <nl> + uint8_t HAL_get_reset_source ( void ) { <nl> + if ( __HAL_RCC_GET_FLAG ( RCC_FLAG_IWDGRST ) ! = RESET ) <nl> + return RST_WATCHDOG ; <nl> + <nl> + if ( __HAL_RCC_GET_FLAG ( RCC_FLAG_SFTRST ) ! = RESET ) <nl> + return RST_SOFTWARE ; <nl> + <nl> + if ( __HAL_RCC_GET_FLAG ( RCC_FLAG_PINRST ) ! = RESET ) <nl> + return RST_EXTERNAL ; <nl> + <nl> + if ( __HAL_RCC_GET_FLAG ( RCC_FLAG_PORRST ) ! = RESET ) <nl> + return RST_POWER_ON ; <nl> + <nl> + return 0 ; <nl> + } <nl> + <nl> + void _delay_ms ( const int delay_ms ) { delay ( delay_ms ) ; } <nl> + <nl> + extern " C " { <nl> + extern unsigned int _ebss ; / / end of bss section <nl> + } <nl> + <nl> + <nl> + <nl> + / / return free memory between end of heap ( or end bss ) and whatever is current <nl> + <nl> + / * <nl> + # include " wirish / syscalls . c " <nl> + / / extern caddr_t _sbrk ( int incr ) ; <nl> + # ifndef CONFIG_HEAP_END <nl> + extern char _lm_heap_end ; <nl> + # define CONFIG_HEAP_END ( ( caddr_t ) & _lm_heap_end ) <nl> + # endif <nl> + <nl> + extern " C " { <nl> + static int freeMemory ( ) { <nl> + char top = ' t ' ; <nl> + return & top - reinterpret_cast < char * > ( sbrk ( 0 ) ) ; <nl> + } <nl> + int freeMemory ( ) { <nl> + int free_memory ; <nl> + int heap_end = ( int ) _sbrk ( 0 ) ; <nl> + free_memory = ( ( int ) & free_memory ) - ( ( int ) heap_end ) ; <nl> + return free_memory ; <nl> + } <nl> + } <nl> + * / <nl> + <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + / / ADC <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + <nl> + void HAL_adc_start_conversion ( const uint8_t adc_pin ) { <nl> + HAL_adc_result = analogRead ( adc_pin ) ; <nl> + } <nl> + <nl> + uint16_t HAL_adc_get_result ( void ) { <nl> + return HAL_adc_result ; <nl> + } <nl> + <nl> + # endif / / STM32F7 <nl> new file mode 100644 <nl> index 00000000000 . . 7a0b72a10c1 <nl> mmm / dev / null <nl> ppp b / Marlin / src / HAL / HAL_STM32F7 / HAL_STM32F7 . h <nl> <nl> + / * * <nl> + * Marlin 3D Printer Firmware <nl> + * <nl> + * Copyright ( C ) 2016 MarlinFirmware [ https : / / github . com / MarlinFirmware / Marlin ] <nl> + * Copyright ( c ) 2016 Bob Cousins bobcousins42 @ googlemail . com <nl> + * Copyright ( c ) 2015 - 2016 Nico Tonnhofer wurstnase . reprap @ gmail . com <nl> + * Copyright ( c ) 2017 Victor Perez <nl> + * <nl> + * This program is free software : you can redistribute it and / or modify <nl> + * it under the terms of the GNU General Public License as published by <nl> + * the Free Software Foundation , either version 3 of the License , or <nl> + * ( at your option ) any later version . <nl> + * <nl> + * This program is distributed in the hope that it will be useful , <nl> + * but WITHOUT ANY WARRANTY ; without even the implied warranty of <nl> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the <nl> + * GNU General Public License for more details . <nl> + * <nl> + * You should have received a copy of the GNU General Public License <nl> + * along with this program . If not , see < http : / / www . gnu . org / licenses / > . <nl> + * <nl> + * / <nl> + <nl> + <nl> + <nl> + # ifndef _HAL_STM32F7_H <nl> + # define _HAL_STM32F7_H <nl> + <nl> + # undef DEBUG_NONE <nl> + <nl> + # ifndef vsnprintf_P <nl> + # define vsnprintf_P vsnprintf <nl> + # endif <nl> + <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + / / Includes <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + <nl> + # include < stdint . h > <nl> + <nl> + # include " Arduino . h " <nl> + <nl> + # include " fastio_STM32F7 . h " <nl> + # include " watchdog_STM32F7 . h " <nl> + <nl> + # include " HAL_timers_STM32F7 . h " <nl> + <nl> + <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + / / Defines <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + <nl> + / / Serial override <nl> + / / extern HalSerial usb_serial ; <nl> + <nl> + # if ! WITHIN ( SERIAL_PORT , - 1 , 6 ) <nl> + # error " SERIAL_PORT must be from - 1 to 6 " <nl> + # endif <nl> + # if SERIAL_PORT = = - 1 <nl> + # define MYSERIAL0 SerialUSB <nl> + # elif SERIAL_PORT = = 1 <nl> + # define MYSERIAL0 SerialUART1 <nl> + # elif SERIAL_PORT = = 2 <nl> + # define MYSERIAL0 SerialUART2 <nl> + # elif SERIAL_PORT = = 3 <nl> + # define MYSERIAL0 SerialUART3 <nl> + # elif SERIAL_PORT = = 4 <nl> + # define MYSERIAL0 SerialUART4 <nl> + # elif SERIAL_PORT = = 5 <nl> + # define MYSERIAL0 SerialUART5 <nl> + # elif SERIAL_PORT = = 6 <nl> + # define MYSERIAL0 SerialUART6 <nl> + # endif <nl> + <nl> + # ifdef SERIAL_PORT_2 <nl> + # if ! WITHIN ( SERIAL_PORT_2 , - 1 , 6 ) <nl> + # error " SERIAL_PORT_2 must be from - 1 to 6 " <nl> + # elif SERIAL_PORT_2 = = SERIAL_PORT <nl> + # error " SERIAL_PORT_2 must be different than SERIAL_PORT " <nl> + # endif <nl> + # define NUM_SERIAL 2 <nl> + # if SERIAL_PORT_2 = = - 1 <nl> + # define MYSERIAL1 SerialUSB <nl> + # elif SERIAL_PORT_2 = = 1 <nl> + # define MYSERIAL1 SerialUART1 <nl> + # elif SERIAL_PORT_2 = = 2 <nl> + # define MYSERIAL1 SerialUART2 <nl> + # elif SERIAL_PORT_2 = = 3 <nl> + # define MYSERIAL1 SerialUART3 <nl> + # elif SERIAL_PORT_2 = = 4 <nl> + # define MYSERIAL1 SerialUART4 <nl> + # elif SERIAL_PORT_2 = = 5 <nl> + # define MYSERIAL1 SerialUART5 <nl> + # elif SERIAL_PORT_2 = = 6 <nl> + # define MYSERIAL1 SerialUART6 <nl> + # endif <nl> + # else <nl> + # define NUM_SERIAL 1 <nl> + # endif <nl> + <nl> + # define _BV ( bit ) ( 1 < < ( bit ) ) <nl> + <nl> + / * * <nl> + * TODO : review this to return 1 for pins that are not analog input <nl> + * / <nl> + # ifndef analogInputToDigitalPin <nl> + # define analogInputToDigitalPin ( p ) ( p ) <nl> + # endif <nl> + <nl> + # define CRITICAL_SECTION_START noInterrupts ( ) ; <nl> + # define CRITICAL_SECTION_END interrupts ( ) ; <nl> + <nl> + / / On AVR this is in math . h ? <nl> + # define square ( x ) ( ( x ) * ( x ) ) <nl> + <nl> + # ifndef strncpy_P <nl> + # define strncpy_P ( dest , src , num ) strncpy ( ( dest ) , ( src ) , ( num ) ) <nl> + # endif <nl> + <nl> + / / Fix bug in pgm_read_ptr <nl> + # undef pgm_read_ptr <nl> + # define pgm_read_ptr ( addr ) ( * ( addr ) ) <nl> + <nl> + # define RST_POWER_ON 1 <nl> + # define RST_EXTERNAL 2 <nl> + # define RST_BROWN_OUT 4 <nl> + # define RST_WATCHDOG 8 <nl> + # define RST_JTAG 16 <nl> + # define RST_SOFTWARE 32 <nl> + # define RST_BACKUP 64 <nl> + <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + / / Types <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + <nl> + typedef int8_t pin_t ; <nl> + <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + / / Public Variables <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + <nl> + / * * result of last ADC conversion * / <nl> + extern uint16_t HAL_adc_result ; <nl> + <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + / / Public functions <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + <nl> + / / Disable interrupts <nl> + # define cli ( ) do { DISABLE_TEMPERATURE_INTERRUPT ( ) ; DISABLE_STEPPER_DRIVER_INTERRUPT ( ) ; } while ( 0 ) <nl> + <nl> + / / Enable interrupts <nl> + # define sei ( ) do { ENABLE_TEMPERATURE_INTERRUPT ( ) ; ENABLE_STEPPER_DRIVER_INTERRUPT ( ) ; } while ( 0 ) <nl> + <nl> + / / Memory related <nl> + # define __bss_end __bss_end__ <nl> + <nl> + / * * clear reset reason * / <nl> + void HAL_clear_reset_source ( void ) ; <nl> + <nl> + / * * reset reason * / <nl> + uint8_t HAL_get_reset_source ( void ) ; <nl> + <nl> + void _delay_ms ( const int delay ) ; <nl> + <nl> + / * <nl> + extern " C " { <nl> + int freeMemory ( void ) ; <nl> + } <nl> + * / <nl> + <nl> + extern " C " char * _sbrk ( int incr ) ; <nl> + / * <nl> + static int freeMemory ( ) { <nl> + volatile int top ; <nl> + top = ( int ) ( ( char * ) & top - reinterpret_cast < char * > ( _sbrk ( 0 ) ) ) ; <nl> + return top ; <nl> + } <nl> + * / <nl> + static int freeMemory ( ) { <nl> + volatile char top ; <nl> + return & top - reinterpret_cast < char * > ( _sbrk ( 0 ) ) ; <nl> + } <nl> + <nl> + / / SPI : Extended functions which take a channel number ( hardware SPI only ) <nl> + / * * Write single byte to specified SPI channel * / <nl> + void spiSend ( uint32_t chan , byte b ) ; <nl> + / * * Write buffer to specified SPI channel * / <nl> + void spiSend ( uint32_t chan , const uint8_t * buf , size_t n ) ; <nl> + / * * Read single byte from specified SPI channel * / <nl> + uint8_t spiRec ( uint32_t chan ) ; <nl> + <nl> + <nl> + / / EEPROM <nl> + <nl> + / * * <nl> + * TODO : Write all this eeprom stuff . Can emulate eeprom in flash as last resort . <nl> + * Wire library should work for i2c eeproms . <nl> + * / <nl> + void eeprom_write_byte ( unsigned char * pos , unsigned char value ) ; <nl> + unsigned char eeprom_read_byte ( unsigned char * pos ) ; <nl> + void eeprom_read_block ( void * __dst , const void * __src , size_t __n ) ; <nl> + void eeprom_update_block ( const void * __src , void * __dst , size_t __n ) ; <nl> + <nl> + / / ADC <nl> + <nl> + # define HAL_ANALOG_SELECT ( pin ) pinMode ( pin , INPUT ) <nl> + <nl> + inline void HAL_adc_init ( void ) { } <nl> + <nl> + # define HAL_START_ADC ( pin ) HAL_adc_start_conversion ( pin ) <nl> + # define HAL_READ_ADC HAL_adc_result <nl> + <nl> + void HAL_adc_start_conversion ( const uint8_t adc_pin ) ; <nl> + <nl> + uint16_t HAL_adc_get_result ( void ) ; <nl> + <nl> + / * Todo : Confirm none of this is needed . <nl> + uint16_t HAL_getAdcReading ( uint8_t chan ) ; <nl> + <nl> + void HAL_startAdcConversion ( uint8_t chan ) ; <nl> + uint8_t HAL_pinToAdcChannel ( int pin ) ; <nl> + <nl> + uint16_t HAL_getAdcFreerun ( uint8_t chan , bool wait_for_conversion = false ) ; <nl> + / / uint16_t HAL_getAdcSuperSample ( uint8_t chan ) ; <nl> + <nl> + void HAL_enable_AdcFreerun ( void ) ; <nl> + / / void HAL_disable_AdcFreerun ( uint8_t chan ) ; <nl> + <nl> + * / <nl> + <nl> + # define GET_PIN_MAP_PIN ( index ) index <nl> + # define GET_PIN_MAP_INDEX ( pin ) pin <nl> + # define PARSED_PIN_INDEX ( code , dval ) parser . intval ( code , dval ) <nl> + <nl> + # endif / / _HAL_STM32F7_H <nl> new file mode 100644 <nl> index 00000000000 . . 6ae192cab44 <nl> mmm / dev / null <nl> ppp b / Marlin / src / HAL / HAL_STM32F7 / HAL_Servo_STM32F7 . cpp <nl> <nl> + / * * <nl> + * Marlin 3D Printer Firmware <nl> + * Copyright ( C ) 2016 MarlinFirmware [ https : / / github . com / MarlinFirmware / Marlin ] <nl> + * <nl> + * Based on Sprinter and grbl . <nl> + * Copyright ( C ) 2011 Camiel Gubbels / Erik van der Zalm <nl> + * Copyright ( C ) 2017 Victor Perez <nl> + * <nl> + * This program is free software : you can redistribute it and / or modify <nl> + * it under the terms of the GNU General Public License as published by <nl> + * the Free Software Foundation , either version 3 of the License , or <nl> + * ( at your option ) any later version . <nl> + * <nl> + * This program is distributed in the hope that it will be useful , <nl> + * but WITHOUT ANY WARRANTY ; without even the implied warranty of <nl> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the <nl> + * GNU General Public License for more details . <nl> + * <nl> + * You should have received a copy of the GNU General Public License <nl> + * along with this program . If not , see < http : / / www . gnu . org / licenses / > . <nl> + * <nl> + * / <nl> + <nl> + # ifdef STM32F7 <nl> + <nl> + # include " . . / . . / . . / src / inc / MarlinConfig . h " <nl> + <nl> + # if HAS_SERVOS <nl> + <nl> + # include " HAL_Servo_STM32F7 . h " <nl> + <nl> + int8_t libServo : : attach ( const int pin ) { <nl> + if ( this - > servoIndex > = MAX_SERVOS ) return - 1 ; <nl> + return Servo : : attach ( pin ) ; <nl> + } <nl> + <nl> + int8_t libServo : : attach ( const int pin , const int min , const int max ) { <nl> + return Servo : : attach ( pin , min , max ) ; <nl> + } <nl> + <nl> + void libServo : : move ( const int value ) { <nl> + if ( this - > attach ( 0 ) > = 0 ) { <nl> + this - > write ( value ) ; <nl> + delay ( SERVO_DELAY ) ; <nl> + # if ENABLED ( DEACTIVATE_SERVOS_AFTER_MOVE ) <nl> + this - > detach ( ) ; <nl> + # endif <nl> + } <nl> + } <nl> + # endif / / HAS_SERVOS <nl> + <nl> + # endif / / STM32F7 <nl> new file mode 100644 <nl> index 00000000000 . . 14ba0528b0c <nl> mmm / dev / null <nl> ppp b / Marlin / src / HAL / HAL_STM32F7 / HAL_Servo_STM32F7 . h <nl> <nl> + / * * <nl> + * Marlin 3D Printer Firmware <nl> + * Copyright ( C ) 2016 MarlinFirmware [ https : / / github . com / MarlinFirmware / Marlin ] <nl> + * <nl> + * Based on Sprinter and grbl . <nl> + * Copyright ( C ) 2011 Camiel Gubbels / Erik van der Zalm <nl> + * Copyright ( C ) 2017 Victor Perez <nl> + * <nl> + * This program is free software : you can redistribute it and / or modify <nl> + * it under the terms of the GNU General Public License as published by <nl> + * the Free Software Foundation , either version 3 of the License , or <nl> + * ( at your option ) any later version . <nl> + * <nl> + * This program is distributed in the hope that it will be useful , <nl> + * but WITHOUT ANY WARRANTY ; without even the implied warranty of <nl> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the <nl> + * GNU General Public License for more details . <nl> + * <nl> + * You should have received a copy of the GNU General Public License <nl> + * along with this program . If not , see < http : / / www . gnu . org / licenses / > . <nl> + * <nl> + * / <nl> + <nl> + # ifndef HAL_SERVO_STM32F7_H <nl> + # define HAL_SERVO_STM32F7_H <nl> + <nl> + # include < . . / . . / libraries / Servo / src / Servo . h > <nl> + <nl> + / / Inherit and expand on the official library <nl> + class libServo : public Servo { <nl> + public : <nl> + int8_t attach ( const int pin ) ; <nl> + int8_t attach ( const int pin , const int min , const int max ) ; <nl> + void move ( const int value ) ; <nl> + private : <nl> + uint16_t min_ticks ; <nl> + uint16_t max_ticks ; <nl> + uint8_t servoIndex ; / / index into the channel data for this servo <nl> + } ; <nl> + <nl> + # endif / / HAL_SERVO_STM32F7_H <nl> new file mode 100644 <nl> index 00000000000 . . 47e06efe2b5 <nl> mmm / dev / null <nl> ppp b / Marlin / src / HAL / HAL_STM32F7 / HAL_spi_STM32F7 . cpp <nl> <nl> + / * * <nl> + * Marlin 3D Printer Firmware <nl> + * Copyright ( C ) 2016 MarlinFirmware [ https : / / github . com / MarlinFirmware / Marlin ] <nl> + * <nl> + * Based on Sprinter and grbl . <nl> + * Copyright ( C ) 2011 Camiel Gubbels / Erik van der Zalm <nl> + * Copyright ( C ) 2017 Victor Perez <nl> + * <nl> + * This program is free software : you can redistribute it and / or modify <nl> + * it under the terms of the GNU General Public License as published by <nl> + * the Free Software Foundation , either version 3 of the License , or <nl> + * ( at your option ) any later version . <nl> + * <nl> + * This program is distributed in the hope that it will be useful , <nl> + * but WITHOUT ANY WARRANTY ; without even the implied warranty of <nl> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the <nl> + * GNU General Public License for more details . <nl> + * <nl> + * You should have received a copy of the GNU General Public License <nl> + * along with this program . If not , see < http : / / www . gnu . org / licenses / > . <nl> + * <nl> + * / <nl> + <nl> + / * * <nl> + * Software SPI functions originally from Arduino Sd2Card Library <nl> + * Copyright ( C ) 2009 by William Greiman <nl> + * / <nl> + <nl> + / * * <nl> + * Adapted to the STM32F7 HAL <nl> + * / <nl> + <nl> + # ifdef STM32F7 <nl> + <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + / / Includes <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + <nl> + # include " . . / HAL . h " <nl> + / / # include " . . / SPI . h " <nl> + # include " SPI . h " <nl> + / / # include < SPI . h > <nl> + # include " pins_arduino . h " <nl> + # include " spi_pins . h " <nl> + # include " . . / . . / core / macros . h " <nl> + <nl> + <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + / / Public Variables <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + <nl> + static SPISettings spiConfig ; <nl> + <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + / / Public functions <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + <nl> + # if ENABLED ( SOFTWARE_SPI ) <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + / / Software SPI <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + # error " Software SPI not supported for STM32F7 . Use hardware SPI . " <nl> + <nl> + # else <nl> + <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + / / Hardware SPI <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + <nl> + / * * <nl> + * VGPV SPI speed start and F_CPU / 2 , by default 72 / 2 = 36Mhz <nl> + * / <nl> + <nl> + / * * <nl> + * @ brief Begin SPI port setup <nl> + * <nl> + * @ return Nothing <nl> + * <nl> + * @ details Only configures SS pin since libmaple creates and initialize the SPI object <nl> + * / <nl> + void spiBegin ( void ) { <nl> + # if ! PIN_EXISTS ( SS ) <nl> + # error SS_PIN not defined ! <nl> + # endif <nl> + <nl> + SET_OUTPUT ( SS_PIN ) ; <nl> + WRITE ( SS_PIN , HIGH ) ; <nl> + <nl> + } <nl> + <nl> + <nl> + <nl> + / * * Configure SPI for specified SPI speed * / <nl> + void spiInit ( uint8_t spiRate ) { <nl> + / / Use datarates Marlin uses <nl> + uint32_t clock ; <nl> + switch ( spiRate ) { <nl> + case SPI_FULL_SPEED : clock = 20000000 ; break ; / / 13 . 9mhz = 20000000 6 . 75mhz = 10000000 3 . 38mhz = 5000000 . 833mhz = 1000000 <nl> + case SPI_HALF_SPEED : clock = 5000000 ; break ; <nl> + case SPI_QUARTER_SPEED : clock = 2500000 ; break ; <nl> + case SPI_EIGHTH_SPEED : clock = 1250000 ; break ; <nl> + case SPI_SPEED_5 : clock = 625000 ; break ; <nl> + case SPI_SPEED_6 : clock = 300000 ; break ; <nl> + default : <nl> + clock = 4000000 ; / / Default from the SPI libarary <nl> + } <nl> + spiConfig = SPISettings ( clock , MSBFIRST , SPI_MODE0 ) ; <nl> + SPI . begin ( ) ; <nl> + } <nl> + <nl> + <nl> + <nl> + / * * <nl> + * @ brief Receives a single byte from the SPI port . <nl> + * <nl> + * @ return Byte received <nl> + * <nl> + * @ details <nl> + * / <nl> + uint8_t spiRec ( void ) { <nl> + SPI . beginTransaction ( spiConfig ) ; <nl> + uint8_t returnByte = SPI . transfer ( 0xFF ) ; <nl> + SPI . endTransaction ( ) ; <nl> + return returnByte ; <nl> + } <nl> + <nl> + / * * <nl> + * @ brief Receives a number of bytes from the SPI port to a buffer <nl> + * <nl> + * @ param buf Pointer to starting address of buffer to write to . <nl> + * @ param nbyte Number of bytes to receive . <nl> + * @ return Nothing <nl> + * <nl> + * @ details Uses DMA <nl> + * / <nl> + <nl> + <nl> + void spiRead ( uint8_t * buf , uint16_t nbyte ) { <nl> + SPI . beginTransaction ( spiConfig ) ; <nl> + SPI . dmaTransfer ( 0 , const_cast < uint8_t * > ( buf ) , nbyte ) ; <nl> + SPI . endTransaction ( ) ; <nl> + } <nl> + <nl> + / * * <nl> + * @ brief Sends a single byte on SPI port <nl> + * <nl> + * @ param b Byte to send <nl> + * <nl> + * @ details <nl> + * / <nl> + void spiSend ( uint8_t b ) { <nl> + SPI . beginTransaction ( spiConfig ) ; <nl> + SPI . transfer ( b ) ; <nl> + SPI . endTransaction ( ) ; <nl> + } <nl> + <nl> + / * * <nl> + * @ brief Write token and then write from 512 byte buffer to SPI ( for SD card ) <nl> + * <nl> + * @ param buf Pointer with buffer start address <nl> + * @ return Nothing <nl> + * <nl> + * @ details Use DMA <nl> + * / <nl> + <nl> + <nl> + void spiSendBlock ( uint8_t token , const uint8_t * buf ) { <nl> + SPI . beginTransaction ( spiConfig ) ; <nl> + SPI . transfer ( token ) ; <nl> + SPI . dmaSend ( const_cast < uint8_t * > ( buf ) , 512 ) ; <nl> + SPI . endTransaction ( ) ; <nl> + } <nl> + <nl> + <nl> + <nl> + # endif / / SOFTWARE_SPI <nl> + <nl> + # endif / / STM32F7 <nl> new file mode 100644 <nl> index 00000000000 . . 7bb331970ad <nl> mmm / dev / null <nl> ppp b / Marlin / src / HAL / HAL_STM32F7 / HAL_timers_STM32F7 . cpp <nl> <nl> + / * * <nl> + * Marlin 3D Printer Firmware <nl> + * <nl> + * Copyright ( C ) 2016 MarlinFirmware [ https : / / github . com / MarlinFirmware / Marlin ] <nl> + * Copyright ( c ) 2016 Bob Cousins bobcousins42 @ googlemail . com <nl> + * Copyright ( c ) 2015 - 2016 Nico Tonnhofer wurstnase . reprap @ gmail . com <nl> + * <nl> + * This program is free software : you can redistribute it and / or modify <nl> + * it under the terms of the GNU General Public License as published by <nl> + * the Free Software Foundation , either version 3 of the License , or <nl> + * ( at your option ) any later version . <nl> + * <nl> + * This program is distributed in the hope that it will be useful , <nl> + * but WITHOUT ANY WARRANTY ; without even the implied warranty of <nl> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the <nl> + * GNU General Public License for more details . <nl> + * <nl> + * You should have received a copy of the GNU General Public License <nl> + * along with this program . If not , see < http : / / www . gnu . org / licenses / > . <nl> + * <nl> + * / <nl> + <nl> + <nl> + # ifdef STM32F7 <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + / / Includes <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + <nl> + # include " . . / HAL . h " <nl> + <nl> + # include " HAL_timers_STM32F7 . h " <nl> + <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + / / Externals <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + / / Local defines <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + <nl> + # define NUM_HARDWARE_TIMERS 2 <nl> + <nl> + / / # define PRESCALER 1 <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + / / Types <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + <nl> + <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + / / Public Variables <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + / / Private Variables <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + <nl> + tTimerConfig timerConfig [ NUM_HARDWARE_TIMERS ] ; <nl> + <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + / / Function prototypes <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + / / Private functions <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + / / Public functions <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + <nl> + <nl> + bool timers_initialised [ NUM_HARDWARE_TIMERS ] = { false } ; <nl> + <nl> + void HAL_timer_start ( uint8_t timer_num , uint32_t frequency ) { <nl> + <nl> + if ( ! timers_initialised [ timer_num ] ) { <nl> + switch ( timer_num ) { <nl> + case STEP_TIMER_NUM : <nl> + / / STEPPER TIMER TIM5 / / use a 32bit timer <nl> + __HAL_RCC_TIM5_CLK_ENABLE ( ) ; <nl> + timerConfig [ 0 ] . timerdef . Instance = TIM5 ; <nl> + timerConfig [ 0 ] . timerdef . Init . Prescaler = ( STEPPER_TIMER_PRESCALE ) ; <nl> + timerConfig [ 0 ] . timerdef . Init . CounterMode = TIM_COUNTERMODE_UP ; <nl> + timerConfig [ 0 ] . timerdef . Init . ClockDivision = TIM_CLOCKDIVISION_DIV1 ; <nl> + timerConfig [ 0 ] . IRQ_Id = TIM5_IRQn ; <nl> + timerConfig [ 0 ] . callback = ( uint32_t ) TC5_Handler ; <nl> + HAL_NVIC_SetPriority ( timerConfig [ 0 ] . IRQ_Id , 1 , 0 ) ; <nl> + pinMode ( STEPPER_ENABLE_PIN , OUTPUT ) ; <nl> + digitalWrite ( STEPPER_ENABLE_PIN , LOW ) ; <nl> + break ; <nl> + case TEMP_TIMER_NUM : <nl> + / / TEMP TIMER TIM7 / / any available 16bit Timer ( 1 already used for PWM ) <nl> + __HAL_RCC_TIM7_CLK_ENABLE ( ) ; <nl> + timerConfig [ 1 ] . timerdef . Instance = TIM7 ; <nl> + timerConfig [ 1 ] . timerdef . Init . Prescaler = ( TEMP_TIMER_PRESCALE ) ; <nl> + timerConfig [ 1 ] . timerdef . Init . CounterMode = TIM_COUNTERMODE_UP ; <nl> + timerConfig [ 1 ] . timerdef . Init . ClockDivision = TIM_CLOCKDIVISION_DIV1 ; <nl> + timerConfig [ 1 ] . IRQ_Id = TIM7_IRQn ; <nl> + timerConfig [ 1 ] . callback = ( uint32_t ) TC7_Handler ; <nl> + HAL_NVIC_SetPriority ( timerConfig [ 1 ] . IRQ_Id , 2 , 0 ) ; <nl> + break ; <nl> + } <nl> + timers_initialised [ timer_num ] = true ; <nl> + } <nl> + <nl> + timerConfig [ timer_num ] . timerdef . Init . Period = ( ( HAL_TIMER_RATE / timerConfig [ timer_num ] . timerdef . Init . Prescaler ) / ( frequency ) ) - 1 ; <nl> + <nl> + if ( HAL_TIM_Base_Init ( & timerConfig [ timer_num ] . timerdef ) = = HAL_OK ) { <nl> + HAL_TIM_Base_Start_IT ( & timerConfig [ timer_num ] . timerdef ) ; <nl> + } <nl> + <nl> + } <nl> + <nl> + / / forward the interrupt <nl> + extern " C " void TIM5_IRQHandler ( ) <nl> + { <nl> + ( ( void ( * ) ( void ) ) timerConfig [ 0 ] . callback ) ( ) ; <nl> + } <nl> + extern " C " void TIM7_IRQHandler ( ) <nl> + { <nl> + ( ( void ( * ) ( void ) ) timerConfig [ 1 ] . callback ) ( ) ; <nl> + } <nl> + <nl> + void HAL_timer_set_count ( uint8_t timer_num , uint32_t count ) { <nl> + __HAL_TIM_SetAutoreload ( & timerConfig [ timer_num ] . timerdef , count ) ; <nl> + } <nl> + <nl> + void HAL_timer_set_current_count ( uint8_t timer_num , uint32_t count ) { <nl> + __HAL_TIM_SetAutoreload ( & timerConfig [ timer_num ] . timerdef , count ) ; <nl> + } <nl> + <nl> + void HAL_timer_enable_interrupt ( uint8_t timer_num ) { <nl> + HAL_NVIC_EnableIRQ ( timerConfig [ timer_num ] . IRQ_Id ) ; <nl> + } <nl> + <nl> + void HAL_timer_disable_interrupt ( uint8_t timer_num ) { <nl> + HAL_NVIC_DisableIRQ ( timerConfig [ timer_num ] . IRQ_Id ) ; <nl> + } <nl> + <nl> + hal_timer_t HAL_timer_get_count ( uint8_t timer_num ) { <nl> + return __HAL_TIM_GetAutoreload ( & timerConfig [ timer_num ] . timerdef ) ; <nl> + } <nl> + <nl> + uint32_t HAL_timer_get_current_count ( uint8_t timer_num ) { <nl> + return __HAL_TIM_GetCounter ( & timerConfig [ timer_num ] . timerdef ) ; <nl> + } <nl> + <nl> + void HAL_timer_isr_prologue ( uint8_t timer_num ) { <nl> + if ( __HAL_TIM_GET_FLAG ( & timerConfig [ timer_num ] . timerdef , TIM_FLAG_UPDATE ) = = SET ) { <nl> + __HAL_TIM_CLEAR_FLAG ( & timerConfig [ timer_num ] . timerdef , TIM_FLAG_UPDATE ) ; <nl> + } <nl> + } <nl> + <nl> + # endif <nl> \ No newline at end of file <nl> new file mode 100644 <nl> index 00000000000 . . c77866c5af3 <nl> mmm / dev / null <nl> ppp b / Marlin / src / HAL / HAL_STM32F7 / HAL_timers_STM32F7 . h <nl> <nl> + / * * <nl> + * Marlin 3D Printer Firmware <nl> + * <nl> + * Copyright ( C ) 2016 MarlinFirmware [ https : / / github . com / MarlinFirmware / Marlin ] <nl> + * Copyright ( c ) 2016 Bob Cousins bobcousins42 @ googlemail . com <nl> + * Copyright ( c ) 2017 Victor Perez <nl> + * <nl> + * This program is free software : you can redistribute it and / or modify <nl> + * it under the terms of the GNU General Public License as published by <nl> + * the Free Software Foundation , either version 3 of the License , or <nl> + * ( at your option ) any later version . <nl> + * <nl> + * This program is distributed in the hope that it will be useful , <nl> + * but WITHOUT ANY WARRANTY ; without even the implied warranty of <nl> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the <nl> + * GNU General Public License for more details . <nl> + * <nl> + * You should have received a copy of the GNU General Public License <nl> + * along with this program . If not , see < http : / / www . gnu . org / licenses / > . <nl> + * <nl> + * / <nl> + <nl> + <nl> + <nl> + # ifndef _HAL_TIMERS_STM32F7_H <nl> + # define _HAL_TIMERS_STM32F7_H <nl> + <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + / / Includes <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + <nl> + # include < stdint . h > <nl> + <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + / / Defines <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + <nl> + <nl> + # define FORCE_INLINE __attribute__ ( ( always_inline ) ) inline <nl> + <nl> + # define hal_timer_t uint32_t / / hal_timer_t uint32_t / / TODO : One is 16 - bit , one 32 - bit - does this need to be checked ? <nl> + # define HAL_TIMER_TYPE_MAX 0xFFFF <nl> + <nl> + # define STEP_TIMER_NUM 0 / / index of timer to use for stepper <nl> + # define TEMP_TIMER_NUM 1 / / index of timer to use for temperature <nl> + <nl> + # define HAL_TIMER_RATE ( HAL_RCC_GetSysClockFreq ( ) / 2 ) / / frequency of timer peripherals <nl> + # define STEPPER_TIMER_PRESCALE 54 / / was 40 , prescaler for setting stepper timer , 2Mhz <nl> + # define HAL_STEPPER_TIMER_RATE ( HAL_TIMER_RATE / STEPPER_TIMER_PRESCALE ) / / frequency of stepper timer ( HAL_TIMER_RATE / STEPPER_TIMER_PRESCALE ) <nl> + # define HAL_TICKS_PER_US ( ( HAL_STEPPER_TIMER_RATE ) / 1000000 ) / / stepper timer ticks per us <nl> + <nl> + # define PULSE_TIMER_NUM STEP_TIMER_NUM <nl> + # define PULSE_TIMER_PRESCALE STEPPER_TIMER_PRESCALE <nl> + <nl> + # define TEMP_TIMER_PRESCALE 1000 / / prescaler for setting Temp timer , 72Khz <nl> + # define TEMP_TIMER_FREQUENCY 1000 / / temperature interrupt frequency <nl> + <nl> + # define ENABLE_STEPPER_DRIVER_INTERRUPT ( ) HAL_timer_enable_interrupt ( STEP_TIMER_NUM ) <nl> + # define DISABLE_STEPPER_DRIVER_INTERRUPT ( ) HAL_timer_disable_interrupt ( STEP_TIMER_NUM ) <nl> + <nl> + # define ENABLE_TEMPERATURE_INTERRUPT ( ) HAL_timer_enable_interrupt ( TEMP_TIMER_NUM ) <nl> + # define DISABLE_TEMPERATURE_INTERRUPT ( ) HAL_timer_disable_interrupt ( TEMP_TIMER_NUM ) <nl> + <nl> + # define HAL_ENABLE_ISRs ( ) do { if ( thermalManager . in_temp_isr ) DISABLE_TEMPERATURE_INTERRUPT ( ) ; else ENABLE_TEMPERATURE_INTERRUPT ( ) ; ENABLE_STEPPER_DRIVER_INTERRUPT ( ) ; } while ( 0 ) <nl> + / / TODO change this <nl> + <nl> + <nl> + extern void TC5_Handler ( ) ; <nl> + extern void TC7_Handler ( ) ; <nl> + # define HAL_STEP_TIMER_ISR void TC5_Handler ( ) <nl> + # define HAL_TEMP_TIMER_ISR void TC7_Handler ( ) <nl> + <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + / / Types <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + <nl> + typedef struct { <nl> + TIM_HandleTypeDef timerdef ; <nl> + IRQn_Type IRQ_Id ; <nl> + uint32_t callback ; <nl> + } tTimerConfig ; <nl> + <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + / / Public Variables <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + <nl> + / / extern const tTimerConfig timerConfig [ ] ; <nl> + <nl> + <nl> + <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + / / Public functions <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + <nl> + void HAL_timer_start ( uint8_t timer_num , uint32_t frequency ) ; <nl> + void HAL_timer_enable_interrupt ( uint8_t timer_num ) ; <nl> + void HAL_timer_disable_interrupt ( uint8_t timer_num ) ; <nl> + <nl> + <nl> + <nl> + void HAL_timer_set_count ( uint8_t timer_num , uint32_t count ) ; <nl> + hal_timer_t HAL_timer_get_count ( uint8_t timer_num ) ; <nl> + uint32_t HAL_timer_get_current_count ( uint8_t timer_num ) ; <nl> + <nl> + void HAL_timer_set_current_count ( uint8_t timer_num , uint32_t count ) ; / / New <nl> + / * FORCE_INLINE static void HAL_timer_set_current_count ( const uint8_t timer_num , const hal_timer_t count ) { <nl> + / / To do ? ? <nl> + } * / <nl> + <nl> + void HAL_timer_isr_prologue ( uint8_t timer_num ) ; <nl> + <nl> + # endif / / _HAL_TIMERS_STM32F7_H <nl> new file mode 100644 <nl> index 00000000000 . . c55360e8634 <nl> mmm / dev / null <nl> ppp b / Marlin / src / HAL / HAL_STM32F7 / README . md <nl> <nl> + # This HAL is for the STM32F765 board " The Borg " used with STM32Generic Arduino core by danieleff . <nl> + <nl> + # Original core is located at : <nl> + <nl> + https : / / github . com / danieleff / STM32GENERIC <nl> + <nl> + but i have not committed the changes needed for the Borg there yet , so please use : <nl> + <nl> + https : / / github . com / Spawn32 / STM32GENERIC <nl> + <nl> + Unzip it into [ Arduino ] / hardware folder <nl> + <nl> + <nl> + Download the latest GNU ARM Embedded Toolchain : <nl> + <nl> + https : / / developer . arm . com / open - source / gnu - toolchain / gnu - rm / downloads <nl> + <nl> + ( The one in Arduino dosen ' t support STM32F7 ) . <nl> + <nl> + Change compiler . path in platform . txt to point to that you downloaded . <nl> + <nl> + # This HAL is in development . <nl> + # Currently only tested on " The Borg " . <nl> + <nl> + You will also need the latest Arduino 1 . 9 . 0 - beta or newer . <nl> + <nl> + This HAL is a modified version of Chris Barr ' s Picoprint STM32F4 HAL , so shouldn ' t be to hard to get it to work on a F4 . <nl> + <nl> new file mode 100644 <nl> index 00000000000 . . 8799c4eca79 <nl> mmm / dev / null <nl> ppp b / Marlin / src / HAL / HAL_STM32F7 / SanityCheck_STM32F7 . h <nl> <nl> + / * * <nl> + * Marlin 3D Printer Firmware <nl> + * Copyright ( C ) 2016 , 2017 MarlinFirmware [ https : / / github . com / MarlinFirmware / Marlin ] <nl> + * <nl> + * Based on Sprinter and grbl . <nl> + * Copyright ( C ) 2011 Camiel Gubbels / Erik van der Zalm <nl> + * <nl> + * This program is free software : you can redistribute it and / or modify <nl> + * it under the terms of the GNU General Public License as published by <nl> + * the Free Software Foundation , either version 3 of the License , or <nl> + * ( at your option ) any later version . <nl> + * <nl> + * This program is distributed in the hope that it will be useful , <nl> + * but WITHOUT ANY WARRANTY ; without even the implied warranty of <nl> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the <nl> + * GNU General Public License for more details . <nl> + * <nl> + * You should have received a copy of the GNU General Public License <nl> + * along with this program . If not , see < http : / / www . gnu . org / licenses / > . <nl> + * <nl> + * / <nl> + <nl> + / * * <nl> + * Test Re - ARM specific configuration values for errors at compile - time . <nl> + * / <nl> + # if ENABLED ( SPINDLE_LASER_ENABLE ) <nl> + # if ! PIN_EXISTS ( SPINDLE_LASER_ENABLE ) <nl> + # error " SPINDLE_LASER_ENABLE requires SPINDLE_LASER_ENABLE_PIN . " <nl> + # elif SPINDLE_DIR_CHANGE & & ! PIN_EXISTS ( SPINDLE_DIR ) <nl> + # error " SPINDLE_DIR_PIN not defined . " <nl> + # elif ENABLED ( SPINDLE_LASER_PWM ) & & PIN_EXISTS ( SPINDLE_LASER_PWM ) <nl> + # if ! PWM_PIN ( SPINDLE_LASER_PWM_PIN ) <nl> + # error " SPINDLE_LASER_PWM_PIN not assigned to a PWM pin . " <nl> + # elif ! ( SPINDLE_LASER_PWM_PIN = = 4 | | SPINDLE_LASER_PWM_PIN = = 6 | | SPINDLE_LASER_PWM_PIN = = 11 ) <nl> + # error " SPINDLE_LASER_PWM_PIN must use SERVO0 , SERVO1 or SERVO3 connector " <nl> + # elif SPINDLE_LASER_POWERUP_DELAY < 1 <nl> + # error " SPINDLE_LASER_POWERUP_DELAY must be greater than 0 . " <nl> + # elif SPINDLE_LASER_POWERDOWN_DELAY < 1 <nl> + # error " SPINDLE_LASER_POWERDOWN_DELAY must be greater than 0 . " <nl> + # elif ! defined ( SPINDLE_LASER_PWM_INVERT ) <nl> + # error " SPINDLE_LASER_PWM_INVERT missing . " <nl> + # elif ! defined ( SPEED_POWER_SLOPE ) | | ! defined ( SPEED_POWER_INTERCEPT ) | | ! defined ( SPEED_POWER_MIN ) | | ! defined ( SPEED_POWER_MAX ) <nl> + # error " SPINDLE_LASER_PWM equation constant ( s ) missing . " <nl> + # elif PIN_EXISTS ( CASE_LIGHT ) & & SPINDLE_LASER_PWM_PIN = = CASE_LIGHT_PIN <nl> + # error " SPINDLE_LASER_PWM_PIN is used by CASE_LIGHT_PIN . " <nl> + # elif PIN_EXISTS ( E0_AUTO_FAN ) & & SPINDLE_LASER_PWM_PIN = = E0_AUTO_FAN_PIN <nl> + # error " SPINDLE_LASER_PWM_PIN is used by E0_AUTO_FAN_PIN . " <nl> + # elif PIN_EXISTS ( E1_AUTO_FAN ) & & SPINDLE_LASER_PWM_PIN = = E1_AUTO_FAN_PIN <nl> + # error " SPINDLE_LASER_PWM_PIN is used by E1_AUTO_FAN_PIN . " <nl> + # elif PIN_EXISTS ( E2_AUTO_FAN ) & & SPINDLE_LASER_PWM_PIN = = E2_AUTO_FAN_PIN <nl> + # error " SPINDLE_LASER_PWM_PIN is used by E2_AUTO_FAN_PIN . " <nl> + # elif PIN_EXISTS ( E3_AUTO_FAN ) & & SPINDLE_LASER_PWM_PIN = = E3_AUTO_FAN_PIN <nl> + # error " SPINDLE_LASER_PWM_PIN is used by E3_AUTO_FAN_PIN . " <nl> + # elif PIN_EXISTS ( E4_AUTO_FAN ) & & SPINDLE_LASER_PWM_PIN = = E4_AUTO_FAN_PIN <nl> + # error " SPINDLE_LASER_PWM_PIN is used by E4_AUTO_FAN_PIN . " <nl> + # elif PIN_EXISTS ( FAN ) & & SPINDLE_LASER_PWM_PIN = = FAN_PIN <nl> + # error " SPINDLE_LASER_PWM_PIN is used FAN_PIN . " <nl> + # elif PIN_EXISTS ( FAN1 ) & & SPINDLE_LASER_PWM_PIN = = FAN1_PIN <nl> + # error " SPINDLE_LASER_PWM_PIN is used FAN1_PIN . " <nl> + # elif PIN_EXISTS ( FAN2 ) & & SPINDLE_LASER_PWM_PIN = = FAN2_PIN <nl> + # error " SPINDLE_LASER_PWM_PIN is used FAN2_PIN . " <nl> + # elif PIN_EXISTS ( CONTROLLERFAN ) & & SPINDLE_LASER_PWM_PIN = = CONTROLLERFAN_PIN <nl> + # error " SPINDLE_LASER_PWM_PIN is used by CONTROLLERFAN_PIN . " <nl> + # endif <nl> + # endif <nl> + # endif / / SPINDLE_LASER_ENABLE <nl> new file mode 100644 <nl> index 00000000000 . . 20976d60967 <nl> mmm / dev / null <nl> ppp b / Marlin / src / HAL / HAL_STM32F7 / TMC2660 . cpp <nl> <nl> + / * <nl> + TMC26XStepper . cpp - - TMC26X Stepper library for Wiring / Arduino <nl> + <nl> + based on the stepper library by Tom Igoe , et . al . <nl> + <nl> + Copyright ( c ) 2011 , Interactive Matter , Marcus Nowotny <nl> + <nl> + Permission is hereby granted , free of charge , to any person obtaining a copy <nl> + of this software and associated documentation files ( the " Software " ) , to deal <nl> + in the Software without restriction , including without limitation the rights <nl> + to use , copy , modify , merge , publish , distribute , sublicense , and / or sell <nl> + copies of the Software , and to permit persons to whom the Software is <nl> + furnished to do so , subject to the following conditions : <nl> + <nl> + The above copyright notice and this permission notice shall be included in <nl> + all copies or substantial portions of the Software . <nl> + <nl> + THE SOFTWARE IS PROVIDED " AS IS " , WITHOUT WARRANTY OF ANY KIND , EXPRESS OR <nl> + IMPLIED , INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY , <nl> + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT . IN NO EVENT SHALL THE <nl> + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM , DAMAGES OR OTHER <nl> + LIABILITY , WHETHER IN AN ACTION OF CONTRACT , TORT OR OTHERWISE , ARISING FROM , <nl> + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN <nl> + THE SOFTWARE . <nl> + <nl> + * / <nl> + <nl> + / / # include " Arduino . h " <nl> + <nl> + # ifdef STM32F7 <nl> + <nl> + # include < stdbool . h > <nl> + # include < SPI . h > <nl> + # include " TMC2660 . h " <nl> + <nl> + # include " . . / . . / HAL / HAL_STM32F7 / HAL_STM32F7 . h " <nl> + # include " . . / . . / core / serial . h " <nl> + # include " . . / . . / inc / MarlinConfig . h " <nl> + # include " . . / . . / Marlin . h " <nl> + # include " . . / . . / module / stepper_indirection . h " <nl> + # include " . . / . . / module / printcounter . h " <nl> + # include " . . / . . / libs / duration_t . h " <nl> + # include " . . / . . / libs / hex_print_routines . h " <nl> + <nl> + <nl> + / / some default values used in initialization <nl> + # define DEFAULT_MICROSTEPPING_VALUE 32 <nl> + <nl> + / / TMC26X register definitions <nl> + # define DRIVER_CONTROL_REGISTER 0x0ul <nl> + # define CHOPPER_CONFIG_REGISTER 0x80000ul <nl> + # define COOL_STEP_REGISTER 0xA0000ul <nl> + # define STALL_GUARD2_LOAD_MEASURE_REGISTER 0xC0000ul <nl> + # define DRIVER_CONFIG_REGISTER 0xE0000ul <nl> + <nl> + # define REGISTER_BIT_PATTERN 0xFFFFFul <nl> + <nl> + / / definitions for the driver control register <nl> + # define MICROSTEPPING_PATTERN 0xFul <nl> + # define STEP_INTERPOLATION 0x200ul <nl> + # define DOUBLE_EDGE_STEP 0x100ul <nl> + # define VSENSE 0x40ul <nl> + # define READ_MICROSTEP_POSTION 0x0ul <nl> + # define READ_STALL_GUARD_READING 0x10ul <nl> + # define READ_STALL_GUARD_AND_COOL_STEP 0x20ul <nl> + # define READ_SELECTION_PATTERN 0x30ul <nl> + <nl> + / / definitions for the chopper config register <nl> + # define CHOPPER_MODE_STANDARD 0x0ul <nl> + # define CHOPPER_MODE_T_OFF_FAST_DECAY 0x4000ul <nl> + # define T_OFF_PATTERN 0xful <nl> + # define RANDOM_TOFF_TIME 0x2000ul <nl> + # define BLANK_TIMING_PATTERN 0x18000ul <nl> + # define BLANK_TIMING_SHIFT 15 <nl> + # define HYSTERESIS_DECREMENT_PATTERN 0x1800ul <nl> + # define HYSTERESIS_DECREMENT_SHIFT 11 <nl> + # define HYSTERESIS_LOW_VALUE_PATTERN 0x780ul <nl> + # define HYSTERESIS_LOW_SHIFT 7 <nl> + # define HYSTERESIS_START_VALUE_PATTERN 0x78ul <nl> + # define HYSTERESIS_START_VALUE_SHIFT 4 <nl> + # define T_OFF_TIMING_PATERN 0xFul <nl> + <nl> + / / definitions for cool step register <nl> + # define MINIMUM_CURRENT_FOURTH 0x8000ul <nl> + # define CURRENT_DOWN_STEP_SPEED_PATTERN 0x6000ul <nl> + # define SE_MAX_PATTERN 0xF00ul <nl> + # define SE_CURRENT_STEP_WIDTH_PATTERN 0x60ul <nl> + # define SE_MIN_PATTERN 0xful <nl> + <nl> + / / definitions for stall guard2 current register <nl> + # define STALL_GUARD_FILTER_ENABLED 0x10000ul <nl> + # define STALL_GUARD_TRESHHOLD_VALUE_PATTERN 0x17F00ul <nl> + # define CURRENT_SCALING_PATTERN 0x1Ful <nl> + # define STALL_GUARD_CONFIG_PATTERN 0x17F00ul <nl> + # define STALL_GUARD_VALUE_PATTERN 0x7F00ul <nl> + <nl> + / / definitions for the input from the TCM260 <nl> + # define STATUS_STALL_GUARD_STATUS 0x1ul <nl> + # define STATUS_OVER_TEMPERATURE_SHUTDOWN 0x2ul <nl> + # define STATUS_OVER_TEMPERATURE_WARNING 0x4ul <nl> + # define STATUS_SHORT_TO_GROUND_A 0x8ul <nl> + # define STATUS_SHORT_TO_GROUND_B 0x10ul <nl> + # define STATUS_OPEN_LOAD_A 0x20ul <nl> + # define STATUS_OPEN_LOAD_B 0x40ul <nl> + # define STATUS_STAND_STILL 0x80ul <nl> + # define READOUT_VALUE_PATTERN 0xFFC00ul <nl> + <nl> + # define CPU_32_BIT <nl> + <nl> + / / default values <nl> + # define INITIAL_MICROSTEPPING 0x3ul / / 32th microstepping <nl> + <nl> + SPIClass SPI_6 ( SPI6 , SPI6_MOSI_PIN , SPI6_MISO_PIN , SPI6_SCK_PIN ) ; <nl> + <nl> + # define STEPPER_SPI SPI_6 <nl> + <nl> + / / debuging output <nl> + <nl> + / / # define TMC_DEBUG1 <nl> + <nl> + unsigned char current_scaling = 0 ; <nl> + <nl> + / * <nl> + * Constructor <nl> + * number_of_steps - the steps per rotation <nl> + * cs_pin - the SPI client select pin <nl> + * dir_pin - the pin where the direction pin is connected <nl> + * step_pin - the pin where the step pin is connected <nl> + * / <nl> + TMC26XStepper : : TMC26XStepper ( int number_of_steps , int cs_pin , int dir_pin , int step_pin , unsigned int current , unsigned int resistor ) <nl> + { <nl> + / / we are not started yet <nl> + started = false ; <nl> + / / by default cool step is not enabled <nl> + cool_step_enabled = false ; <nl> + <nl> + / / save the pins for later use <nl> + this - > cs_pin = cs_pin ; <nl> + this - > dir_pin = dir_pin ; <nl> + this - > step_pin = step_pin ; <nl> + <nl> + / / store the current sense resistor value for later use <nl> + this - > resistor = resistor ; <nl> + <nl> + / / initizalize our status values <nl> + this - > steps_left = 0 ; <nl> + this - > direction = 0 ; <nl> + <nl> + / / initialize register values <nl> + driver_control_register_value = DRIVER_CONTROL_REGISTER | INITIAL_MICROSTEPPING ; <nl> + chopper_config_register = CHOPPER_CONFIG_REGISTER ; <nl> + <nl> + / / setting the default register values <nl> + driver_control_register_value = DRIVER_CONTROL_REGISTER | INITIAL_MICROSTEPPING ; <nl> + microsteps = ( 1 < < INITIAL_MICROSTEPPING ) ; <nl> + chopper_config_register = CHOPPER_CONFIG_REGISTER ; <nl> + cool_step_register_value = COOL_STEP_REGISTER ; <nl> + stall_guard2_current_register_value = STALL_GUARD2_LOAD_MEASURE_REGISTER ; <nl> + driver_configuration_register_value = DRIVER_CONFIG_REGISTER | READ_STALL_GUARD_READING ; <nl> + <nl> + / / set the current <nl> + setCurrent ( current ) ; <nl> + / / set to a conservative start value <nl> + setConstantOffTimeChopper ( 7 , 54 , 13 , 12 , 1 ) ; <nl> + / / set a nice microstepping value <nl> + setMicrosteps ( DEFAULT_MICROSTEPPING_VALUE ) ; <nl> + / / save the number of steps <nl> + this - > number_of_steps = number_of_steps ; <nl> + } <nl> + <nl> + <nl> + / * <nl> + * start & configure the stepper driver <nl> + * just must be called . <nl> + * / <nl> + void TMC26XStepper : : start ( ) { <nl> + <nl> + # ifdef TMC_DEBUG1 <nl> + SERIAL_ECHOPGM ( " \ n TMC26X stepper library \ n " ) ; <nl> + SERIAL_ECHOPAIR ( " \ n CS pin : " , cs_pin ) ; <nl> + SERIAL_ECHOPAIR ( " \ n DIR pin : " , dir_pin ) ; <nl> + SERIAL_ECHOPAIR ( " \ n STEP pin : " , step_pin ) ; <nl> + SERIAL_PRINTF ( " \ n current scaling : % d " , current_scaling ) ; <nl> + SERIAL_PRINTF ( " \ n Resistor : % d " , resistor ) ; <nl> + / / SERIAL_PRINTF ( " \ n current : % d " , current ) ; <nl> + SERIAL_ECHOPAIR ( " \ n Microstepping : " , microsteps ) ; <nl> + <nl> + # endif <nl> + <nl> + / / set the pins as output & its initial value <nl> + pinMode ( step_pin , OUTPUT ) ; <nl> + pinMode ( dir_pin , OUTPUT ) ; <nl> + pinMode ( cs_pin , OUTPUT ) ; <nl> + / / pinMode ( STEPPER_ENABLE_PIN , OUTPUT ) ; <nl> + digitalWrite ( step_pin , LOW ) ; <nl> + digitalWrite ( dir_pin , LOW ) ; <nl> + digitalWrite ( cs_pin , HIGH ) ; <nl> + <nl> + STEPPER_SPI . begin ( ) ; <nl> + STEPPER_SPI . beginTransaction ( SPISettings ( 4000000 , MSBFIRST , SPI_MODE3 ) ) ; <nl> + <nl> + / / set the initial values <nl> + send262 ( driver_control_register_value ) ; <nl> + send262 ( chopper_config_register ) ; <nl> + send262 ( cool_step_register_value ) ; <nl> + send262 ( stall_guard2_current_register_value ) ; <nl> + send262 ( driver_configuration_register_value ) ; <nl> + <nl> + / / save that we are in running mode <nl> + started = true ; <nl> + } <nl> + <nl> + / * <nl> + Mark the driver as unstarted to be able to start it again <nl> + * / <nl> + void TMC26XStepper : : un_start ( ) { <nl> + started = false ; <nl> + } <nl> + <nl> + <nl> + / * <nl> + Sets the speed in revs per minute <nl> + <nl> + * / <nl> + void TMC26XStepper : : setSpeed ( unsigned int whatSpeed ) <nl> + { <nl> + this - > speed = whatSpeed ; <nl> + this - > step_delay = ( 60UL * 1000UL * 1000UL ) / ( ( unsigned long ) this - > number_of_steps * ( unsigned long ) whatSpeed * ( unsigned long ) this - > microsteps ) ; <nl> + # ifdef TMC_DEBUG0 / / crashes <nl> + / / SERIAL_PRINTF ( " Step delay in micros : " ) ; <nl> + SERIAL_ECHOPAIR ( " \ nStep delay in micros : " , this - > step_delay ) ; <nl> + # endif <nl> + / / update the next step time <nl> + this - > next_step_time = this - > last_step_time + this - > step_delay ; <nl> + <nl> + } <nl> + <nl> + unsigned int TMC26XStepper : : getSpeed ( void ) { <nl> + return this - > speed ; <nl> + } <nl> + <nl> + / * <nl> + Moves the motor steps_to_move steps . If the number is negative , <nl> + the motor moves in the reverse direction . <nl> + * / <nl> + char TMC26XStepper : : step ( int steps_to_move ) <nl> + { <nl> + if ( this - > steps_left = = 0 ) { <nl> + this - > steps_left = abs ( steps_to_move ) ; / / how many steps to take <nl> + <nl> + / / determine direction based on whether steps_to_mode is + or - : <nl> + if ( steps_to_move > 0 ) { <nl> + this - > direction = 1 ; <nl> + } else if ( steps_to_move < 0 ) { <nl> + this - > direction = 0 ; <nl> + } <nl> + return 0 ; <nl> + } else { <nl> + return - 1 ; <nl> + } <nl> + } <nl> + <nl> + char TMC26XStepper : : move ( void ) { <nl> + / / decrement the number of steps , moving one step each time : <nl> + if ( this - > steps_left > 0 ) { <nl> + unsigned long time = micros ( ) ; <nl> + / / move only if the appropriate delay has passed : <nl> + <nl> + / / rem if ( time > = this - > next_step_time ) { <nl> + <nl> + if ( abs ( time - this - > last_step_time ) > this - > step_delay ) { <nl> + <nl> + / / increment or decrement the step number , <nl> + / / depending on direction : <nl> + if ( this - > direction = = 1 ) { <nl> + digitalWrite ( step_pin , HIGH ) ; <nl> + } else { <nl> + digitalWrite ( dir_pin , HIGH ) ; <nl> + digitalWrite ( step_pin , HIGH ) ; <nl> + } <nl> + / / get the timeStamp of when you stepped : <nl> + this - > last_step_time = time ; <nl> + this - > next_step_time = time + this - > step_delay ; <nl> + / / decrement the steps left : <nl> + steps_left - - ; <nl> + / / disable the step & dir pins <nl> + digitalWrite ( step_pin , LOW ) ; <nl> + digitalWrite ( dir_pin , LOW ) ; <nl> + } <nl> + return - 1 ; <nl> + } <nl> + return 0 ; <nl> + } <nl> + <nl> + char TMC26XStepper : : isMoving ( void ) { <nl> + return ( this - > steps_left > 0 ) ; <nl> + } <nl> + <nl> + unsigned int TMC26XStepper : : getStepsLeft ( void ) { <nl> + return this - > steps_left ; <nl> + } <nl> + <nl> + char TMC26XStepper : : stop ( void ) { <nl> + / / note to self if the motor is currently moving <nl> + char state = isMoving ( ) ; <nl> + / / stop the motor <nl> + this - > steps_left = 0 ; <nl> + this - > direction = 0 ; <nl> + / / return if it was moving <nl> + return state ; <nl> + } <nl> + <nl> + void TMC26XStepper : : setCurrent ( unsigned int current ) { <nl> + unsigned char current_scaling = 0 ; <nl> + / / calculate the current scaling from the max current setting ( in mA ) <nl> + double mASetting = ( double ) current ; <nl> + double resistor_value = ( double ) this - > resistor ; <nl> + / / remove vesense flag <nl> + this - > driver_configuration_register_value & = ~ ( VSENSE ) ; <nl> + / / this is derrived from I = ( cs + 1 ) / 32 * ( Vsense / Rsense ) <nl> + / / leading to cs = CS = 32 * R * I / V ( with V = 0 , 31V oder 0 , 165V and I = 1000 * current ) <nl> + / / with Rsense = 0 , 15 <nl> + / / for vsense = 0 , 310V ( VSENSE not set ) <nl> + / / or vsense = 0 , 165V ( VSENSE set ) <nl> + current_scaling = ( byte ) ( ( resistor_value * mASetting * 32 . 0 / ( 0 . 31 * 1000 . 0 * 1000 . 0 ) ) - 0 . 5 ) ; / / theoretically - 1 . 0 for better rounding it is 0 . 5 <nl> + <nl> + / / check if the current scalingis too low <nl> + if ( current_scaling < 16 ) { <nl> + / / set the csense bit to get a use half the sense voltage ( to support lower motor currents ) <nl> + this - > driver_configuration_register_value | = VSENSE ; <nl> + / / and recalculate the current setting <nl> + current_scaling = ( byte ) ( ( resistor_value * mASetting * 32 . 0 / ( 0 . 165 * 1000 . 0 * 1000 . 0 ) ) - 0 . 5 ) ; / / theoretically - 1 . 0 for better rounding it is 0 . 5 <nl> + # ifdef TMC_DEBUG0 / / crashes <nl> + / / SERIAL_PRINTF ( " CS ( Vsense = 1 ) : " ) ; <nl> + SERIAL_ECHOPAIR ( " \ nCS ( Vsense = 1 ) : " , current_scaling ) ; <nl> + } else { <nl> + / / SERIAL_PRINTF ( " CS : " ) ; <nl> + SERIAL_ECHOPAIR ( " \ nCS : " , current_scaling ) ; <nl> + # endif <nl> + } <nl> + <nl> + / / do some sanity checks <nl> + if ( current_scaling > 31 ) { <nl> + current_scaling = 31 ; <nl> + } <nl> + / / delete the old value <nl> + stall_guard2_current_register_value & = ~ ( CURRENT_SCALING_PATTERN ) ; <nl> + / / set the new current scaling <nl> + stall_guard2_current_register_value | = current_scaling ; <nl> + / / if started we directly send it to the motor <nl> + if ( started ) { <nl> + send262 ( driver_configuration_register_value ) ; <nl> + send262 ( stall_guard2_current_register_value ) ; <nl> + } <nl> + } <nl> + <nl> + unsigned int TMC26XStepper : : getCurrent ( void ) { <nl> + / / we calculate the current according to the datasheet to be on the safe side <nl> + / / this is not the fastest but the most accurate and illustrative way <nl> + double result = ( double ) ( stall_guard2_current_register_value & CURRENT_SCALING_PATTERN ) ; <nl> + double resistor_value = ( double ) this - > resistor ; <nl> + double voltage = ( driver_configuration_register_value & VSENSE ) ? 0 . 165 : 0 . 31 ; <nl> + result = ( result + 1 . 0 ) / 32 . 0 * voltage / resistor_value * 1000 . 0 * 1000 . 0 ; <nl> + return ( unsigned int ) result ; <nl> + } <nl> + <nl> + void TMC26XStepper : : setStallGuardThreshold ( char stall_guard_threshold , char stall_guard_filter_enabled ) { <nl> + if ( stall_guard_threshold < - 64 ) { <nl> + stall_guard_threshold = - 64 ; <nl> + / / We just have 5 bits <nl> + } else if ( stall_guard_threshold > 63 ) { <nl> + stall_guard_threshold = 63 ; <nl> + } <nl> + / / add trim down to 7 bits <nl> + stall_guard_threshold & = 0x7f ; <nl> + / / delete old stall guard settings <nl> + stall_guard2_current_register_value & = ~ ( STALL_GUARD_CONFIG_PATTERN ) ; <nl> + if ( stall_guard_filter_enabled ) { <nl> + stall_guard2_current_register_value | = STALL_GUARD_FILTER_ENABLED ; <nl> + } <nl> + / / Set the new stall guard threshold <nl> + stall_guard2_current_register_value | = ( ( ( unsigned long ) stall_guard_threshold < < 8 ) & STALL_GUARD_CONFIG_PATTERN ) ; <nl> + / / if started we directly send it to the motor <nl> + if ( started ) { <nl> + send262 ( stall_guard2_current_register_value ) ; <nl> + } <nl> + } <nl> + <nl> + char TMC26XStepper : : getStallGuardThreshold ( void ) { <nl> + unsigned long stall_guard_threshold = stall_guard2_current_register_value & STALL_GUARD_VALUE_PATTERN ; <nl> + / / shift it down to bit 0 <nl> + stall_guard_threshold > > = 8 ; <nl> + / / convert the value to an int to correctly handle the negative numbers <nl> + char result = stall_guard_threshold ; <nl> + / / check if it is negative and fill it up with leading 1 for proper negative number representation <nl> + / / rem if ( result & _BV ( 6 ) ) { <nl> + <nl> + if ( result & ( 1 < < ( 6 ) ) ) { <nl> + <nl> + result | = 0xC0 ; <nl> + } <nl> + return result ; <nl> + } <nl> + <nl> + char TMC26XStepper : : getStallGuardFilter ( void ) { <nl> + if ( stall_guard2_current_register_value & STALL_GUARD_FILTER_ENABLED ) { <nl> + return - 1 ; <nl> + } else { <nl> + return 0 ; <nl> + } <nl> + } <nl> + / * <nl> + * Set the number of microsteps per step . <nl> + * 0 , 2 , 4 , 8 , 16 , 32 , 64 , 128 , 256 is supported <nl> + * any value in between will be mapped to the next smaller value <nl> + * 0 and 1 set the motor in full step mode <nl> + * / <nl> + void TMC26XStepper : : setMicrosteps ( int number_of_steps ) { <nl> + long setting_pattern ; <nl> + / / poor mans log <nl> + if ( number_of_steps > = 256 ) { <nl> + setting_pattern = 0 ; <nl> + microsteps = 256 ; <nl> + } else if ( number_of_steps > = 128 ) { <nl> + setting_pattern = 1 ; <nl> + microsteps = 128 ; <nl> + } else if ( number_of_steps > = 64 ) { <nl> + setting_pattern = 2 ; <nl> + microsteps = 64 ; <nl> + } else if ( number_of_steps > = 32 ) { <nl> + setting_pattern = 3 ; <nl> + microsteps = 32 ; <nl> + } else if ( number_of_steps > = 16 ) { <nl> + setting_pattern = 4 ; <nl> + microsteps = 16 ; <nl> + } else if ( number_of_steps > = 8 ) { <nl> + setting_pattern = 5 ; <nl> + microsteps = 8 ; <nl> + } else if ( number_of_steps > = 4 ) { <nl> + setting_pattern = 6 ; <nl> + microsteps = 4 ; <nl> + } else if ( number_of_steps > = 2 ) { <nl> + setting_pattern = 7 ; <nl> + microsteps = 2 ; <nl> + / / 1 and 0 lead to full step <nl> + } else if ( number_of_steps < = 1 ) { <nl> + setting_pattern = 8 ; <nl> + microsteps = 1 ; <nl> + } <nl> + # ifdef TMC_DEBUG0 / / crashes <nl> + / / SERIAL_PRINTF ( " Microstepping : " ) ; <nl> + SERIAL_ECHOPAIR ( " \ n Microstepping : " , microsteps ) ; <nl> + # endif <nl> + / / delete the old value <nl> + this - > driver_control_register_value & = 0xFFFF0ul ; <nl> + / / set the new value <nl> + this - > driver_control_register_value | = setting_pattern ; <nl> + <nl> + / / if started we directly send it to the motor <nl> + if ( started ) { <nl> + send262 ( driver_control_register_value ) ; <nl> + } <nl> + / / recalculate the stepping delay by simply setting the speed again <nl> + this - > setSpeed ( this - > speed ) ; <nl> + } <nl> + <nl> + / * <nl> + * returns the effective number of microsteps at the moment <nl> + * / <nl> + int TMC26XStepper : : getMicrosteps ( void ) { <nl> + return microsteps ; <nl> + } <nl> + <nl> + / * <nl> + * constant_off_time : The off time setting controls the minimum chopper frequency . <nl> + * For most applications an off time within the range of 5μs to 20μs will fit . <nl> + * 2 . . . 15 : off time setting <nl> + * <nl> + * blank_time : Selects the comparator blank time . This time needs to safely cover the switching event and the <nl> + * duration of the ringing on the sense resistor . For <nl> + * 0 : min . setting 3 : max . setting <nl> + * <nl> + * fast_decay_time_setting : Fast decay time setting . With CHM = 1 , these bits control the portion of fast decay for each chopper cycle . <nl> + * 0 : slow decay only <nl> + * 1 . . . 15 : duration of fast decay phase <nl> + * <nl> + * sine_wave_offset : Sine wave offset . With CHM = 1 , these bits control the sine wave offset . <nl> + * A positive offset corrects for zero crossing error . <nl> + * - 3 . . - 1 : negative offset 0 : no offset 1 . . . 12 : positive offset <nl> + * <nl> + * use_current_comparator : Selects usage of the current comparator for termination of the fast decay cycle . <nl> + * If current comparator is enabled , it terminates the fast decay cycle in case the current <nl> + * reaches a higher negative value than the actual positive value . <nl> + * 1 : enable comparator termination of fast decay cycle <nl> + * 0 : end by time only <nl> + * / <nl> + void TMC26XStepper : : setConstantOffTimeChopper ( char constant_off_time , char blank_time , char fast_decay_time_setting , char sine_wave_offset , unsigned char use_current_comparator ) { <nl> + / / perform some sanity checks <nl> + if ( constant_off_time < 2 ) { <nl> + constant_off_time = 2 ; <nl> + } else if ( constant_off_time > 15 ) { <nl> + constant_off_time = 15 ; <nl> + } <nl> + / / save the constant off time <nl> + this - > constant_off_time = constant_off_time ; <nl> + char blank_value ; <nl> + / / calculate the value acc to the clock cycles <nl> + if ( blank_time > = 54 ) { <nl> + blank_value = 3 ; <nl> + } else if ( blank_time > = 36 ) { <nl> + blank_value = 2 ; <nl> + } else if ( blank_time > = 24 ) { <nl> + blank_value = 1 ; <nl> + } else { <nl> + blank_value = 0 ; <nl> + } <nl> + if ( fast_decay_time_setting < 0 ) { <nl> + fast_decay_time_setting = 0 ; <nl> + } else if ( fast_decay_time_setting > 15 ) { <nl> + fast_decay_time_setting = 15 ; <nl> + } <nl> + if ( sine_wave_offset < - 3 ) { <nl> + sine_wave_offset = - 3 ; <nl> + } else if ( sine_wave_offset > 12 ) { <nl> + sine_wave_offset = 12 ; <nl> + } <nl> + / / shift the sine_wave_offset <nl> + sine_wave_offset + = 3 ; <nl> + <nl> + / / calculate the register setting <nl> + / / first of all delete all the values for this <nl> + chopper_config_register & = ~ ( ( 1 < < 12 ) | BLANK_TIMING_PATTERN | HYSTERESIS_DECREMENT_PATTERN | HYSTERESIS_LOW_VALUE_PATTERN | HYSTERESIS_START_VALUE_PATTERN | T_OFF_TIMING_PATERN ) ; <nl> + / / set the constant off pattern <nl> + chopper_config_register | = CHOPPER_MODE_T_OFF_FAST_DECAY ; <nl> + / / set the blank timing value <nl> + chopper_config_register | = ( ( unsigned long ) blank_value ) < < BLANK_TIMING_SHIFT ; <nl> + / / setting the constant off time <nl> + chopper_config_register | = constant_off_time ; <nl> + / / set the fast decay time <nl> + / / set msb <nl> + chopper_config_register | = ( ( ( unsigned long ) ( fast_decay_time_setting & 0x8 ) ) < < HYSTERESIS_DECREMENT_SHIFT ) ; <nl> + / / other bits <nl> + chopper_config_register | = ( ( ( unsigned long ) ( fast_decay_time_setting & 0x7 ) ) < < HYSTERESIS_START_VALUE_SHIFT ) ; <nl> + / / set the sine wave offset <nl> + chopper_config_register | = ( unsigned long ) sine_wave_offset < < HYSTERESIS_LOW_SHIFT ; <nl> + / / using the current comparator ? <nl> + if ( ! use_current_comparator ) { <nl> + chopper_config_register | = ( 1 < < 12 ) ; <nl> + } <nl> + / / if started we directly send it to the motor <nl> + if ( started ) { <nl> + / / rem send262 ( driver_control_register_value ) ; <nl> + <nl> + send262 ( chopper_config_register ) ; <nl> + } <nl> + } <nl> + <nl> + / * <nl> + * constant_off_time : The off time setting controls the minimum chopper frequency . <nl> + * For most applications an off time within the range of 5μs to 20μs will fit . <nl> + * 2 . . . 15 : off time setting <nl> + * <nl> + * blank_time : Selects the comparator blank time . This time needs to safely cover the switching event and the <nl> + * duration of the ringing on the sense resistor . For <nl> + * 0 : min . setting 3 : max . setting <nl> + * <nl> + * hysteresis_start : Hysteresis start setting . Please remark , that this value is an offset to the hysteresis end value HEND . <nl> + * 1 . . . 8 <nl> + * <nl> + * hysteresis_end : Hysteresis end setting . Sets the hysteresis end value after a number of decrements . Decrement interval time is controlled by HDEC . <nl> + * The sum HSTRT + HEND must be < 16 . At a current setting CS of max . 30 ( amplitude reduced to 240 ) , the sum is not limited . <nl> + * - 3 . . - 1 : negative HEND 0 : zero HEND 1 . . . 12 : positive HEND <nl> + * <nl> + * hysteresis_decrement : Hysteresis decrement setting . This setting determines the slope of the hysteresis during on time and during fast decay time . <nl> + * 0 : fast decrement 3 : very slow decrement <nl> + * / <nl> + <nl> + void TMC26XStepper : : setSpreadCycleChopper ( char constant_off_time , char blank_time , char hysteresis_start , char hysteresis_end , char hysteresis_decrement ) { <nl> + / / perform some sanity checks <nl> + if ( constant_off_time < 2 ) { <nl> + constant_off_time = 2 ; <nl> + } else if ( constant_off_time > 15 ) { <nl> + constant_off_time = 15 ; <nl> + } <nl> + / / save the constant off time <nl> + this - > constant_off_time = constant_off_time ; <nl> + char blank_value ; <nl> + / / calculate the value acc to the clock cycles <nl> + if ( blank_time > = 54 ) { <nl> + blank_value = 3 ; <nl> + } else if ( blank_time > = 36 ) { <nl> + blank_value = 2 ; <nl> + } else if ( blank_time > = 24 ) { <nl> + blank_value = 1 ; <nl> + } else { <nl> + blank_value = 0 ; <nl> + } <nl> + if ( hysteresis_start < 1 ) { <nl> + hysteresis_start = 1 ; <nl> + } else if ( hysteresis_start > 8 ) { <nl> + hysteresis_start = 8 ; <nl> + } <nl> + hysteresis_start - - ; <nl> + <nl> + if ( hysteresis_end < - 3 ) { <nl> + hysteresis_end = - 3 ; <nl> + } else if ( hysteresis_end > 12 ) { <nl> + hysteresis_end = 12 ; <nl> + } <nl> + / / shift the hysteresis_end <nl> + hysteresis_end + = 3 ; <nl> + <nl> + if ( hysteresis_decrement < 0 ) { <nl> + hysteresis_decrement = 0 ; <nl> + } else if ( hysteresis_decrement > 3 ) { <nl> + hysteresis_decrement = 3 ; <nl> + } <nl> + <nl> + / / first of all delete all the values for this <nl> + chopper_config_register & = ~ ( CHOPPER_MODE_T_OFF_FAST_DECAY | BLANK_TIMING_PATTERN | HYSTERESIS_DECREMENT_PATTERN | HYSTERESIS_LOW_VALUE_PATTERN | HYSTERESIS_START_VALUE_PATTERN | T_OFF_TIMING_PATERN ) ; <nl> + <nl> + / / set the blank timing value <nl> + chopper_config_register | = ( ( unsigned long ) blank_value ) < < BLANK_TIMING_SHIFT ; <nl> + / / setting the constant off time <nl> + chopper_config_register | = constant_off_time ; <nl> + / / set the hysteresis_start <nl> + chopper_config_register | = ( ( unsigned long ) hysteresis_start ) < < HYSTERESIS_START_VALUE_SHIFT ; <nl> + / / set the hysteresis end <nl> + chopper_config_register | = ( ( unsigned long ) hysteresis_end ) < < HYSTERESIS_LOW_SHIFT ; <nl> + / / set the hystereis decrement <nl> + chopper_config_register | = ( ( unsigned long ) blank_value ) < < BLANK_TIMING_SHIFT ; <nl> + / / if started we directly send it to the motor <nl> + if ( started ) { <nl> + / / rem send262 ( driver_control_register_value ) ; <nl> + <nl> + send262 ( chopper_config_register ) ; <nl> + } <nl> + } <nl> + <nl> + / * <nl> + * In a constant off time chopper scheme both coil choppers run freely , i . e . are not synchronized . <nl> + * The frequency of each chopper mainly depends on the coil current and the position dependant motor coil inductivity , thus it depends on the microstep position . <nl> + * With some motors a slightly audible beat can occur between the chopper frequencies , especially when they are near to each other . This typically occurs at a <nl> + * few microstep positions within each quarter wave . This effect normally is not audible when compared to mechanical noise generated by ball bearings , etc . <nl> + * Further factors which can cause a similar effect are a poor layout of sense resistor GND connection . <nl> + * Hint : A common factor , which can cause motor noise , is a bad PCB layout causing coupling of both sense resistor voltages <nl> + * ( please refer to sense resistor layout hint in chapter 8 . 1 ) . <nl> + * In order to minimize the effect of a beat between both chopper frequencies , an internal random generator is provided . <nl> + * It modulates the slow decay time setting when switched on by the RNDTF bit . The RNDTF feature further spreads the chopper spectrum , <nl> + * reducing electromagnetic emission on single frequencies . <nl> + * / <nl> + void TMC26XStepper : : setRandomOffTime ( char value ) { <nl> + if ( value ) { <nl> + chopper_config_register | = RANDOM_TOFF_TIME ; <nl> + } else { <nl> + chopper_config_register & = ~ ( RANDOM_TOFF_TIME ) ; <nl> + } <nl> + / / if started we directly send it to the motor <nl> + if ( started ) { <nl> + / / rem send262 ( driver_control_register_value ) ; <nl> + <nl> + send262 ( chopper_config_register ) ; <nl> + } <nl> + } <nl> + <nl> + void TMC26XStepper : : setCoolStepConfiguration ( unsigned int lower_SG_threshold , unsigned int SG_hysteresis , unsigned char current_decrement_step_size , <nl> + unsigned char current_increment_step_size , unsigned char lower_current_limit ) { <nl> + / / sanitize the input values <nl> + if ( lower_SG_threshold > 480 ) { <nl> + lower_SG_threshold = 480 ; <nl> + } <nl> + / / divide by 32 <nl> + lower_SG_threshold > > = 5 ; <nl> + if ( SG_hysteresis > 480 ) { <nl> + SG_hysteresis = 480 ; <nl> + } <nl> + / / divide by 32 <nl> + SG_hysteresis > > = 5 ; <nl> + if ( current_decrement_step_size > 3 ) { <nl> + current_decrement_step_size = 3 ; <nl> + } <nl> + if ( current_increment_step_size > 3 ) { <nl> + current_increment_step_size = 3 ; <nl> + } <nl> + if ( lower_current_limit > 1 ) { <nl> + lower_current_limit = 1 ; <nl> + } <nl> + / / store the lower level in order to enable / disable the cool step <nl> + this - > cool_step_lower_threshold = lower_SG_threshold ; <nl> + / / if cool step is not enabled we delete the lower value to keep it disabled <nl> + if ( ! this - > cool_step_enabled ) { <nl> + lower_SG_threshold = 0 ; <nl> + } <nl> + / / the good news is that we can start with a complete new cool step register value <nl> + / / and simply set the values in the register <nl> + cool_step_register_value = ( ( unsigned long ) lower_SG_threshold ) | ( ( ( unsigned long ) SG_hysteresis ) < < 8 ) | ( ( ( unsigned long ) current_decrement_step_size ) < < 5 ) <nl> + | ( ( ( unsigned long ) current_increment_step_size ) < < 13 ) | ( ( ( unsigned long ) lower_current_limit ) < < 15 ) <nl> + / / and of course we have to include the signature of the register <nl> + | COOL_STEP_REGISTER ; <nl> + / / SERIAL_PRINTFln ( cool_step_register_value , HEX ) ; <nl> + if ( started ) { <nl> + send262 ( cool_step_register_value ) ; <nl> + } <nl> + } <nl> + <nl> + void TMC26XStepper : : setCoolStepEnabled ( boolean enabled ) { <nl> + / / simply delete the lower limit to disable the cool step <nl> + cool_step_register_value & = ~ SE_MIN_PATTERN ; <nl> + / / and set it to the proper value if cool step is to be enabled <nl> + if ( enabled ) { <nl> + cool_step_register_value | = this - > cool_step_lower_threshold ; <nl> + } <nl> + / / and save the enabled status <nl> + this - > cool_step_enabled = enabled ; <nl> + / / save the register value <nl> + if ( started ) { <nl> + send262 ( cool_step_register_value ) ; <nl> + } <nl> + } <nl> + <nl> + boolean TMC26XStepper : : isCoolStepEnabled ( void ) { <nl> + return this - > cool_step_enabled ; <nl> + } <nl> + <nl> + unsigned int TMC26XStepper : : getCoolStepLowerSgThreshold ( ) { <nl> + / / we return our internally stored value - in order to provide the correct setting even if cool step is not enabled <nl> + return this - > cool_step_lower_threshold < < 5 ; <nl> + } <nl> + <nl> + unsigned int TMC26XStepper : : getCoolStepUpperSgThreshold ( ) { <nl> + return ( unsigned char ) ( ( cool_step_register_value & SE_MAX_PATTERN ) > > 8 ) < < 5 ; <nl> + } <nl> + <nl> + unsigned char TMC26XStepper : : getCoolStepCurrentIncrementSize ( ) { <nl> + return ( unsigned char ) ( ( cool_step_register_value & CURRENT_DOWN_STEP_SPEED_PATTERN ) > > 13 ) ; <nl> + } <nl> + <nl> + unsigned char TMC26XStepper : : getCoolStepNumberOfSGReadings ( ) { <nl> + return ( unsigned char ) ( ( cool_step_register_value & SE_CURRENT_STEP_WIDTH_PATTERN ) > > 5 ) ; <nl> + } <nl> + <nl> + unsigned char TMC26XStepper : : getCoolStepLowerCurrentLimit ( ) { <nl> + return ( unsigned char ) ( ( cool_step_register_value & MINIMUM_CURRENT_FOURTH ) > > 15 ) ; <nl> + } <nl> + <nl> + void TMC26XStepper : : setEnabled ( boolean enabled ) { <nl> + / / delete the t_off in the chopper config to get sure <nl> + chopper_config_register & = ~ ( T_OFF_PATTERN ) ; <nl> + if ( enabled ) { <nl> + / / and set the t_off time <nl> + chopper_config_register | = this - > constant_off_time ; <nl> + } <nl> + / / if not enabled we don ' t have to do anything since we already delete t_off from the register <nl> + if ( started ) { <nl> + send262 ( chopper_config_register ) ; <nl> + } <nl> + } <nl> + <nl> + boolean TMC26XStepper : : isEnabled ( ) { <nl> + if ( chopper_config_register & T_OFF_PATTERN ) { <nl> + return true ; <nl> + } else { <nl> + return false ; <nl> + } <nl> + } <nl> + <nl> + / * <nl> + * reads a value from the TMC26X status register . The value is not obtained directly but can then <nl> + * be read by the various status routines . <nl> + * <nl> + * / <nl> + void TMC26XStepper : : readStatus ( char read_value ) { <nl> + unsigned long old_driver_configuration_register_value = driver_configuration_register_value ; <nl> + / / reset the readout configuration <nl> + driver_configuration_register_value & = ~ ( READ_SELECTION_PATTERN ) ; <nl> + / / this now equals TMC26X_READOUT_POSITION - so we just have to check the other two options <nl> + if ( read_value = = TMC26X_READOUT_STALLGUARD ) { <nl> + driver_configuration_register_value | = READ_STALL_GUARD_READING ; <nl> + } else if ( read_value = = TMC26X_READOUT_CURRENT ) { <nl> + driver_configuration_register_value | = READ_STALL_GUARD_AND_COOL_STEP ; <nl> + } <nl> + / / all other cases are ignored to prevent funny values <nl> + / / check if the readout is configured for the value we are interested in <nl> + if ( driver_configuration_register_value ! = old_driver_configuration_register_value ) { <nl> + / / because then we need to write the value twice - one time for configuring , second time to get the value , see below <nl> + send262 ( driver_configuration_register_value ) ; <nl> + } <nl> + / / write the configuration to get the last status <nl> + send262 ( driver_configuration_register_value ) ; <nl> + } <nl> + <nl> + int TMC26XStepper : : getMotorPosition ( void ) { <nl> + / / we read it out even if we are not started yet - perhaps it is useful information for somebody <nl> + readStatus ( TMC26X_READOUT_POSITION ) ; <nl> + return getReadoutValue ( ) ; <nl> + } <nl> + <nl> + / / reads the stall guard setting from last status <nl> + / / returns - 1 if stallguard information is not present <nl> + int TMC26XStepper : : getCurrentStallGuardReading ( void ) { <nl> + / / if we don ' t yet started there cannot be a stall guard value <nl> + if ( ! started ) { <nl> + return - 1 ; <nl> + } <nl> + / / not time optimal , but solution optiomal : <nl> + / / first read out the stall guard value <nl> + readStatus ( TMC26X_READOUT_STALLGUARD ) ; <nl> + return getReadoutValue ( ) ; <nl> + } <nl> + <nl> + unsigned char TMC26XStepper : : getCurrentCSReading ( void ) { <nl> + / / if we don ' t yet started there cannot be a stall guard value <nl> + if ( ! started ) { <nl> + return 0 ; <nl> + } <nl> + / / not time optimal , but solution optiomal : <nl> + / / first read out the stall guard value <nl> + readStatus ( TMC26X_READOUT_CURRENT ) ; <nl> + return ( getReadoutValue ( ) & 0x1f ) ; <nl> + } <nl> + <nl> + unsigned int TMC26XStepper : : getCurrentCurrent ( void ) { <nl> + double result = ( double ) getCurrentCSReading ( ) ; <nl> + double resistor_value = ( double ) this - > resistor ; <nl> + double voltage = ( driver_configuration_register_value & VSENSE ) ? 0 . 165 : 0 . 31 ; <nl> + result = ( result + 1 . 0 ) / 32 . 0 * voltage / resistor_value * 1000 . 0 * 1000 . 0 ; <nl> + return ( unsigned int ) result ; <nl> + } <nl> + <nl> + / * <nl> + return true if the stallguard threshold has been reached <nl> + * / <nl> + boolean TMC26XStepper : : isStallGuardOverThreshold ( void ) { <nl> + if ( ! this - > started ) { <nl> + return false ; <nl> + } <nl> + return ( driver_status_result & STATUS_STALL_GUARD_STATUS ) ; <nl> + } <nl> + <nl> + / * <nl> + returns if there is any over temperature condition : <nl> + OVER_TEMPERATURE_PREWARING if pre warning level has been reached <nl> + OVER_TEMPERATURE_SHUTDOWN if the temperature is so hot that the driver is shut down <nl> + Any of those levels are not too good . <nl> + * / <nl> + char TMC26XStepper : : getOverTemperature ( void ) { <nl> + if ( ! this - > started ) { <nl> + return 0 ; <nl> + } <nl> + if ( driver_status_result & STATUS_OVER_TEMPERATURE_SHUTDOWN ) { <nl> + return TMC26X_OVERTEMPERATURE_SHUTDOWN ; <nl> + } <nl> + if ( driver_status_result & STATUS_OVER_TEMPERATURE_WARNING ) { <nl> + return TMC26X_OVERTEMPERATURE_PREWARING ; <nl> + } <nl> + return 0 ; <nl> + } <nl> + <nl> + / / is motor channel A shorted to ground <nl> + boolean TMC26XStepper : : isShortToGroundA ( void ) { <nl> + if ( ! this - > started ) { <nl> + return false ; <nl> + } <nl> + return ( driver_status_result & STATUS_SHORT_TO_GROUND_A ) ; <nl> + } <nl> + <nl> + / / is motor channel B shorted to ground <nl> + boolean TMC26XStepper : : isShortToGroundB ( void ) { <nl> + if ( ! this - > started ) { <nl> + return false ; <nl> + } <nl> + return ( driver_status_result & STATUS_SHORT_TO_GROUND_B ) ; <nl> + } <nl> + <nl> + / / is motor channel A connected <nl> + boolean TMC26XStepper : : isOpenLoadA ( void ) { <nl> + if ( ! this - > started ) { <nl> + return false ; <nl> + } <nl> + return ( driver_status_result & STATUS_OPEN_LOAD_A ) ; <nl> + } <nl> + <nl> + / / is motor channel B connected <nl> + boolean TMC26XStepper : : isOpenLoadB ( void ) { <nl> + if ( ! this - > started ) { <nl> + return false ; <nl> + } <nl> + return ( driver_status_result & STATUS_OPEN_LOAD_B ) ; <nl> + } <nl> + <nl> + / / is chopper inactive since 2 ^ 20 clock cycles - defaults to ~ 0 , 08s <nl> + boolean TMC26XStepper : : isStandStill ( void ) { <nl> + if ( ! this - > started ) { <nl> + return false ; <nl> + } <nl> + return ( driver_status_result & STATUS_STAND_STILL ) ; <nl> + } <nl> + <nl> + / / is chopper inactive since 2 ^ 20 clock cycles - defaults to ~ 0 , 08s <nl> + boolean TMC26XStepper : : isStallGuardReached ( void ) { <nl> + if ( ! this - > started ) { <nl> + return false ; <nl> + } <nl> + return ( driver_status_result & STATUS_STALL_GUARD_STATUS ) ; <nl> + } <nl> + <nl> + / / reads the stall guard setting from last status <nl> + / / returns - 1 if stallguard inforamtion is not present <nl> + int TMC26XStepper : : getReadoutValue ( void ) { <nl> + return ( int ) ( driver_status_result > > 10 ) ; <nl> + } <nl> + <nl> + int TMC26XStepper : : getResistor ( ) { <nl> + return this - > resistor ; <nl> + } <nl> + <nl> + boolean TMC26XStepper : : isCurrentScalingHalfed ( ) { <nl> + if ( this - > driver_configuration_register_value & VSENSE ) { <nl> + return true ; <nl> + } else { <nl> + return false ; <nl> + } <nl> + } <nl> + / * <nl> + version ( ) returns the version of the library : <nl> + * / <nl> + int TMC26XStepper : : version ( void ) <nl> + { <nl> + return 1 ; <nl> + } <nl> + <nl> + void TMC26XStepper : : debugLastStatus ( ) { <nl> + # ifdef TMC_DEBUG1 <nl> + if ( this - > started ) { <nl> + if ( this - > getOverTemperature ( ) & TMC26X_OVERTEMPERATURE_PREWARING ) { <nl> + SERIAL_ECHOLNPGM ( " \ n WARNING : Overtemperature Prewarning ! " ) ; <nl> + } else if ( this - > getOverTemperature ( ) & TMC26X_OVERTEMPERATURE_SHUTDOWN ) { <nl> + SERIAL_ECHOLNPGM ( " \ n ERROR : Overtemperature Shutdown ! " ) ; <nl> + } <nl> + if ( this - > isShortToGroundA ( ) ) { <nl> + SERIAL_ECHOLNPGM ( " \ n ERROR : SHORT to ground on channel A ! " ) ; <nl> + } <nl> + if ( this - > isShortToGroundB ( ) ) { <nl> + SERIAL_ECHOLNPGM ( " \ n ERROR : SHORT to ground on channel B ! " ) ; <nl> + } <nl> + if ( this - > isOpenLoadA ( ) ) { <nl> + SERIAL_ECHOLNPGM ( " \ n ERROR : Channel A seems to be unconnected ! " ) ; <nl> + } <nl> + if ( this - > isOpenLoadB ( ) ) { <nl> + SERIAL_ECHOLNPGM ( " \ n ERROR : Channel B seems to be unconnected ! " ) ; <nl> + } <nl> + if ( this - > isStallGuardReached ( ) ) { <nl> + SERIAL_ECHOLNPGM ( " \ n INFO : Stall Guard level reached ! " ) ; <nl> + } <nl> + if ( this - > isStandStill ( ) ) { <nl> + SERIAL_ECHOLNPGM ( " \ n INFO : Motor is standing still . " ) ; <nl> + } <nl> + unsigned long readout_config = driver_configuration_register_value & READ_SELECTION_PATTERN ; <nl> + int value = getReadoutValue ( ) ; <nl> + if ( readout_config = = READ_MICROSTEP_POSTION ) { <nl> + / / SERIAL_PRINTF ( " Microstep postion phase A : " ) ; <nl> + SERIAL_ECHOPAIR ( " \ n Microstep postion phase A : " , value ) ; <nl> + } else if ( readout_config = = READ_STALL_GUARD_READING ) { <nl> + / / SERIAL_PRINTF ( " Stall Guard value : " ) ; <nl> + SERIAL_ECHOPAIR ( " \ n Stall Guard value : " , value ) ; <nl> + } else if ( readout_config = = READ_STALL_GUARD_AND_COOL_STEP ) { <nl> + int stallGuard = value & 0xf ; <nl> + int current = value & 0x1F0 ; <nl> + / / SERIAL_PRINTF ( " Approx Stall Guard : " ) ; <nl> + SERIAL_ECHOPAIR ( " \ n Approx Stall Guard : " , stallGuard ) ; <nl> + / / SERIAL_PRINTF ( " Current level " ) ; <nl> + SERIAL_ECHOPAIR ( " \ n Current level " , current ) ; <nl> + } <nl> + } <nl> + # endif <nl> + } <nl> + <nl> + / * <nl> + * send register settings to the stepper driver via SPI <nl> + * returns the current status <nl> + * / <nl> + inline void TMC26XStepper : : send262 ( unsigned long datagram ) { <nl> + unsigned long i_datagram ; <nl> + <nl> + / / preserver the previous spi mode <nl> + / / unsigned char oldMode = SPCR & SPI_MODE_MASK ; <nl> + <nl> + / / if the mode is not correct set it to mode 3 <nl> + / / if ( oldMode ! = SPI_MODE3 ) { <nl> + / / SPI . setDataMode ( SPI_MODE3 ) ; <nl> + / / } <nl> + <nl> + / / select the TMC driver <nl> + digitalWrite ( cs_pin , LOW ) ; <nl> + <nl> + / / ensure that only valid bist are set ( 0 - 19 ) <nl> + / / datagram & = REGISTER_BIT_PATTERN ; <nl> + <nl> + # ifdef TMC_DEBUG1 <nl> + / / SERIAL_PRINTF ( " Sending " ) ; <nl> + / / SERIAL_PRINTF ( " Sending " , datagram , HEX ) ; <nl> + / / SERIAL_ECHOPAIR ( " \ n \ nSending \ n " , print_hex_long ( datagram ) ) ; <nl> + SERIAL_PRINTF ( " \ n \ nSending % x " , datagram ) ; <nl> + # endif <nl> + <nl> + / / write / read the values <nl> + i_datagram = STEPPER_SPI . transfer ( ( datagram > > 16 ) & 0xff ) ; <nl> + i_datagram < < = 8 ; <nl> + i_datagram | = STEPPER_SPI . transfer ( ( datagram > > 8 ) & 0xff ) ; <nl> + i_datagram < < = 8 ; <nl> + i_datagram | = STEPPER_SPI . transfer ( ( datagram ) & 0xff ) ; <nl> + i_datagram > > = 4 ; <nl> + <nl> + # ifdef TMC_DEBUG1 <nl> + / / SERIAL_PRINTF ( " Received " ) ; <nl> + / / SERIAL_PRINTF ( " Received " , i_datagram , HEX ) ; <nl> + / / SERIAL_ECHOPAIR ( " \ n \ nReceived \ n " , i_datagram ) ; <nl> + SERIAL_PRINTF ( " \ n \ nReceived % x " , i_datagram ) ; <nl> + debugLastStatus ( ) ; <nl> + # endif <nl> + / / deselect the TMC chip <nl> + digitalWrite ( cs_pin , HIGH ) ; <nl> + <nl> + / / restore the previous SPI mode if neccessary <nl> + / / if the mode is not correct set it to mode 3 <nl> + / / if ( oldMode ! = SPI_MODE3 ) { <nl> + / / SPI . setDataMode ( oldMode ) ; <nl> + / / } <nl> + <nl> + <nl> + / / store the datagram as status result <nl> + driver_status_result = i_datagram ; <nl> + } <nl> + <nl> + # endif / / STM32F7 <nl> \ No newline at end of file <nl> new file mode 100644 <nl> index 00000000000 . . 9c10b53f4ee <nl> mmm / dev / null <nl> ppp b / Marlin / src / HAL / HAL_STM32F7 / TMC2660 . h <nl> <nl> + / * <nl> + TMC26XStepper . cpp - - TMC26X Stepper library for Wiring / Arduino <nl> + <nl> + based on the stepper library by Tom Igoe , et . al . <nl> + <nl> + Copyright ( c ) 2011 , Interactive Matter , Marcus Nowotny <nl> + <nl> + Permission is hereby granted , free of charge , to any person obtaining a copy <nl> + of this software and associated documentation files ( the " Software " ) , to deal <nl> + in the Software without restriction , including without limitation the rights <nl> + to use , copy , modify , merge , publish , distribute , sublicense , and / or sell <nl> + copies of the Software , and to permit persons to whom the Software is <nl> + furnished to do so , subject to the following conditions : <nl> + <nl> + The above copyright notice and this permission notice shall be included in <nl> + all copies or substantial portions of the Software . <nl> + <nl> + THE SOFTWARE IS PROVIDED " AS IS " , WITHOUT WARRANTY OF ANY KIND , EXPRESS OR <nl> + IMPLIED , INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY , <nl> + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT . IN NO EVENT SHALL THE <nl> + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM , DAMAGES OR OTHER <nl> + LIABILITY , WHETHER IN AN ACTION OF CONTRACT , TORT OR OTHERWISE , ARISING FROM , <nl> + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN <nl> + THE SOFTWARE . <nl> + <nl> + * / <nl> + <nl> + <nl> + <nl> + # include " . . / . . / inc / MarlinConfig . h " <nl> + <nl> + / / ensure this library description is only included once <nl> + # ifndef TMC26XStepper_h <nl> + # define TMC26XStepper_h <nl> + <nl> + / / ! return value for TMC26XStepper . getOverTemperature ( ) if there is a overtemperature situation in the TMC chip <nl> + / * ! <nl> + * This warning indicates that the TCM chip is too warm . <nl> + * It is still working but some parameters may be inferior . <nl> + * You should do something against it . <nl> + * / <nl> + # define TMC26X_OVERTEMPERATURE_PREWARING 1 <nl> + / / ! return value for TMC26XStepper . getOverTemperature ( ) if there is a overtemperature shutdown in the TMC chip <nl> + / * ! <nl> + * This warning indicates that the TCM chip is too warm to operate and has shut down to prevent damage . <nl> + * It will stop working until it cools down again . <nl> + * If you encouter this situation you must do something against it . Like reducing the current or improving the PCB layout <nl> + * and / or heat management . <nl> + * / <nl> + # define TMC26X_OVERTEMPERATURE_SHUTDOWN 2 <nl> + <nl> + / / which values can be read out <nl> + / * ! <nl> + * Selects to readout the microstep position from the motor . <nl> + * \ sa readStatus ( ) <nl> + * / <nl> + # define TMC26X_READOUT_POSITION 0 <nl> + / * ! <nl> + * Selects to read out the StallGuard value of the motor . <nl> + * \ sa readStatus ( ) <nl> + * / <nl> + # define TMC26X_READOUT_STALLGUARD 1 <nl> + / * ! <nl> + * Selects to read out the current current setting ( acc . to CoolStep ) and the upper bits of the StallGuard value from the motor . <nl> + * \ sa readStatus ( ) , setCurrent ( ) <nl> + * / <nl> + # define TMC26X_READOUT_CURRENT 3 <nl> + <nl> + / * ! <nl> + * Define to set the minimum current for CoolStep operation to 1 / 2 of the selected CS minium . <nl> + * \ sa setCoolStepConfiguration ( ) <nl> + * / <nl> + # define COOL_STEP_HALF_CS_LIMIT 0 <nl> + / * ! <nl> + * Define to set the minimum current for CoolStep operation to 1 / 4 of the selected CS minium . <nl> + * \ sa setCoolStepConfiguration ( ) <nl> + * / <nl> + # define COOL_STEP_QUARTDER_CS_LIMIT 1 <nl> + <nl> + / * ! <nl> + * \ class TMC26XStepper <nl> + * \ brief Class representing a TMC26X stepper driver <nl> + * <nl> + * In order to use one fo those drivers in your Arduino code you have to create an object of that class : <nl> + * \ code <nl> + * TMC26XStepper stepper = TMC26XStepper ( 200 , 1 , 2 , 3 , 500 ) ; <nl> + * \ endcode <nl> + * see TMC26XStepper ( int number_of_steps , int cs_pin , int dir_pin , int step_pin , unsigned int rms_current ) <nl> + * <nl> + * Keep in mind that you need to start the driver with start ( ) in order to get the TMC26X configured . <nl> + * <nl> + * The most important function is the move ( ) . It checks if the motor has to do a step or not . <nl> + * It is important that you call move ( ) as often as possible in your Arduino loop ( ) routine . I suggest <nl> + * to use a very fast loop routine and always call it at the beginning or the end . <nl> + * <nl> + * In order to move you have to provide a movement speed with setSpeed ( ) . The speed is a positive value setting <nl> + * the rotations per minute . <nl> + * <nl> + * To really move the motor you have to call step ( ) to tell the driver to move the motor the given number <nl> + * of steps in the given direction . Positive values move the motor in one direction , negative values in the other direction . <nl> + * <nl> + * You can check with isMoving ( ) if the mototr is still moving or stop it apruptely with stop ( ) . <nl> + * / <nl> + class TMC26XStepper { <nl> + public : <nl> + / * ! <nl> + * \ brief creates a new represenatation of a stepper motor connected to a TMC26X stepper driver <nl> + * <nl> + * This is the main constructor . If in doubt use this . You must provide all parameters as described below . <nl> + * <nl> + * \ param number_of_steps the number of steps the motor has per rotation . <nl> + * \ param cs_pin The Arduino pin you have connected the Cient Select Pin ( ! CS ) of the TMC26X for SPI <nl> + * \ param dir_pin the number of the Arduino pin the Direction input of the TMC26X is connected <nl> + * \ param step_pin the number of the Arduino pin the step pin of the TMC26X driver is connected . <nl> + * \ param rms_current the maximum current to privide to the motor in mA ( ! ) . A value of 200 would send up to 200mA to the motor <nl> + * \ param resistor the current sense resistor in milli Ohm , defaults to , 15 Ohm ( or 150 milli Ohm ) as in the TMC260 Arduino Shield <nl> + * <nl> + * Keep in mind that you must also call TMC26XStepper . start ( ) in order to configure the stepper driver for use . <nl> + * <nl> + * By default the Constant Off Time chopper is used , see TCM262Stepper . setConstantOffTimeChopper ( ) for details . <nl> + * This should work on most motors ( YMMV ) . You may want to configure and use the Spread Cycle Chopper , see setSpreadCycleChopper ( ) . <nl> + * <nl> + * By default a microstepping of 1 / 32th is used to provide a smooth motor run , while still giving a good progression per step . <nl> + * You can select a different stepping with setMicrosteps ( ) to aa different value . <nl> + * \ sa start ( ) , setMicrosteps ( ) <nl> + * / <nl> + TMC26XStepper ( int number_of_steps , int cs_pin , int dir_pin , int step_pin , unsigned int current , unsigned int resistor = 100 ) ; / / resistor = 150 <nl> + <nl> + / * ! <nl> + * \ brief configures and starts the TMC26X stepper driver . Before you called this function the stepper driver is in nonfunctional mode . <nl> + * <nl> + * This routine configures the TMC26X stepper driver for the given values via SPI . <nl> + * Most member functions are non functional if the driver has not been started . <nl> + * Therefore it is best to call this in your Arduino setup ( ) function . <nl> + * / <nl> + void start ( ) ; <nl> + <nl> + / * ! <nl> + * \ brief resets the stepper in unconfigured mode . <nl> + * <nl> + * This routine enables you to call start again . It does not change anything <nl> + * in the internal stepper configuration or the desired configuration . <nl> + * It just marks the stepper as not yet startet . You do not have to reconfigure <nl> + * the stepper to start it again , but it is not reset to any factory settings <nl> + * this has to be configured back by yourself . <nl> + * ( Hint : Normally you do not need this function ) <nl> + * / <nl> + void un_start ( ) ; <nl> + <nl> + <nl> + / * ! <nl> + * \ brief Sets the rotation speed in revolutions per minute . <nl> + * \ param whatSpeed the desired speed in rotations per minute . <nl> + * / <nl> + void setSpeed ( unsigned int whatSpeed ) ; <nl> + <nl> + / * ! <nl> + * \ brief reads out the currently selected speed in revolutions per minute . <nl> + * \ sa setSpeed ( ) <nl> + * / <nl> + unsigned int getSpeed ( void ) ; <nl> + <nl> + / * ! <nl> + * \ brief Set the number of microsteps in 2 ^ i values ( rounded ) up to 256 <nl> + * <nl> + * This method set ' s the number of microsteps per step in 2 ^ i interval . <nl> + * This means you can select 1 , 2 , 4 , 16 , 32 , 64 , 128 or 256 as valid microsteps . <nl> + * If you give any other value it will be rounded to the next smaller number ( 3 would give a microstepping of 2 ) . <nl> + * You can always check the current microstepping with getMicrosteps ( ) . <nl> + * / <nl> + void setMicrosteps ( int number_of_steps ) ; <nl> + <nl> + / * ! <nl> + * \ brief returns the effective current number of microsteps selected . <nl> + * <nl> + * This function always returns the effective number of microsteps . <nl> + * This can be a bit different than the micro steps set in setMicrosteps ( ) since it is rounded to 2 ^ i . <nl> + * <nl> + * \ sa setMicrosteps ( ) <nl> + * / <nl> + int getMicrosteps ( void ) ; <nl> + <nl> + / * ! <nl> + * \ brief Initiate a movement for the given number of steps . Positive numbers move in one , negative numbers in the other direction . <nl> + * <nl> + * \ param number_of_steps The number of steps to move the motor . <nl> + * \ return 0 if the motor was not moving and moves now . - 1 if the motor is moving and the new steps could not be set . <nl> + * <nl> + * If the previous movement is not finished yet the function will return - 1 and not change the steps to move the motor . <nl> + * If the motor does not move it return 0 <nl> + * <nl> + * The direction of the movement is indicated by the sign of the steps parameter . It is not determinable if positive values are right <nl> + * or left This depends on the internal construction of the motor and how you connected it to the stepper driver . <nl> + * <nl> + * You can always verify with isMoving ( ) or even use stop ( ) to stop the motor before giving it new step directions . <nl> + * \ sa isMoving ( ) , getStepsLeft ( ) , stop ( ) <nl> + * / <nl> + char step ( int number_of_steps ) ; <nl> + <nl> + / * ! <nl> + * \ brief Central movement method , must be called as often as possible in the lopp function and is very fast . <nl> + * <nl> + * This routine checks if the motor still has to move , if the waiting delay has passed to send a new step command to the motor <nl> + * and manages the number of steps yet to move to fulfill the current move command . <nl> + * <nl> + * This function is implemented to be as fast as possible to call it as often as possible in your loop routine . <nl> + * The more regurlarly you call this function the better . In both senses of ' regularly ' : Calling it as often as <nl> + * possible is not a bad idea and if you even manage that the intervals you call this function are not too irregular helps too . <nl> + * <nl> + * You can call this routine even if you know that the motor is not miving . It introduces just a very small penalty in your code . <nl> + * You must not call isMoving ( ) to determine if you need to call this function , since taht is done internally already and only <nl> + * slows down you code . <nl> + * <nl> + * How often you call this function directly influences your top miving speed for the motor . It may be a good idea to call this <nl> + * from an timer overflow interrupt to ensure proper calling . <nl> + * \ sa step ( ) <nl> + * / <nl> + char move ( void ) ; <nl> + <nl> + / * ! <nl> + * \ brief checks if the motor still has to move to fulfill the last movement command . <nl> + * \ return 0 if the motor stops , - 1 if the motor is moving . <nl> + * <nl> + * This method can be used to determine if the motor is ready for new movements . <nl> + * \ sa step ( ) , move ( ) <nl> + * / <nl> + char isMoving ( void ) ; <nl> + <nl> + / * ! <nl> + * \ brief Get the number of steps left in the current movement . <nl> + * \ return The number of steps left in the movement . This number is always positive . <nl> + * / <nl> + unsigned int getStepsLeft ( void ) ; <nl> + <nl> + / * ! <nl> + * \ brief Stops the motor regardless if it moves or not . <nl> + * \ return - 1 if the motor was moving and is really stoped or 0 if it was not moving at all . <nl> + * <nl> + * This method directly and apruptely stops the motor and may be used as an emergency stop . <nl> + * / <nl> + char stop ( void ) ; <nl> + <nl> + / * ! <nl> + * \ brief Sets and configure the classical Constant Off Timer Chopper <nl> + * \ param constant_off_time The off time setting controls the minimum chopper frequency . For most applications an off time within the range of 5μs to 20μs will fit . Setting this parameter to zero completely disables all driver transistors and the motor can free - wheel . 0 : chopper off , 1 : 15 : off time setting ( 1 will work with minimum blank time of 24 clocks ) <nl> + * \ param blank_time Selects the comparator blank time . This time needs to safely cover the switching event and the duration of the ringing on the sense resistor . For most low current drivers , a setting of 1 or 2 is good . For high current applications with large MOSFETs , a setting of 2 or 3 will be required . 0 ( min setting ) â ¦ ( 3 ) amx setting <nl> + * \ param fast_decay_time_setting Fast decay time setting . Controls the portion of fast decay for each chopper cycle . 0 : slow decay only , 1â ¦ 15 : duration of fast decay phase <nl> + * \ param sine_wave_offset Sine wave offset . Controls the sine wave offset . A positive offset corrects for zero crossing error . - 3â ¦ - 1 : negative offset , 0 : no offset , 1â ¦ 12 : positive offset <nl> + * \ param use_curreent_comparator Selects usage of the current comparator for termination of the fast decay cycle . If current comparator is enabled , it terminates the fast decay cycle in case the current reaches a higher negative value than the actual positive value . ( 0 disable , - 1 enable ) . <nl> + * <nl> + * The classic constant off time chopper uses a fixed portion of fast decay following each on phase . <nl> + * While the duration of the on time is determined by the chopper comparator , the fast decay time needs <nl> + * to be set by the user in a way , that the current decay is enough for the driver to be able to follow <nl> + * the falling slope of the sine wave , and on the other hand it should not be too long , in order to minimize <nl> + * motor current ripple and power dissipation . This best can be tuned using an oscilloscope or <nl> + * trying out motor smoothness at different velocities . A good starting value is a fast decay time setting <nl> + * similar to the slow decay time setting . <nl> + * After tuning of the fast decay time , the offset should be determined , in order to have a smooth zero transition . <nl> + * This is necessary , because the fast decay phase leads to the absolute value of the motor current being lower <nl> + * than the target current ( see figure 17 ) . If the zero offset is too low , the motor stands still for a short <nl> + * moment during current zero crossing , if it is set too high , it makes a larger microstep . <nl> + * Typically , a positive offset setting is required for optimum operation . <nl> + * <nl> + * \ sa setSpreadCycleChoper ( ) for other alternatives . <nl> + * \ sa setRandomOffTime ( ) for spreading the noise over a wider spectrum <nl> + * / <nl> + void setConstantOffTimeChopper ( char constant_off_time , char blank_time , char fast_decay_time_setting , char sine_wave_offset , unsigned char use_current_comparator ) ; <nl> + <nl> + / * ! <nl> + * \ brief Sets and configures with spread cycle chopper . <nl> + * \ param constant_off_time The off time setting controls the minimum chopper frequency . For most applications an off time within the range of 5μs to 20μs will fit . Setting this parameter to zero completely disables all driver transistors and the motor can free - wheel . 0 : chopper off , 1 : 15 : off time setting ( 1 will work with minimum blank time of 24 clocks ) <nl> + * \ param blank_time Selects the comparator blank time . This time needs to safely cover the switching event and the duration of the ringing on the sense resistor . For most low current drivers , a setting of 1 or 2 is good . For high current applications with large MOSFETs , a setting of 2 or 3 will be required . 0 ( min setting ) â ¦ ( 3 ) amx setting <nl> + * \ param hysteresis_start Hysteresis start setting . Please remark , that this value is an offset to the hysteresis end value . 1 â ¦ 8 <nl> + * \ param hysteresis_end Hysteresis end setting . Sets the hysteresis end value after a number of decrements . Decrement interval time is controlled by hysteresis_decrement . The sum hysteresis_start + hysteresis_end must be < 16 . At a current setting CS of max . 30 ( amplitude reduced to 240 ) , the sum is not limited . <nl> + * \ param hysteresis_decrement Hysteresis decrement setting . This setting determines the slope of the hysteresis during on time and during fast decay time . 0 ( fast decrement ) â ¦ 3 ( slow decrement ) . <nl> + * <nl> + * The spreadCycle chopper scheme ( pat . fil . ) is a precise and simple to use chopper principle , which automatically determines <nl> + * the optimum fast decay portion for the motor . Anyhow , a number of settings can be made in order to optimally fit the driver <nl> + * to the motor . <nl> + * Each chopper cycle is comprised of an on - phase , a slow decay phase , a fast decay phase and a second slow decay phase . <nl> + * The slow decay phases limit the maximum chopper frequency and are important for low motor and driver power dissipation . <nl> + * The hysteresis start setting limits the chopper frequency by forcing the driver to introduce a minimum amount of <nl> + * current ripple into the motor coils . The motor inductivity determines the ability to follow a changing motor current . <nl> + * The duration of the on - and fast decay phase needs to cover at least the blank time , because the current comparator is <nl> + * disabled during this time . <nl> + * <nl> + * \ sa setRandomOffTime ( ) for spreading the noise over a wider spectrum <nl> + * / <nl> + void setSpreadCycleChopper ( char constant_off_time , char blank_time , char hysteresis_start , char hysteresis_end , char hysteresis_decrement ) ; <nl> + <nl> + / * ! <nl> + * \ brief Use random off time for noise reduction ( 0 for off , - 1 for on ) . <nl> + * \ param value 0 for off , - 1 for on <nl> + * <nl> + * In a constant off time chopper scheme both coil choppers run freely , i . e . are not synchronized . <nl> + * The frequency of each chopper mainly depends on the coil current and the position dependant motor coil inductivity , <nl> + * thus it depends on the microstep position . With some motors a slightly audible beat can occur between the chopper <nl> + * frequencies , especially when they are near to each other . This typically occurs at a few microstep positions within <nl> + * each quarter wave . <nl> + * This effect normally is not audible when compared to mechanical noise generated by ball bearings , <nl> + * etc . Further factors which can cause a similar effect are a poor layout of sense resistor GND connection . <nl> + * In order to minimize the effect of a beat between both chopper frequencies , an internal random generator is provided . <nl> + * It modulates the slow decay time setting when switched on . The random off time feature further spreads the chopper spectrum , <nl> + * reducing electromagnetic emission on single frequencies . <nl> + * / <nl> + void setRandomOffTime ( char value ) ; <nl> + <nl> + / * ! <nl> + * \ brief set the maximum motor current in mA ( 1000 is 1 Amp ) <nl> + * Keep in mind this is the maximum peak Current . The RMS current will be 1 / sqrt ( 2 ) smaller . The actual current can also be smaller <nl> + * by employing CoolStep . <nl> + * \ param current the maximum motor current in mA <nl> + * \ sa getCurrent ( ) , getCurrentCurrent ( ) <nl> + * / <nl> + void setCurrent ( unsigned int current ) ; <nl> + <nl> + / * ! <nl> + * \ brief readout the motor maximum current in mA ( 1000 is an Amp ) <nl> + * This is the maximum current . to get the current current - which may be affected by CoolStep us getCurrentCurrent ( ) <nl> + * \ return the maximum motor current in milli amps <nl> + * \ sa getCurrentCurrent ( ) <nl> + * / <nl> + unsigned int getCurrent ( void ) ; <nl> + <nl> + / * ! <nl> + * \ brief set the StallGuard threshold in order to get sensible StallGuard readings . <nl> + * \ param stall_guard_threshold - 64 â ¦ 63 the StallGuard threshold <nl> + * \ param stall_guard_filter_enabled 0 if the filter is disabled , - 1 if it is enabled <nl> + * <nl> + * The StallGuard threshold is used to optimize the StallGuard reading to sensible values . It should be at 0 at <nl> + * the maximum allowable load on the otor ( but not before ) . = is a good starting point ( and the default ) <nl> + * If you get Stall Gaurd readings of 0 without any load or with too little laod increase the value . <nl> + * If you get readings of 1023 even with load decrease the setting . <nl> + * <nl> + * If you switch on the filter the StallGuard reading is only updated each 4th full step to reduce the noise in the <nl> + * reading . <nl> + * <nl> + * \ sa getCurrentStallGuardReading ( ) to read out the current value . <nl> + * / <nl> + void setStallGuardThreshold ( char stall_guard_threshold , char stall_guard_filter_enabled ) ; <nl> + <nl> + / * ! <nl> + * \ brief reads out the StallGuard threshold <nl> + * \ return a number between - 64 and 63 . <nl> + * / <nl> + char getStallGuardThreshold ( void ) ; <nl> + <nl> + / * ! <nl> + * \ brief returns the current setting of the StallGuard filter <nl> + * \ return 0 if not set , - 1 if set <nl> + * / <nl> + char getStallGuardFilter ( void ) ; <nl> + <nl> + / * ! <nl> + * \ brief This method configures the CoolStep smart energy operation . You must have a proper StallGuard configuration for the motor situation ( current , voltage , speed ) in rder to use this feature . <nl> + * \ param lower_SG_threshold Sets the lower threshold for stallGuard2TM reading . Below this value , the motor current becomes increased . Allowed values are 0 . . . 480 <nl> + * \ param SG_hysteresis Sets the distance between the lower and the upper threshold for stallGuard2TM reading . Above the upper threshold ( which is lower_SG_threshold + SG_hysteresis + 1 ) the motor current becomes decreased . Allowed values are 0 . . . 480 <nl> + * \ param current_decrement_step_size Sets the current decrement steps . If the StallGuard value is above the threshold the current gets decremented by this step size . 0 . . . 32 <nl> + * \ param current_increment_step_size Sets the current increment step . The current becomes incremented for each measured stallGuard2TM value below the lower threshold . 0 . . . 8 <nl> + * \ param lower_current_limit Sets the lower motor current limit for coolStepTM operation by scaling the CS value . Values can be COOL_STEP_HALF_CS_LIMIT , COOL_STEP_QUARTER_CS_LIMIT <nl> + * The CoolStep smart energy operation automatically adjust the current sent into the motor according to the current load , <nl> + * read out by the StallGuard in order to provide the optimum torque with the minimal current consumption . <nl> + * You configure the CoolStep current regulator by defining upper and lower bounds of StallGuard readouts . If the readout is above the <nl> + * limit the current gets increased , below the limit the current gets decreased . <nl> + * You can specify the upper an lower threshold of the StallGuard readout in order to adjust the current . You can also set the number of <nl> + * StallGuard readings neccessary above or below the limit to get a more stable current adjustement . <nl> + * The current adjustement itself is configured by the number of steps the current gests in - or decreased and the absolut minimum current <nl> + * ( 1 / 2 or 1 / 4th otf the configured current ) . <nl> + * \ sa COOL_STEP_HALF_CS_LIMIT , COOL_STEP_QUARTER_CS_LIMIT <nl> + * / <nl> + void setCoolStepConfiguration ( unsigned int lower_SG_threshold , unsigned int SG_hysteresis , unsigned char current_decrement_step_size , <nl> + unsigned char current_increment_step_size , unsigned char lower_current_limit ) ; <nl> + <nl> + / * ! <nl> + * \ brief enables or disables the CoolStep smart energy operation feature . It must be configured before enabling it . <nl> + * \ param enabled true if CoolStep should be enabled , false if not . <nl> + * \ sa setCoolStepConfiguration ( ) <nl> + * / <nl> + void setCoolStepEnabled ( boolean enabled ) ; <nl> + <nl> + <nl> + / * ! <nl> + * \ brief check if the CoolStep feature is enabled <nl> + * \ sa setCoolStepEnabled ( ) <nl> + * / <nl> + boolean isCoolStepEnabled ( ) ; <nl> + <nl> + / * ! <nl> + * \ brief returns the lower StallGuard threshold for the CoolStep operation <nl> + * \ sa setCoolStepConfiguration ( ) <nl> + * / <nl> + unsigned int getCoolStepLowerSgThreshold ( ) ; <nl> + <nl> + / * ! <nl> + * \ brief returns the upper StallGuard threshold for the CoolStep operation <nl> + * \ sa setCoolStepConfiguration ( ) <nl> + * / <nl> + unsigned int getCoolStepUpperSgThreshold ( ) ; <nl> + <nl> + / * ! <nl> + * \ brief returns the number of StallGuard readings befor CoolStep adjusts the motor current . <nl> + * \ sa setCoolStepConfiguration ( ) <nl> + * / <nl> + unsigned char getCoolStepNumberOfSGReadings ( ) ; <nl> + <nl> + / * ! <nl> + * \ brief returns the increment steps for the current for the CoolStep operation <nl> + * \ sa setCoolStepConfiguration ( ) <nl> + * / <nl> + unsigned char getCoolStepCurrentIncrementSize ( ) ; <nl> + <nl> + / * ! <nl> + * \ brief returns the absolut minium current for the CoolStep operation <nl> + * \ sa setCoolStepConfiguration ( ) <nl> + * \ sa COOL_STEP_HALF_CS_LIMIT , COOL_STEP_QUARTER_CS_LIMIT <nl> + * / <nl> + unsigned char getCoolStepLowerCurrentLimit ( ) ; <nl> + <nl> + / * ! <nl> + * \ brief Get the current microstep position for phase A <nl> + * \ return The current microstep position for phase A 0â ¦ 255 <nl> + * <nl> + * Keep in mind that this routine reads and writes a value via SPI - so this may take a bit time . <nl> + * / <nl> + int getMotorPosition ( void ) ; <nl> + <nl> + / * ! <nl> + * \ brief Reads the current StallGuard value . <nl> + * \ return The current StallGuard value , lesser values indicate higher load , 0 means stall detected . <nl> + * Keep in mind that this routine reads and writes a value via SPI - so this may take a bit time . <nl> + * \ sa setStallGuardThreshold ( ) for tuning the readout to sensible ranges . <nl> + * / <nl> + int getCurrentStallGuardReading ( void ) ; <nl> + <nl> + / * ! <nl> + * \ brief Reads the current current setting value as fraction of the maximum current <nl> + * Returns values between 0 and 31 , representing 1 / 32 to 32 / 32 ( = 1 ) <nl> + * \ sa setCoolStepConfiguration ( ) <nl> + * / <nl> + unsigned char getCurrentCSReading ( void ) ; <nl> + <nl> + <nl> + / * ! <nl> + * \ brief a convenience method to determine if the current scaling uses 0 . 31V or 0 . 165V as reference . <nl> + * \ return false if 0 . 13V is the reference voltage , true if 0 . 165V is used . <nl> + * / <nl> + boolean isCurrentScalingHalfed ( ) ; <nl> + <nl> + / * ! <nl> + * \ brief Reads the current current setting value and recalculates the absolute current in mA ( 1A would be 1000 ) . <nl> + * This method calculates the currently used current setting ( either by setting or by CoolStep ) and reconstructs <nl> + * the current in mA by usinge the VSENSE and resistor value . This method uses floating point math - so it <nl> + * may not be the fastest . <nl> + * \ sa getCurrentCSReading ( ) , getResistor ( ) , isCurrentScalingHalfed ( ) , getCurrent ( ) <nl> + * / <nl> + unsigned int getCurrentCurrent ( void ) ; <nl> + <nl> + / * ! <nl> + * \ brief checks if there is a StallGuard warning in the last status <nl> + * \ return 0 if there was no warning , - 1 if there was some warning . <nl> + * Keep in mind that this method does not enforce a readout but uses the value of the last status readout . <nl> + * You may want to use getMotorPosition ( ) or getCurrentStallGuardReading ( ) to enforce an updated status readout . <nl> + * <nl> + * \ sa setStallGuardThreshold ( ) for tuning the readout to sensible ranges . <nl> + * / <nl> + boolean isStallGuardOverThreshold ( void ) ; <nl> + <nl> + / * ! <nl> + * \ brief Return over temperature status of the last status readout <nl> + * return 0 is everything is OK , TMC26X_OVERTEMPERATURE_PREWARING if status is reached , TMC26X_OVERTEMPERATURE_SHUTDOWN is the chip is shutdown , - 1 if the status is unknown . <nl> + * Keep in mind that this method does not enforce a readout but uses the value of the last status readout . <nl> + * You may want to use getMotorPosition ( ) or getCurrentStallGuardReading ( ) to enforce an updated status readout . <nl> + * / <nl> + char getOverTemperature ( void ) ; <nl> + <nl> + / * ! <nl> + * \ brief Is motor channel A shorted to ground detected in the last status readout . <nl> + * \ return true is yes , false if not . <nl> + * Keep in mind that this method does not enforce a readout but uses the value of the last status readout . <nl> + * You may want to use getMotorPosition ( ) or getCurrentStallGuardReading ( ) to enforce an updated status readout . <nl> + * / <nl> + <nl> + boolean isShortToGroundA ( void ) ; <nl> + <nl> + / * ! <nl> + * \ brief Is motor channel B shorted to ground detected in the last status readout . <nl> + * \ return true is yes , false if not . <nl> + * Keep in mind that this method does not enforce a readout but uses the value of the last status readout . <nl> + * You may want to use getMotorPosition ( ) or getCurrentStallGuardReading ( ) to enforce an updated status readout . <nl> + * / <nl> + boolean isShortToGroundB ( void ) ; <nl> + / * ! <nl> + * \ brief iIs motor channel A connected according to the last statu readout . <nl> + * \ return true is yes , false if not . <nl> + * Keep in mind that this method does not enforce a readout but uses the value of the last status readout . <nl> + * You may want to use getMotorPosition ( ) or getCurrentStallGuardReading ( ) to enforce an updated status readout . <nl> + * / <nl> + boolean isOpenLoadA ( void ) ; <nl> + <nl> + / * ! <nl> + * \ brief iIs motor channel A connected according to the last statu readout . <nl> + * \ return true is yes , false if not . <nl> + * Keep in mind that this method does not enforce a readout but uses the value of the last status readout . <nl> + * You may want to use getMotorPosition ( ) or getCurrentStallGuardReading ( ) to enforce an updated status readout . <nl> + * / <nl> + boolean isOpenLoadB ( void ) ; <nl> + <nl> + / * ! <nl> + * \ brief Is chopper inactive since 2 ^ 20 clock cycles - defaults to ~ 0 , 08s <nl> + * \ return true is yes , false if not . <nl> + * Keep in mind that this method does not enforce a readout but uses the value of the last status readout . <nl> + * You may want to use getMotorPosition ( ) or getCurrentStallGuardReading ( ) to enforce an updated status readout . <nl> + * / <nl> + boolean isStandStill ( void ) ; <nl> + <nl> + / * ! <nl> + * \ brief checks if there is a StallGuard warning in the last status <nl> + * \ return 0 if there was no warning , - 1 if there was some warning . <nl> + * Keep in mind that this method does not enforce a readout but uses the value of the last status readout . <nl> + * You may want to use getMotorPosition ( ) or getCurrentStallGuardReading ( ) to enforce an updated status readout . <nl> + * <nl> + * \ sa isStallGuardOverThreshold ( ) <nl> + * TODO why ? <nl> + * <nl> + * \ sa setStallGuardThreshold ( ) for tuning the readout to sensible ranges . <nl> + * / <nl> + boolean isStallGuardReached ( void ) ; <nl> + <nl> + / * ! <nl> + * \ brief enables or disables the motor driver bridges . If disabled the motor can run freely . If enabled not . <nl> + * \ param enabled a boolean value true if the motor should be enabled , false otherwise . <nl> + * / <nl> + void setEnabled ( boolean enabled ) ; <nl> + <nl> + / * ! <nl> + * \ brief checks if the output bridges are enabled . If the bridges are not enabled the motor can run freely <nl> + * \ return true if the bridges and by that the motor driver are enabled , false if not . <nl> + * \ sa setEnabled ( ) <nl> + * / <nl> + boolean isEnabled ( ) ; <nl> + <nl> + / * ! <nl> + * \ brief Manually read out the status register <nl> + * This function sends a byte to the motor driver in order to get the current readout . The parameter read_value <nl> + * seletcs which value will get returned . If the read_vlaue changes in respect to the previous readout this method <nl> + * automatically send two bytes to the motor : one to set the redout and one to get the actual readout . So this method <nl> + * may take time to send and read one or two bits - depending on the previous readout . <nl> + * \ param read_value selects which value to read out ( 0 . . 3 ) . You can use the defines TMC26X_READOUT_POSITION , TMC_262_READOUT_STALLGUARD , or TMC_262_READOUT_CURRENT <nl> + * \ sa TMC26X_READOUT_POSITION , TMC_262_READOUT_STALLGUARD , TMC_262_READOUT_CURRENT <nl> + * / <nl> + void readStatus ( char read_value ) ; <nl> + <nl> + / * ! <nl> + * \ brief Returns the current sense resistor value in milliohm . <nl> + * The default value of , 15 Ohm will return 150 . <nl> + * / <nl> + int getResistor ( ) ; <nl> + <nl> + / * ! <nl> + * \ brief Prints out all the information that can be found in the last status read out - it does not force a status readout . <nl> + * The result is printed via Serial <nl> + * / <nl> + void debugLastStatus ( void ) ; <nl> + / * ! <nl> + * \ brief library version <nl> + * \ return the version number as int . <nl> + * / <nl> + int version ( void ) ; <nl> + <nl> + private : <nl> + unsigned int steps_left ; / / the steps the motor has to do to complete the movement <nl> + int direction ; / / Direction of rotation <nl> + unsigned long step_delay ; / / delay between steps , in ms , based on speed <nl> + int number_of_steps ; / / total number of steps this motor can take <nl> + unsigned int speed ; / / we need to store the current speed in order to change the speed after changing microstepping <nl> + unsigned int resistor ; / / current sense resitor value in milliohm <nl> + <nl> + unsigned long last_step_time ; / / time stamp in ms of when the last step was taken <nl> + unsigned long next_step_time ; / / time stamp in ms of when the last step was taken <nl> + <nl> + / / driver control register copies to easily set & modify the registers <nl> + unsigned long driver_control_register_value ; <nl> + unsigned long chopper_config_register ; <nl> + unsigned long cool_step_register_value ; <nl> + unsigned long stall_guard2_current_register_value ; <nl> + unsigned long driver_configuration_register_value ; <nl> + / / the driver status result <nl> + unsigned long driver_status_result ; <nl> + <nl> + / / helper routione to get the top 10 bit of the readout <nl> + inline int getReadoutValue ( ) ; <nl> + <nl> + / / the pins for the stepper driver <nl> + unsigned char cs_pin ; <nl> + unsigned char step_pin ; <nl> + unsigned char dir_pin ; <nl> + <nl> + / / status values <nl> + boolean started ; / / if the stepper has been started yet <nl> + int microsteps ; / / the current number of micro steps <nl> + char constant_off_time ; / / we need to remember this value in order to enable and disable the motor <nl> + unsigned char cool_step_lower_threshold ; / / we need to remember the threshold to enable and disable the CoolStep feature <nl> + boolean cool_step_enabled ; / / we need to remember this to configure the coolstep if it si enabled <nl> + <nl> + / / SPI sender <nl> + inline void send262 ( unsigned long datagram ) ; <nl> + } ; <nl> + <nl> + # endif <nl> + <nl> new file mode 100644 <nl> index 00000000000 . . 9317ae4385a <nl> mmm / dev / null <nl> ppp b / Marlin / src / HAL / HAL_STM32F7 / endstop_interrupts . h <nl> <nl> + / * * <nl> + * Marlin 3D Printer Firmware <nl> + * Copyright ( C ) 2016 MarlinFirmware [ https : / / github . com / MarlinFirmware / Marlin ] <nl> + * <nl> + * Based on Sprinter and grbl . <nl> + * Copyright ( C ) 2011 Camiel Gubbels / Erik van der Zalm <nl> + * Copyright ( C ) 2017 Victor Perez <nl> + * <nl> + * This program is free software : you can redistribute it and / or modify <nl> + * it under the terms of the GNU General Public License as published by <nl> + * the Free Software Foundation , either version 3 of the License , or <nl> + * ( at your option ) any later version . <nl> + * <nl> + * This program is distributed in the hope that it will be useful , <nl> + * but WITHOUT ANY WARRANTY ; without even the implied warranty of <nl> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the <nl> + * GNU General Public License for more details . <nl> + * <nl> + * You should have received a copy of the GNU General Public License <nl> + * along with this program . If not , see < http : / / www . gnu . org / licenses / > . <nl> + * <nl> + * / <nl> + <nl> + <nl> + <nl> + # ifndef _ENDSTOP_INTERRUPTS_H_ <nl> + # define _ENDSTOP_INTERRUPTS_H_ <nl> + <nl> + void setup_endstop_interrupts ( void ) { <nl> + # if HAS_X_MAX <nl> + pinMode ( X_MAX_PIN , INPUT ) ; <nl> + attachInterrupt ( X_MAX_PIN , endstop_ISR , CHANGE ) ; / / assign it <nl> + # endif <nl> + # if HAS_X_MIN <nl> + pinMode ( X_MIN_PIN , INPUT ) ; <nl> + attachInterrupt ( X_MIN_PIN , endstop_ISR , CHANGE ) ; <nl> + # endif <nl> + # if HAS_Y_MAX <nl> + pinMode ( Y_MAX_PIN , INPUT ) ; <nl> + attachInterrupt ( Y_MAX_PIN , endstop_ISR , CHANGE ) ; <nl> + # endif <nl> + # if HAS_Y_MIN <nl> + pinMode ( Y_MIN_PIN , INPUT ) ; <nl> + attachInterrupt ( Y_MIN_PIN , endstop_ISR , CHANGE ) ; <nl> + # endif <nl> + # if HAS_Z_MAX <nl> + pinMode ( Z_MAX_PIN , INPUT ) ; <nl> + attachInterrupt ( Z_MAX_PIN , endstop_ISR , CHANGE ) ; <nl> + # endif <nl> + # if HAS_Z_MIN <nl> + pinMode ( Z_MIN_PIN , INPUT ) ; <nl> + attachInterrupt ( Z_MIN_PIN , endstop_ISR , CHANGE ) ; <nl> + # endif <nl> + # if HAS_Z2_MAX <nl> + pinMode ( Z2_MAX_PIN , INPUT ) ; <nl> + attachInterrupt ( Z2_MAX_PIN , endstop_ISR , CHANGE ) ; <nl> + # endif <nl> + # if HAS_Z2_MIN <nl> + pinMode ( Z2_MIN_PIN , INPUT ) ; <nl> + attachInterrupt ( Z2_MIN_PIN , endstop_ISR , CHANGE ) ; <nl> + # endif <nl> + # if HAS_Z_MIN_PROBE_PIN <nl> + pinMode ( Z_MIN_PROBE_PIN , INPUT ) ; <nl> + attachInterrupt ( Z_MIN_PROBE_PIN , endstop_ISR , CHANGE ) ; <nl> + # endif <nl> + } <nl> + <nl> + # endif / / _ENDSTOP_INTERRUPTS_H_ <nl> new file mode 100644 <nl> index 00000000000 . . 0e53ce76f40 <nl> mmm / dev / null <nl> ppp b / Marlin / src / HAL / HAL_STM32F7 / fastio_STM32F7 . h <nl> <nl> + / * * <nl> + * Marlin 3D Printer Firmware <nl> + * Copyright ( C ) 2016 MarlinFirmware [ https : / / github . com / MarlinFirmware / Marlin ] <nl> + * <nl> + * Based on Sprinter and grbl . <nl> + * Copyright ( C ) 2011 Camiel Gubbels / Erik van der Zalm <nl> + * Copyright ( C ) 2017 Victor Perez <nl> + * <nl> + * This program is free software : you can redistribute it and / or modify <nl> + * it under the terms of the GNU General Public License as published by <nl> + * the Free Software Foundation , either version 3 of the License , or <nl> + * ( at your option ) any later version . <nl> + * <nl> + * This program is distributed in the hope that it will be useful , <nl> + * but WITHOUT ANY WARRANTY ; without even the implied warranty of <nl> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the <nl> + * GNU General Public License for more details . <nl> + * <nl> + * You should have received a copy of the GNU General Public License <nl> + * along with this program . If not , see < http : / / www . gnu . org / licenses / > . <nl> + * <nl> + * / <nl> + <nl> + / * * <nl> + * Fast I / O interfaces for STM32F7 <nl> + * These use GPIO functions instead of Direct Port Manipulation , as on AVR . <nl> + * / <nl> + <nl> + # ifndef _FASTIO_STM32F7_H <nl> + # define _FASTIO_STM32F7_H <nl> + <nl> + # define _BV ( bit ) ( 1 < < ( bit ) ) <nl> + <nl> + # define READ ( IO ) digitalRead ( IO ) <nl> + # define WRITE ( IO , v ) digitalWrite ( IO , v ) <nl> + # define TOGGLE ( IO ) do { _SET_OUTPUT ( IO ) ; digitalWrite ( IO , ! digitalRead ( IO ) ) ; } while ( 0 ) <nl> + # define WRITE_VAR ( IO , v ) digitalWrite ( IO , v ) <nl> + <nl> + # define _GET_MODE ( IO ) <nl> + # define _SET_MODE ( IO , M ) pinMode ( IO , M ) <nl> + # define _SET_OUTPUT ( IO ) pinMode ( IO , OUTPUT ) / * ! < Output Push Pull Mode & GPIO_NOPULL * / <nl> + <nl> + # define SET_INPUT ( IO ) _SET_MODE ( IO , INPUT ) / * ! < Input Floating Mode * / <nl> + # define SET_INPUT_PULLUP ( IO ) _SET_MODE ( IO , INPUT_PULLUP ) / * ! < Input with Pull - up activation * / <nl> + # define SET_INPUT_PULLDOW ( IO ) _SET_MODE ( IO , INPUT_PULLDOWN ) / * ! < Input with Pull - down activation * / <nl> + # define SET_OUTPUT ( IO ) do { _SET_OUTPUT ( IO ) ; WRITE ( IO , LOW ) ; } while ( 0 ) <nl> + <nl> + # define GET_INPUT ( IO ) <nl> + # define GET_OUTPUT ( IO ) <nl> + # define GET_TIMER ( IO ) <nl> + <nl> + # define OUT_WRITE ( IO , v ) { _SET_OUTPUT ( IO ) ; WRITE ( IO , v ) ; } <nl> + <nl> + # endif / * _FASTIO_STM32F7_H * / <nl> new file mode 100644 <nl> index 00000000000 . . ac4c3e79479 <nl> mmm / dev / null <nl> ppp b / Marlin / src / HAL / HAL_STM32F7 / persistent_store_impl . cpp <nl> <nl> + / * * <nl> + * Marlin 3D Printer Firmware <nl> + * <nl> + * Copyright ( C ) 2016 MarlinFirmware [ https : / / github . com / MarlinFirmware / Marlin ] <nl> + * Copyright ( c ) 2016 Bob Cousins bobcousins42 @ googlemail . com <nl> + * Copyright ( c ) 2015 - 2016 Nico Tonnhofer wurstnase . reprap @ gmail . com <nl> + * Copyright ( c ) 2016 Victor Perez victor_pv @ hotmail . com <nl> + * <nl> + * This program is free software : you can redistribute it and / or modify <nl> + * it under the terms of the GNU General Public License as published by <nl> + * the Free Software Foundation , either version 3 of the License , or <nl> + * ( at your option ) any later version . <nl> + * <nl> + * This program is distributed in the hope that it will be useful , <nl> + * but WITHOUT ANY WARRANTY ; without even the implied warranty of <nl> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the <nl> + * GNU General Public License for more details . <nl> + * <nl> + * You should have received a copy of the GNU General Public License <nl> + * along with this program . If not , see < http : / / www . gnu . org / licenses / > . <nl> + * <nl> + * / <nl> + <nl> + <nl> + # ifdef STM32F7 <nl> + <nl> + # include " . . / persistent_store_api . h " <nl> + <nl> + # include " . . / . . / inc / MarlinConfig . h " <nl> + <nl> + # if ENABLED ( EEPROM_SETTINGS ) <nl> + <nl> + namespace HAL { <nl> + namespace PersistentStore { <nl> + <nl> + bool access_start ( ) { <nl> + return true ; <nl> + } <nl> + <nl> + bool access_finish ( ) { <nl> + return true ; <nl> + } <nl> + <nl> + bool write_data ( int & pos , const uint8_t * value , uint16_t size , uint16_t * crc ) { <nl> + while ( size - - ) { <nl> + uint8_t * const p = ( uint8_t * const ) pos ; <nl> + uint8_t v = * value ; <nl> + / / EEPROM has only ~ 100 , 000 write cycles , <nl> + / / so only write bytes that have changed ! <nl> + if ( v ! = eeprom_read_byte ( p ) ) { <nl> + eeprom_write_byte ( p , v ) ; <nl> + if ( eeprom_read_byte ( p ) ! = v ) { <nl> + SERIAL_ECHO_START ( ) ; <nl> + SERIAL_ECHOLNPGM ( MSG_ERR_EEPROM_WRITE ) ; <nl> + return true ; <nl> + } <nl> + } <nl> + crc16 ( crc , & v , 1 ) ; <nl> + pos + + ; <nl> + value + + ; <nl> + } ; <nl> + return false ; <nl> + } <nl> + <nl> + bool read_data ( int & pos , uint8_t * value , uint16_t size , uint16_t * crc ) { <nl> + do { <nl> + uint8_t c = eeprom_read_byte ( ( unsigned char * ) pos ) ; <nl> + * value = c ; <nl> + crc16 ( crc , & c , 1 ) ; <nl> + pos + + ; <nl> + value + + ; <nl> + } while ( - - size ) ; <nl> + return false ; <nl> + } <nl> + <nl> + } <nl> + } <nl> + <nl> + # endif / / EEPROM_SETTINGS <nl> + # endif / / STM32F7 <nl> + <nl> + <nl> new file mode 100644 <nl> index 00000000000 . . 15bb48c1916 <nl> mmm / dev / null <nl> ppp b / Marlin / src / HAL / HAL_STM32F7 / spi_pins . h <nl> <nl> + / * * <nl> + * Marlin 3D Printer Firmware <nl> + * Copyright ( C ) 2016 MarlinFirmware [ https : / / github . com / MarlinFirmware / Marlin ] <nl> + * <nl> + * This program is free software : you can redistribute it and / or modify <nl> + * it under the terms of the GNU General Public License as published by <nl> + * the Free Software Foundation , either version 3 of the License , or <nl> + * ( at your option ) any later version . <nl> + * <nl> + * This program is distributed in the hope that it will be useful , <nl> + * but WITHOUT ANY WARRANTY ; without even the implied warranty of <nl> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the <nl> + * GNU General Public License for more details . <nl> + * <nl> + * You should have received a copy of the GNU General Public License <nl> + * along with this program . If not , see < http : / / www . gnu . org / licenses / > . <nl> + * <nl> + * / <nl> + <nl> + # ifndef SPI_PINS_H_ <nl> + # define SPI_PINS_H_ <nl> + <nl> + <nl> + / * * <nl> + * Define SPI Pins : SCK , MISO , MOSI , SS <nl> + * <nl> + * / <nl> + # define SCK_PIN _STM32_PIN ( PORTA , 5 ) <nl> + # define MISO_PIN _STM32_PIN ( PORTA , 6 ) <nl> + # define MOSI_PIN _STM32_PIN ( PORTA , 7 ) <nl> + # define SS_PIN _STM32_PIN ( PORTA , 8 ) <nl> + <nl> + # endif / / SPI_PINS_H_ <nl> new file mode 100644 <nl> index 00000000000 . . 883c490e192 <nl> mmm / dev / null <nl> ppp b / Marlin / src / HAL / HAL_STM32F7 / watchdog_STM32F7 . cpp <nl> <nl> + / * * <nl> + * Marlin 3D Printer Firmware <nl> + * Copyright ( C ) 2016 MarlinFirmware [ https : / / github . com / MarlinFirmware / Marlin ] <nl> + * <nl> + * Based on Sprinter and grbl . <nl> + * Copyright ( C ) 2011 Camiel Gubbels / Erik van der Zalm <nl> + * <nl> + * This program is free software : you can redistribute it and / or modify <nl> + * it under the terms of the GNU General Public License as published by <nl> + * the Free Software Foundation , either version 3 of the License , or <nl> + * ( at your option ) any later version . <nl> + * <nl> + * This program is distributed in the hope that it will be useful , <nl> + * but WITHOUT ANY WARRANTY ; without even the implied warranty of <nl> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the <nl> + * GNU General Public License for more details . <nl> + * <nl> + * You should have received a copy of the GNU General Public License <nl> + * along with this program . If not , see < http : / / www . gnu . org / licenses / > . <nl> + * <nl> + * / <nl> + <nl> + # ifdef STM32F7 <nl> + <nl> + # include " . . / . . / inc / MarlinConfig . h " <nl> + <nl> + # if ENABLED ( USE_WATCHDOG ) <nl> + <nl> + # include " watchdog_STM32F7 . h " <nl> + <nl> + IWDG_HandleTypeDef hiwdg ; <nl> + <nl> + void watchdog_init ( ) { <nl> + hiwdg . Instance = IWDG ; <nl> + hiwdg . Init . Prescaler = IWDG_PRESCALER_32 ; / / 32kHz LSI clock and 32x prescalar = 1024Hz IWDG clock <nl> + hiwdg . Init . Reload = 4095 ; / / 4095 counts = 4 seconds at 1024Hz <nl> + if ( HAL_IWDG_Init ( & hiwdg ) ! = HAL_OK ) <nl> + { <nl> + / / Error_Handler ( ) ; <nl> + } <nl> + } <nl> + <nl> + void watchdog_reset ( ) { <nl> + / * Refresh IWDG : reload counter * / <nl> + if ( HAL_IWDG_Refresh ( & hiwdg ) ! = HAL_OK ) <nl> + { <nl> + / * Refresh Error * / <nl> + / / Error_Handler ( ) ; <nl> + } <nl> + } <nl> + <nl> + <nl> + # endif / / USE_WATCHDOG <nl> + <nl> + # endif / / STM32F7 <nl> new file mode 100644 <nl> index 00000000000 . . 6032ecd5a3f <nl> mmm / dev / null <nl> ppp b / Marlin / src / HAL / HAL_STM32F7 / watchdog_STM32F7 . h <nl> <nl> + / * * <nl> + * Marlin 3D Printer Firmware <nl> + * Copyright ( C ) 2016 MarlinFirmware [ https : / / github . com / MarlinFirmware / Marlin ] <nl> + * <nl> + * Based on Sprinter and grbl . <nl> + * Copyright ( C ) 2011 Camiel Gubbels / Erik van der Zalm <nl> + * <nl> + * This program is free software : you can redistribute it and / or modify <nl> + * it under the terms of the GNU General Public License as published by <nl> + * the Free Software Foundation , either version 3 of the License , or <nl> + * ( at your option ) any later version . <nl> + * <nl> + * This program is distributed in the hope that it will be useful , <nl> + * but WITHOUT ANY WARRANTY ; without even the implied warranty of <nl> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the <nl> + * GNU General Public License for more details . <nl> + * <nl> + * You should have received a copy of the GNU General Public License <nl> + * along with this program . If not , see < http : / / www . gnu . org / licenses / > . <nl> + * <nl> + * / <nl> + <nl> + # ifndef WATCHDOG_STM32F7_H <nl> + # define WATCHDOG_STM32F7_H <nl> + <nl> + # include " . . / . . / . . / src / inc / MarlinConfig . h " <nl> + <nl> + extern IWDG_HandleTypeDef hiwdg ; <nl> + <nl> + void watchdog_init ( ) ; <nl> + void watchdog_reset ( ) ; <nl> + <nl> + # endif / / WATCHDOG_STM32F1_H <nl> mmm a / Marlin / src / HAL / HAL_SanityCheck . h <nl> ppp b / Marlin / src / HAL / HAL_SanityCheck . h <nl> <nl> <nl> # ifdef __AVR__ <nl> # include " HAL_AVR / SanityCheck_AVR_8_bit . h " <nl> - # elif defined ( ARDUINO_ARCH_SAM ) <nl> + <nl> + # elif defined ( ARDUINO_ARCH_SAM ) <nl> # include " HAL_DUE / SanityCheck_Due . h " <nl> - # elif IS_32BIT_TEENSY <nl> + <nl> + # elif IS_32BIT_TEENSY <nl> # include " HAL_TEENSY35_36 / SanityCheck_Teensy_35_36 . h " <nl> - # elif defined ( TARGET_LPC1768 ) <nl> + <nl> + # elif defined ( TARGET_LPC1768 ) <nl> # include " HAL_LPC1768 / SanityCheck_Re_ARM . h " <nl> - # elif defined ( __STM32F1__ ) <nl> + <nl> + # elif defined ( __STM32F1__ ) <nl> # include " HAL_STM32F1 / SanityCheck_Stm32f1 . h " <nl> - # else <nl> + <nl> + # elif defined ( STM32F7 ) <nl> + # include " HAL_STM32F7 / SanityCheck_STM32F7 . h " <nl> + <nl> + # else <nl> # error Unsupported Platform ! <nl> # endif <nl> <nl> mmm a / Marlin / src / HAL / HAL_endstop_interrupts . h <nl> ppp b / Marlin / src / HAL / HAL_endstop_interrupts . h <nl> void endstop_ISR ( void ) { endstop_ISR_worker ( ) ; } <nl> # elif IS_32BIT_TEENSY <nl> <nl> # include " HAL_TEENSY35_36 / endstop_interrupts . h " <nl> + <nl> + # elif defined ( STM32F7 ) <nl> + <nl> + # include " HAL_STM32F7 / endstop_interrupts . h " <nl> <nl> # else <nl> <nl> mmm a / Marlin / src / HAL / HAL_spi_pins . h <nl> ppp b / Marlin / src / HAL / HAL_spi_pins . h <nl> <nl> <nl> # elif defined ( TARGET_LPC1768 ) <nl> # include " HAL_LPC1768 / spi_pins . h " <nl> + <nl> # elif defined ( __STM32F1__ ) <nl> - # include " HAL_STM32F1 / spi_pins . h " <nl> - # else <nl> + # include " HAL_STM32F1 / spi_pins . h " <nl> + <nl> + # elif defined ( STM32F7 ) <nl> + # include " HAL_STM32F7 / spi_pins . h " <nl> + <nl> + # else <nl> # error " Unsupported Platform ! " <nl> # endif <nl> <nl> new file mode 100644 <nl> index 00000000000 . . d16a0553391 <nl> mmm / dev / null <nl> ppp b / Marlin / src / config / examples / TheBorg / Configuration . h <nl> <nl> + / * * <nl> + * Marlin 3D Printer Firmware <nl> + * Copyright ( C ) 2016 MarlinFirmware [ https : / / github . com / MarlinFirmware / Marlin ] <nl> + * <nl> + * Based on Sprinter and grbl . <nl> + * Copyright ( C ) 2011 Camiel Gubbels / Erik van der Zalm <nl> + * <nl> + * This program is free software : you can redistribute it and / or modify <nl> + * it under the terms of the GNU General Public License as published by <nl> + * the Free Software Foundation , either version 3 of the License , or <nl> + * ( at your option ) any later version . <nl> + * <nl> + * This program is distributed in the hope that it will be useful , <nl> + * but WITHOUT ANY WARRANTY ; without even the implied warranty of <nl> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the <nl> + * GNU General Public License for more details . <nl> + * <nl> + * You should have received a copy of the GNU General Public License <nl> + * along with this program . If not , see < http : / / www . gnu . org / licenses / > . <nl> + * <nl> + * / <nl> + <nl> + / * * <nl> + * Configuration . h <nl> + * <nl> + * Basic settings such as : <nl> + * <nl> + * - Type of electronics <nl> + * - Type of temperature sensor <nl> + * - Printer geometry <nl> + * - Endstop configuration <nl> + * - LCD controller <nl> + * - Extra features <nl> + * <nl> + * Advanced settings can be found in Configuration_adv . h <nl> + * <nl> + * / <nl> + # ifndef CONFIGURATION_H <nl> + # define CONFIGURATION_H <nl> + # define CONFIGURATION_H_VERSION 020000 <nl> + <nl> + / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> + / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = Getting Started = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> + / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> + <nl> + / * * <nl> + * Here are some standard links for getting your machine calibrated : <nl> + * <nl> + * http : / / reprap . org / wiki / Calibration <nl> + * http : / / youtu . be / wAL9d7FgInk <nl> + * http : / / calculator . josefprusa . cz <nl> + * http : / / reprap . org / wiki / Triffid_Hunter % 27s_Calibration_Guide <nl> + * http : / / www . thingiverse . com / thing : 5573 <nl> + * https : / / sites . google . com / site / repraplogphase / calibration - of - your - reprap <nl> + * http : / / www . thingiverse . com / thing : 298812 <nl> + * / <nl> + <nl> + / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> + / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = DELTA Printer = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> + / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> + / / For a Delta printer start with one of the configuration files in the <nl> + / / config / examples / delta directory and customize for your machine . <nl> + / / <nl> + <nl> + / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> + / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = SCARA Printer = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> + / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> + / / For a SCARA printer start with the configuration files in <nl> + / / config / examples / SCARA and customize for your machine . <nl> + / / <nl> + <nl> + / / @ section info <nl> + <nl> + / / User - specified version info of this build to display in [ Pronterface , etc ] terminal window during <nl> + / / startup . Implementation of an idea by Prof Braino to inform user that any changes made to this <nl> + / / build by the user have been successfully uploaded into firmware . <nl> + # define STRING_CONFIG_H_AUTHOR " ( Spawn32 , The_Borg ) " / / Who made the changes . <nl> + # define SHOW_BOOTSCREEN <nl> + # define STRING_SPLASH_LINE1 SHORT_BUILD_VERSION / / will be shown during bootup in line 1 <nl> + # define STRING_SPLASH_LINE2 WEBSITE_URL / / will be shown during bootup in line 2 <nl> + <nl> + / / <nl> + / / * * * VENDORS PLEASE READ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> + / / <nl> + / / Marlin now allow you to have a vendor boot image to be displayed on machine <nl> + / / start . When SHOW_CUSTOM_BOOTSCREEN is defined Marlin will first show your <nl> + / / custom boot image and then the default Marlin boot image is shown . <nl> + / / <nl> + / / We suggest for you to take advantage of this new feature and keep the Marlin <nl> + / / boot image unmodified . For an example have a look at the bq Hephestos 2 <nl> + / / example configuration folder . <nl> + / / <nl> + / / # define SHOW_CUSTOM_BOOTSCREEN <nl> + / / @ section machine <nl> + <nl> + / * * <nl> + * Select the serial port on the board to use for communication with the host . <nl> + * This allows the connection of wireless adapters ( for instance ) to non - default port pins . <nl> + * Note : The first serial port ( - 1 or 0 ) will always be used by the Arduino bootloader . <nl> + * <nl> + * : [ - 1 , 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 ] <nl> + * / <nl> + # define SERIAL_PORT - 1 <nl> + <nl> + / * * <nl> + * Select a secondary serial port on the board to use for communication with the host . <nl> + * This allows the connection of wireless adapters ( for instance ) to non - default port pins . <nl> + * Serial port - 1 is the USB emulated serial port , if avaialble . <nl> + * <nl> + * : [ - 1 , 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 ] <nl> + * / <nl> + # define SERIAL_PORT_2 5 <nl> + <nl> + / * * <nl> + * This setting determines the communication speed of the printer . <nl> + * <nl> + * 250000 works in most cases , but you might try a lower speed if <nl> + * you commonly experience drop - outs during host printing . <nl> + * You may try up to 1000000 to speed up SD file transfer . <nl> + * <nl> + * : [ 2400 , 9600 , 19200 , 38400 , 57600 , 115200 , 250000 , 500000 , 1000000 ] <nl> + * / <nl> + # define BAUDRATE 115200 <nl> + <nl> + / / Enable the Bluetooth serial interface on AT90USB devices <nl> + / / # define BLUETOOTH <nl> + <nl> + / / The following define selects which electronics board you have . <nl> + / / Please choose the name from boards . h that matches your setup <nl> + # ifndef MOTHERBOARD <nl> + # define MOTHERBOARD BOARD_THE_BORG <nl> + # endif <nl> + <nl> + / / Optional custom name for your RepStrap or other custom machine <nl> + / / Displayed in the LCD " Ready " message <nl> + / / # define CUSTOM_MACHINE_NAME " 3D Printer " <nl> + <nl> + / / Define this to set a unique identifier for this printer , ( Used by some programs to differentiate between machines ) <nl> + / / You can use an online service to generate a random UUID . ( eg http : / / www . uuidgenerator . net / version4 ) <nl> + / / # define MACHINE_UUID " 00000000 - 0000 - 0000 - 0000 - 000000000000 " <nl> + <nl> + / / @ section extruder <nl> + <nl> + / / This defines the number of extruders <nl> + / / : [ 1 , 2 , 3 , 4 , 5 ] <nl> + # define EXTRUDERS 1 <nl> + <nl> + / / Generally expected filament diameter ( 1 . 75 , 2 . 85 , 3 . 0 , . . . ) . Used for Volumetric , Filament Width Sensor , etc . <nl> + # define DEFAULT_NOMINAL_FILAMENT_DIA 1 . 75 <nl> + <nl> + / / For Cyclops or any " multi - extruder " that shares a single nozzle . <nl> + / / # define SINGLENOZZLE <nl> + <nl> + / * * <nl> + * PrÅ ¯ Å ¡ a MK2 Single Nozzle Multi - Material Multiplexer , and variants . <nl> + * <nl> + * This device allows one stepper driver on a control board to drive <nl> + * two to eight stepper motors , one at a time , in a manner suitable <nl> + * for extruders . <nl> + * <nl> + * This option only allows the multiplexer to switch on tool - change . <nl> + * Additional options to configure custom E moves are pending . <nl> + * / <nl> + / / # define MK2_MULTIPLEXER <nl> + # if ENABLED ( MK2_MULTIPLEXER ) <nl> + / / Override the default DIO selector pins here , if needed . <nl> + / / Some pins files may provide defaults for these pins . <nl> + / / # define E_MUX0_PIN 40 / / Always Required <nl> + / / # define E_MUX1_PIN 42 / / Needed for 3 to 8 steppers <nl> + / / # define E_MUX2_PIN 44 / / Needed for 5 to 8 steppers <nl> + # endif <nl> + <nl> + / / A dual extruder that uses a single stepper motor <nl> + / / # define SWITCHING_EXTRUDER <nl> + # if ENABLED ( SWITCHING_EXTRUDER ) <nl> + # define SWITCHING_EXTRUDER_SERVO_NR 0 <nl> + # define SWITCHING_EXTRUDER_SERVO_ANGLES { 0 , 90 } / / Angles for E0 , E1 [ , E2 , E3 ] <nl> + # if EXTRUDERS > 3 <nl> + # define SWITCHING_EXTRUDER_E23_SERVO_NR 1 <nl> + # endif <nl> + # endif <nl> + <nl> + / / A dual - nozzle that uses a servomotor to raise / lower one of the nozzles <nl> + / / # define SWITCHING_NOZZLE <nl> + # if ENABLED ( SWITCHING_NOZZLE ) <nl> + # define SWITCHING_NOZZLE_SERVO_NR 0 <nl> + # define SWITCHING_NOZZLE_SERVO_ANGLES { 0 , 90 } / / Angles for E0 , E1 <nl> + / / # define HOTEND_OFFSET_Z { 0 . 0 , 0 . 0 } <nl> + # endif <nl> + <nl> + / * * <nl> + * Two separate X - carriages with extruders that connect to a moving part <nl> + * via a magnetic docking mechanism . Requires SOL1_PIN and SOL2_PIN . <nl> + * / <nl> + / / # define PARKING_EXTRUDER <nl> + # if ENABLED ( PARKING_EXTRUDER ) <nl> + # define PARKING_EXTRUDER_SOLENOIDS_INVERT / / If enabled , the solenoid is NOT magnetized with applied voltage <nl> + # define PARKING_EXTRUDER_SOLENOIDS_PINS_ACTIVE LOW / / LOW or HIGH pin signal energizes the coil <nl> + # define PARKING_EXTRUDER_SOLENOIDS_DELAY 250 / / Delay ( ms ) for magnetic field . No delay if 0 or not defined . <nl> + # define PARKING_EXTRUDER_PARKING_X { - 78 , 184 } / / X positions for parking the extruders <nl> + # define PARKING_EXTRUDER_GRAB_DISTANCE 1 / / mm to move beyond the parking point to grab the extruder <nl> + # define PARKING_EXTRUDER_SECURITY_RAISE 5 / / Z - raise before parking <nl> + # define HOTEND_OFFSET_Z { 0 . 0 , 1 . 3 } / / Z - offsets of the two hotends . The first must be 0 . <nl> + # endif <nl> + <nl> + / * * <nl> + * " Mixing Extruder " <nl> + * - Adds a new code , M165 , to set the current mix factors . <nl> + * - Extends the stepping routines to move multiple steppers in proportion to the mix . <nl> + * - Optional support for Repetier Firmware M163 , M164 , and virtual extruder . <nl> + * - This implementation supports only a single extruder . <nl> + * - Enable DIRECT_MIXING_IN_G1 for Pia Taubert ' s reference implementation <nl> + * / <nl> + / / # define MIXING_EXTRUDER <nl> + # if ENABLED ( MIXING_EXTRUDER ) <nl> + # define MIXING_STEPPERS 2 / / Number of steppers in your mixing extruder <nl> + # define MIXING_VIRTUAL_TOOLS 16 / / Use the Virtual Tool method with M163 and M164 <nl> + / / # define DIRECT_MIXING_IN_G1 / / Allow ABCDHI mix factors in G1 movement commands <nl> + # endif <nl> + <nl> + / / Offset of the extruders ( uncomment if using more than one and relying on firmware to position when changing ) . <nl> + / / The offset has to be X = 0 , Y = 0 for the extruder 0 hotend ( default extruder ) . <nl> + / / For the other hotends it is their distance from the extruder 0 hotend . <nl> + / / # define HOTEND_OFFSET_X { 0 . 0 , 20 . 00 } / / ( in mm ) for each extruder , offset of the hotend on the X axis <nl> + / / # define HOTEND_OFFSET_Y { 0 . 0 , 5 . 00 } / / ( in mm ) for each extruder , offset of the hotend on the Y axis <nl> + <nl> + / / @ section machine <nl> + <nl> + / * * <nl> + * Select your power supply here . Use 0 if you haven ' t connected the PS_ON_PIN <nl> + * <nl> + * 0 = No Power Switch <nl> + * 1 = ATX <nl> + * 2 = X - Box 360 203Watts ( the blue wire connected to PS_ON and the red wire to VCC ) <nl> + * <nl> + * : { 0 : ' No power switch ' , 1 : ' ATX ' , 2 : ' X - Box 360 ' } <nl> + * / <nl> + # define POWER_SUPPLY 0 <nl> + <nl> + # if POWER_SUPPLY > 0 <nl> + / / Enable this option to leave the PSU off at startup . <nl> + / / Power to steppers and heaters will need to be turned on with M80 . <nl> + / / # define PS_DEFAULT_OFF <nl> + # endif <nl> + <nl> + / / @ section temperature <nl> + <nl> + / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> + / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = Thermal Settings = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> + / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> + <nl> + / * * <nl> + * - - NORMAL IS 4 . 7kohm PULLUP ! - - 1kohm pullup can be used on hotend sensor , using correct resistor and table <nl> + * <nl> + * Temperature sensors available : <nl> + * <nl> + * - 3 : thermocouple with MAX31855 ( only for sensor 0 ) <nl> + * - 2 : thermocouple with MAX6675 ( only for sensor 0 ) <nl> + * - 1 : thermocouple with AD595 <nl> + * 0 : not used <nl> + * 1 : 100k thermistor - best choice for EPCOS 100k ( 4 . 7k pullup ) <nl> + * 2 : 200k thermistor - ATC Semitec 204GT - 2 ( 4 . 7k pullup ) <nl> + * 3 : Mendel - parts thermistor ( 4 . 7k pullup ) <nl> + * 4 : 10k thermistor ! ! do not use it for a hotend . It gives bad resolution at high temp . ! ! <nl> + * 5 : 100K thermistor - ATC Semitec 104GT - 2 / 104NT - 4 - R025H42G ( Used in ParCan & J - Head ) ( 4 . 7k pullup ) <nl> + * 6 : 100k EPCOS - Not as accurate as table 1 ( created using a fluke thermocouple ) ( 4 . 7k pullup ) <nl> + * 7 : 100k Honeywell thermistor 135 - 104LAG - J01 ( 4 . 7k pullup ) <nl> + * 71 : 100k Honeywell thermistor 135 - 104LAF - J01 ( 4 . 7k pullup ) <nl> + * 8 : 100k 0603 SMD Vishay NTCS0603E3104FXT ( 4 . 7k pullup ) <nl> + * 9 : 100k GE Sensing AL03006 - 58 . 2K - 97 - G1 ( 4 . 7k pullup ) <nl> + * 10 : 100k RS thermistor 198 - 961 ( 4 . 7k pullup ) <nl> + * 11 : 100k beta 3950 1 % thermistor ( 4 . 7k pullup ) <nl> + * 12 : 100k 0603 SMD Vishay NTCS0603E3104FXT ( 4 . 7k pullup ) ( calibrated for Makibox hot bed ) <nl> + * 13 : 100k Hisens 3950 1 % up to 300 ° C for hotend " Simple ONE " & " Hotend " All In ONE " <nl> + * 20 : the PT100 circuit found in the Ultimainboard V2 . x <nl> + * 60 : 100k Maker ' s Tool Works Kapton Bed Thermistor beta = 3950 <nl> + * 66 : 4 . 7M High Temperature thermistor from Dyze Design <nl> + * 70 : the 100K thermistor found in the bq Hephestos 2 <nl> + * 75 : 100k Generic Silicon Heat Pad with NTC 100K MGB18 - 104F39050L32 thermistor <nl> + * <nl> + * 1k ohm pullup tables - This is atypical , and requires changing out the 4 . 7k pullup for 1k . <nl> + * ( but gives greater accuracy and more stable PID ) <nl> + * 51 : 100k thermistor - EPCOS ( 1k pullup ) <nl> + * 52 : 200k thermistor - ATC Semitec 204GT - 2 ( 1k pullup ) <nl> + * 55 : 100k thermistor - ATC Semitec 104GT - 2 ( Used in ParCan & J - Head ) ( 1k pullup ) <nl> + * <nl> + * 1047 : Pt1000 with 4k7 pullup <nl> + * 1010 : Pt1000 with 1k pullup ( non standard ) <nl> + * 147 : Pt100 with 4k7 pullup <nl> + * 110 : Pt100 with 1k pullup ( non standard ) <nl> + * <nl> + * Use these for Testing or Development purposes . NEVER for production machine . <nl> + * 998 : Dummy Table that ALWAYS reads 25 ° C or the temperature defined below . <nl> + * 999 : Dummy Table that ALWAYS reads 100 ° C or the temperature defined below . <nl> + * <nl> + * : { ' 0 ' : " Not used " , ' 1 ' : " 100k / 4 . 7k - EPCOS " , ' 2 ' : " 200k / 4 . 7k - ATC Semitec 204GT - 2 " , ' 3 ' : " Mendel - parts / 4 . 7k " , ' 4 ' : " 10k ! ! do not use for a hotend . Bad resolution at high temp . ! ! " , ' 5 ' : " 100K / 4 . 7k - ATC Semitec 104GT - 2 ( Used in ParCan & J - Head ) " , ' 6 ' : " 100k / 4 . 7k EPCOS - Not as accurate as Table 1 " , ' 7 ' : " 100k / 4 . 7k Honeywell 135 - 104LAG - J01 " , ' 8 ' : " 100k / 4 . 7k 0603 SMD Vishay NTCS0603E3104FXT " , ' 9 ' : " 100k / 4 . 7k GE Sensing AL03006 - 58 . 2K - 97 - G1 " , ' 10 ' : " 100k / 4 . 7k RS 198 - 961 " , ' 11 ' : " 100k / 4 . 7k beta 3950 1 % " , ' 12 ' : " 100k / 4 . 7k 0603 SMD Vishay NTCS0603E3104FXT ( calibrated for Makibox hot bed ) " , ' 13 ' : " 100k Hisens 3950 1 % up to 300 ° C for hotend ' Simple ONE ' & hotend ' All In ONE ' " , ' 20 ' : " PT100 ( Ultimainboard V2 . x ) " , ' 51 ' : " 100k / 1k - EPCOS " , ' 52 ' : " 200k / 1k - ATC Semitec 204GT - 2 " , ' 55 ' : " 100k / 1k - ATC Semitec 104GT - 2 ( Used in ParCan & J - Head ) " , ' 60 ' : " 100k Maker ' s Tool Works Kapton Bed Thermistor beta = 3950 " , ' 66 ' : " Dyze Design 4 . 7M High Temperature thermistor " , ' 70 ' : " the 100K thermistor found in the bq Hephestos 2 " , ' 71 ' : " 100k / 4 . 7k Honeywell 135 - 104LAF - J01 " , ' 147 ' : " Pt100 / 4 . 7k " , ' 1047 ' : " Pt1000 / 4 . 7k " , ' 110 ' : " Pt100 / 1k ( non - standard ) " , ' 1010 ' : " Pt1000 / 1k ( non standard ) " , ' - 3 ' : " Thermocouple + MAX31855 ( only for sensor 0 ) " , ' - 2 ' : " Thermocouple + MAX6675 ( only for sensor 0 ) " , ' - 1 ' : " Thermocouple + AD595 " , ' 998 ' : " Dummy 1 " , ' 999 ' : " Dummy 2 " } <nl> + * / <nl> + # define TEMP_SENSOR_0 5 <nl> + # define TEMP_SENSOR_1 0 <nl> + # define TEMP_SENSOR_2 0 <nl> + # define TEMP_SENSOR_3 0 <nl> + # define TEMP_SENSOR_4 0 <nl> + # define TEMP_SENSOR_BED 5 <nl> + <nl> + / / Dummy thermistor constant temperature readings , for use with 998 and 999 <nl> + # define DUMMY_THERMISTOR_998_VALUE 25 <nl> + # define DUMMY_THERMISTOR_999_VALUE 100 <nl> + <nl> + / / Use temp sensor 1 as a redundant sensor with sensor 0 . If the readings <nl> + / / from the two sensors differ too much the print will be aborted . <nl> + / / # define TEMP_SENSOR_1_AS_REDUNDANT <nl> + # define MAX_REDUNDANT_TEMP_SENSOR_DIFF 10 <nl> + <nl> + / / Extruder temperature must be close to target for this long before M109 returns success <nl> + # define TEMP_RESIDENCY_TIME 10 / / ( seconds ) <nl> + # define TEMP_HYSTERESIS 3 / / ( degC ) range of + / - temperatures considered " close " to the target one <nl> + # define TEMP_WINDOW 1 / / ( degC ) Window around target to start the residency timer x degC early . <nl> + <nl> + / / Bed temperature must be close to target for this long before M190 returns success <nl> + # define TEMP_BED_RESIDENCY_TIME 10 / / ( seconds ) <nl> + # define TEMP_BED_HYSTERESIS 3 / / ( degC ) range of + / - temperatures considered " close " to the target one <nl> + # define TEMP_BED_WINDOW 1 / / ( degC ) Window around target to start the residency timer x degC early . <nl> + <nl> + / / The minimal temperature defines the temperature below which the heater will not be enabled It is used <nl> + / / to check that the wiring to the thermistor is not broken . <nl> + / / Otherwise this would lead to the heater being powered on all the time . <nl> + # define HEATER_0_MINTEMP 5 <nl> + # define HEATER_1_MINTEMP 5 <nl> + # define HEATER_2_MINTEMP 5 <nl> + # define HEATER_3_MINTEMP 5 <nl> + # define HEATER_4_MINTEMP 5 <nl> + # define BED_MINTEMP 5 <nl> + <nl> + / / When temperature exceeds max temp , your heater will be switched off . <nl> + / / This feature exists to protect your hotend from overheating accidentally , but * NOT * from thermistor short / failure ! <nl> + / / You should use MINTEMP for thermistor short / failure protection . <nl> + # define HEATER_0_MAXTEMP 275 <nl> + # define HEATER_1_MAXTEMP 275 <nl> + # define HEATER_2_MAXTEMP 275 <nl> + # define HEATER_3_MAXTEMP 275 <nl> + # define HEATER_4_MAXTEMP 275 <nl> + # define BED_MAXTEMP 150 <nl> + <nl> + / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> + / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = PID Settings = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> + / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> + / / PID Tuning Guide here : http : / / reprap . org / wiki / PID_Tuning <nl> + <nl> + / / Comment the following line to disable PID and enable bang - bang . <nl> + # define PIDTEMP <nl> + # define BANG_MAX 255 / / Limits current to nozzle while in bang - bang mode ; 255 = full current <nl> + # define PID_MAX BANG_MAX / / Limits current to nozzle while PID is active ( see PID_FUNCTIONAL_RANGE below ) ; 255 = full current <nl> + # define PID_K1 0 . 95 / / Smoothing factor within any PID loop <nl> + # if ENABLED ( PIDTEMP ) <nl> + / / # define PID_AUTOTUNE_MENU / / Add PID Autotune to the LCD " Temperature " menu to run M303 and apply the result . <nl> + / / # define PID_DEBUG / / Sends debug data to the serial port . <nl> + / / # define PID_OPENLOOP 1 / / Puts PID in open loop . M104 / M140 sets the output power from 0 to PID_MAX <nl> + / / # define SLOW_PWM_HEATERS / / PWM with very low frequency ( roughly 0 . 125Hz = 8s ) and minimum state time of approximately 1s useful for heaters driven by a relay <nl> + / / # define PID_PARAMS_PER_HOTEND / / Uses separate PID parameters for each extruder ( useful for mismatched extruders ) <nl> + / / Set / get with gcode : M301 E [ extruder number , 0 - 2 ] <nl> + # define PID_FUNCTIONAL_RANGE 10 / / If the temperature difference between the target temperature and the actual temperature <nl> + / / is more than PID_FUNCTIONAL_RANGE then the PID will be shut off and the heater will be set to min / max . <nl> + <nl> + / / If you are using a pre - configured hotend then you can use one of the value sets by uncommenting it <nl> + <nl> + / / Ultimaker <nl> + # define DEFAULT_Kp 18 . 21 <nl> + # define DEFAULT_Ki 1 . 42 <nl> + # define DEFAULT_Kd 58 . 34 <nl> + <nl> + / / MakerGear <nl> + / / # define DEFAULT_Kp 7 . 0 <nl> + / / # define DEFAULT_Ki 0 . 1 <nl> + / / # define DEFAULT_Kd 12 <nl> + <nl> + / / Mendel Parts V9 on 12V <nl> + / / # define DEFAULT_Kp 63 . 0 <nl> + / / # define DEFAULT_Ki 2 . 25 <nl> + / / # define DEFAULT_Kd 440 <nl> + <nl> + # endif / / PIDTEMP <nl> + <nl> + / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> + / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = PID > Bed Temperature Control = = = = = = = = = = = = = = = <nl> + / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> + / / Select PID or bang - bang with PIDTEMPBED . If bang - bang , BED_LIMIT_SWITCHING will enable hysteresis <nl> + / / <nl> + / / Uncomment this to enable PID on the bed . It uses the same frequency PWM as the extruder . <nl> + / / If your PID_dT is the default , and correct for your hardware / configuration , that means 7 . 689Hz , <nl> + / / which is fine for driving a square wave into a resistive load and does not significantly impact you FET heating . <nl> + / / This also works fine on a Fotek SSR - 10DA Solid State Relay into a 250W heater . <nl> + / / If your configuration is significantly different than this and you don ' t understand the issues involved , you probably <nl> + / / shouldn ' t use bed PID until someone else verifies your hardware works . <nl> + / / If this is enabled , find your own PID constants below . <nl> + / / # define PIDTEMPBED <nl> + <nl> + / / # define BED_LIMIT_SWITCHING <nl> + <nl> + / / This sets the max power delivered to the bed , and replaces the HEATER_BED_DUTY_CYCLE_DIVIDER option . <nl> + / / all forms of bed control obey this ( PID , bang - bang , bang - bang with hysteresis ) <nl> + / / setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did , <nl> + / / so you shouldn ' t use it unless you are OK with PWM on your bed . ( see the comment on enabling PIDTEMPBED ) <nl> + # define MAX_BED_POWER 255 / / limits duty cycle to bed ; 255 = full current <nl> + <nl> + # if ENABLED ( PIDTEMPBED ) <nl> + <nl> + / / # define PID_BED_DEBUG / / Sends debug data to the serial port . <nl> + <nl> + / / 120V 250W silicone heater into 4mm borosilicate ( MendelMax 1 . 5 + ) <nl> + / / from FOPDT model - kp = . 39 Tp = 405 Tdead = 66 , Tc set to 79 . 2 , aggressive factor of . 15 ( vs . 1 , 1 , 10 ) <nl> + # define DEFAULT_bedKp 554 . 16 <nl> + # define DEFAULT_bedKi 64 . 07 <nl> + # define DEFAULT_bedKd 1198 . 25 <nl> + <nl> + / / 120V 250W silicone heater into 4mm borosilicate ( MendelMax 1 . 5 + ) <nl> + / / from pidautotune <nl> + / / # define DEFAULT_bedKp 97 . 1 <nl> + / / # define DEFAULT_bedKi 1 . 41 <nl> + / / # define DEFAULT_bedKd 1675 . 16 <nl> + <nl> + / / FIND YOUR OWN : " M303 E - 1 C8 S90 " to run autotune on the bed at 90 degreesC for 8 cycles . <nl> + # endif / / PIDTEMPBED <nl> + <nl> + / / @ section extruder <nl> + <nl> + / / This option prevents extrusion if the temperature is below EXTRUDE_MINTEMP . <nl> + / / It also enables the M302 command to set the minimum extrusion temperature <nl> + / / or to allow moving the extruder regardless of the hotend temperature . <nl> + / / * * * IT IS HIGHLY RECOMMENDED TO LEAVE THIS OPTION ENABLED ! * * * <nl> + # define PREVENT_COLD_EXTRUSION <nl> + # define EXTRUDE_MINTEMP 170 <nl> + <nl> + / / This option prevents a single extrusion longer than EXTRUDE_MAXLENGTH . <nl> + / / Note that for Bowden Extruders a too - small value here may prevent loading . <nl> + # define PREVENT_LENGTHY_EXTRUDE <nl> + # define EXTRUDE_MAXLENGTH 200 <nl> + <nl> + / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> + / / = = = = = = = = = = = = = = = = = = = = = = = = Thermal Runaway Protection = = = = = = = = = = = = = = = = = = = = = = = <nl> + / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> + <nl> + / * * <nl> + * Thermal Protection provides additional protection to your printer from damage <nl> + * and fire . Marlin always includes safe min and max temperature ranges which <nl> + * protect against a broken or disconnected thermistor wire . <nl> + * <nl> + * The issue : If a thermistor falls out , it will report the much lower <nl> + * temperature of the air in the room , and the the firmware will keep <nl> + * the heater on . <nl> + * <nl> + * If you get " Thermal Runaway " or " Heating failed " errors the <nl> + * details can be tuned in Configuration_adv . h <nl> + * / <nl> + <nl> + # define THERMAL_PROTECTION_HOTENDS / / Enable thermal protection for all extruders <nl> + # define THERMAL_PROTECTION_BED / / Enable thermal protection for the heated bed <nl> + <nl> + / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> + / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = Mechanical Settings = = = = = = = = = = = = = = = = = = = = = = = = = <nl> + / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> + <nl> + / / @ section machine <nl> + <nl> + / / Uncomment one of these options to enable CoreXY , CoreXZ , or CoreYZ kinematics <nl> + / / either in the usual order or reversed <nl> + / / # define COREXY <nl> + / / # define COREXZ <nl> + / / # define COREYZ <nl> + / / # define COREYX <nl> + / / # define COREZX <nl> + / / # define COREZY <nl> + <nl> + / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> + / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = Endstop Settings = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> + / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> + <nl> + / / @ section homing <nl> + <nl> + / / Specify here all the endstop connectors that are connected to any endstop or probe . <nl> + / / Almost all printers will be using one per axis . Probes will use one or more of the <nl> + / / extra connectors . Leave undefined any used for non - endstop and non - probe purposes . <nl> + # define USE_XMIN_PLUG <nl> + # define USE_YMIN_PLUG <nl> + # define USE_ZMIN_PLUG <nl> + / / # define USE_XMAX_PLUG <nl> + / / # define USE_YMAX_PLUG <nl> + / / # define USE_ZMAX_PLUG <nl> + <nl> + / / coarse Endstop Settings <nl> + # define ENDSTOPPULLUPS / / Comment this out ( using / / at the start of the line ) to disable the endstop pullup resistors <nl> + <nl> + # if DISABLED ( ENDSTOPPULLUPS ) <nl> + / / fine endstop settings : Individual pullups . will be ignored if ENDSTOPPULLUPS is defined <nl> + / / # define ENDSTOPPULLUP_XMAX <nl> + / / # define ENDSTOPPULLUP_YMAX <nl> + / / # define ENDSTOPPULLUP_ZMAX <nl> + / / # define ENDSTOPPULLUP_XMIN <nl> + / / # define ENDSTOPPULLUP_YMIN <nl> + / / # define ENDSTOPPULLUP_ZMIN <nl> + / / # define ENDSTOPPULLUP_ZMIN_PROBE <nl> + # endif <nl> + <nl> + / / Mechanical endstop with COM to ground and NC to Signal uses " false " here ( most common setup ) . <nl> + # define X_MIN_ENDSTOP_INVERTING true / / set to true to invert the logic of the endstop . <nl> + # define Y_MIN_ENDSTOP_INVERTING true / / set to true to invert the logic of the endstop . <nl> + # define Z_MIN_ENDSTOP_INVERTING true / / set to true to invert the logic of the endstop . <nl> + # define X_MAX_ENDSTOP_INVERTING true / / set to true to invert the logic of the endstop . <nl> + # define Y_MAX_ENDSTOP_INVERTING true / / set to true to invert the logic of the endstop . <nl> + # define Z_MAX_ENDSTOP_INVERTING true / / set to true to invert the logic of the endstop . <nl> + # define Z_MIN_PROBE_ENDSTOP_INVERTING true / / set to true to invert the logic of the probe . <nl> + <nl> + / / Enable this feature if all enabled endstop pins are interrupt - capable . <nl> + / / This will remove the need to poll the interrupt pins , saving many CPU cycles . <nl> + / / # define ENDSTOP_INTERRUPTS_FEATURE <nl> + <nl> + / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> + / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = Movement Settings = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> + / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> + / / @ section motion <nl> + <nl> + / * * <nl> + * Default Settings <nl> + * <nl> + * These settings can be reset by M502 <nl> + * <nl> + * Note that if EEPROM is enabled , saved values will override these . <nl> + * / <nl> + <nl> + / * * <nl> + * With this option each E stepper can have its own factors for the <nl> + * following movement settings . If fewer factors are given than the <nl> + * total number of extruders , the last value applies to the rest . <nl> + * / <nl> + / / # define DISTINCT_E_FACTORS <nl> + <nl> + / * * <nl> + * Default Axis Steps Per Unit ( steps / mm ) <nl> + * Override with M92 <nl> + * X , Y , Z , E0 [ , E1 [ , E2 [ , E3 [ , E4 ] ] ] ] <nl> + * / <nl> + # define DEFAULT_AXIS_STEPS_PER_UNIT { 200 , 200 , 800 , 280 } <nl> + <nl> + / * * <nl> + * Default Max Feed Rate ( mm / s ) <nl> + * Override with M203 <nl> + * X , Y , Z , E0 [ , E1 [ , E2 [ , E3 [ , E4 ] ] ] ] <nl> + * / <nl> + # define DEFAULT_MAX_FEEDRATE { 500 , 500 , 5 , 25 } <nl> + <nl> + / * * <nl> + * Default Max Acceleration ( change / s ) change = mm / s <nl> + * ( Maximum start speed for accelerated moves ) <nl> + * Override with M201 <nl> + * X , Y , Z , E0 [ , E1 [ , E2 [ , E3 [ , E4 ] ] ] ] <nl> + * / <nl> + # define DEFAULT_MAX_ACCELERATION { 9000 , 9000 , 100 , 10000 } <nl> + <nl> + / * * <nl> + * Default Acceleration ( change / s ) change = mm / s <nl> + * Override with M204 <nl> + * <nl> + * M204 P Acceleration <nl> + * M204 R Retract Acceleration <nl> + * M204 T Travel Acceleration <nl> + * / <nl> + # define DEFAULT_ACCELERATION 3000 / / X , Y , Z and E acceleration for printing moves <nl> + # define DEFAULT_RETRACT_ACCELERATION 3000 / / E acceleration for retracts <nl> + # define DEFAULT_TRAVEL_ACCELERATION 3000 / / X , Y , Z acceleration for travel ( non printing ) moves <nl> + <nl> + / * * <nl> + * Default Jerk ( mm / s ) <nl> + * Override with M205 X Y Z E <nl> + * <nl> + * " Jerk " specifies the minimum speed change that requires acceleration . <nl> + * When changing speed and direction , if the difference is less than the <nl> + * value set here , it may happen instantaneously . <nl> + * / <nl> + # define DEFAULT_XJERK 10 . 0 <nl> + # define DEFAULT_YJERK 10 . 0 <nl> + # define DEFAULT_ZJERK 0 . 3 <nl> + # define DEFAULT_EJERK 5 . 0 <nl> + <nl> + / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> + / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = Z Probe Options = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> + / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> + / / @ section probes <nl> + <nl> + / / <nl> + / / See http : / / marlinfw . org / docs / configuration / probes . html <nl> + / / <nl> + <nl> + / * * <nl> + * Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN <nl> + * <nl> + * Enable this option for a probe connected to the Z Min endstop pin . <nl> + * / <nl> + # define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN <nl> + <nl> + / * * <nl> + * Z_MIN_PROBE_ENDSTOP <nl> + * <nl> + * Enable this option for a probe connected to any pin except Z - Min . <nl> + * ( By default Marlin assumes the Z - Max endstop pin . ) <nl> + * To use a custom Z Probe pin , set Z_MIN_PROBE_PIN below . <nl> + * <nl> + * - The simplest option is to use a free endstop connector . <nl> + * - Use 5V for powered ( usually inductive ) sensors . <nl> + * <nl> + * - RAMPS 1 . 3 / 1 . 4 boards may use the 5V , GND , and Aux4 - > D32 pin : <nl> + * - For simple switches connect . . . <nl> + * - normally - closed switches to GND and D32 . <nl> + * - normally - open switches to 5V and D32 . <nl> + * <nl> + * WARNING : Setting the wrong pin may have unexpected and potentially <nl> + * disastrous consequences . Use with caution and do your homework . <nl> + * <nl> + * / <nl> + / / # define Z_MIN_PROBE_ENDSTOP <nl> + <nl> + / * * <nl> + * Probe Type <nl> + * <nl> + * Allen Key Probes , Servo Probes , Z - Sled Probes , FIX_MOUNTED_PROBE , etc . <nl> + * Activate one of these to use Auto Bed Leveling below . <nl> + * / <nl> + <nl> + / * * <nl> + * The " Manual Probe " provides a means to do " Auto " Bed Leveling without a probe . <nl> + * Use G29 repeatedly , adjusting the Z height at each point with movement commands <nl> + * or ( with LCD_BED_LEVELING ) the LCD controller . <nl> + * / <nl> + / / # define PROBE_MANUALLY <nl> + <nl> + / * * <nl> + * A Fix - Mounted Probe either doesn ' t deploy or needs manual deployment . <nl> + * ( e . g . , an inductive probe or a nozzle - based probe - switch . ) <nl> + * / <nl> + # define FIX_MOUNTED_PROBE <nl> + <nl> + / * * <nl> + * Z Servo Probe , such as an endstop switch on a rotating arm . <nl> + * / <nl> + / / # define Z_ENDSTOP_SERVO_NR 0 / / Defaults to SERVO 0 connector . <nl> + / / # define Z_SERVO_ANGLES { 70 , 0 } / / Z Servo Deploy and Stow angles <nl> + <nl> + / * * <nl> + * The BLTouch probe uses a Hall effect sensor and emulates a servo . <nl> + * / <nl> + / / # define BLTOUCH <nl> + # if ENABLED ( BLTOUCH ) <nl> + / / # define BLTOUCH_DELAY 375 / / ( ms ) Enable and increase if needed <nl> + # endif <nl> + <nl> + / * * <nl> + * Enable one or more of the following if probing seems unreliable . <nl> + * Heaters and / or fans can be disabled during probing to minimize electrical <nl> + * noise . A delay can also be added to allow noise and vibration to settle . <nl> + * These options are most useful for the BLTouch probe , but may also improve <nl> + * readings with inductive probes and piezo sensors . <nl> + * / <nl> + / / # define PROBING_HEATERS_OFF / / Turn heaters off when probing <nl> + / / # define PROBING_FANS_OFF / / Turn fans off when probing <nl> + / / # define DELAY_BEFORE_PROBING 200 / / ( ms ) To prevent vibrations from triggering piezo sensors <nl> + <nl> + / / A probe that is deployed and stowed with a solenoid pin ( SOL1_PIN ) <nl> + / / # define SOLENOID_PROBE <nl> + <nl> + / / A sled - mounted probe like those designed by Charles Bell . <nl> + / / # define Z_PROBE_SLED <nl> + / / # define SLED_DOCKING_OFFSET 5 / / The extra distance the X axis must travel to pickup the sled . 0 should be fine but you can push it further if you ' d like . <nl> + <nl> + / / <nl> + / / For Z_PROBE_ALLEN_KEY see the Delta example configurations . <nl> + / / <nl> + <nl> + / * * <nl> + * Z Probe to nozzle ( X , Y ) offset , relative to ( 0 , 0 ) . <nl> + * X and Y offsets must be integers . <nl> + * <nl> + * In the following example the X and Y offsets are both positive : <nl> + * # define X_PROBE_OFFSET_FROM_EXTRUDER 10 <nl> + * # define Y_PROBE_OFFSET_FROM_EXTRUDER 10 <nl> + * <nl> + * + - - BACK mmm + <nl> + * | | <nl> + * L | ( + ) P | R < - - probe ( 20 , 20 ) <nl> + * E | | I <nl> + * F | ( - ) N ( + ) | G < - - nozzle ( 10 , 10 ) <nl> + * T | | H <nl> + * | ( - ) | T <nl> + * | | <nl> + * O - - FRONT - - + <nl> + * ( 0 , 0 ) <nl> + * / <nl> + # define X_PROBE_OFFSET_FROM_EXTRUDER 32 / / X offset : - left + right [ of the nozzle ] <nl> + # define Y_PROBE_OFFSET_FROM_EXTRUDER 5 / / Y offset : - front + behind [ the nozzle ] <nl> + # define Z_PROBE_OFFSET_FROM_EXTRUDER - 1 . 3 / / Z offset : - below + above [ the nozzle ] <nl> + <nl> + / / X and Y axis travel speed ( mm / m ) between probes <nl> + # define XY_PROBE_SPEED 8000 <nl> + <nl> + / / Speed for the first approach when double - probing ( MULTIPLE_PROBING = = 2 ) <nl> + # define Z_PROBE_SPEED_FAST HOMING_FEEDRATE_Z <nl> + <nl> + / / Speed for the " accurate " probe of each point <nl> + # define Z_PROBE_SPEED_SLOW ( Z_PROBE_SPEED_FAST / 2 ) <nl> + <nl> + / / The number of probes to perform at each point . <nl> + / / Set to 2 for a fast / slow probe , using the second probe result . <nl> + / / Set to 3 or more for slow probes , averaging the results . <nl> + # define MULTIPLE_PROBING 2 <nl> + <nl> + / * * <nl> + * Z probes require clearance when deploying , stowing , and moving between <nl> + * probe points to avoid hitting the bed and other hardware . <nl> + * Servo - mounted probes require extra space for the arm to rotate . <nl> + * Inductive probes need space to keep from triggering early . <nl> + * <nl> + * Use these settings to specify the distance ( mm ) to raise the probe ( or <nl> + * lower the bed ) . The values set here apply over and above any ( negative ) <nl> + * probe Z Offset set with Z_PROBE_OFFSET_FROM_EXTRUDER , M851 , or the LCD . <nl> + * Only integer values > = 1 are valid here . <nl> + * <nl> + * Example : ` M851 Z - 5 ` with a CLEARANCE of 4 = > 9mm from bed to nozzle . <nl> + * But : ` M851 Z + 1 ` with a CLEARANCE of 2 = > 2mm from bed to nozzle . <nl> + * / <nl> + # define Z_CLEARANCE_DEPLOY_PROBE 5 / / Z Clearance for Deploy / Stow <nl> + # define Z_CLEARANCE_BETWEEN_PROBES 5 / / Z Clearance between probe points <nl> + <nl> + / / For M851 give a range for adjusting the Z probe offset <nl> + # define Z_PROBE_OFFSET_RANGE_MIN - 20 <nl> + # define Z_PROBE_OFFSET_RANGE_MAX 20 <nl> + <nl> + / / Enable the M48 repeatability test to test probe accuracy <nl> + / / # define Z_MIN_PROBE_REPEATABILITY_TEST <nl> + <nl> + / / For Inverting Stepper Enable Pins ( Active Low ) use 0 , Non Inverting ( Active High ) use 1 <nl> + / / : { 0 : ' Low ' , 1 : ' High ' } <nl> + # define X_ENABLE_ON 1 <nl> + # define Y_ENABLE_ON 1 <nl> + # define Z_ENABLE_ON 1 <nl> + # define E_ENABLE_ON 1 / / For all extruders <nl> + <nl> + / / Disables axis stepper immediately when it ' s not being used . <nl> + / / WARNING : When motors turn off there is a chance of losing position accuracy ! <nl> + # define DISABLE_X false <nl> + # define DISABLE_Y false <nl> + # define DISABLE_Z false <nl> + / / Warn on display about possibly reduced accuracy <nl> + / / # define DISABLE_REDUCED_ACCURACY_WARNING <nl> + <nl> + / / @ section extruder <nl> + <nl> + # define DISABLE_E false / / For all extruders <nl> + # define DISABLE_INACTIVE_EXTRUDER true / / Keep only the active extruder enabled . <nl> + <nl> + / / @ section machine <nl> + <nl> + / / Invert the stepper direction . Change ( or reverse the motor connector ) if an axis goes the wrong way . <nl> + # define INVERT_X_DIR true <nl> + # define INVERT_Y_DIR true <nl> + # define INVERT_Z_DIR true <nl> + <nl> + / / Enable this option for Toshiba stepper drivers <nl> + / / # define CONFIG_STEPPERS_TOSHIBA <nl> + <nl> + / / @ section extruder <nl> + <nl> + / / For direct drive extruder v9 set to true , for geared extruder set to false . <nl> + # define INVERT_E0_DIR false <nl> + # define INVERT_E1_DIR false <nl> + # define INVERT_E2_DIR false <nl> + # define INVERT_E3_DIR false <nl> + # define INVERT_E4_DIR false <nl> + <nl> + / / @ section homing <nl> + <nl> + / / # define NO_MOTION_BEFORE_HOMING / / Inhibit movement until all axes have been homed <nl> + <nl> + / / # define Z_HOMING_HEIGHT 4 / / ( in mm ) Minimal z height before homing ( G28 ) for Z clearance above the bed , clamps , . . . <nl> + / / Be sure you have this distance over your Z_MAX_POS in case . <nl> + <nl> + / / Direction of endstops when homing ; 1 = MAX , - 1 = MIN <nl> + / / : [ - 1 , 1 ] <nl> + # define X_HOME_DIR - 1 <nl> + # define Y_HOME_DIR - 1 <nl> + # define Z_HOME_DIR - 1 <nl> + <nl> + / / @ section machine <nl> + <nl> + / / The size of the print bed <nl> + # define X_BED_SIZE 213 <nl> + # define Y_BED_SIZE 220 <nl> + <nl> + / / Travel limits ( mm ) after homing , corresponding to endstop positions . <nl> + # define X_MIN_POS 0 <nl> + # define Y_MIN_POS 0 <nl> + # define Z_MIN_POS 0 <nl> + # define X_MAX_POS X_BED_SIZE <nl> + # define Y_MAX_POS Y_BED_SIZE <nl> + # define Z_MAX_POS 200 <nl> + <nl> + / * * <nl> + * Software Endstops <nl> + * <nl> + * - Prevent moves outside the set machine bounds . <nl> + * - Individual axes can be disabled , if desired . <nl> + * - X and Y only apply to Cartesian robots . <nl> + * - Use ' M211 ' to set software endstops on / off or report current state <nl> + * / <nl> + <nl> + / / Min software endstops constrain movement within minimum coordinate bounds <nl> + # define MIN_SOFTWARE_ENDSTOPS <nl> + # if ENABLED ( MIN_SOFTWARE_ENDSTOPS ) <nl> + # define MIN_SOFTWARE_ENDSTOP_X <nl> + # define MIN_SOFTWARE_ENDSTOP_Y <nl> + # define MIN_SOFTWARE_ENDSTOP_Z <nl> + # endif <nl> + <nl> + / / Max software endstops constrain movement within maximum coordinate bounds <nl> + # define MAX_SOFTWARE_ENDSTOPS <nl> + # if ENABLED ( MAX_SOFTWARE_ENDSTOPS ) <nl> + # define MAX_SOFTWARE_ENDSTOP_X <nl> + # define MAX_SOFTWARE_ENDSTOP_Y <nl> + # define MAX_SOFTWARE_ENDSTOP_Z <nl> + # endif <nl> + <nl> + / * * <nl> + * Filament Runout Sensor <nl> + * A mechanical or opto endstop is used to check for the presence of filament . <nl> + * <nl> + * RAMPS - based boards use SERVO3_PIN . <nl> + * For other boards you may need to define FIL_RUNOUT_PIN . <nl> + * By default the firmware assumes HIGH = has filament , LOW = ran out <nl> + * / <nl> + / / # define FILAMENT_RUNOUT_SENSOR <nl> + # if ENABLED ( FILAMENT_RUNOUT_SENSOR ) <nl> + # define FIL_RUNOUT_INVERTING false / / set to true to invert the logic of the sensor . <nl> + # define ENDSTOPPULLUP_FIL_RUNOUT / / Uncomment to use internal pullup for filament runout pins if the sensor is defined . <nl> + # define FILAMENT_RUNOUT_SCRIPT " M600 " <nl> + # endif <nl> + <nl> + / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> + / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = Bed Leveling = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> + / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> + / / @ section calibrate <nl> + <nl> + / * * <nl> + * Choose one of the options below to enable G29 Bed Leveling . The parameters <nl> + * and behavior of G29 will change depending on your selection . <nl> + * <nl> + * If using a Probe for Z Homing , enable Z_SAFE_HOMING also ! <nl> + * <nl> + * - AUTO_BED_LEVELING_3POINT <nl> + * Probe 3 arbitrary points on the bed ( that aren ' t collinear ) <nl> + * You specify the XY coordinates of all 3 points . <nl> + * The result is a single tilted plane . Best for a flat bed . <nl> + * <nl> + * - AUTO_BED_LEVELING_LINEAR <nl> + * Probe several points in a grid . <nl> + * You specify the rectangle and the density of sample points . <nl> + * The result is a single tilted plane . Best for a flat bed . <nl> + * <nl> + * - AUTO_BED_LEVELING_BILINEAR <nl> + * Probe several points in a grid . <nl> + * You specify the rectangle and the density of sample points . <nl> + * The result is a mesh , best for large or uneven beds . <nl> + * <nl> + * - AUTO_BED_LEVELING_UBL ( Unified Bed Leveling ) <nl> + * A comprehensive bed leveling system combining the features and benefits <nl> + * of other systems . UBL also includes integrated Mesh Generation , Mesh <nl> + * Validation and Mesh Editing systems . <nl> + * <nl> + * - MESH_BED_LEVELING <nl> + * Probe a grid manually <nl> + * The result is a mesh , suitable for large or uneven beds . ( See BILINEAR . ) <nl> + * For machines without a probe , Mesh Bed Leveling provides a method to perform <nl> + * leveling in steps so you can manually adjust the Z height at each grid - point . <nl> + * With an LCD controller the process is guided step - by - step . <nl> + * / <nl> + / / # define AUTO_BED_LEVELING_3POINT <nl> + / / # define AUTO_BED_LEVELING_LINEAR <nl> + / / # define AUTO_BED_LEVELING_BILINEAR <nl> + / / # define AUTO_BED_LEVELING_UBL <nl> + / / # define MESH_BED_LEVELING <nl> + <nl> + / * * <nl> + * Enable detailed logging of G28 , G29 , M48 , etc . <nl> + * Turn on with the command ' M111 S32 ' . <nl> + * NOTE : Requires a lot of PROGMEM ! <nl> + * / <nl> + / / # define DEBUG_LEVELING_FEATURE <nl> + <nl> + # if ENABLED ( MESH_BED_LEVELING ) | | ENABLED ( AUTO_BED_LEVELING_BILINEAR ) | | ENABLED ( AUTO_BED_LEVELING_UBL ) <nl> + / / Gradually reduce leveling correction until a set height is reached , <nl> + / / at which point movement will be level to the machine ' s XY plane . <nl> + / / The height can be set with M420 Z < height > <nl> + # define ENABLE_LEVELING_FADE_HEIGHT <nl> + <nl> + / / For Cartesian machines , instead of dividing moves on mesh boundaries , <nl> + / / split up moves into short segments like a Delta . This follows the <nl> + / / contours of the bed more closely than edge - to - edge straight moves . <nl> + # define SEGMENT_LEVELED_MOVES <nl> + # define LEVELED_SEGMENT_LENGTH 5 . 0 / / ( mm ) Length of all segments ( except the last one ) <nl> + <nl> + / * * <nl> + * Enable the G26 Mesh Validation Pattern tool . <nl> + * / <nl> + / / # define G26_MESH_VALIDATION <nl> + # if ENABLED ( G26_MESH_VALIDATION ) <nl> + # define MESH_TEST_NOZZLE_SIZE 0 . 4 / / ( mm ) Diameter of primary nozzle . <nl> + # define MESH_TEST_LAYER_HEIGHT 0 . 2 / / ( mm ) Default layer height for the G26 Mesh Validation Tool . <nl> + # define MESH_TEST_HOTEND_TEMP 205 . 0 / / (  ° C ) Default nozzle temperature for the G26 Mesh Validation Tool . <nl> + # define MESH_TEST_BED_TEMP 60 . 0 / / (  ° C ) Default bed temperature for the G26 Mesh Validation Tool . <nl> + # endif <nl> + <nl> + # endif <nl> + <nl> + # if ENABLED ( AUTO_BED_LEVELING_LINEAR ) | | ENABLED ( AUTO_BED_LEVELING_BILINEAR ) <nl> + <nl> + / / Set the number of grid points per dimension . <nl> + # define GRID_MAX_POINTS_X 3 <nl> + # define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X <nl> + <nl> + / / Set the boundaries for probing ( where the probe can reach ) . <nl> + # define LEFT_PROBE_BED_POSITION 32 <nl> + # define RIGHT_PROBE_BED_POSITION 210 <nl> + # define FRONT_PROBE_BED_POSITION 10 <nl> + # define BACK_PROBE_BED_POSITION 210 <nl> + <nl> + / / The Z probe minimum outer margin ( to validate G29 parameters ) . <nl> + # define MIN_PROBE_EDGE 10 <nl> + <nl> + / / Probe along the Y axis , advancing X after each column <nl> + / / # define PROBE_Y_FIRST <nl> + <nl> + # if ENABLED ( AUTO_BED_LEVELING_BILINEAR ) <nl> + <nl> + / / Beyond the probed grid , continue the implied tilt ? <nl> + / / Default is to maintain the height of the nearest edge . <nl> + / / # define EXTRAPOLATE_BEYOND_GRID <nl> + <nl> + / / <nl> + / / Experimental Subdivision of the grid by Catmull - Rom method . <nl> + / / Synthesizes intermediate points to produce a more detailed mesh . <nl> + / / <nl> + / / # define ABL_BILINEAR_SUBDIVISION <nl> + # if ENABLED ( ABL_BILINEAR_SUBDIVISION ) <nl> + / / Number of subdivisions between probe points <nl> + # define BILINEAR_SUBDIVISIONS 3 <nl> + # endif <nl> + <nl> + # endif <nl> + <nl> + # elif ENABLED ( AUTO_BED_LEVELING_3POINT ) <nl> + <nl> + / / 3 arbitrary points to probe . <nl> + / / A simple cross - product is used to estimate the plane of the bed . <nl> + # define ABL_PROBE_PT_1_X 15 <nl> + # define ABL_PROBE_PT_1_Y 180 <nl> + # define ABL_PROBE_PT_2_X 15 <nl> + # define ABL_PROBE_PT_2_Y 20 <nl> + # define ABL_PROBE_PT_3_X 170 <nl> + # define ABL_PROBE_PT_3_Y 20 <nl> + <nl> + # elif ENABLED ( AUTO_BED_LEVELING_UBL ) <nl> + <nl> + / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> + / / = = = = = = = = = = = = = = = = = = = = = = = = = Unified Bed Leveling = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> + / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> + <nl> + / / # define MESH_EDIT_GFX_OVERLAY / / Display a graphics overlay while editing the mesh <nl> + <nl> + # define MESH_INSET 1 / / Mesh inset margin on print area <nl> + # define GRID_MAX_POINTS_X 10 / / Don ' t use more than 15 points per axis , implementation limited . <nl> + # define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X <nl> + <nl> + # define UBL_PROBE_PT_1_X 39 / / Probing points for 3 - Point leveling of the mesh <nl> + # define UBL_PROBE_PT_1_Y 180 <nl> + # define UBL_PROBE_PT_2_X 39 <nl> + # define UBL_PROBE_PT_2_Y 20 <nl> + # define UBL_PROBE_PT_3_X 180 <nl> + # define UBL_PROBE_PT_3_Y 20 <nl> + <nl> + # define UBL_MESH_EDIT_MOVES_Z / / Sophisticated users prefer no movement of nozzle <nl> + # define UBL_SAVE_ACTIVE_ON_M500 / / Save the currently active mesh in the current slot on M500 <nl> + <nl> + # elif ENABLED ( MESH_BED_LEVELING ) <nl> + <nl> + / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> + / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = Mesh = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> + / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> + <nl> + # define MESH_INSET 10 / / Mesh inset margin on print area <nl> + # define GRID_MAX_POINTS_X 3 / / Don ' t use more than 7 points per axis , implementation limited . <nl> + # define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X <nl> + <nl> + / / # define MESH_G28_REST_ORIGIN / / After homing all axes ( ' G28 ' or ' G28 XYZ ' ) rest Z at Z_MIN_POS <nl> + <nl> + # endif / / BED_LEVELING <nl> + <nl> + / * * <nl> + * Use the LCD controller for bed leveling <nl> + * Requires MESH_BED_LEVELING or PROBE_MANUALLY <nl> + * / <nl> + / / # define LCD_BED_LEVELING <nl> + <nl> + # if ENABLED ( LCD_BED_LEVELING ) <nl> + # define MBL_Z_STEP 0 . 025 / / Step size while manually probing Z axis . <nl> + # define LCD_PROBE_Z_RANGE 4 / / Z Range centered on Z_MIN_POS for LCD Z adjustment <nl> + # endif <nl> + <nl> + / / Add a menu item to move between bed corners for manual bed adjustment <nl> + / / # define LEVEL_BED_CORNERS <nl> + <nl> + / * * <nl> + * Commands to execute at the end of G29 probing . <nl> + * Useful to retract or move the Z probe out of the way . <nl> + * / <nl> + / / # define Z_PROBE_END_SCRIPT " G1 Z10 F12000 \ nG1 X15 Y330 \ nG1 Z0 . 5 \ nG1 Z10 " <nl> + <nl> + <nl> + / / @ section homing <nl> + <nl> + / / The center of the bed is at ( X = 0 , Y = 0 ) <nl> + / / # define BED_CENTER_AT_0_0 <nl> + <nl> + / / Manually set the home position . Leave these undefined for automatic settings . <nl> + / / For DELTA this is the top - center of the Cartesian print volume . <nl> + / / # define MANUAL_X_HOME_POS 0 <nl> + / / # define MANUAL_Y_HOME_POS 0 <nl> + / / # define MANUAL_Z_HOME_POS 0 <nl> + <nl> + / / Use " Z Safe Homing " to avoid homing with a Z probe outside the bed area . <nl> + / / <nl> + / / With this feature enabled : <nl> + / / <nl> + / / - Allow Z homing only after X and Y homing AND stepper drivers still enabled . <nl> + / / - If stepper drivers time out , it will need X and Y homing again before Z homing . <nl> + / / - Move the Z probe ( or nozzle ) to a defined XY point before Z Homing when homing all axes ( G28 ) . <nl> + / / - Prevent Z homing when the Z probe is outside bed area . <nl> + / / <nl> + / / # define Z_SAFE_HOMING <nl> + <nl> + # if ENABLED ( Z_SAFE_HOMING ) <nl> + # define Z_SAFE_HOMING_X_POINT ( ( X_BED_SIZE ) / 2 ) / / X point for Z homing when homing all axes ( G28 ) . <nl> + # define Z_SAFE_HOMING_Y_POINT ( ( Y_BED_SIZE ) / 2 ) / / Y point for Z homing when homing all axes ( G28 ) . <nl> + # endif <nl> + <nl> + / / Homing speeds ( mm / m ) <nl> + # define HOMING_FEEDRATE_XY ( 50 * 60 ) <nl> + # define HOMING_FEEDRATE_Z ( 4 * 60 ) <nl> + <nl> + / / @ section calibrate <nl> + <nl> + / * * <nl> + * Bed Skew Compensation <nl> + * <nl> + * This feature corrects for misalignment in the XYZ axes . <nl> + * <nl> + * Take the following steps to get the bed skew in the XY plane : <nl> + * 1 . Print a test square ( e . g . , https : / / www . thingiverse . com / thing : 2563185 ) <nl> + * 2 . For XY_DIAG_AC measure the diagonal A to C <nl> + * 3 . For XY_DIAG_BD measure the diagonal B to D <nl> + * 4 . For XY_SIDE_AD measure the edge A to D <nl> + * <nl> + * Marlin automatically computes skew factors from these measurements . <nl> + * Skew factors may also be computed and set manually : <nl> + * <nl> + * - Compute AB : SQRT ( 2 * AC * AC + 2 * BD * BD - 4 * AD * AD ) / 2 <nl> + * - XY_SKEW_FACTOR : TAN ( PI / 2 - ACOS ( ( AC * AC - AB * AB - AD * AD ) / ( 2 * AB * AD ) ) ) <nl> + * <nl> + * If desired , follow the same procedure for XZ and YZ . <nl> + * Use these diagrams for reference : <nl> + * <nl> + * Y Z Z <nl> + * ^ Bmmmmmm - C ^ Bmmmmmm - C ^ Bmmmmmm - C <nl> + * | / / | / / | / / <nl> + * | / / | / / | / / <nl> + * | Ammmmmm - D | Ammmmmm - D | Ammmmmm - D <nl> + * + mmmmmmmmmmmm - - > X + mmmmmmmmmmmm - - > X + mmmmmmmmmmmm - - > Y <nl> + * XY_SKEW_FACTOR XZ_SKEW_FACTOR YZ_SKEW_FACTOR <nl> + * / <nl> + / / # define SKEW_CORRECTION <nl> + <nl> + # if ENABLED ( SKEW_CORRECTION ) <nl> + / / Input all length measurements here : <nl> + # define XY_DIAG_AC 282 . 8427124746 <nl> + # define XY_DIAG_BD 282 . 8427124746 <nl> + # define XY_SIDE_AD 200 <nl> + <nl> + / / Or , set the default skew factors directly here <nl> + / / to override the above measurements : <nl> + # define XY_SKEW_FACTOR 0 . 0 <nl> + <nl> + / / # define SKEW_CORRECTION_FOR_Z <nl> + # if ENABLED ( SKEW_CORRECTION_FOR_Z ) <nl> + # define XZ_DIAG_AC 282 . 8427124746 <nl> + # define XZ_DIAG_BD 282 . 8427124746 <nl> + # define YZ_DIAG_AC 282 . 8427124746 <nl> + # define YZ_DIAG_BD 282 . 8427124746 <nl> + # define YZ_SIDE_AD 200 <nl> + # define XZ_SKEW_FACTOR 0 . 0 <nl> + # define YZ_SKEW_FACTOR 0 . 0 <nl> + # endif <nl> + <nl> + / / Enable this option for M852 to set skew at runtime <nl> + / / # define SKEW_CORRECTION_GCODE <nl> + # endif <nl> + <nl> + / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> + / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = Additional Features = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> + / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> + <nl> + / / @ section extras <nl> + <nl> + / / <nl> + / / EEPROM <nl> + / / <nl> + / / The microcontroller can store settings in the EEPROM , e . g . max velocity . . . <nl> + / / M500 - stores parameters in EEPROM <nl> + / / M501 - reads parameters from EEPROM ( if you need reset them after you changed them temporarily ) . <nl> + / / M502 - reverts to the default " factory settings " . You still need to store them in EEPROM afterwards if you want to . <nl> + / / <nl> + / / # define EEPROM_SETTINGS / / Enable for M500 and M501 commands <nl> + / / # define DISABLE_M503 / / Saves ~ 2700 bytes of PROGMEM . Disable for release ! <nl> + # define EEPROM_CHITCHAT / / Give feedback on EEPROM commands . Disable to save PROGMEM . <nl> + <nl> + / / <nl> + / / Host Keepalive <nl> + / / <nl> + / / When enabled Marlin will send a busy status message to the host <nl> + / / every couple of seconds when it can ' t accept commands . <nl> + / / <nl> + # define HOST_KEEPALIVE_FEATURE / / Disable this if your host doesn ' t like keepalive messages <nl> + # define DEFAULT_KEEPALIVE_INTERVAL 2 / / Number of seconds between " busy " messages . Set with M113 . <nl> + # define BUSY_WHILE_HEATING / / Some hosts require " busy " messages even during heating <nl> + <nl> + / / <nl> + / / M100 Free Memory Watcher <nl> + / / <nl> + / / # define M100_FREE_MEMORY_WATCHER / / Add M100 ( Free Memory Watcher ) to debug memory usage <nl> + <nl> + / / <nl> + / / G20 / G21 Inch mode support <nl> + / / <nl> + / / # define INCH_MODE_SUPPORT <nl> + <nl> + / / <nl> + / / M149 Set temperature units support <nl> + / / <nl> + / / # define TEMPERATURE_UNITS_SUPPORT <nl> + <nl> + / / @ section temperature <nl> + <nl> + / / Preheat Constants <nl> + # define PREHEAT_1_TEMP_HOTEND 180 <nl> + # define PREHEAT_1_TEMP_BED 70 <nl> + # define PREHEAT_1_FAN_SPEED 0 / / Value from 0 to 255 <nl> + <nl> + # define PREHEAT_2_TEMP_HOTEND 240 <nl> + # define PREHEAT_2_TEMP_BED 110 <nl> + # define PREHEAT_2_FAN_SPEED 0 / / Value from 0 to 255 <nl> + <nl> + / * * <nl> + * Nozzle Park <nl> + * <nl> + * Park the nozzle at the given XYZ position on idle or G27 . <nl> + * <nl> + * The " P " parameter controls the action applied to the Z axis : <nl> + * <nl> + * P0 ( Default ) If Z is below park Z raise the nozzle . <nl> + * P1 Raise the nozzle always to Z - park height . <nl> + * P2 Raise the nozzle by Z - park amount , limited to Z_MAX_POS . <nl> + * / <nl> + / / # define NOZZLE_PARK_FEATURE <nl> + <nl> + # if ENABLED ( NOZZLE_PARK_FEATURE ) <nl> + / / Specify a park position as { X , Y , Z } <nl> + # define NOZZLE_PARK_POINT { ( X_MIN_POS + 10 ) , ( Y_MAX_POS - 10 ) , 20 } <nl> + # define NOZZLE_PARK_XY_FEEDRATE 100 / / X and Y axes feedrate in mm / s ( also used for delta printers Z axis ) <nl> + # define NOZZLE_PARK_Z_FEEDRATE 5 / / Z axis feedrate in mm / s ( not used for delta printers ) <nl> + # endif <nl> + <nl> + / * * <nl> + * Clean Nozzle Feature - - EXPERIMENTAL <nl> + * <nl> + * Adds the G12 command to perform a nozzle cleaning process . <nl> + * <nl> + * Parameters : <nl> + * P Pattern <nl> + * S Strokes / Repetitions <nl> + * T Triangles ( P1 only ) <nl> + * <nl> + * Patterns : <nl> + * P0 Straight line ( default ) . This process requires a sponge type material <nl> + * at a fixed bed location . " S " specifies strokes ( i . e . back - forth motions ) <nl> + * between the start / end points . <nl> + * <nl> + * P1 Zig - zag pattern between ( X0 , Y0 ) and ( X1 , Y1 ) , " T " specifies the <nl> + * number of zig - zag triangles to do . " S " defines the number of strokes . <nl> + * Zig - zags are done in whichever is the narrower dimension . <nl> + * For example , " G12 P1 S1 T3 " will execute : <nl> + * <nl> + * - - <nl> + * | ( X0 , Y1 ) | / \ / \ / \ | ( X1 , Y1 ) <nl> + * | | / \ / \ / \ | <nl> + * A | | / \ / \ / \ | <nl> + * | | / \ / \ / \ | <nl> + * | ( X0 , Y0 ) | / \ / \ / \ | ( X1 , Y0 ) <nl> + * - - + mmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - + <nl> + * | ________ | _________ | _________ | <nl> + * T1 T2 T3 <nl> + * <nl> + * P2 Circular pattern with middle at NOZZLE_CLEAN_CIRCLE_MIDDLE . <nl> + * " R " specifies the radius . " S " specifies the stroke count . <nl> + * Before starting , the nozzle moves to NOZZLE_CLEAN_START_POINT . <nl> + * <nl> + * Caveats : The ending Z should be the same as starting Z . <nl> + * Attention : EXPERIMENTAL . G - code arguments may change . <nl> + * <nl> + * / <nl> + / / # define NOZZLE_CLEAN_FEATURE <nl> + <nl> + # if ENABLED ( NOZZLE_CLEAN_FEATURE ) <nl> + / / Default number of pattern repetitions <nl> + # define NOZZLE_CLEAN_STROKES 12 <nl> + <nl> + / / Default number of triangles <nl> + # define NOZZLE_CLEAN_TRIANGLES 3 <nl> + <nl> + / / Specify positions as { X , Y , Z } <nl> + # define NOZZLE_CLEAN_START_POINT { 30 , 30 , ( Z_MIN_POS + 1 ) } <nl> + # define NOZZLE_CLEAN_END_POINT { 100 , 60 , ( Z_MIN_POS + 1 ) } <nl> + <nl> + / / Circular pattern radius <nl> + # define NOZZLE_CLEAN_CIRCLE_RADIUS 6 . 5 <nl> + / / Circular pattern circle fragments number <nl> + # define NOZZLE_CLEAN_CIRCLE_FN 10 <nl> + / / Middle point of circle <nl> + # define NOZZLE_CLEAN_CIRCLE_MIDDLE NOZZLE_CLEAN_START_POINT <nl> + <nl> + / / Moves the nozzle to the initial position <nl> + # define NOZZLE_CLEAN_GOBACK <nl> + # endif <nl> + <nl> + / * * <nl> + * Print Job Timer <nl> + * <nl> + * Automatically start and stop the print job timer on M104 / M109 / M190 . <nl> + * <nl> + * M104 ( hotend , no wait ) - high temp = none , low temp = stop timer <nl> + * M109 ( hotend , wait ) - high temp = start timer , low temp = stop timer <nl> + * M190 ( bed , wait ) - high temp = start timer , low temp = none <nl> + * <nl> + * The timer can also be controlled with the following commands : <nl> + * <nl> + * M75 - Start the print job timer <nl> + * M76 - Pause the print job timer <nl> + * M77 - Stop the print job timer <nl> + * / <nl> + # define PRINTJOB_TIMER_AUTOSTART <nl> + <nl> + / * * <nl> + * Print Counter <nl> + * <nl> + * Track statistical data such as : <nl> + * <nl> + * - Total print jobs <nl> + * - Total successful print jobs <nl> + * - Total failed print jobs <nl> + * - Total time printing <nl> + * <nl> + * View the current statistics with M78 . <nl> + * / <nl> + / / # define PRINTCOUNTER <nl> + <nl> + / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> + / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = LCD and SD support = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> + / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> + <nl> + / / @ section lcd <nl> + <nl> + / * * <nl> + * LCD LANGUAGE <nl> + * <nl> + * Select the language to display on the LCD . These languages are available : <nl> + * <nl> + * en , an , bg , ca , cn , cz , cz_utf8 , de , el , el - gr , es , eu , fi , fr , fr_utf8 , gl , <nl> + * hr , it , kana , kana_utf8 , nl , pl , pt , pt_utf8 , pt - br , pt - br_utf8 , ru , sk_utf8 , <nl> + * tr , uk , zh_CN , zh_TW , test <nl> + * <nl> + * : { ' en ' : ' English ' , ' an ' : ' Aragonese ' , ' bg ' : ' Bulgarian ' , ' ca ' : ' Catalan ' , ' cn ' : ' Chinese ' , ' cz ' : ' Czech ' , ' cz_utf8 ' : ' Czech ( UTF8 ) ' , ' de ' : ' German ' , ' el ' : ' Greek ' , ' el - gr ' : ' Greek ( Greece ) ' , ' es ' : ' Spanish ' , ' eu ' : ' Basque - Euskera ' , ' fi ' : ' Finnish ' , ' fr ' : ' French ' , ' fr_utf8 ' : ' French ( UTF8 ) ' , ' gl ' : ' Galician ' , ' hr ' : ' Croatian ' , ' it ' : ' Italian ' , ' kana ' : ' Japanese ' , ' kana_utf8 ' : ' Japanese ( UTF8 ) ' , ' nl ' : ' Dutch ' , ' pl ' : ' Polish ' , ' pt ' : ' Portuguese ' , ' pt - br ' : ' Portuguese ( Brazilian ) ' , ' pt - br_utf8 ' : ' Portuguese ( Brazilian UTF8 ) ' , ' pt_utf8 ' : ' Portuguese ( UTF8 ) ' , ' ru ' : ' Russian ' , ' sk_utf8 ' : ' Slovak ( UTF8 ) ' , ' tr ' : ' Turkish ' , ' uk ' : ' Ukrainian ' , ' zh_CN ' : ' Chinese ( Simplified ) ' , ' zh_TW ' : ' Chinese ( Taiwan ) ' , test ' : ' TEST ' } <nl> + * / <nl> + # define LCD_LANGUAGE en <nl> + <nl> + / * * <nl> + * LCD Character Set <nl> + * <nl> + * Note : This option is NOT applicable to Graphical Displays . <nl> + * <nl> + * All character - based LCDs provide ASCII plus one of these <nl> + * language extensions : <nl> + * <nl> + * - JAPANESE . . . the most common <nl> + * - WESTERN . . . with more accented characters <nl> + * - CYRILLIC . . . for the Russian language <nl> + * <nl> + * To determine the language extension installed on your controller : <nl> + * <nl> + * - Compile and upload with LCD_LANGUAGE set to ' test ' <nl> + * - Click the controller to view the LCD menu <nl> + * - The LCD will display Japanese , Western , or Cyrillic text <nl> + * <nl> + * See http : / / marlinfw . org / docs / development / lcd_language . html <nl> + * <nl> + * : [ ' JAPANESE ' , ' WESTERN ' , ' CYRILLIC ' ] <nl> + * / <nl> + # define DISPLAY_CHARSET_HD44780 JAPANESE <nl> + <nl> + / * * <nl> + * LCD TYPE <nl> + * <nl> + * Enable ULTRA_LCD for a 16x2 , 16x4 , 20x2 , or 20x4 character - based LCD . <nl> + * Enable DOGLCD for a 128x64 ( ST7565R ) Full Graphical Display . <nl> + * ( These options will be enabled automatically for most displays . ) <nl> + * <nl> + * IMPORTANT : The U8glib library is required for Full Graphic Display ! <nl> + * https : / / github . com / olikraus / U8glib_Arduino <nl> + * / <nl> + / / # define ULTRA_LCD / / Character based <nl> + / / # define DOGLCD / / Full graphics display <nl> + <nl> + / * * <nl> + * SD CARD <nl> + * <nl> + * SD Card support is disabled by default . If your controller has an SD slot , <nl> + * you must uncomment the following option or it won ' t work . <nl> + * <nl> + * / <nl> + / / # define SDSUPPORT <nl> + <nl> + / * * <nl> + * SD CARD : SPI SPEED <nl> + * <nl> + * Enable one of the following items for a slower SPI transfer speed . <nl> + * This may be required to resolve " volume init " errors . <nl> + * / <nl> + / / # define SPI_SPEED SPI_HALF_SPEED <nl> + / / # define SPI_SPEED SPI_QUARTER_SPEED <nl> + / / # define SPI_SPEED SPI_EIGHTH_SPEED <nl> + <nl> + / * * <nl> + * SD CARD : ENABLE CRC <nl> + * <nl> + * Use CRC checks and retries on the SD communication . <nl> + * / <nl> + / / # define SD_CHECK_AND_RETRY <nl> + <nl> + / / <nl> + / / ENCODER SETTINGS <nl> + / / <nl> + / / This option overrides the default number of encoder pulses needed to <nl> + / / produce one step . Should be increased for high - resolution encoders . <nl> + / / <nl> + / / # define ENCODER_PULSES_PER_STEP 1 <nl> + <nl> + / / <nl> + / / Use this option to override the number of step signals required to <nl> + / / move between next / prev menu items . <nl> + / / <nl> + / / # define ENCODER_STEPS_PER_MENU_ITEM 5 <nl> + <nl> + / * * <nl> + * Encoder Direction Options <nl> + * <nl> + * Test your encoder ' s behavior first with both options disabled . <nl> + * <nl> + * Reversed Value Edit and Menu Nav ? Enable REVERSE_ENCODER_DIRECTION . <nl> + * Reversed Menu Navigation only ? Enable REVERSE_MENU_DIRECTION . <nl> + * Reversed Value Editing only ? Enable BOTH options . <nl> + * / <nl> + <nl> + / / <nl> + / / This option reverses the encoder direction everywhere . <nl> + / / <nl> + / / Set this option if CLOCKWISE causes values to DECREASE <nl> + / / <nl> + / / # define REVERSE_ENCODER_DIRECTION <nl> + <nl> + / / <nl> + / / This option reverses the encoder direction for navigating LCD menus . <nl> + / / <nl> + / / If CLOCKWISE normally moves DOWN this makes it go UP . <nl> + / / If CLOCKWISE normally moves UP this makes it go DOWN . <nl> + / / <nl> + / / # define REVERSE_MENU_DIRECTION <nl> + <nl> + / / <nl> + / / Individual Axis Homing <nl> + / / <nl> + / / Add individual axis homing items ( Home X , Home Y , and Home Z ) to the LCD menu . <nl> + / / <nl> + / / # define INDIVIDUAL_AXIS_HOMING_MENU <nl> + <nl> + / / <nl> + / / SPEAKER / BUZZER <nl> + / / <nl> + / / If you have a speaker that can produce tones , enable it here . <nl> + / / By default Marlin assumes you have a buzzer with a fixed frequency . <nl> + / / <nl> + / / # define SPEAKER <nl> + <nl> + / / <nl> + / / The duration and frequency for the UI feedback sound . <nl> + / / Set these to 0 to disable audio feedback in the LCD menus . <nl> + / / <nl> + / / Note : Test audio output with the G - Code : <nl> + / / M300 S < frequency Hz > P < duration ms > <nl> + / / <nl> + / / # define LCD_FEEDBACK_FREQUENCY_DURATION_MS 2 <nl> + / / # define LCD_FEEDBACK_FREQUENCY_HZ 5000 <nl> + <nl> + / / <nl> + / / CONTROLLER TYPE : Standard <nl> + / / <nl> + / / Marlin supports a wide variety of controllers . <nl> + / / Enable one of the following options to specify your controller . <nl> + / / <nl> + <nl> + / / <nl> + / / Original RADDS LCD Display + Encoder + SDCardReader <nl> + / / http : / / doku . radds . org / dokumentation / lcd - display / <nl> + / / <nl> + / / # define RADDS_DISPLAY <nl> + <nl> + / / <nl> + / / ULTIMAKER Controller . <nl> + / / <nl> + / / # define ULTIMAKERCONTROLLER <nl> + <nl> + / / <nl> + / / ULTIPANEL as seen on Thingiverse . <nl> + / / <nl> + / / # define ULTIPANEL <nl> + <nl> + / / <nl> + / / PanelOne from T3P3 ( via RAMPS 1 . 4 AUX2 / AUX3 ) <nl> + / / http : / / reprap . org / wiki / PanelOne <nl> + / / <nl> + / / # define PANEL_ONE <nl> + <nl> + / / <nl> + / / MaKr3d Makr - Panel with graphic controller and SD support . <nl> + / / http : / / reprap . org / wiki / MaKr3d_MaKrPanel <nl> + / / <nl> + / / # define MAKRPANEL <nl> + <nl> + / / <nl> + / / ReprapWorld Graphical LCD <nl> + / / https : / / reprapworld . com / ? products_details & products_id / 1218 <nl> + / / <nl> + / / # define REPRAPWORLD_GRAPHICAL_LCD <nl> + <nl> + / / <nl> + / / Activate one of these if you have a Panucatt Devices <nl> + / / Viki 2 . 0 or mini Viki with Graphic LCD <nl> + / / http : / / panucatt . com <nl> + / / <nl> + / / # define VIKI2 <nl> + / / # define miniVIKI <nl> + <nl> + / / <nl> + / / Adafruit ST7565 Full Graphic Controller . <nl> + / / https : / / github . com / eboston / Adafruit - ST7565 - Full - Graphic - Controller / <nl> + / / <nl> + / / # define ELB_FULL_GRAPHIC_CONTROLLER <nl> + <nl> + / / <nl> + / / RepRapDiscount Smart Controller . <nl> + / / http : / / reprap . org / wiki / RepRapDiscount_Smart_Controller <nl> + / / <nl> + / / Note : Usually sold with a white PCB . <nl> + / / <nl> + / / # define REPRAP_DISCOUNT_SMART_CONTROLLER <nl> + <nl> + / / <nl> + / / GADGETS3D G3D LCD / SD Controller <nl> + / / http : / / reprap . org / wiki / RAMPS_1 . 3 / 1 . 4_GADGETS3D_Shield_with_Panel <nl> + / / <nl> + / / Note : Usually sold with a blue PCB . <nl> + / / <nl> + / / # define G3D_PANEL <nl> + <nl> + / / <nl> + / / RepRapDiscount FULL GRAPHIC Smart Controller <nl> + / / http : / / reprap . org / wiki / RepRapDiscount_Full_Graphic_Smart_Controller <nl> + / / <nl> + / / # define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER <nl> + <nl> + / / <nl> + / / MakerLab Mini Panel with graphic <nl> + / / controller and SD support - http : / / reprap . org / wiki / Mini_panel <nl> + / / <nl> + / / # define MINIPANEL <nl> + <nl> + / / <nl> + / / RepRapWorld REPRAPWORLD_KEYPAD v1 . 1 <nl> + / / http : / / reprapworld . com / ? products_details & products_id = 202 & cPath = 1591_1626 <nl> + / / <nl> + / / REPRAPWORLD_KEYPAD_MOVE_STEP sets how much should the robot move when a key <nl> + / / is pressed , a value of 10 . 0 means 10mm per click . <nl> + / / <nl> + / / # define REPRAPWORLD_KEYPAD <nl> + / / # define REPRAPWORLD_KEYPAD_MOVE_STEP 1 . 0 <nl> + <nl> + / / <nl> + / / RigidBot Panel V1 . 0 <nl> + / / http : / / www . inventapart . com / <nl> + / / <nl> + / / # define RIGIDBOT_PANEL <nl> + <nl> + / / <nl> + / / BQ LCD Smart Controller shipped by <nl> + / / default with the BQ Hephestos 2 and Witbox 2 . <nl> + / / <nl> + / / # define BQ_LCD_SMART_CONTROLLER <nl> + <nl> + / / <nl> + / / Cartesio UI <nl> + / / http : / / mauk . cc / webshop / cartesio - shop / electronics / user - interface <nl> + / / <nl> + / / # define CARTESIO_UI <nl> + <nl> + / / <nl> + / / ANET and Tronxy Controller supported displays . <nl> + / / <nl> + / / # define ZONESTAR_LCD / / Requires ADC_KEYPAD_PIN to be assigned to an analog pin . <nl> + / / This LCD is known to be susceptible to electrical interference <nl> + / / which scrambles the display . Pressing any button clears it up . <nl> + / / This is a LCD2004 display with 5 analog buttons . <nl> + <nl> + / / # define ANET_FULL_GRAPHICS_LCD / / Anet 128x64 full graphics lcd with rotary encoder as used on Anet A6 <nl> + / / A clone of the RepRapDiscount full graphics display but with <nl> + / / different pins / wiring ( see pins_ANET_10 . h ) . <nl> + <nl> + / / <nl> + / / LCD for Melzi Card with Graphical LCD <nl> + / / <nl> + / / # define LCD_FOR_MELZI <nl> + <nl> + / / <nl> + / / CONTROLLER TYPE : I2C <nl> + / / <nl> + / / Note : These controllers require the installation of Arduino ' s LiquidCrystal_I2C <nl> + / / library . For more info : https : / / github . com / kiyoshigawa / LiquidCrystal_I2C <nl> + / / <nl> + <nl> + / / <nl> + / / Elefu RA Board Control Panel <nl> + / / http : / / www . elefu . com / index . php ? route = product / product & product_id = 53 <nl> + / / <nl> + / / # define RA_CONTROL_PANEL <nl> + <nl> + / / <nl> + / / Sainsmart YW Robot ( LCM1602 ) LCD Display <nl> + / / <nl> + / / Note : This controller requires F . Malpartida ' s LiquidCrystal_I2C library <nl> + / / https : / / bitbucket . org / fmalpartida / new - liquidcrystal / wiki / Home <nl> + / / <nl> + / / # define LCD_I2C_SAINSMART_YWROBOT <nl> + <nl> + / / <nl> + / / Generic LCM1602 LCD adapter <nl> + / / <nl> + / / # define LCM1602 <nl> + <nl> + / / <nl> + / / PANELOLU2 LCD with status LEDs , <nl> + / / separate encoder and click inputs . <nl> + / / <nl> + / / Note : This controller requires Arduino ' s LiquidTWI2 library v1 . 2 . 3 or later . <nl> + / / For more info : https : / / github . com / lincomatic / LiquidTWI2 <nl> + / / <nl> + / / Note : The PANELOLU2 encoder click input can either be directly connected to <nl> + / / a pin ( if BTN_ENC defined to ! = - 1 ) or read through I2C ( when BTN_ENC = = - 1 ) . <nl> + / / <nl> + / / # define LCD_I2C_PANELOLU2 <nl> + <nl> + / / <nl> + / / Panucatt VIKI LCD with status LEDs , <nl> + / / integrated click & L / R / U / D buttons , separate encoder inputs . <nl> + / / <nl> + / / # define LCD_I2C_VIKI <nl> + <nl> + / / <nl> + / / SSD1306 OLED full graphics generic display <nl> + / / <nl> + / / # define U8GLIB_SSD1306 <nl> + <nl> + / / <nl> + / / SAV OLEd LCD module support using either SSD1306 or SH1106 based LCD modules <nl> + / / <nl> + / / # define SAV_3DGLCD <nl> + # if ENABLED ( SAV_3DGLCD ) <nl> + / / # define U8GLIB_SSD1306 <nl> + # define U8GLIB_SH1106 <nl> + # endif <nl> + <nl> + / / <nl> + / / CONTROLLER TYPE : Shift register panels <nl> + / / <nl> + / / 2 wire Non - latching LCD SR from https : / / goo . gl / aJJ4sH <nl> + / / LCD configuration : http : / / reprap . org / wiki / SAV_3D_LCD <nl> + / / <nl> + / / # define SAV_3DLCD <nl> + <nl> + / / <nl> + / / TinyBoy2 128x64 OLED / Encoder Panel <nl> + / / <nl> + / / # define OLED_PANEL_TINYBOY2 <nl> + <nl> + / / <nl> + / / Makeboard 3D Printer Parts 3D Printer Mini Display 1602 Mini Controller <nl> + / / https : / / www . aliexpress . com / item / Micromake - Makeboard - 3D - Printer - Parts - 3D - Printer - Mini - Display - 1602 - Mini - Controller - Compatible - with - Ramps - 1 / 32765887917 . html <nl> + / / <nl> + / / # define MAKEBOARD_MINI_2_LINE_DISPLAY_1602 <nl> + <nl> + / / <nl> + / / MKS MINI12864 with graphic controller and SD support <nl> + / / http : / / reprap . org / wiki / MKS_MINI_12864 <nl> + / / <nl> + / / # define MKS_MINI_12864 <nl> + <nl> + / / <nl> + / / Factory display for Creality CR - 10 <nl> + / / https : / / www . aliexpress . com / item / Universal - LCD - 12864 - 3D - Printer - Display - Screen - With - Encoder - For - CR - 10 - CR - 7 - Model / 32833148327 . html <nl> + / / <nl> + / / This is RAMPS - compatible using a single 10 - pin connector . <nl> + / / ( For CR - 10 owners who want to replace the Melzi Creality board but retain the display ) <nl> + / / <nl> + / / # define CR10_STOCKDISPLAY <nl> + <nl> + / / <nl> + / / MKS OLED 1 . 3 " 128 à 64 FULL GRAPHICS CONTROLLER <nl> + / / http : / / reprap . org / wiki / MKS_12864OLED <nl> + / / <nl> + / / Tiny , but very sharp OLED display <nl> + / / <nl> + / / # define MKS_12864OLED / / Uses the SH1106 controller ( default ) <nl> + / / # define MKS_12864OLED_SSD1306 / / Uses the SSD1306 controller <nl> + <nl> + / / <nl> + / / AZSMZ 12864 LCD with SD <nl> + / / https : / / www . aliexpress . com / store / product / 3D - printer - smart - controller - SMART - RAMPS - OR - RAMPS - 1 - 4 - LCD - 12864 - LCD - control - panel - green / 2179173_32213636460 . html <nl> + / / <nl> + / / # define AZSMZ_12864 <nl> + <nl> + / / Silvergate GLCD controller <nl> + / / http : / / github . com / android444 / Silvergate <nl> + / / <nl> + / / # define SILVER_GATE_GLCD_CONTROLLER <nl> + <nl> + / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> + / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = Extra Features = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> + / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> + <nl> + / / @ section extras <nl> + <nl> + / / Increase the FAN PWM frequency . Removes the PWM noise but increases heating in the FET / Arduino <nl> + / / # define FAST_PWM_FAN <nl> + <nl> + / / Use software PWM to drive the fan , as for the heaters . This uses a very low frequency <nl> + / / which is not as annoying as with the hardware PWM . On the other hand , if this frequency <nl> + / / is too low , you should also increment SOFT_PWM_SCALE . <nl> + / / # define FAN_SOFT_PWM <nl> + <nl> + / / Incrementing this by 1 will double the software PWM frequency , <nl> + / / affecting heaters , and the fan if FAN_SOFT_PWM is enabled . <nl> + / / However , control resolution will be halved for each increment ; <nl> + / / at zero value , there are 128 effective control positions . <nl> + # define SOFT_PWM_SCALE 0 <nl> + <nl> + / / If SOFT_PWM_SCALE is set to a value higher than 0 , dithering can <nl> + / / be used to mitigate the associated resolution loss . If enabled , <nl> + / / some of the PWM cycles are stretched so on average the desired <nl> + / / duty cycle is attained . <nl> + / / # define SOFT_PWM_DITHER <nl> + <nl> + / / Temperature status LEDs that display the hotend and bed temperature . <nl> + / / If all hotends , bed temperature , and target temperature are under 54C <nl> + / / then the BLUE led is on . Otherwise the RED led is on . ( 1C hysteresis ) <nl> + / / # define TEMP_STAT_LEDS <nl> + <nl> + / / M240 Triggers a camera by emulating a Canon RC - 1 Remote <nl> + / / Data from : http : / / www . doc - diy . net / photo / rc - 1_hacked / <nl> + / / # define PHOTOGRAPH_PIN 23 <nl> + <nl> + / / SkeinForge sends the wrong arc g - codes when using Arc Point as fillet procedure <nl> + / / # define SF_ARC_FIX <nl> + <nl> + / / Support for the BariCUDA Paste Extruder <nl> + / / # define BARICUDA <nl> + <nl> + / / Support for BlinkM / CyzRgb <nl> + / / # define BLINKM <nl> + <nl> + / / Support for PCA9632 PWM LED driver <nl> + / / # define PCA9632 <nl> + <nl> + / * * <nl> + * RGB LED / LED Strip Control <nl> + * <nl> + * Enable support for an RGB LED connected to 5V digital pins , or <nl> + * an RGB Strip connected to MOSFETs controlled by digital pins . <nl> + * <nl> + * Adds the M150 command to set the LED ( or LED strip ) color . <nl> + * If pins are PWM capable ( e . g . , 4 , 5 , 6 , 11 ) then a range of <nl> + * luminance values can be set from 0 to 255 . <nl> + * For Neopixel LED an overall brightness parameter is also available . <nl> + * <nl> + * * * * CAUTION * * * <nl> + * LED Strips require a MOFSET Chip between PWM lines and LEDs , <nl> + * as the Arduino cannot handle the current the LEDs will require . <nl> + * Failure to follow this precaution can destroy your Arduino ! <nl> + * NOTE : A separate 5V power supply is required ! The Neopixel LED needs <nl> + * more current than the Arduino 5V linear regulator can produce . <nl> + * * * * CAUTION * * * <nl> + * <nl> + * LED Type . Enable only one of the following two options . <nl> + * <nl> + * / <nl> + <nl> + / / # define RGB_LED <nl> + / / # define RGBW_LED <nl> + # if ENABLED ( RGB_LED ) | | ENABLED ( RGBW_LED ) <nl> + # define RGB_LED_R_PIN 34 <nl> + # define RGB_LED_G_PIN 43 <nl> + # define RGB_LED_B_PIN 35 <nl> + # define RGB_LED_W_PIN - 1 <nl> + # endif <nl> + <nl> + / / Support for Adafruit Neopixel LED driver <nl> + / / # define NEOPIXEL_LED <nl> + # if ENABLED ( NEOPIXEL_LED ) <nl> + # define NEOPIXEL_TYPE NEO_GRB / / NEO_GRBW / NEO_GRB - four / three channel driver type ( defined in Adafruit_NeoPixel . h ) <nl> + # define NEOPIXEL_PIN 4 / / LED driving pin on motherboard 4 = > D4 ( EXP2 - 5 on Printrboard ) / 30 = > PC7 ( EXP3 - 13 on Rumba ) <nl> + # define NEOPIXEL_PIXELS 30 / / Number of LEDs in the strip <nl> + # define NEOPIXEL_IS_SEQUENTIAL / / Sequential display for temperature change - LED by LED . Disable to change all LEDs at once . <nl> + # define NEOPIXEL_BRIGHTNESS 255 / / Initial brightness 0 - 255 <nl> + / / # define NEOPIXEL_STARTUP_TEST / / Cycle through colors at startup <nl> + # endif <nl> + <nl> + / * * <nl> + * Printer Event LEDs <nl> + * <nl> + * During printing , the LEDs will reflect the printer status : <nl> + * <nl> + * - Gradually change from blue to violet as the heated bed gets to target temp <nl> + * - Gradually change from violet to red as the hotend gets to temperature <nl> + * - Change to white to illuminate work surface <nl> + * - Change to green once print has finished <nl> + * - Turn off after the print has finished and the user has pushed a button <nl> + * / <nl> + # if ENABLED ( BLINKM ) | | ENABLED ( RGB_LED ) | | ENABLED ( RGBW_LED ) | | ENABLED ( PCA9632 ) | | ENABLED ( NEOPIXEL_LED ) <nl> + # define PRINTER_EVENT_LEDS <nl> + # endif <nl> + <nl> + / * * <nl> + * R / C SERVO support <nl> + * Sponsored by TrinityLabs , Reworked by codexmas <nl> + * / <nl> + <nl> + / * * <nl> + * Number of servos <nl> + * <nl> + * For some servo - related options NUM_SERVOS will be set automatically . <nl> + * Set this manually if there are extra servos needing manual control . <nl> + * Leave undefined or set to 0 to entirely disable the servo subsystem . <nl> + * / <nl> + / / # define NUM_SERVOS 3 / / Servo index starts with 0 for M280 command <nl> + <nl> + / / Delay ( in milliseconds ) before the next move will start , to give the servo time to reach its target angle . <nl> + / / 300ms is a good value but you can try less delay . <nl> + / / If the servo can ' t reach the requested position , increase it . <nl> + # define SERVO_DELAY { 300 } <nl> + <nl> + / / Servo deactivation <nl> + / / <nl> + / / With this option servos are powered only during movement , then turned off to prevent jitter . <nl> + / / # define DEACTIVATE_SERVOS_AFTER_MOVE <nl> + <nl> + # endif / / CONFIGURATION_H <nl> new file mode 100644 <nl> index 00000000000 . . de627fc5f4a <nl> mmm / dev / null <nl> ppp b / Marlin / src / config / examples / TheBorg / Configuration_adv . h <nl> <nl> + / * * <nl> + * Marlin 3D Printer Firmware <nl> + * Copyright ( C ) 2016 MarlinFirmware [ https : / / github . com / MarlinFirmware / Marlin ] <nl> + * <nl> + * Based on Sprinter and grbl . <nl> + * Copyright ( C ) 2011 Camiel Gubbels / Erik van der Zalm <nl> + * <nl> + * This program is free software : you can redistribute it and / or modify <nl> + * it under the terms of the GNU General Public License as published by <nl> + * the Free Software Foundation , either version 3 of the License , or <nl> + * ( at your option ) any later version . <nl> + * <nl> + * This program is distributed in the hope that it will be useful , <nl> + * but WITHOUT ANY WARRANTY ; without even the implied warranty of <nl> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the <nl> + * GNU General Public License for more details . <nl> + * <nl> + * You should have received a copy of the GNU General Public License <nl> + * along with this program . If not , see < http : / / www . gnu . org / licenses / > . <nl> + * <nl> + * / <nl> + <nl> + / * * <nl> + * Configuration_adv . h <nl> + * <nl> + * Advanced settings . <nl> + * Only change these if you know exactly what you ' re doing . <nl> + * Some of these settings can damage your printer if improperly set ! <nl> + * <nl> + * Basic settings can be found in Configuration . h <nl> + * <nl> + * / <nl> + # ifndef CONFIGURATION_ADV_H <nl> + # define CONFIGURATION_ADV_H <nl> + # define CONFIGURATION_ADV_H_VERSION 020000 <nl> + <nl> + / / @ section temperature <nl> + <nl> + / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> + / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = Thermal Settings = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> + / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> + <nl> + # if DISABLED ( PIDTEMPBED ) <nl> + # define BED_CHECK_INTERVAL 5000 / / ms between checks in bang - bang control <nl> + # if ENABLED ( BED_LIMIT_SWITCHING ) <nl> + # define BED_HYSTERESIS 2 / / Only disable heating if T > target + BED_HYSTERESIS and enable heating if T > target - BED_HYSTERESIS <nl> + # endif <nl> + # endif <nl> + <nl> + / * * <nl> + * Thermal Protection provides additional protection to your printer from damage <nl> + * and fire . Marlin always includes safe min and max temperature ranges which <nl> + * protect against a broken or disconnected thermistor wire . <nl> + * <nl> + * The issue : If a thermistor falls out , it will report the much lower <nl> + * temperature of the air in the room , and the the firmware will keep <nl> + * the heater on . <nl> + * <nl> + * The solution : Once the temperature reaches the target , start observing . <nl> + * If the temperature stays too far below the target ( hysteresis ) for too <nl> + * long ( period ) , the firmware will halt the machine as a safety precaution . <nl> + * <nl> + * If you get false positives for " Thermal Runaway " , increase <nl> + * THERMAL_PROTECTION_HYSTERESIS and / or THERMAL_PROTECTION_PERIOD <nl> + * / <nl> + # if ENABLED ( THERMAL_PROTECTION_HOTENDS ) <nl> + # define THERMAL_PROTECTION_PERIOD 50 / / Seconds <nl> + # define THERMAL_PROTECTION_HYSTERESIS 6 / / Degrees Celsius <nl> + <nl> + / * * <nl> + * Whenever an M104 , M109 , or M303 increases the target temperature , the <nl> + * firmware will wait for the WATCH_TEMP_PERIOD to expire . If the temperature <nl> + * hasn ' t increased by WATCH_TEMP_INCREASE degrees , the machine is halted and <nl> + * requires a hard reset . This test restarts with any M104 / M109 / M303 , but only <nl> + * if the current temperature is far enough below the target for a reliable <nl> + * test . <nl> + * <nl> + * If you get false positives for " Heating failed " , increase WATCH_TEMP_PERIOD <nl> + * and / or decrease WATCH_TEMP_INCREASE . WATCH_TEMP_INCREASE should not be set <nl> + * below 2 . <nl> + * / <nl> + # define WATCH_TEMP_PERIOD 40 / / Seconds <nl> + # define WATCH_TEMP_INCREASE 2 / / Degrees Celsius <nl> + # endif <nl> + <nl> + / * * <nl> + * Thermal Protection parameters for the bed are just as above for hotends . <nl> + * / <nl> + # if ENABLED ( THERMAL_PROTECTION_BED ) <nl> + # define THERMAL_PROTECTION_BED_PERIOD 20 / / Seconds <nl> + # define THERMAL_PROTECTION_BED_HYSTERESIS 2 / / Degrees Celsius <nl> + <nl> + / * * <nl> + * As described above , except for the bed ( M140 / M190 / M303 ) . <nl> + * / <nl> + # define WATCH_BED_TEMP_PERIOD 100 / / Seconds <nl> + # define WATCH_BED_TEMP_INCREASE 2 / / Degrees Celsius <nl> + # endif <nl> + <nl> + # if ENABLED ( PIDTEMP ) <nl> + / / this adds an experimental additional term to the heating power , proportional to the extrusion speed . <nl> + / / if Kc is chosen well , the additional required power due to increased melting should be compensated . <nl> + / / # define PID_EXTRUSION_SCALING <nl> + # if ENABLED ( PID_EXTRUSION_SCALING ) <nl> + # define DEFAULT_Kc ( 100 ) / / heating power = Kc * ( e_speed ) <nl> + # define LPQ_MAX_LEN 50 <nl> + # endif <nl> + # endif <nl> + <nl> + / * * <nl> + * Automatic Temperature : <nl> + * The hotend target temperature is calculated by all the buffered lines of gcode . <nl> + * The maximum buffered steps / sec of the extruder motor is called " se " . <nl> + * Start autotemp mode with M109 S < mintemp > B < maxtemp > F < factor > <nl> + * The target temperature is set to mintemp + factor * se [ steps / sec ] and is limited by <nl> + * mintemp and maxtemp . Turn this off by executing M109 without F * <nl> + * Also , if the temperature is set to a value below mintemp , it will not be changed by autotemp . <nl> + * On an Ultimaker , some initial testing worked with M109 S215 B260 F1 in the start . gcode <nl> + * / <nl> + # define AUTOTEMP <nl> + # if ENABLED ( AUTOTEMP ) <nl> + # define AUTOTEMP_OLDWEIGHT 0 . 98 <nl> + # endif <nl> + <nl> + / / Show extra position information in M114 <nl> + / / # define M114_DETAIL <nl> + <nl> + / / Show Temperature ADC value <nl> + / / Enable for M105 to include ADC values read from temperature sensors . <nl> + / / # define SHOW_TEMP_ADC_VALUES <nl> + <nl> + / * * <nl> + * High Temperature Thermistor Support <nl> + * <nl> + * Thermistors able to support high temperature tend to have a hard time getting <nl> + * good readings at room and lower temperatures . This means HEATER_X_RAW_LO_TEMP <nl> + * will probably be caught when the heating element first turns on during the <nl> + * preheating process , which will trigger a min_temp_error as a safety measure <nl> + * and force stop everything . <nl> + * To circumvent this limitation , we allow for a preheat time ( during which , <nl> + * min_temp_error won ' t be triggered ) and add a min_temp buffer to handle <nl> + * aberrant readings . <nl> + * <nl> + * If you want to enable this feature for your hotend thermistor ( s ) <nl> + * uncomment and set values > 0 in the constants below <nl> + * / <nl> + <nl> + / / The number of consecutive low temperature errors that can occur <nl> + / / before a min_temp_error is triggered . ( Shouldn ' t be more than 10 . ) <nl> + / / # define MAX_CONSECUTIVE_LOW_TEMPERATURE_ERROR_ALLOWED 0 <nl> + <nl> + / / The number of milliseconds a hotend will preheat before starting to check <nl> + / / the temperature . This value should NOT be set to the time it takes the <nl> + / / hot end to reach the target temperature , but the time it takes to reach <nl> + / / the minimum temperature your thermistor can read . The lower the better / safer . <nl> + / / This shouldn ' t need to be more than 30 seconds ( 30000 ) <nl> + / / # define MILLISECONDS_PREHEAT_TIME 0 <nl> + <nl> + / / @ section extruder <nl> + <nl> + / / Extruder runout prevention . <nl> + / / If the machine is idle and the temperature over MINTEMP <nl> + / / then extrude some filament every couple of SECONDS . <nl> + / / # define EXTRUDER_RUNOUT_PREVENT <nl> + # if ENABLED ( EXTRUDER_RUNOUT_PREVENT ) <nl> + # define EXTRUDER_RUNOUT_MINTEMP 190 <nl> + # define EXTRUDER_RUNOUT_SECONDS 30 <nl> + # define EXTRUDER_RUNOUT_SPEED 1500 / / mm / m <nl> + # define EXTRUDER_RUNOUT_EXTRUDE 5 / / mm <nl> + # endif <nl> + <nl> + / / @ section temperature <nl> + <nl> + / / These defines help to calibrate the AD595 sensor in case you get wrong temperature measurements . <nl> + / / The measured temperature is defined as " actualTemp = ( measuredTemp * TEMP_SENSOR_AD595_GAIN ) + TEMP_SENSOR_AD595_OFFSET " <nl> + # define TEMP_SENSOR_AD595_OFFSET 0 . 0 <nl> + # define TEMP_SENSOR_AD595_GAIN 1 . 0 <nl> + <nl> + / * * <nl> + * Controller Fan <nl> + * To cool down the stepper drivers and MOSFETs . <nl> + * <nl> + * The fan will turn on automatically whenever any stepper is enabled <nl> + * and turn off after a set period after all steppers are turned off . <nl> + * / <nl> + / / # define USE_CONTROLLER_FAN <nl> + # if ENABLED ( USE_CONTROLLER_FAN ) <nl> + / / # define CONTROLLER_FAN_PIN FAN1_PIN / / Set a custom pin for the controller fan <nl> + # define CONTROLLERFAN_SECS 60 / / Duration in seconds for the fan to run after all motors are disabled <nl> + # define CONTROLLERFAN_SPEED 255 / / 255 = = full speed <nl> + # endif <nl> + <nl> + / / When first starting the main fan , run it at full speed for the <nl> + / / given number of milliseconds . This gets the fan spinning reliably <nl> + / / before setting a PWM value . ( Does not work with software PWM for fan on Sanguinololu ) <nl> + / / # define FAN_KICKSTART_TIME 100 <nl> + <nl> + / / This defines the minimal speed for the main fan , run in PWM mode <nl> + / / to enable uncomment and set minimal PWM speed for reliable running ( 1 - 255 ) <nl> + / / if fan speed is [ 1 - ( FAN_MIN_PWM - 1 ) ] it is set to FAN_MIN_PWM <nl> + / / # define FAN_MIN_PWM 50 <nl> + <nl> + / / @ section extruder <nl> + <nl> + / * * <nl> + * Extruder cooling fans <nl> + * <nl> + * Extruder auto fans automatically turn on when their extruders ' <nl> + * temperatures go above EXTRUDER_AUTO_FAN_TEMPERATURE . <nl> + * <nl> + * Your board ' s pins file specifies the recommended pins . Override those here <nl> + * or set to - 1 to disable completely . <nl> + * <nl> + * Multiple extruders can be assigned to the same pin in which case <nl> + * the fan will turn on when any selected extruder is above the threshold . <nl> + * / <nl> + # define E0_AUTO_FAN_PIN - 1 <nl> + # define E1_AUTO_FAN_PIN - 1 <nl> + # define E2_AUTO_FAN_PIN - 1 <nl> + # define E3_AUTO_FAN_PIN - 1 <nl> + # define E4_AUTO_FAN_PIN - 1 <nl> + # define EXTRUDER_AUTO_FAN_TEMPERATURE 50 <nl> + # define EXTRUDER_AUTO_FAN_SPEED 255 / / = = full speed <nl> + <nl> + / * * <nl> + * Part - Cooling Fan Multiplexer <nl> + * <nl> + * This feature allows you to digitally multiplex the fan output . <nl> + * The multiplexer is automatically switched at tool - change . <nl> + * Set FANMUX [ 012 ] _PINs below for up to 2 , 4 , or 8 multiplexed fans . <nl> + * / <nl> + # define FANMUX0_PIN - 1 <nl> + # define FANMUX1_PIN - 1 <nl> + # define FANMUX2_PIN - 1 <nl> + <nl> + / * * <nl> + * M355 Case Light on - off / brightness <nl> + * / <nl> + / / # define CASE_LIGHT_ENABLE <nl> + # if ENABLED ( CASE_LIGHT_ENABLE ) <nl> + / / # define CASE_LIGHT_PIN 4 / / Override the default pin if needed <nl> + # define INVERT_CASE_LIGHT false / / Set true if Case Light is ON when pin is LOW <nl> + # define CASE_LIGHT_DEFAULT_ON true / / Set default power - up state on <nl> + # define CASE_LIGHT_DEFAULT_BRIGHTNESS 105 / / Set default power - up brightness ( 0 - 255 , requires PWM pin ) <nl> + / / # define MENU_ITEM_CASE_LIGHT / / Add a Case Light option to the LCD main menu <nl> + # endif <nl> + <nl> + / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> + / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = Mechanical Settings = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> + / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> + <nl> + / / @ section homing <nl> + <nl> + / / If you want endstops to stay on ( by default ) even when not homing <nl> + / / enable this option . Override at any time with M120 , M121 . <nl> + / / # define ENDSTOPS_ALWAYS_ON_DEFAULT <nl> + <nl> + / / @ section extras <nl> + <nl> + / / # define Z_LATE_ENABLE / / Enable Z the last moment . Needed if your Z driver overheats . <nl> + <nl> + / * * <nl> + * Dual Steppers / Dual Endstops <nl> + * <nl> + * This section will allow you to use extra E drivers to drive a second motor for X , Y , or Z axes . <nl> + * <nl> + * For example , set X_DUAL_STEPPER_DRIVERS setting to use a second motor . If the motors need to <nl> + * spin in opposite directions set INVERT_X2_VS_X_DIR . If the second motor needs its own endstop <nl> + * set X_DUAL_ENDSTOPS . This can adjust for " racking . " Use X2_USE_ENDSTOP to set the endstop plug <nl> + * that should be used for the second endstop . Extra endstops will appear in the output of ' M119 ' . <nl> + * <nl> + * Use X_DUAL_ENDSTOP_ADJUSTMENT to adjust for mechanical imperfection . After homing both motors <nl> + * this offset is applied to the X2 motor . To find the offset home the X axis , and measure the error <nl> + * in X2 . Dual endstop offsets can be set at runtime with ' M666 X < offset > Y < offset > Z < offset > ' . <nl> + * / <nl> + <nl> + / / # define X_DUAL_STEPPER_DRIVERS <nl> + # if ENABLED ( X_DUAL_STEPPER_DRIVERS ) <nl> + # define INVERT_X2_VS_X_DIR true / / Set ' true ' if X motors should rotate in opposite directions <nl> + / / # define X_DUAL_ENDSTOPS <nl> + # if ENABLED ( X_DUAL_ENDSTOPS ) <nl> + # define X2_USE_ENDSTOP _XMAX_ <nl> + # define X_DUAL_ENDSTOPS_ADJUSTMENT 0 <nl> + # endif <nl> + # endif <nl> + <nl> + / / # define Y_DUAL_STEPPER_DRIVERS <nl> + # if ENABLED ( Y_DUAL_STEPPER_DRIVERS ) <nl> + # define INVERT_Y2_VS_Y_DIR true / / Set ' true ' if Y motors should rotate in opposite directions <nl> + / / # define Y_DUAL_ENDSTOPS <nl> + # if ENABLED ( Y_DUAL_ENDSTOPS ) <nl> + # define Y2_USE_ENDSTOP _YMAX_ <nl> + # define Y_DUAL_ENDSTOPS_ADJUSTMENT 0 <nl> + # endif <nl> + # endif <nl> + <nl> + # define Z_DUAL_STEPPER_DRIVERS <nl> + # if ENABLED ( Z_DUAL_STEPPER_DRIVERS ) <nl> + / / # define Z_DUAL_ENDSTOPS <nl> + # if ENABLED ( Z_DUAL_ENDSTOPS ) <nl> + # define Z2_USE_ENDSTOP _XMAX_ <nl> + # define Z_DUAL_ENDSTOPS_ADJUSTMENT 0 <nl> + # endif <nl> + # endif <nl> + <nl> + / / Enable this for dual x - carriage printers . <nl> + / / A dual x - carriage design has the advantage that the inactive extruder can be parked which <nl> + / / prevents hot - end ooze contaminating the print . It also reduces the weight of each x - carriage <nl> + / / allowing faster printing speeds . Connect your X2 stepper to the first unused E plug . <nl> + / / # define DUAL_X_CARRIAGE <nl> + # if ENABLED ( DUAL_X_CARRIAGE ) <nl> + / / Configuration for second X - carriage <nl> + / / Note : the first x - carriage is defined as the x - carriage which homes to the minimum endstop ; <nl> + / / the second x - carriage always homes to the maximum endstop . <nl> + # define X2_MIN_POS 80 / / set minimum to ensure second x - carriage doesn ' t hit the parked first X - carriage <nl> + # define X2_MAX_POS 353 / / set maximum to the distance between toolheads when both heads are homed <nl> + # define X2_HOME_DIR 1 / / the second X - carriage always homes to the maximum endstop position <nl> + # define X2_HOME_POS X2_MAX_POS / / default home position is the maximum carriage position <nl> + / / However : In this mode the HOTEND_OFFSET_X value for the second extruder provides a software <nl> + / / override for X2_HOME_POS . This also allow recalibration of the distance between the two endstops <nl> + / / without modifying the firmware ( through the " M218 T1 X ? ? ? " command ) . <nl> + / / Remember : you should set the second extruder x - offset to 0 in your slicer . <nl> + <nl> + / / There are a few selectable movement modes for dual x - carriages using M605 S < mode > <nl> + / / Mode 0 ( DXC_FULL_CONTROL_MODE ) : Full control . The slicer has full control over both x - carriages and can achieve optimal travel results <nl> + / / as long as it supports dual x - carriages . ( M605 S0 ) <nl> + / / Mode 1 ( DXC_AUTO_PARK_MODE ) : Auto - park mode . The firmware will automatically park and unpark the x - carriages on tool changes so <nl> + / / that additional slicer support is not required . ( M605 S1 ) <nl> + / / Mode 2 ( DXC_DUPLICATION_MODE ) : Duplication mode . The firmware will transparently make the second x - carriage and extruder copy all <nl> + / / actions of the first x - carriage . This allows the printer to print 2 arbitrary items at <nl> + / / once . ( 2nd extruder x offset and temp offset are set using : M605 S2 [ Xnnn ] [ Rmmm ] ) <nl> + <nl> + / / This is the default power - up mode which can be later using M605 . <nl> + # define DEFAULT_DUAL_X_CARRIAGE_MODE DXC_FULL_CONTROL_MODE <nl> + <nl> + / / Default settings in " Auto - park Mode " <nl> + # define TOOLCHANGE_PARK_ZLIFT 0 . 2 / / the distance to raise Z axis when parking an extruder <nl> + # define TOOLCHANGE_UNPARK_ZLIFT 1 / / the distance to raise Z axis when unparking an extruder <nl> + <nl> + / / Default x offset in duplication mode ( typically set to half print bed width ) <nl> + # define DEFAULT_DUPLICATION_X_OFFSET 100 <nl> + <nl> + # endif / / DUAL_X_CARRIAGE <nl> + <nl> + / / Activate a solenoid on the active extruder with M380 . Disable all with M381 . <nl> + / / Define SOL0_PIN , SOL1_PIN , etc . , for each extruder that has a solenoid . <nl> + / / # define EXT_SOLENOID <nl> + <nl> + / / @ section homing <nl> + <nl> + / / Homing hits each endstop , retracts by these distances , then does a slower bump . <nl> + # define X_HOME_BUMP_MM 5 <nl> + # define Y_HOME_BUMP_MM 5 <nl> + # define Z_HOME_BUMP_MM 2 <nl> + # define HOMING_BUMP_DIVISOR { 2 , 2 , 4 } / / Re - Bump Speed Divisor ( Divides the Homing Feedrate ) <nl> + / / # define QUICK_HOME / / If homing includes X and Y , do a diagonal move initially <nl> + <nl> + / / When G28 is called , this option will make Y home before X <nl> + / / # define HOME_Y_BEFORE_X <nl> + <nl> + / / @ section machine <nl> + <nl> + # define AXIS_RELATIVE_MODES { false , false , false , false } <nl> + <nl> + / / Allow duplication mode with a basic dual - nozzle extruder <nl> + / / # define DUAL_NOZZLE_DUPLICATION_MODE <nl> + <nl> + / / By default pololu step drivers require an active high signal . However , some high power drivers require an active low signal as step . <nl> + # define INVERT_X_STEP_PIN false <nl> + # define INVERT_Y_STEP_PIN false <nl> + # define INVERT_Z_STEP_PIN false <nl> + # define INVERT_E_STEP_PIN false <nl> + <nl> + / / Default stepper release if idle . Set to 0 to deactivate . <nl> + / / Steppers will shut down DEFAULT_STEPPER_DEACTIVE_TIME seconds after the last move when DISABLE_INACTIVE_ ? is true . <nl> + / / Time can be set by M18 and M84 . <nl> + # define DEFAULT_STEPPER_DEACTIVE_TIME 120 <nl> + # define DISABLE_INACTIVE_X true <nl> + # define DISABLE_INACTIVE_Y true <nl> + # define DISABLE_INACTIVE_Z true / / set to false if the nozzle will fall down on your printed part when print has finished . <nl> + # define DISABLE_INACTIVE_E true <nl> + <nl> + # define DEFAULT_MINIMUMFEEDRATE 0 . 0 / / minimum feedrate <nl> + # define DEFAULT_MINTRAVELFEEDRATE 0 . 0 <nl> + <nl> + / / # define HOME_AFTER_DEACTIVATE / / Require rehoming after steppers are deactivated <nl> + <nl> + / / @ section lcd <nl> + <nl> + # if ENABLED ( ULTIPANEL ) <nl> + # define MANUAL_FEEDRATE { 50 * 60 , 50 * 60 , 4 * 60 , 60 } / / Feedrates for manual moves along X , Y , Z , E from panel <nl> + # define ULTIPANEL_FEEDMULTIPLY / / Comment to disable setting feedrate multiplier via encoder <nl> + # endif <nl> + <nl> + / / @ section extras <nl> + <nl> + / / minimum time in microseconds that a movement needs to take if the buffer is emptied . <nl> + # define DEFAULT_MINSEGMENTTIME 20000 <nl> + <nl> + / / If defined the movements slow down when the look ahead buffer is only half full <nl> + # define SLOWDOWN <nl> + <nl> + / / Frequency limit <nl> + / / See nophead ' s blog for more info <nl> + / / Not working O <nl> + / / # define XY_FREQUENCY_LIMIT 15 <nl> + <nl> + / / Minimum planner junction speed . Sets the default minimum speed the planner plans for at the end <nl> + / / of the buffer and all stops . This should not be much greater than zero and should only be changed <nl> + / / if unwanted behavior is observed on a user ' s machine when running at very slow speeds . <nl> + # define MINIMUM_PLANNER_SPEED 0 . 05 / / ( mm / sec ) <nl> + <nl> + / / Microstep setting ( Only functional when stepper driver microstep pins are connected to MCU . <nl> + # define MICROSTEP_MODES { 16 , 16 , 16 , 16 , 16 } / / [ 1 , 2 , 4 , 8 , 16 ] <nl> + <nl> + / * * <nl> + * @ section stepper motor current <nl> + * <nl> + * Some boards have a means of setting the stepper motor current via firmware . <nl> + * <nl> + * The power on motor currents are set by : <nl> + * PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2 <nl> + * known compatible chips : A4982 <nl> + * DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D , RAMBO & SCOOVO_X9H <nl> + * known compatible chips : AD5206 <nl> + * DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2 <nl> + * known compatible chips : MCP4728 <nl> + * DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT , AZTEEG_X3_PRO , MIGHTYBOARD_REVE <nl> + * known compatible chips : MCP4451 , MCP4018 <nl> + * <nl> + * Motor currents can also be set by M907 - M910 and by the LCD . <nl> + * M907 - applies to all . <nl> + * M908 - BQ_ZUM_MEGA_3D , RAMBO , PRINTRBOARD_REVF , RIGIDBOARD_V2 & SCOOVO_X9H <nl> + * M909 , M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2 <nl> + * / <nl> + / / # define PWM_MOTOR_CURRENT { 1300 , 1300 , 1250 } / / Values in milliamps <nl> + / / # define DIGIPOT_MOTOR_CURRENT { 135 , 135 , 135 , 135 , 135 } / / Values 0 - 255 ( RAMBO 135 = ~ 0 . 75A , 185 = ~ 1A ) <nl> + / / # define DAC_MOTOR_CURRENT_DEFAULT { 70 , 80 , 90 , 80 } / / Default drive percent - X , Y , Z , E axis <nl> + <nl> + / / Use an I2C based DIGIPOT ( e . g . , Azteeg X3 Pro ) <nl> + / / # define DIGIPOT_I2C <nl> + # if ENABLED ( DIGIPOT_I2C ) & & ! defined ( DIGIPOT_I2C_ADDRESS_A ) <nl> + / * * <nl> + * Common slave addresses : <nl> + * <nl> + * A ( A shifted ) B ( B shifted ) IC <nl> + * Smoothie 0x2C ( 0x58 ) 0x2D ( 0x5A ) MCP4451 <nl> + * AZTEEG_X3_PRO 0x2C ( 0x58 ) 0x2E ( 0x5C ) MCP4451 <nl> + * MIGHTYBOARD_REVE 0x2F ( 0x5E ) MCP4018 <nl> + * / <nl> + # define DIGIPOT_I2C_ADDRESS_A 0x2C / / unshifted slave address for first DIGIPOT <nl> + # define DIGIPOT_I2C_ADDRESS_B 0x2D / / unshifted slave address for second DIGIPOT <nl> + # endif <nl> + <nl> + / / # define DIGIPOT_MCP4018 / / Requires library from https : / / github . com / stawel / SlowSoftI2CMaster <nl> + # define DIGIPOT_I2C_NUM_CHANNELS 8 / / 5DPRINT : 4 AZTEEG_X3_PRO : 8 <nl> + / / Actual motor currents in Amps , need as many here as DIGIPOT_I2C_NUM_CHANNELS <nl> + # define DIGIPOT_I2C_MOTOR_CURRENTS { 1 . 0 , 1 . 0 , 1 . 0 , 1 . 0 , 1 . 0 , 1 . 0 , 1 . 0 , 1 . 0 } / / AZTEEG_X3_PRO <nl> + <nl> + / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> + / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = Additional Features = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> + / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> + <nl> + # define ENCODER_RATE_MULTIPLIER / / If defined , certain menu edit operations automatically multiply the steps when the encoder is moved quickly <nl> + # define ENCODER_10X_STEPS_PER_SEC 75 / / If the encoder steps per sec exceeds this value , multiply steps moved x10 to quickly advance the value <nl> + # define ENCODER_100X_STEPS_PER_SEC 160 / / If the encoder steps per sec exceeds this value , multiply steps moved x100 to really quickly advance the value <nl> + <nl> + / / # define CHDK 4 / / Pin for triggering CHDK to take a picture see how to use it here http : / / captain - slow . dk / 2014 / 03 / 09 / 3d - printing - timelapses / <nl> + # define CHDK_DELAY 50 / / How long in ms the pin should stay HIGH before going LOW again <nl> + <nl> + / / @ section lcd <nl> + <nl> + / / Include a page of printer information in the LCD Main Menu <nl> + / / # define LCD_INFO_MENU <nl> + <nl> + / / Leave out seldom - used LCD menu items to recover some Program Memory <nl> + / / # define SLIM_LCD_MENUS <nl> + <nl> + / / Scroll a longer status message into view <nl> + / / # define STATUS_MESSAGE_SCROLLING <nl> + <nl> + / / On the Info Screen , display XY with one decimal place when possible <nl> + / / # define LCD_DECIMAL_SMALL_XY <nl> + <nl> + / / The timeout ( in ms ) to return to the status screen from sub - menus <nl> + / / # define LCD_TIMEOUT_TO_STATUS 15000 <nl> + <nl> + / * * <nl> + * LED Control Menu <nl> + * Enable this feature to add LED Control to the LCD menu <nl> + * / <nl> + / / # define LED_CONTROL_MENU <nl> + # if ENABLED ( LED_CONTROL_MENU ) <nl> + # define LED_COLOR_PRESETS / / Enable the Preset Color menu option <nl> + # if ENABLED ( LED_COLOR_PRESETS ) <nl> + # define LED_USER_PRESET_RED 255 / / User defined RED value <nl> + # define LED_USER_PRESET_GREEN 128 / / User defined GREEN value <nl> + # define LED_USER_PRESET_BLUE 0 / / User defined BLUE value <nl> + # define LED_USER_PRESET_WHITE 255 / / User defined WHITE value <nl> + # define LED_USER_PRESET_BRIGHTNESS 255 / / User defined intensity <nl> + / / # define LED_USER_PRESET_STARTUP / / Have the printer display the user preset color on startup <nl> + # endif <nl> + # endif / / LED_CONTROL_MENU <nl> + <nl> + # if ENABLED ( SDSUPPORT ) <nl> + <nl> + / / Some RAMPS and other boards don ' t detect when an SD card is inserted . You can work <nl> + / / around this by connecting a push button or single throw switch to the pin defined <nl> + / / as SD_DETECT_PIN in your board ' s pins definitions . <nl> + / / This setting should be disabled unless you are using a push button , pulling the pin to ground . <nl> + / / Note : This is always disabled for ULTIPANEL ( except ELB_FULL_GRAPHIC_CONTROLLER ) . <nl> + # define SD_DETECT_INVERTED <nl> + <nl> + # define SD_FINISHED_STEPPERRELEASE true / / Disable steppers when SD Print is finished <nl> + # define SD_FINISHED_RELEASECOMMAND " M84 X Y Z E " / / You might want to keep the z enabled so your bed stays in place . <nl> + <nl> + / / Reverse SD sort to show " more recent " files first , according to the card ' s FAT . <nl> + / / Since the FAT gets out of order with usage , SDCARD_SORT_ALPHA is recommended . <nl> + # define SDCARD_RATHERRECENTFIRST <nl> + <nl> + / / Add an option in the menu to run all auto # . g files <nl> + / / # define MENU_ADDAUTOSTART <nl> + <nl> + / * * <nl> + * Sort SD file listings in alphabetical order . <nl> + * <nl> + * With this option enabled , items on SD cards will be sorted <nl> + * by name for easier navigation . <nl> + * <nl> + * By default . . . <nl> + * <nl> + * - Use the slowest - but safest - method for sorting . <nl> + * - Folders are sorted to the top . <nl> + * - The sort key is statically allocated . <nl> + * - No added G - code ( M34 ) support . <nl> + * - 40 item sorting limit . ( Items after the first 40 are unsorted . ) <nl> + * <nl> + * SD sorting uses static allocation ( as set by SDSORT_LIMIT ) , allowing the <nl> + * compiler to calculate the worst - case usage and throw an error if the SRAM <nl> + * limit is exceeded . <nl> + * <nl> + * - SDSORT_USES_RAM provides faster sorting via a static directory buffer . <nl> + * - SDSORT_USES_STACK does the same , but uses a local stack - based buffer . <nl> + * - SDSORT_CACHE_NAMES will retain the sorted file listing in RAM . ( Expensive ! ) <nl> + * - SDSORT_DYNAMIC_RAM only uses RAM when the SD menu is visible . ( Use with caution ! ) <nl> + * / <nl> + / / # define SDCARD_SORT_ALPHA <nl> + <nl> + / / SD Card Sorting options <nl> + # if ENABLED ( SDCARD_SORT_ALPHA ) <nl> + # define SDSORT_LIMIT 40 / / Maximum number of sorted items ( 10 - 256 ) . Costs 27 bytes each . <nl> + # define FOLDER_SORTING - 1 / / - 1 = above 0 = none 1 = below <nl> + # define SDSORT_GCODE false / / Allow turning sorting on / off with LCD and M34 g - code . <nl> + # define SDSORT_USES_RAM false / / Pre - allocate a static array for faster pre - sorting . <nl> + # define SDSORT_USES_STACK false / / Prefer the stack for pre - sorting to give back some SRAM . ( Negated by next 2 options . ) <nl> + # define SDSORT_CACHE_NAMES false / / Keep sorted items in RAM longer for speedy performance . Most expensive option . <nl> + # define SDSORT_DYNAMIC_RAM false / / Use dynamic allocation ( within SD menus ) . Least expensive option . Set SDSORT_LIMIT before use ! <nl> + # define SDSORT_CACHE_VFATS 2 / / Maximum number of 13 - byte VFAT entries to use for sorting . <nl> + / / Note : Only affects SCROLL_LONG_FILENAMES with SDSORT_CACHE_NAMES but not SDSORT_DYNAMIC_RAM . <nl> + # endif <nl> + <nl> + / / Show a progress bar on HD44780 LCDs for SD printing <nl> + / / # define LCD_PROGRESS_BAR <nl> + <nl> + # if ENABLED ( LCD_PROGRESS_BAR ) <nl> + / / Amount of time ( ms ) to show the bar <nl> + # define PROGRESS_BAR_BAR_TIME 2000 <nl> + / / Amount of time ( ms ) to show the status message <nl> + # define PROGRESS_BAR_MSG_TIME 3000 <nl> + / / Amount of time ( ms ) to retain the status message ( 0 = forever ) <nl> + # define PROGRESS_MSG_EXPIRE 0 <nl> + / / Enable this to show messages for MSG_TIME then hide them <nl> + / / # define PROGRESS_MSG_ONCE <nl> + / / Add a menu item to test the progress bar : <nl> + / / # define LCD_PROGRESS_BAR_TEST <nl> + # endif <nl> + <nl> + / / Add an ' M73 ' G - code to set the current percentage <nl> + / / # define LCD_SET_PROGRESS_MANUALLY <nl> + <nl> + / / This allows hosts to request long names for files and folders with M33 <nl> + / / # define LONG_FILENAME_HOST_SUPPORT <nl> + <nl> + / / Enable this option to scroll long filenames in the SD card menu <nl> + / / # define SCROLL_LONG_FILENAMES <nl> + <nl> + / * * <nl> + * This option allows you to abort SD printing when any endstop is triggered . <nl> + * This feature must be enabled with " M540 S1 " or from the LCD menu . <nl> + * To have any effect , endstops must be enabled during SD printing . <nl> + * / <nl> + / / # define ABORT_ON_ENDSTOP_HIT_FEATURE_ENABLED <nl> + <nl> + / * * <nl> + * This option makes it easier to print the same SD Card file again . <nl> + * On print completion the LCD Menu will open with the file selected . <nl> + * You can just click to start the print , or navigate elsewhere . <nl> + * / <nl> + / / # define SD_REPRINT_LAST_SELECTED_FILE <nl> + <nl> + # endif / / SDSUPPORT <nl> + <nl> + / * * <nl> + * Additional options for Graphical Displays <nl> + * <nl> + * Use the optimizations here to improve printing performance , <nl> + * which can be adversely affected by graphical display drawing , <nl> + * especially when doing several short moves , and when printing <nl> + * on DELTA and SCARA machines . <nl> + * <nl> + * Some of these options may result in the display lagging behind <nl> + * controller events , as there is a trade - off between reliable <nl> + * printing performance versus fast display updates . <nl> + * / <nl> + # if ENABLED ( DOGLCD ) <nl> + / / Enable to save many cycles by drawing a hollow frame on the Info Screen <nl> + # define XYZ_HOLLOW_FRAME <nl> + <nl> + / / Enable to save many cycles by drawing a hollow frame on Menu Screens <nl> + # define MENU_HOLLOW_FRAME <nl> + <nl> + / / A bigger font is available for edit items . Costs 3120 bytes of PROGMEM . <nl> + / / Western only . Not available for Cyrillic , Kana , Turkish , Greek , or Chinese . <nl> + / / # define USE_BIG_EDIT_FONT <nl> + <nl> + / / A smaller font may be used on the Info Screen . Costs 2300 bytes of PROGMEM . <nl> + / / Western only . Not available for Cyrillic , Kana , Turkish , Greek , or Chinese . <nl> + / / # define USE_SMALL_INFOFONT <nl> + <nl> + / / Enable this option and reduce the value to optimize screen updates . <nl> + / / The normal delay is 10µs . Use the lowest value that still gives a reliable display . <nl> + / / # define DOGM_SPI_DELAY_US 5 <nl> + <nl> + / / Swap the CW / CCW indicators in the graphics overlay <nl> + / / # define OVERLAY_GFX_REVERSE <nl> + <nl> + # endif / / DOGLCD <nl> + <nl> + / / @ section safety <nl> + <nl> + / / The hardware watchdog should reset the microcontroller disabling all outputs , <nl> + / / in case the firmware gets stuck and doesn ' t do temperature regulation . <nl> + / / # define USE_WATCHDOG <nl> + <nl> + # if ENABLED ( USE_WATCHDOG ) <nl> + / / If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever , as a watchdog reset will leave the watchdog on . <nl> + / / The " WATCHDOG_RESET_MANUAL " goes around this by not using the hardware reset . <nl> + / / However , THIS FEATURE IS UNSAFE ! , as it will only work if interrupts are disabled . And the code could hang in an interrupt routine with interrupts disabled . <nl> + / / # define WATCHDOG_RESET_MANUAL <nl> + # endif <nl> + <nl> + / / @ section lcd <nl> + <nl> + / * * <nl> + * Babystepping enables movement of the axes by tiny increments without changing <nl> + * the current position values . This feature is used primarily to adjust the Z <nl> + * axis in the first layer of a print in real - time . <nl> + * <nl> + * Warning : Does not respect endstops ! <nl> + * / <nl> + / / # define BABYSTEPPING <nl> + # if ENABLED ( BABYSTEPPING ) <nl> + / / # define BABYSTEP_XY / / Also enable X / Y Babystepping . Not supported on DELTA ! <nl> + # define BABYSTEP_INVERT_Z false / / Change if Z babysteps should go the other way <nl> + # define BABYSTEP_MULTIPLICATOR 1 / / Babysteps are very small . Increase for faster motion . <nl> + / / # define BABYSTEP_ZPROBE_OFFSET / / Enable to combine M851 and Babystepping <nl> + / / # define DOUBLECLICK_FOR_Z_BABYSTEPPING / / Double - click on the Status Screen for Z Babystepping . <nl> + # define DOUBLECLICK_MAX_INTERVAL 1250 / / Maximum interval between clicks , in milliseconds . <nl> + / / Note : Extra time may be added to mitigate controller latency . <nl> + / / # define BABYSTEP_ZPROBE_GFX_OVERLAY / / Enable graphical overlay on Z - offset editor <nl> + # endif <nl> + <nl> + / / @ section extruder <nl> + <nl> + / * * <nl> + * Implementation of linear pressure control <nl> + * <nl> + * Assumption : advance = k * ( delta velocity ) <nl> + * K = 0 means advance disabled . <nl> + * See Marlin documentation for calibration instructions . <nl> + * / <nl> + / / # define LIN_ADVANCE <nl> + <nl> + # if ENABLED ( LIN_ADVANCE ) <nl> + # define LIN_ADVANCE_K 75 <nl> + <nl> + / * * <nl> + * Some Slicers produce Gcode with randomly jumping extrusion widths occasionally . <nl> + * For example within a 0 . 4mm perimeter it may produce a single segment of 0 . 05mm width . <nl> + * While this is harmless for normal printing ( the fluid nature of the filament will <nl> + * close this very , very tiny gap ) , it throws off the LIN_ADVANCE pressure adaption . <nl> + * <nl> + * For this case LIN_ADVANCE_E_D_RATIO can be used to set the extrusion : distance ratio <nl> + * to a fixed value . Note that using a fixed ratio will lead to wrong nozzle pressures <nl> + * if the slicer is using variable widths or layer heights within one print ! <nl> + * <nl> + * This option sets the default E : D ratio at startup . Use ` M900 ` to override this value . <nl> + * <nl> + * Example : ` M900 W0 . 4 H0 . 2 D1 . 75 ` , where : <nl> + * - W is the extrusion width in mm <nl> + * - H is the layer height in mm <nl> + * - D is the filament diameter in mm <nl> + * <nl> + * Example : ` M900 R0 . 0458 ` to set the ratio directly . <nl> + * <nl> + * Set to 0 to auto - detect the ratio based on given Gcode G1 print moves . <nl> + * <nl> + * Slic3r ( including PrÅ ¯ Å ¡ a Control ) produces Gcode compatible with the automatic mode . <nl> + * Cura ( as of this writing ) may produce Gcode incompatible with the automatic mode . <nl> + * / <nl> + # define LIN_ADVANCE_E_D_RATIO 0 / / The calculated ratio ( or 0 ) according to the formula W * H / ( ( D / 2 ) ^ 2 * PI ) <nl> + / / Example : 0 . 4 * 0 . 2 / ( ( 1 . 75 / 2 ) ^ 2 * PI ) = 0 . 033260135 <nl> + # endif <nl> + <nl> + / / @ section leveling <nl> + <nl> + # if ENABLED ( DELTA ) & & ! defined ( DELTA_PROBEABLE_RADIUS ) <nl> + # define DELTA_PROBEABLE_RADIUS DELTA_PRINTABLE_RADIUS <nl> + # elif IS_SCARA & & ! defined ( SCARA_PRINTABLE_RADIUS ) <nl> + # define SCARA_PRINTABLE_RADIUS ( SCARA_LINKAGE_1 + SCARA_LINKAGE_2 ) <nl> + # endif <nl> + <nl> + # if ENABLED ( MESH_BED_LEVELING ) | | ENABLED ( AUTO_BED_LEVELING_UBL ) <nl> + / / Override the mesh area if the automatic ( max ) area is too large <nl> + / / # define MESH_MIN_X MESH_INSET <nl> + / / # define MESH_MIN_Y MESH_INSET <nl> + / / # define MESH_MAX_X X_BED_SIZE - ( MESH_INSET ) <nl> + / / # define MESH_MAX_Y Y_BED_SIZE - ( MESH_INSET ) <nl> + # endif <nl> + <nl> + / / @ section extras <nl> + <nl> + / / <nl> + / / G2 / G3 Arc Support <nl> + / / <nl> + # define ARC_SUPPORT / / Disable this feature to save ~ 3226 bytes <nl> + # if ENABLED ( ARC_SUPPORT ) <nl> + # define MM_PER_ARC_SEGMENT 1 / / Length of each arc segment <nl> + # define N_ARC_CORRECTION 25 / / Number of intertpolated segments between corrections <nl> + / / # define ARC_P_CIRCLES / / Enable the ' P ' parameter to specify complete circles <nl> + / / # define CNC_WORKSPACE_PLANES / / Allow G2 / G3 to operate in XY , ZX , or YZ planes <nl> + # endif <nl> + <nl> + / / Support for G5 with XYZE destination and IJPQ offsets . Requires ~ 2666 bytes . <nl> + / / # define BEZIER_CURVE_SUPPORT <nl> + <nl> + / / G38 . 2 and G38 . 3 Probe Target <nl> + / / Set MULTIPLE_PROBING if you want G38 to double touch <nl> + / / # define G38_PROBE_TARGET <nl> + # if ENABLED ( G38_PROBE_TARGET ) <nl> + # define G38_MINIMUM_MOVE 0 . 0275 / / minimum distance in mm that will produce a move ( determined using the print statement in check_move ) <nl> + # endif <nl> + <nl> + / / Moves ( or segments ) with fewer steps than this will be joined with the next move <nl> + # define MIN_STEPS_PER_SEGMENT 6 <nl> + <nl> + / / The minimum pulse width ( in µs ) for stepping a stepper . <nl> + / / Set this if you find stepping unreliable , or if using a very fast CPU . <nl> + # define MINIMUM_STEPPER_PULSE 0 / / ( µs ) The smallest stepper pulse allowed <nl> + <nl> + / / @ section temperature <nl> + <nl> + / / Control heater 0 and heater 1 in parallel . <nl> + / / # define HEATERS_PARALLEL <nl> + <nl> + / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> + / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = Buffers = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> + / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> + <nl> + / / @ section hidden <nl> + <nl> + / / The number of linear motions that can be in the plan at any give time . <nl> + / / THE BLOCK_BUFFER_SIZE NEEDS TO BE A POWER OF 2 ( e . g . 8 , 16 , 32 ) because shifts and ors are used to do the ring - buffering . <nl> + # if ENABLED ( SDSUPPORT ) <nl> + # define BLOCK_BUFFER_SIZE 16 / / SD , LCD , Buttons take more memory , block buffer needs to be smaller <nl> + # else <nl> + # define BLOCK_BUFFER_SIZE 16 / / maximize block buffer <nl> + # endif <nl> + <nl> + / / @ section serial <nl> + <nl> + / / The ASCII buffer for serial input <nl> + # define MAX_CMD_SIZE 96 <nl> + # define BUFSIZE 4 <nl> + <nl> + / / Transmission to Host Buffer Size <nl> + / / To save 386 bytes of PROGMEM ( and TX_BUFFER_SIZE + 3 bytes of RAM ) set to 0 . <nl> + / / To buffer a simple " ok " you need 4 bytes . <nl> + / / For ADVANCED_OK ( M105 ) you need 32 bytes . <nl> + / / For debug - echo : 128 bytes for the optimal speed . <nl> + / / Other output doesn ' t need to be that speedy . <nl> + / / : [ 0 , 2 , 4 , 8 , 16 , 32 , 64 , 128 , 256 ] <nl> + # define TX_BUFFER_SIZE 0 <nl> + <nl> + / / Host Receive Buffer Size <nl> + / / Without XON / XOFF flow control ( see SERIAL_XON_XOFF below ) 32 bytes should be enough . <nl> + / / To use flow control , set this buffer size to at least 1024 bytes . <nl> + / / : [ 0 , 2 , 4 , 8 , 16 , 32 , 64 , 128 , 256 , 512 , 1024 , 2048 ] <nl> + / / # define RX_BUFFER_SIZE 1024 <nl> + <nl> + # if RX_BUFFER_SIZE > = 1024 <nl> + / / Enable to have the controller send XON / XOFF control characters to <nl> + / / the host to signal the RX buffer is becoming full . <nl> + / / # define SERIAL_XON_XOFF <nl> + # endif <nl> + <nl> + # if ENABLED ( SDSUPPORT ) <nl> + / / Enable this option to collect and display the maximum <nl> + / / RX queue usage after transferring a file to SD . <nl> + / / # define SERIAL_STATS_MAX_RX_QUEUED <nl> + <nl> + / / Enable this option to collect and display the number <nl> + / / of dropped bytes after a file transfer to SD . <nl> + / / # define SERIAL_STATS_DROPPED_RX <nl> + # endif <nl> + <nl> + / / Enable an emergency - command parser to intercept certain commands as they <nl> + / / enter the serial receive buffer , so they cannot be blocked . <nl> + / / Currently handles M108 , M112 , M410 <nl> + / / Does not work on boards using AT90USB ( USBCON ) processors ! <nl> + / / # define EMERGENCY_PARSER <nl> + <nl> + / / Bad Serial - connections can miss a received command by sending an ' ok ' <nl> + / / Therefore some clients abort after 30 seconds in a timeout . <nl> + / / Some other clients start sending commands while receiving a ' wait ' . <nl> + / / This " wait " is only sent when the buffer is empty . 1 second is a good value here . <nl> + / / # define NO_TIMEOUTS 1000 / / Milliseconds <nl> + <nl> + / / Some clients will have this feature soon . This could make the NO_TIMEOUTS unnecessary . <nl> + / / # define ADVANCED_OK <nl> + <nl> + / / @ section extras <nl> + <nl> + / * * <nl> + * Firmware - based and LCD - controlled retract <nl> + * <nl> + * Add G10 / G11 commands for automatic firmware - based retract / recover . <nl> + * Use M207 and M208 to define parameters for retract / recover . <nl> + * <nl> + * Use M209 to enable or disable auto - retract . <nl> + * With auto - retract enabled , all G1 E moves within the set range <nl> + * will be converted to firmware - based retract / recover moves . <nl> + * <nl> + * Be sure to turn off auto - retract during filament change . <nl> + * <nl> + * Note that M207 / M208 / M209 settings are saved to EEPROM . <nl> + * <nl> + * / <nl> + / / # define FWRETRACT / / ONLY PARTIALLY TESTED <nl> + # if ENABLED ( FWRETRACT ) <nl> + # define MIN_AUTORETRACT 0 . 1 / / When auto - retract is on , convert E moves of this length and over <nl> + # define MAX_AUTORETRACT 10 . 0 / / Upper limit for auto - retract conversion <nl> + # define RETRACT_LENGTH 3 / / Default retract length ( positive mm ) <nl> + # define RETRACT_LENGTH_SWAP 13 / / Default swap retract length ( positive mm ) , for extruder change <nl> + # define RETRACT_FEEDRATE 45 / / Default feedrate for retracting ( mm / s ) <nl> + # define RETRACT_ZLIFT 0 / / Default retract Z - lift <nl> + # define RETRACT_RECOVER_LENGTH 0 / / Default additional recover length ( mm , added to retract length when recovering ) <nl> + # define RETRACT_RECOVER_LENGTH_SWAP 0 / / Default additional swap recover length ( mm , added to retract length when recovering from extruder change ) <nl> + # define RETRACT_RECOVER_FEEDRATE 8 / / Default feedrate for recovering from retraction ( mm / s ) <nl> + # define RETRACT_RECOVER_FEEDRATE_SWAP 8 / / Default feedrate for recovering from swap retraction ( mm / s ) <nl> + # endif <nl> + <nl> + / * * <nl> + * Extra Fan Speed <nl> + * Adds a secondary fan speed for each print - cooling fan . <nl> + * ' M106 P < fan > T3 - 255 ' : Set a secondary speed for < fan > <nl> + * ' M106 P < fan > T2 ' : Use the set secondary speed <nl> + * ' M106 P < fan > T1 ' : Restore the previous fan speed <nl> + * / <nl> + / / # define EXTRA_FAN_SPEED <nl> + <nl> + / * * <nl> + * Advanced Pause <nl> + * Experimental feature for filament change support and for parking the nozzle when paused . <nl> + * Adds the GCode M600 for initiating filament change . <nl> + * If PARK_HEAD_ON_PAUSE enabled , adds the GCode M125 to pause printing and park the nozzle . <nl> + * <nl> + * Requires an LCD display . <nl> + * Requires NOZZLE_PARK_FEATURE . <nl> + * This feature is required for the default FILAMENT_RUNOUT_SCRIPT . <nl> + * / <nl> + / / # define ADVANCED_PAUSE_FEATURE <nl> + # if ENABLED ( ADVANCED_PAUSE_FEATURE ) <nl> + # define PAUSE_PARK_RETRACT_FEEDRATE 60 / / ( mm / s ) Initial retract feedrate . <nl> + # define PAUSE_PARK_RETRACT_LENGTH 2 / / ( mm ) Initial retract . <nl> + / / This short retract is done immediately , before parking the nozzle . <nl> + # define FILAMENT_CHANGE_UNLOAD_FEEDRATE 10 / / ( mm / s ) Unload filament feedrate . This can be pretty fast . <nl> + # define FILAMENT_CHANGE_UNLOAD_LENGTH 100 / / ( mm ) The length of filament for a complete unload . <nl> + / / For Bowden , the full length of the tube and nozzle . <nl> + / / For direct drive , the full length of the nozzle . <nl> + / / Set to 0 for manual unloading . <nl> + # define FILAMENT_CHANGE_LOAD_FEEDRATE 6 / / ( mm / s ) Load filament feedrate . This can be pretty fast . <nl> + # define FILAMENT_CHANGE_LOAD_LENGTH 0 / / ( mm ) Load length of filament , from extruder gear to nozzle . <nl> + / / For Bowden , the full length of the tube and nozzle . <nl> + / / For direct drive , the full length of the nozzle . <nl> + # define ADVANCED_PAUSE_EXTRUDE_FEEDRATE 3 / / ( mm / s ) Extrude feedrate ( after loading ) . Should be slower than load feedrate . <nl> + # define ADVANCED_PAUSE_EXTRUDE_LENGTH 50 / / ( mm ) Length to extrude after loading . <nl> + / / Set to 0 for manual extrusion . <nl> + / / Filament can be extruded repeatedly from the Filament Change menu <nl> + / / until extrusion is consistent , and to purge old filament . <nl> + <nl> + / / Filament Unload does a Retract , Delay , and Purge first : <nl> + # define FILAMENT_UNLOAD_RETRACT_LENGTH 13 / / ( mm ) Unload initial retract length . <nl> + # define FILAMENT_UNLOAD_DELAY 5000 / / ( ms ) Delay for the filament to cool after retract . <nl> + # define FILAMENT_UNLOAD_PURGE_LENGTH 8 / / ( mm ) An unretract is done , then this length is purged . <nl> + <nl> + # define PAUSE_PARK_NOZZLE_TIMEOUT 45 / / ( seconds ) Time limit before the nozzle is turned off for safety . <nl> + # define FILAMENT_CHANGE_ALERT_BEEPS 10 / / Number of alert beeps to play when a response is needed . <nl> + # define PAUSE_PARK_NO_STEPPER_TIMEOUT / / Enable for XYZ steppers to stay powered on during filament change . <nl> + <nl> + / / # define PARK_HEAD_ON_PAUSE / / Park the nozzle during pause and filament change . <nl> + / / # define HOME_BEFORE_FILAMENT_CHANGE / / Ensure homing has been completed prior to parking for filament change <nl> + <nl> + / / # define FILAMENT_LOAD_UNLOAD_GCODES / / Add M701 / M702 Load / Unload G - codes , plus Load / Unload in the LCD Prepare menu . <nl> + / / # define FILAMENT_UNLOAD_ALL_EXTRUDERS / / Allow M702 to unload all extruders above a minimum target temp ( as set by M302 ) <nl> + # endif <nl> + <nl> + / / @ section tmc <nl> + <nl> + / * * <nl> + * Enable this section if you have TMC26X motor drivers . <nl> + * You will need to import the TMC26XStepper library into the Arduino IDE for this <nl> + * ( https : / / github . com / trinamic / TMC26XStepper . git ) <nl> + * / <nl> + # define HAVE_TMCDRIVER <nl> + <nl> + # if ENABLED ( HAVE_TMCDRIVER ) <nl> + <nl> + # define X_IS_TMC <nl> + / / # define X2_IS_TMC <nl> + # define Y_IS_TMC <nl> + / / # define Y2_IS_TMC <nl> + # define Z_IS_TMC <nl> + # define Z2_IS_TMC <nl> + # define E0_IS_TMC <nl> + / / # define E1_IS_TMC <nl> + / / # define E2_IS_TMC <nl> + / / # define E3_IS_TMC <nl> + / / # define E4_IS_TMC <nl> + <nl> + # define X_MAX_CURRENT 1200 / / in mA <nl> + # define X_SENSE_RESISTOR 50 / / in mOhms <nl> + # define X_MICROSTEPS 32 / / number of microsteps <nl> + <nl> + # define X2_MAX_CURRENT 1200 <nl> + # define X2_SENSE_RESISTOR 50 <nl> + # define X2_MICROSTEPS 32 <nl> + <nl> + # define Y_MAX_CURRENT 1200 <nl> + # define Y_SENSE_RESISTOR 50 <nl> + # define Y_MICROSTEPS 32 <nl> + <nl> + # define Y2_MAX_CURRENT 1200 <nl> + # define Y2_SENSE_RESISTOR 50 <nl> + # define Y2_MICROSTEPS 32 <nl> + <nl> + # define Z_MAX_CURRENT 1200 <nl> + # define Z_SENSE_RESISTOR 50 <nl> + # define Z_MICROSTEPS 32 <nl> + <nl> + # define Z2_MAX_CURRENT 1200 <nl> + # define Z2_SENSE_RESISTOR 50 <nl> + # define Z2_MICROSTEPS 32 <nl> + <nl> + # define E0_MAX_CURRENT 1200 <nl> + # define E0_SENSE_RESISTOR 50 <nl> + # define E0_MICROSTEPS 32 <nl> + <nl> + # define E1_MAX_CURRENT 1200 <nl> + # define E1_SENSE_RESISTOR 50 <nl> + # define E1_MICROSTEPS 32 <nl> + <nl> + # define E2_MAX_CURRENT 1200 <nl> + # define E2_SENSE_RESISTOR 50 <nl> + # define E2_MICROSTEPS 32 <nl> + <nl> + # define E3_MAX_CURRENT 1200 <nl> + # define E3_SENSE_RESISTOR 50 <nl> + # define E3_MICROSTEPS 32 <nl> + <nl> + # define E4_MAX_CURRENT 1200 <nl> + # define E4_SENSE_RESISTOR 50 <nl> + # define E4_MICROSTEPS 32 <nl> + <nl> + # endif <nl> + <nl> + / / @ section TMC2130 , TMC2208 <nl> + <nl> + / * * <nl> + * Enable this for SilentStepStick Trinamic TMC2130 SPI - configurable stepper drivers . <nl> + * <nl> + * You ' ll also need the TMC2130Stepper Arduino library <nl> + * ( https : / / github . com / teemuatlut / TMC2130Stepper ) . <nl> + * <nl> + * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to <nl> + * the hardware SPI interface on your board and define the required CS pins <nl> + * in your ` pins_MYBOARD . h ` file . ( e . g . , RAMPS 1 . 4 uses AUX3 pins ` X_CS_PIN 53 ` , ` Y_CS_PIN 49 ` , etc . ) . <nl> + * / <nl> + / / # define HAVE_TMC2130 <nl> + <nl> + / * * <nl> + * Enable this for SilentStepStick Trinamic TMC2208 UART - configurable stepper drivers . <nl> + * Connect # _SERIAL_TX_PIN to the driver side PDN_UART pin . <nl> + * To use the reading capabilities , also connect # _SERIAL_RX_PIN <nl> + * to # _SERIAL_TX_PIN with a 1K resistor . <nl> + * The drivers can also be used with hardware serial . <nl> + * <nl> + * You ' ll also need the TMC2208Stepper Arduino library <nl> + * ( https : / / github . com / teemuatlut / TMC2208Stepper ) . <nl> + * / <nl> + / / # define HAVE_TMC2208 <nl> + <nl> + # if ENABLED ( HAVE_TMC2130 ) | | ENABLED ( HAVE_TMC2208 ) <nl> + <nl> + / / CHOOSE YOUR MOTORS HERE , THIS IS MANDATORY <nl> + / / # define X_IS_TMC2130 <nl> + / / # define X2_IS_TMC2130 <nl> + / / # define Y_IS_TMC2130 <nl> + / / # define Y2_IS_TMC2130 <nl> + / / # define Z_IS_TMC2130 <nl> + / / # define Z2_IS_TMC2130 <nl> + / / # define E0_IS_TMC2130 <nl> + / / # define E1_IS_TMC2130 <nl> + / / # define E2_IS_TMC2130 <nl> + / / # define E3_IS_TMC2130 <nl> + / / # define E4_IS_TMC2130 <nl> + <nl> + / / # define X_IS_TMC2208 <nl> + / / # define X2_IS_TMC2208 <nl> + / / # define Y_IS_TMC2208 <nl> + / / # define Y2_IS_TMC2208 <nl> + / / # define Z_IS_TMC2208 <nl> + / / # define Z2_IS_TMC2208 <nl> + / / # define E0_IS_TMC2208 <nl> + / / # define E1_IS_TMC2208 <nl> + / / # define E2_IS_TMC2208 <nl> + / / # define E3_IS_TMC2208 <nl> + / / # define E4_IS_TMC2208 <nl> + <nl> + / * * <nl> + * Stepper driver settings <nl> + * / <nl> + <nl> + # define R_SENSE 0 . 11 / / R_sense resistor for SilentStepStick2130 <nl> + # define HOLD_MULTIPLIER 0 . 5 / / Scales down the holding current from run current <nl> + # define INTERPOLATE true / / Interpolate X / Y / Z_MICROSTEPS to 256 <nl> + <nl> + # define X_CURRENT 800 / / rms current in mA . Multiply by 1 . 41 for peak current . <nl> + # define X_MICROSTEPS 16 / / 0 . . 256 <nl> + <nl> + # define Y_CURRENT 800 <nl> + # define Y_MICROSTEPS 16 <nl> + <nl> + # define Z_CURRENT 800 <nl> + # define Z_MICROSTEPS 16 <nl> + <nl> + # define X2_CURRENT 800 <nl> + # define X2_MICROSTEPS 16 <nl> + <nl> + # define Y2_CURRENT 800 <nl> + # define Y2_MICROSTEPS 16 <nl> + <nl> + # define Z2_CURRENT 800 <nl> + # define Z2_MICROSTEPS 16 <nl> + <nl> + # define E0_CURRENT 800 <nl> + # define E0_MICROSTEPS 16 <nl> + <nl> + # define E1_CURRENT 800 <nl> + # define E1_MICROSTEPS 16 <nl> + <nl> + # define E2_CURRENT 800 <nl> + # define E2_MICROSTEPS 16 <nl> + <nl> + # define E3_CURRENT 800 <nl> + # define E3_MICROSTEPS 16 <nl> + <nl> + # define E4_CURRENT 800 <nl> + # define E4_MICROSTEPS 16 <nl> + <nl> + / * * <nl> + * Use Trinamic ' s ultra quiet stepping mode . <nl> + * When disabled , Marlin will use spreadCycle stepping mode . <nl> + * / <nl> + # define STEALTHCHOP <nl> + <nl> + / * * <nl> + * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions , <nl> + * like overtemperature and short to ground . TMC2208 requires hardware serial . <nl> + * In the case of overtemperature Marlin can decrease the driver current until error condition clears . <nl> + * Other detected conditions can be used to stop the current print . <nl> + * Relevant g - codes : <nl> + * M906 - Set or get motor current in milliamps using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> + * M911 - Report stepper driver overtemperature pre - warn condition . <nl> + * M912 - Clear stepper driver overtemperature pre - warn condition flag . <nl> + * M122 S0 / 1 - Report driver parameters ( Requires TMC_DEBUG ) <nl> + * / <nl> + / / # define MONITOR_DRIVER_STATUS <nl> + <nl> + # if ENABLED ( MONITOR_DRIVER_STATUS ) <nl> + # define CURRENT_STEP_DOWN 50 / / [ mA ] <nl> + # define REPORT_CURRENT_CHANGE <nl> + # define STOP_ON_ERROR <nl> + # endif <nl> + <nl> + / * * <nl> + * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD . <nl> + * This mode allows for faster movements at the expense of higher noise levels . <nl> + * STEALTHCHOP needs to be enabled . <nl> + * M913 X / Y / Z / E to live tune the setting <nl> + * / <nl> + / / # define HYBRID_THRESHOLD <nl> + <nl> + # define X_HYBRID_THRESHOLD 100 / / [ mm / s ] <nl> + # define X2_HYBRID_THRESHOLD 100 <nl> + # define Y_HYBRID_THRESHOLD 100 <nl> + # define Y2_HYBRID_THRESHOLD 100 <nl> + # define Z_HYBRID_THRESHOLD 3 <nl> + # define Z2_HYBRID_THRESHOLD 3 <nl> + # define E0_HYBRID_THRESHOLD 30 <nl> + # define E1_HYBRID_THRESHOLD 30 <nl> + # define E2_HYBRID_THRESHOLD 30 <nl> + # define E3_HYBRID_THRESHOLD 30 <nl> + # define E4_HYBRID_THRESHOLD 30 <nl> + <nl> + / * * <nl> + * Use stallGuard2 to sense an obstacle and trigger an endstop . <nl> + * You need to place a wire from the driver ' s DIAG1 pin to the X / Y endstop pin . <nl> + * X and Y homing will always be done in spreadCycle mode . <nl> + * <nl> + * X / Y_HOMING_SENSITIVITY is used for tuning the trigger sensitivity . <nl> + * Higher values make the system LESS sensitive . <nl> + * Lower value make the system MORE sensitive . <nl> + * Too low values can lead to false positives , while too high values will collide the axis without triggering . <nl> + * It is advised to set X / Y_HOME_BUMP_MM to 0 . <nl> + * M914 X / Y to live tune the setting <nl> + * / <nl> + / / # define SENSORLESS_HOMING / / TMC2130 only <nl> + <nl> + # if ENABLED ( SENSORLESS_HOMING ) <nl> + # define X_HOMING_SENSITIVITY 8 <nl> + # define Y_HOMING_SENSITIVITY 8 <nl> + # endif <nl> + <nl> + / * * <nl> + * Enable M122 debugging command for TMC stepper drivers . <nl> + * M122 S0 / 1 will enable continous reporting . <nl> + * / <nl> + / / # define TMC_DEBUG <nl> + <nl> + / * * <nl> + * M915 Z Axis Calibration <nl> + * <nl> + * - Adjust Z stepper current , <nl> + * - Drive the Z axis to its physical maximum , and <nl> + * - Home Z to account for the lost steps . <nl> + * <nl> + * Use M915 Snn to specify the current . <nl> + * Use M925 Znn to add extra Z height to Z_MAX_POS . <nl> + * / <nl> + / / # define TMC_Z_CALIBRATION <nl> + # if ENABLED ( TMC_Z_CALIBRATION ) <nl> + # define CALIBRATION_CURRENT 250 <nl> + # define CALIBRATION_EXTRA_HEIGHT 10 <nl> + # endif <nl> + <nl> + / * * <nl> + * You can set your own advanced settings by filling in predefined functions . <nl> + * A list of available functions can be found on the library github page <nl> + * https : / / github . com / teemuatlut / TMC2130Stepper <nl> + * https : / / github . com / teemuatlut / TMC2208Stepper <nl> + * <nl> + * Example : <nl> + * # define TMC_ADV ( ) { \ <nl> + * stepperX . diag0_temp_prewarn ( 1 ) ; \ <nl> + * stepperY . interpolate ( 0 ) ; \ <nl> + * } <nl> + * / <nl> + # define TMC_ADV ( ) { } <nl> + <nl> + # endif / / TMC2130 | | TMC2208 <nl> + <nl> + / / @ section L6470 <nl> + <nl> + / * * <nl> + * Enable this section if you have L6470 motor drivers . <nl> + * You need to import the L6470 library into the Arduino IDE for this . <nl> + * ( https : / / github . com / ameyer / Arduino - L6470 ) <nl> + * / <nl> + <nl> + / / # define HAVE_L6470DRIVER <nl> + # if ENABLED ( HAVE_L6470DRIVER ) <nl> + <nl> + / / # define X_IS_L6470 <nl> + / / # define X2_IS_L6470 <nl> + / / # define Y_IS_L6470 <nl> + / / # define Y2_IS_L6470 <nl> + / / # define Z_IS_L6470 <nl> + / / # define Z2_IS_L6470 <nl> + / / # define E0_IS_L6470 <nl> + / / # define E1_IS_L6470 <nl> + / / # define E2_IS_L6470 <nl> + / / # define E3_IS_L6470 <nl> + / / # define E4_IS_L6470 <nl> + <nl> + # define X_MICROSTEPS 16 / / number of microsteps <nl> + # define X_OVERCURRENT 2000 / / maxc current in mA . If the current goes over this value , the driver will switch off <nl> + # define X_STALLCURRENT 1500 / / current in mA where the driver will detect a stall <nl> + <nl> + # define X2_MICROSTEPS 16 <nl> + # define X2_OVERCURRENT 2000 <nl> + # define X2_STALLCURRENT 1500 <nl> + <nl> + # define Y_MICROSTEPS 16 <nl> + # define Y_OVERCURRENT 2000 <nl> + # define Y_STALLCURRENT 1500 <nl> + <nl> + # define Y2_MICROSTEPS 16 <nl> + # define Y2_OVERCURRENT 2000 <nl> + # define Y2_STALLCURRENT 1500 <nl> + <nl> + # define Z_MICROSTEPS 16 <nl> + # define Z_OVERCURRENT 2000 <nl> + # define Z_STALLCURRENT 1500 <nl> + <nl> + # define Z2_MICROSTEPS 16 <nl> + # define Z2_OVERCURRENT 2000 <nl> + # define Z2_STALLCURRENT 1500 <nl> + <nl> + # define E0_MICROSTEPS 16 <nl> + # define E0_OVERCURRENT 2000 <nl> + # define E0_STALLCURRENT 1500 <nl> + <nl> + # define E1_MICROSTEPS 16 <nl> + # define E1_OVERCURRENT 2000 <nl> + # define E1_STALLCURRENT 1500 <nl> + <nl> + # define E2_MICROSTEPS 16 <nl> + # define E2_OVERCURRENT 2000 <nl> + # define E2_STALLCURRENT 1500 <nl> + <nl> + # define E3_MICROSTEPS 16 <nl> + # define E3_OVERCURRENT 2000 <nl> + # define E3_STALLCURRENT 1500 <nl> + <nl> + # define E4_MICROSTEPS 16 <nl> + # define E4_OVERCURRENT 2000 <nl> + # define E4_STALLCURRENT 1500 <nl> + <nl> + # endif <nl> + <nl> + / * * <nl> + * TWI / I2C BUS <nl> + * <nl> + * This feature is an EXPERIMENTAL feature so it shall not be used on production <nl> + * machines . Enabling this will allow you to send and receive I2C data from slave <nl> + * devices on the bus . <nl> + * <nl> + * ; Example # 1 <nl> + * ; This macro send the string " Marlin " to the slave device with address 0x63 ( 99 ) <nl> + * ; It uses multiple M260 commands with one B < base 10 > arg <nl> + * M260 A99 ; Target slave address <nl> + * M260 B77 ; M <nl> + * M260 B97 ; a <nl> + * M260 B114 ; r <nl> + * M260 B108 ; l <nl> + * M260 B105 ; i <nl> + * M260 B110 ; n <nl> + * M260 S1 ; Send the current buffer <nl> + * <nl> + * ; Example # 2 <nl> + * ; Request 6 bytes from slave device with address 0x63 ( 99 ) <nl> + * M261 A99 B5 <nl> + * <nl> + * ; Example # 3 <nl> + * ; Example serial output of a M261 request <nl> + * echo : i2c - reply : from : 99 bytes : 5 data : hello <nl> + * / <nl> + <nl> + / / @ section i2cbus <nl> + <nl> + / / # define EXPERIMENTAL_I2CBUS <nl> + # define I2C_SLAVE_ADDRESS 0 / / Set a value from 8 to 127 to act as a slave <nl> + <nl> + / / @ section extras <nl> + <nl> + / * * <nl> + * Spindle & Laser control <nl> + * <nl> + * Add the M3 , M4 , and M5 commands to turn the spindle / laser on and off , and <nl> + * to set spindle speed , spindle direction , and laser power . <nl> + * <nl> + * SuperPid is a router / spindle speed controller used in the CNC milling community . <nl> + * Marlin can be used to turn the spindle on and off . It can also be used to set <nl> + * the spindle speed from 5 , 000 to 30 , 000 RPM . <nl> + * <nl> + * You ' ll need to select a pin for the ON / OFF function and optionally choose a 0 - 5V <nl> + * hardware PWM pin for the speed control and a pin for the rotation direction . <nl> + * <nl> + * See http : / / marlinfw . org / docs / configuration / laser_spindle . html for more config details . <nl> + * / <nl> + / / # define SPINDLE_LASER_ENABLE <nl> + # if ENABLED ( SPINDLE_LASER_ENABLE ) <nl> + <nl> + # define SPINDLE_LASER_ENABLE_INVERT false / / set to " true " if the on / off function is reversed <nl> + # define SPINDLE_LASER_PWM true / / set to true if your controller supports setting the speed / power <nl> + # define SPINDLE_LASER_PWM_INVERT true / / set to " true " if the speed / power goes up when you want it to go slower <nl> + # define SPINDLE_LASER_POWERUP_DELAY 5000 / / delay in milliseconds to allow the spindle / laser to come up to speed / power <nl> + # define SPINDLE_LASER_POWERDOWN_DELAY 5000 / / delay in milliseconds to allow the spindle to stop <nl> + # define SPINDLE_DIR_CHANGE true / / set to true if your spindle controller supports changing spindle direction <nl> + # define SPINDLE_INVERT_DIR false <nl> + # define SPINDLE_STOP_ON_DIR_CHANGE true / / set to true if Marlin should stop the spindle before changing rotation direction <nl> + <nl> + / * * <nl> + * The M3 & M4 commands use the following equation to convert PWM duty cycle to speed / power <nl> + * <nl> + * SPEED / POWER = PWM duty cycle * SPEED_POWER_SLOPE + SPEED_POWER_INTERCEPT <nl> + * where PWM duty cycle varies from 0 to 255 <nl> + * <nl> + * set the following for your controller ( ALL MUST BE SET ) <nl> + * / <nl> + <nl> + # define SPEED_POWER_SLOPE 118 . 4 <nl> + # define SPEED_POWER_INTERCEPT 0 <nl> + # define SPEED_POWER_MIN 5000 <nl> + # define SPEED_POWER_MAX 30000 / / SuperPID router controller 0 - 30 , 000 RPM <nl> + <nl> + / / # define SPEED_POWER_SLOPE 0 . 3922 <nl> + / / # define SPEED_POWER_INTERCEPT 0 <nl> + / / # define SPEED_POWER_MIN 10 <nl> + / / # define SPEED_POWER_MAX 100 / / 0 - 100 % <nl> + # endif <nl> + <nl> + / * * <nl> + * Filament Width Sensor <nl> + * <nl> + * Measures the filament width in real - time and adjusts <nl> + * flow rate to compensate for any irregularities . <nl> + * <nl> + * Also allows the measured filament diameter to set the <nl> + * extrusion rate , so the slicer only has to specify the <nl> + * volume . <nl> + * <nl> + * Only a single extruder is supported at this time . <nl> + * <nl> + * 34 RAMPS_14 : Analog input 5 on the AUX2 connector <nl> + * 81 PRINTRBOARD : Analog input 2 on the Exp1 connector ( version B , C , D , E ) <nl> + * 301 RAMBO : Analog input 3 <nl> + * <nl> + * Note : May require analog pins to be defined for other boards . <nl> + * / <nl> + / / # define FILAMENT_WIDTH_SENSOR <nl> + <nl> + # if ENABLED ( FILAMENT_WIDTH_SENSOR ) <nl> + # define FILAMENT_SENSOR_EXTRUDER_NUM 0 / / Index of the extruder that has the filament sensor . : [ 0 , 1 , 2 , 3 , 4 ] <nl> + # define MEASUREMENT_DELAY_CM 14 / / ( cm ) The distance from the filament sensor to the melting chamber <nl> + <nl> + # define FILWIDTH_ERROR_MARGIN 1 . 0 / / ( mm ) If a measurement differs too much from nominal width ignore it <nl> + # define MAX_MEASUREMENT_DELAY 20 / / ( bytes ) Buffer size for stored measurements ( 1 byte per cm ) . Must be larger than MEASUREMENT_DELAY_CM . <nl> + <nl> + # define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA / / Set measured to nominal initially <nl> + <nl> + / / Display filament width on the LCD status line . Status messages will expire after 5 seconds . <nl> + / / # define FILAMENT_LCD_DISPLAY <nl> + # endif <nl> + <nl> + / * * <nl> + * CNC Coordinate Systems <nl> + * <nl> + * Enables G53 and G54 - G59 . 3 commands to select coordinate systems <nl> + * and G92 . 1 to reset the workspace to native machine space . <nl> + * / <nl> + / / # define CNC_COORDINATE_SYSTEMS <nl> + <nl> + / * * <nl> + * M43 - display pin status , watch pins for changes , watch endstops & toggle LED , Z servo probe test , toggle pins <nl> + * / <nl> + / / # define PINS_DEBUGGING <nl> + <nl> + / * * <nl> + * Auto - report temperatures with M155 S < seconds > <nl> + * / <nl> + # define AUTO_REPORT_TEMPERATURES <nl> + <nl> + / * * <nl> + * Include capabilities in M115 output <nl> + * / <nl> + # define EXTENDED_CAPABILITIES_REPORT <nl> + <nl> + / * * <nl> + * Disable all Volumetric extrusion options <nl> + * / <nl> + / / # define NO_VOLUMETRICS <nl> + <nl> + # if DISABLED ( NO_VOLUMETRICS ) <nl> + / * * <nl> + * Volumetric extrusion default state <nl> + * Activate to make volumetric extrusion the default method , <nl> + * with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter . <nl> + * <nl> + * M200 D0 to disable , M200 Dn to set a new diameter . <nl> + * / <nl> + / / # define VOLUMETRIC_DEFAULT_ON <nl> + # endif <nl> + <nl> + / * * <nl> + * Enable this option for a leaner build of Marlin that removes all <nl> + * workspace offsets , simplifying coordinate transformations , leveling , etc . <nl> + * <nl> + * - M206 and M428 are disabled . <nl> + * - G92 will revert to its behavior from Marlin 1 . 0 . <nl> + * / <nl> + / / # define NO_WORKSPACE_OFFSETS <nl> + <nl> + / * * <nl> + * Set the number of proportional font spaces required to fill up a typical character space . <nl> + * This can help to better align the output of commands like ` G29 O ` Mesh Output . <nl> + * <nl> + * For clients that use a fixed - width font ( like OctoPrint ) , leave this set to 1 . 0 . <nl> + * Otherwise , adjust according to your client and font . <nl> + * / <nl> + # define PROPORTIONAL_FONT_RATIO 1 . 0 <nl> + <nl> + / * * <nl> + * Spend 28 bytes of SRAM to optimize the GCode parser <nl> + * / <nl> + # define FASTER_GCODE_PARSER <nl> + <nl> + / * * <nl> + * User - defined menu items that execute custom GCode <nl> + * / <nl> + / / # define CUSTOM_USER_MENUS <nl> + # if ENABLED ( CUSTOM_USER_MENUS ) <nl> + # define USER_SCRIPT_DONE " M117 User Script Done " <nl> + # define USER_SCRIPT_AUDIBLE_FEEDBACK <nl> + / / # define USER_SCRIPT_RETURN / / Return to status screen after a script <nl> + <nl> + # define USER_DESC_1 " Home & UBL Info " <nl> + # define USER_GCODE_1 " G28 \ nG29 W " <nl> + <nl> + # define USER_DESC_2 " Preheat for PLA " <nl> + # define USER_GCODE_2 " M140 S " STRINGIFY ( PREHEAT_1_TEMP_BED ) " \ nM104 S " STRINGIFY ( PREHEAT_1_TEMP_HOTEND ) <nl> + <nl> + # define USER_DESC_3 " Preheat for ABS " <nl> + # define USER_GCODE_3 " M140 S " STRINGIFY ( PREHEAT_2_TEMP_BED ) " \ nM104 S " STRINGIFY ( PREHEAT_2_TEMP_HOTEND ) <nl> + <nl> + # define USER_DESC_4 " Heat Bed / Home / Level " <nl> + # define USER_GCODE_4 " M140 S " STRINGIFY ( PREHEAT_2_TEMP_BED ) " \ nG28 \ nG29 " <nl> + <nl> + # define USER_DESC_5 " Home & Info " <nl> + # define USER_GCODE_5 " G28 \ nM503 " <nl> + # endif <nl> + <nl> + / * * <nl> + * Specify an action command to send to the host when the printer is killed . <nl> + * Will be sent in the form ' / / action : ACTION_ON_KILL ' , e . g . ' / / action : poweroff ' . <nl> + * The host must be configured to handle the action command . <nl> + * / <nl> + / / # define ACTION_ON_KILL " poweroff " <nl> + <nl> + / * * <nl> + * Specify an action command to send to the host on pause and resume . <nl> + * Will be sent in the form ' / / action : ACTION_ON_PAUSE ' , e . g . ' / / action : pause ' . <nl> + * The host must be configured to handle the action command . <nl> + * / <nl> + / / # define ACTION_ON_PAUSE " pause " <nl> + / / # define ACTION_ON_RESUME " resume " <nl> + <nl> + / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> + / / = = = = = = = = = = = = = = = = = = = = = = I2C Position Encoder Settings = = = = = = = = = = = = = = = = = = = = = = <nl> + / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> + <nl> + / * * <nl> + * I2C position encoders for closed loop control . <nl> + * Developed by Chris Barr at Aus3D . <nl> + * <nl> + * Wiki : http : / / wiki . aus3d . com . au / Magnetic_Encoder <nl> + * Github : https : / / github . com / Aus3D / MagneticEncoder <nl> + * <nl> + * Supplier : http : / / aus3d . com . au / magnetic - encoder - module <nl> + * Alternative Supplier : http : / / reliabuild3d . com / <nl> + * <nl> + * Reilabuild encoders have been modified to improve reliability . <nl> + * / <nl> + <nl> + / / # define I2C_POSITION_ENCODERS <nl> + # if ENABLED ( I2C_POSITION_ENCODERS ) <nl> + <nl> + # define I2CPE_ENCODER_CNT 1 / / The number of encoders installed ; max of 5 <nl> + / / encoders supported currently . <nl> + <nl> + # define I2CPE_ENC_1_ADDR I2CPE_PRESET_ADDR_X / / I2C address of the encoder . 30 - 200 . <nl> + # define I2CPE_ENC_1_AXIS X_AXIS / / Axis the encoder module is installed on . < X | Y | Z | E > _AXIS . <nl> + # define I2CPE_ENC_1_TYPE I2CPE_ENC_TYPE_LINEAR / / Type of encoder : I2CPE_ENC_TYPE_LINEAR - or - <nl> + / / I2CPE_ENC_TYPE_ROTARY . <nl> + # define I2CPE_ENC_1_TICKS_UNIT 2048 / / 1024 for magnetic strips with 2mm poles ; 2048 for <nl> + / / 1mm poles . For linear encoders this is ticks / mm , <nl> + / / for rotary encoders this is ticks / revolution . <nl> + / / # define I2CPE_ENC_1_TICKS_REV ( 16 * 200 ) / / Only needed for rotary encoders ; number of stepper <nl> + / / steps per full revolution ( motor steps / rev * microstepping ) <nl> + / / # define I2CPE_ENC_1_INVERT / / Invert the direction of axis travel . <nl> + # define I2CPE_ENC_1_EC_METHOD I2CPE_ECM_NONE / / Type of error error correction . <nl> + # define I2CPE_ENC_1_EC_THRESH 0 . 10 / / Threshold size for error ( in mm ) above which the <nl> + / / printer will attempt to correct the error ; errors <nl> + / / smaller than this are ignored to minimize effects of <nl> + / / measurement noise / latency ( filter ) . <nl> + <nl> + # define I2CPE_ENC_2_ADDR I2CPE_PRESET_ADDR_Y / / Same as above , but for encoder 2 . <nl> + # define I2CPE_ENC_2_AXIS Y_AXIS <nl> + # define I2CPE_ENC_2_TYPE I2CPE_ENC_TYPE_LINEAR <nl> + # define I2CPE_ENC_2_TICKS_UNIT 2048 <nl> + / / # define I2CPE_ENC_2_TICKS_REV ( 16 * 200 ) <nl> + / / # define I2CPE_ENC_2_INVERT <nl> + # define I2CPE_ENC_2_EC_METHOD I2CPE_ECM_NONE <nl> + # define I2CPE_ENC_2_EC_THRESH 0 . 10 <nl> + <nl> + # define I2CPE_ENC_3_ADDR I2CPE_PRESET_ADDR_Z / / Encoder 3 . Add additional configuration options <nl> + # define I2CPE_ENC_3_AXIS Z_AXIS / / as above , or use defaults below . <nl> + <nl> + # define I2CPE_ENC_4_ADDR I2CPE_PRESET_ADDR_E / / Encoder 4 . <nl> + # define I2CPE_ENC_4_AXIS E_AXIS <nl> + <nl> + # define I2CPE_ENC_5_ADDR 34 / / Encoder 5 . <nl> + # define I2CPE_ENC_5_AXIS E_AXIS <nl> + <nl> + / / Default settings for encoders which are enabled , but without settings configured above . <nl> + # define I2CPE_DEF_TYPE I2CPE_ENC_TYPE_LINEAR <nl> + # define I2CPE_DEF_ENC_TICKS_UNIT 2048 <nl> + # define I2CPE_DEF_TICKS_REV ( 16 * 200 ) <nl> + # define I2CPE_DEF_EC_METHOD I2CPE_ECM_NONE <nl> + # define I2CPE_DEF_EC_THRESH 0 . 1 <nl> + <nl> + / / # define I2CPE_ERR_THRESH_ABORT 100 . 0 / / Threshold size for error ( in mm ) error on any given <nl> + / / axis after which the printer will abort . Comment out to <nl> + / / disable abort behaviour . <nl> + <nl> + # define I2CPE_TIME_TRUSTED 10000 / / After an encoder fault , there must be no further fault <nl> + / / for this amount of time ( in ms ) before the encoder <nl> + / / is trusted again . <nl> + <nl> + / * * <nl> + * Position is checked every time a new command is executed from the buffer but during long moves , <nl> + * this setting determines the minimum update time between checks . A value of 100 works well with <nl> + * error rolling average when attempting to correct only for skips and not for vibration . <nl> + * / <nl> + # define I2CPE_MIN_UPD_TIME_MS 100 / / Minimum time in miliseconds between encoder checks . <nl> + <nl> + / / Use a rolling average to identify persistant errors that indicate skips , as opposed to vibration and noise . <nl> + # define I2CPE_ERR_ROLLING_AVERAGE <nl> + <nl> + # endif / / I2C_POSITION_ENCODERS <nl> + <nl> + / * * <nl> + * MAX7219 Debug Matrix <nl> + * <nl> + * Add support for a low - cost 8x8 LED Matrix based on the Max7219 chip , which can be used as a status <nl> + * display . Requires 3 signal wires . Some useful debug options are included to demonstrate its usage . <nl> + * <nl> + * Fully assembled MAX7219 boards can be found on the internet for under $ 2 ( US ) . <nl> + * For example , see https : / / www . ebay . com / sch / i . html ? _nkw = 332349290049 <nl> + * / <nl> + / / # define MAX7219_DEBUG <nl> + # if ENABLED ( MAX7219_DEBUG ) <nl> + # define MAX7219_CLK_PIN 64 / / 77 on Re - ARM / / Configuration of the 3 pins to control the display <nl> + # define MAX7219_DIN_PIN 57 / / 78 on Re - ARM <nl> + # define MAX7219_LOAD_PIN 44 / / 79 on Re - ARM <nl> + <nl> + / * * <nl> + * Sample debug features <nl> + * If you add more debug displays , be careful to avoid conflicts ! <nl> + * / <nl> + # define MAX7219_DEBUG_PRINTER_ALIVE / / Blink corner LED of 8x8 matrix to show that the firmware is functioning <nl> + # define MAX7219_DEBUG_STEPPER_HEAD 3 / / Show the stepper queue head position on this and the next LED matrix row <nl> + # define MAX7219_DEBUG_STEPPER_TAIL 5 / / Show the stepper queue tail position on this and the next LED matrix row <nl> + <nl> + # define MAX7219_DEBUG_STEPPER_QUEUE 0 / / Show the current stepper queue depth on this and the next LED matrix row <nl> + / / If you experience stuttering , reboots , etc . this option can reveal how <nl> + / / tweaks made to the configuration are affecting the printer in real - time . <nl> + # endif <nl> + <nl> + / * * <nl> + * NanoDLP Sync support <nl> + * <nl> + * Add support for Synchronized Z moves when using with NanoDLP . G0 / G1 axis moves will output " Z_move_comp " <nl> + * string to enable synchronization with DLP projector exposure . This change will allow to use <nl> + * [ [ WaitForDoneMessage ] ] instead of populating your gcode with M400 commands <nl> + * / <nl> + / / # define NANODLP_Z_SYNC <nl> + # if ENABLED ( NANODLP_Z_SYNC ) <nl> + / / # define NANODLP_ALL_AXIS / / Enables " Z_move_comp " output on any axis move . <nl> + / / Default behaviour is limited to Z axis only . <nl> + # endif <nl> + <nl> + # endif / / CONFIGURATION_ADV_H <nl> mmm a / Marlin / src / core / boards . h <nl> ppp b / Marlin / src / core / boards . h <nl> <nl> # define BOARD_BEAST 1802 / / STM32FxxxVxT6 Libmaple based stm32f4 controller <nl> # define BOARD_STM3R_MINI 1803 / / STM32 Libmaple based stm32f1 controller <nl> <nl> + / / <nl> + / / ARM Cortex M7 <nl> + / / <nl> + # define BOARD_THE_BORG 1860 / / THE - BORG ( Power outputs : Hotend0 , Hotend1 , Bed , Fan ) <nl> + <nl> + <nl> # define MB ( board ) ( MOTHERBOARD = = BOARD_ # # board ) <nl> <nl> # endif / / __BOARDS_H <nl> mmm a / Marlin / src / module / stepper_indirection . cpp <nl> ppp b / Marlin / src / module / stepper_indirection . cpp <nl> <nl> # if ENABLED ( HAVE_TMCDRIVER ) <nl> <nl> # include < SPI . h > <nl> - # include < TMC26XStepper . h > <nl> + <nl> + # if defined ( STM32F7 ) <nl> + # include " . . / HAL / HAL_STM32F7 / TMC2660 . h " <nl> + # else <nl> + # include < TMC26XStepper . h > <nl> + # endif <nl> <nl> # define _TMC_DEFINE ( ST ) TMC26XStepper stepper # # ST ( 200 , ST # # _ENABLE_PIN , ST # # _STEP_PIN , ST # # _DIR_PIN , ST # # _MAX_CURRENT , ST # # _SENSE_RESISTOR ) <nl> <nl> mmm a / Marlin / src / module / stepper_indirection . h <nl> ppp b / Marlin / src / module / stepper_indirection . h <nl> <nl> / / TMC26X drivers have STEP / DIR on normal pins , but ENABLE via SPI <nl> # if ENABLED ( HAVE_TMCDRIVER ) <nl> # include < SPI . h > <nl> - # include < TMC26XStepper . h > <nl> + # if defined ( STM32F7 ) <nl> + # include " . . / HAL / HAL_STM32F7 / TMC2660 . h " <nl> + # else <nl> + # include < TMC26XStepper . h > <nl> + # endif <nl> void tmc_init ( ) ; <nl> # endif <nl> <nl> mmm a / Marlin / src / pins / pins . h <nl> ppp b / Marlin / src / pins / pins . h <nl> <nl> # include " pins_AZTEEG_X5_GT . h " <nl> # elif MB ( BIQU_BQ111_A4 ) <nl> # include " pins_BIQU_BQ111_A4 . h " <nl> + # elif MB ( THE_BORG ) <nl> + # include " pins_THE_BORG . h " <nl> # else <nl> # error " Unknown MOTHERBOARD value set in Configuration . h " <nl> # endif <nl> new file mode 100644 <nl> index 00000000000 . . 1b1c873b9fc <nl> mmm / dev / null <nl> ppp b / Marlin / src / pins / pins_THE_BORG . h <nl> <nl> + / * * <nl> + * Marlin 3D Printer Firmware <nl> + * Copyright ( C ) 2016 MarlinFirmware [ https : / / github . com / MarlinFirmware / Marlin ] <nl> + * <nl> + * Based on Sprinter and grbl . <nl> + * Copyright ( C ) 2011 Camiel Gubbels / Erik van der Zalm <nl> + * <nl> + * This program is free software : you can redistribute it and / or modify <nl> + * it under the terms of the GNU General Public License as published by <nl> + * the Free Software Foundation , either version 3 of the License , or <nl> + * ( at your option ) any later version . <nl> + * <nl> + * This program is distributed in the hope that it will be useful , <nl> + * but WITHOUT ANY WARRANTY ; without even the implied warranty of <nl> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the <nl> + * GNU General Public License for more details . <nl> + * <nl> + * You should have received a copy of the GNU General Public License <nl> + * along with this program . If not , see < http : / / www . gnu . org / licenses / > . <nl> + * <nl> + * / <nl> + <nl> + # if ! defined ( STM32F7 ) <nl> + # error " Oops ! Make sure you have an STM32F7 board selected from the ' Tools - > Boards ' menu . " <nl> + # endif <nl> + <nl> + # define DEFAULT_MACHINE_NAME " The - Borge " <nl> + # define BOARD_NAME " The - Borge " <nl> + <nl> + # define LARGE_FLASH true <nl> + <nl> + # define E2END 0xFFF / / EEPROM end address <nl> + <nl> + / / Ignore temp readings during develpment . <nl> + # define BOGUS_TEMPERATURE_FAILSAFE_OVERRIDE <nl> + <nl> + # if E_STEPPERS > 3 | | HOTENDS > 3 <nl> + # error " The - Borg supports up to 3 hotends / E - steppers . " <nl> + # endif <nl> + <nl> + # define PORTA 0 <nl> + # define PORTB 1 <nl> + # define PORTC 2 <nl> + # define PORTD 3 <nl> + # define PORTE 4 <nl> + # define PORTF 5 <nl> + # define PORTG 6 <nl> + <nl> + # define _STM32_PIN ( _PORT , _PIN ) ( ( _PORT * 16 ) + _PIN ) <nl> + <nl> + <nl> + / / <nl> + / / Limit Switches <nl> + / / <nl> + # define X_MIN_PIN _STM32_PIN ( PORTE , 9 ) <nl> + # define X_MAX_PIN _STM32_PIN ( PORTE , 10 ) <nl> + # define Y_MIN_PIN _STM32_PIN ( PORTE , 7 ) <nl> + # define Y_MAX_PIN _STM32_PIN ( PORTE , 8 ) <nl> + # define Z_MIN_PIN _STM32_PIN ( PORTF , 15 ) <nl> + # define Z_MAX_PIN _STM32_PIN ( PORTG , 0 ) <nl> + # define E_MIN_PIN _STM32_PIN ( PORTE , 2 ) <nl> + # define E_MAX_PIN _STM32_PIN ( PORTE , 3 ) <nl> + / / <nl> + / / Z Probe ( when not Z_MIN_PIN ) <nl> + / / <nl> + # ifndef Z_MIN_PROBE_PIN <nl> + # define Z_MIN_PROBE_PIN _STM32_PIN ( PORTA , 4 ) <nl> + # endif <nl> + <nl> + / / <nl> + / / Steppers <nl> + / / <nl> + <nl> + # define STEPPER_ENABLE_PIN _STM32_PIN ( PORTE , 0 ) <nl> + <nl> + # define X_STEP_PIN _STM32_PIN ( PORTC , 6 ) / / 96 , 39 in arduino <nl> + # define X_DIR_PIN _STM32_PIN ( PORTC , 7 ) <nl> + # define X_ENABLE_PIN _STM32_PIN ( PORTC , 8 ) <nl> + <nl> + <nl> + # define Y_STEP_PIN _STM32_PIN ( PORTD , 9 ) <nl> + # define Y_DIR_PIN _STM32_PIN ( PORTD , 10 ) <nl> + # define Y_ENABLE_PIN _STM32_PIN ( PORTD , 11 ) <nl> + <nl> + # define Z_STEP_PIN _STM32_PIN ( PORTE , 15 ) <nl> + # define Z_DIR_PIN _STM32_PIN ( PORTG , 1 ) <nl> + # define Z_ENABLE_PIN _STM32_PIN ( PORTD , 8 ) <nl> + <nl> + <nl> + # define E0_STEP_PIN _STM32_PIN ( PORTB , 1 ) <nl> + # define E0_DIR_PIN _STM32_PIN ( PORTB , 2 ) <nl> + # define E0_ENABLE_PIN _STM32_PIN ( PORTE , 11 ) <nl> + <nl> + <nl> + # define E1_STEP_PIN _STM32_PIN ( PORTC , 4 ) <nl> + # define E1_DIR_PIN _STM32_PIN ( PORTC , 5 ) <nl> + # define E1_ENABLE_PIN _STM32_PIN ( PORTB , 0 ) <nl> + <nl> + <nl> + # define E2_STEP_PIN _STM32_PIN ( PORTC , 13 ) <nl> + # define E2_DIR_PIN _STM32_PIN ( PORTC , 14 ) <nl> + # define E2_ENABLE_PIN _STM32_PIN ( PORTC , 15 ) <nl> + <nl> + # define Z2_STEP_PIN _STM32_PIN ( PORTC , 13 ) <nl> + # define Z2_DIR_PIN _STM32_PIN ( PORTC , 14 ) <nl> + # define Z2_ENABLE_PIN _STM32_PIN ( PORTC , 15 ) <nl> + <nl> + <nl> + <nl> + <nl> + <nl> + <nl> + <nl> + # define SCK_PIN _STM32_PIN ( PORTA , 5 ) <nl> + # define MISO_PIN _STM32_PIN ( PORTA , 6 ) <nl> + # define MOSI_PIN _STM32_PIN ( PORTA , 7 ) <nl> + <nl> + # define SPI1_SCK_PIN _STM32_PIN ( PORTA , 5 ) <nl> + # define SPI1_MISO_PIN _STM32_PIN ( PORTA , 6 ) <nl> + # define SPI1_MOSI_PIN _STM32_PIN ( PORTA , 7 ) <nl> + <nl> + # define SPI6_SCK_PIN _STM32_PIN ( PORTG , 13 ) <nl> + # define SPI6_MISO_PIN _STM32_PIN ( PORTG , 12 ) <nl> + # define SPI6_MOSI_PIN _STM32_PIN ( PORTG , 14 ) <nl> + <nl> + <nl> + <nl> + <nl> + / / <nl> + / / Temperature Sensors <nl> + / / <nl> + <nl> + # define TEMP_0_PIN _STM32_PIN ( PORTC , 3 ) / / Analog Input <nl> + # define TEMP_1_PIN _STM32_PIN ( PORTC , 2 ) / / Analog Input <nl> + # define TEMP_2_PIN _STM32_PIN ( PORTC , 1 ) / / Analog Input <nl> + # define TEMP_3_PIN _STM32_PIN ( PORTC , 0 ) / / Analog Input <nl> + <nl> + # define TEMP_BED_PIN _STM32_PIN ( PORTF , 10 ) / / Analog Input <nl> + <nl> + # define TEMP_5_PIN _STM32_PIN ( PORTE , 12 ) / / Analog Input , Probe temp <nl> + <nl> + <nl> + / / <nl> + / / Heaters / Fans <nl> + / / <nl> + # define HEATER_0_PIN _STM32_PIN ( PORTD , 15 ) <nl> + # define HEATER_1_PIN _STM32_PIN ( PORTD , 14 ) <nl> + # define HEATER_BED_PIN _STM32_PIN ( PORTF , 6 ) <nl> + <nl> + # define FAN_PIN _STM32_PIN ( PORTD , 13 ) <nl> + # define FAN1_PIN _STM32_PIN ( PORTA , 0 ) <nl> + # define FAN2_PIN _STM32_PIN ( PORTA , 1 ) <nl> + <nl> + / / # define E0_AUTO_FAN_PIN _STM32_PIN ( PORTA , 1 ) <nl> + <nl> + / / <nl> + / / Misc . Functions <nl> + / / <nl> + <nl> + / / # define CASE_LIGHT_PIN_CI _STM32_PIN ( PORTF , 13 ) / / <nl> + / / # define CASE_LIGHT_PIN_DO _STM32_PIN ( PORTF , 14 ) / / <nl> + / / # define NEOPIXEL_PIN _STM32_PIN ( PORTF , 13 ) <nl> + <nl> + / / <nl> + / / Prusa i3 MK2 Multi Material Multiplexer Support <nl> + / / <nl> + <nl> + # define E_MUX0_PIN _STM32_PIN ( PORTG , 3 ) <nl> + # define E_MUX1_PIN _STM32_PIN ( PORTG , 4 ) <nl> + <nl> + / / <nl> + / / Servos <nl> + / / <nl> + <nl> + # define SERVO0_PIN _STM32_PIN ( PORTE , 13 ) <nl> + # define SERVO1_PIN _STM32_PIN ( PORTE , 14 ) <nl> + <nl> + <nl> + # define SDSS _STM32_PIN ( PORTA , 8 ) <nl> + # define SS_PIN _STM32_PIN ( PORTA , 8 ) <nl> + # define LED_PIN _STM32_PIN ( PORTA , 2 ) / / Alive <nl> + # define PS_ON_PIN _STM32_PIN ( PORTA , 3 ) <nl> + # define KILL_PIN - 1 / / _STM32_PIN ( PORTD , 5 ) / / EXP2 - 10 <nl> + # define PWR_LOSS _STM32_PIN ( PORTG , 5 ) / / Power loss / nAC_FAULT <nl> + <nl> + / / <nl> + / / MAX7219_DEBUG <nl> + / / <nl> + # define MAX7219_CLK_PIN _STM32_PIN ( PORTG , 10 ) / / EXP1 - 1 <nl> + # define MAX7219_DIN_PIN _STM32_PIN ( PORTD , 7 ) / / EXP1 - 3 <nl> + # define MAX7219_LOAD_PIN _STM32_PIN ( PORTD , 1 ) / / EXP1 - 5 <nl> + <nl> + / / # define NEOPIXEL_PIN 4 <nl> + <nl> + / / <nl> + / / LCD / Controller <nl> + / / <nl> + / / # define SD_DETECT_PIN - 1 / / _STM32_PIN ( PORTB , 6 ) ) / / EXP2 - 4 <nl> + # define BEEPER_PIN _STM32_PIN ( PORTG , 10 ) / / EXP1 - 1 <nl> + # define LCD_PINS_RS _STM32_PIN ( PORTG , 9 ) / / EXP1 - 4 <nl> + # define LCD_PINS_ENABLE _STM32_PIN ( PORTD , 7 ) / / EXP1 - 3 <nl> + # define LCD_PINS_D4 _STM32_PIN ( PORTD , 1 ) / / EXP1 - 5 <nl> + # define LCD_PINS_D5 _STM32_PIN ( PORTF , 0 ) / / EXP1 - 6 <nl> + # define LCD_PINS_D6 _STM32_PIN ( PORTD , 3 ) / / EXP1 - 7 <nl> + # define LCD_PINS_D7 _STM32_PIN ( PORTD , 4 ) / / EXP1 - 8 <nl> + # define BTN_EN1 _STM32_PIN ( PORTD , 6 ) / / EXP2 - 5 <nl> + # define BTN_EN2 _STM32_PIN ( PORTD , 0 ) / / EXP2 - 3 <nl> + # define BTN_ENC _STM32_PIN ( PORTG , 11 ) / / EXP1 - 2 <nl> | Add support for STM32F7 MCU | MarlinFirmware/Marlin | a0246c5c96954f3dbd60083f237b68687356ff24 | 2018-01-15T07:13:03Z |
mmm a / src / objective - c / GRPCClient / GRPCCall . h <nl> ppp b / src / objective - c / GRPCClient / GRPCCall . h <nl> extern NSString * const kGRPCTrailersKey ; <nl> <nl> @ optional <nl> <nl> - / * * Issued when initial metadata is received from the server . * / <nl> + / * * <nl> + * Issued when initial metadata is received from the server . The task must be scheduled onto the <nl> + * dispatch queue in property \ a dispatchQueue . <nl> + * / <nl> - ( void ) receivedInitialMetadata : ( NSDictionary * _Nullable ) initialMetadata ; <nl> <nl> / * * <nl> * Issued when a message is received from the server . The message is the raw data received from the <nl> - * server , with decompression and without proto deserialization . <nl> + * server , with decompression and without proto deserialization . The task must be scheduled onto the <nl> + * dispatch queue in property \ a dispatchQueue . <nl> * / <nl> - ( void ) receivedRawMessage : ( NSData * _Nullable ) message ; <nl> <nl> extern NSString * const kGRPCTrailersKey ; <nl> * Issued when a call finished . If the call finished successfully , \ a error is nil and \ a <nl> * trainingMetadata consists any trailing metadata received from the server . Otherwise , \ a error <nl> * is non - nil and contains the corresponding error information , including gRPC error codes and <nl> - * error descriptions . <nl> + * error descriptions . The task must be scheduled onto the dispatch queue in property <nl> + * \ a dispatchQueue . <nl> * / <nl> - ( void ) closedWithTrailingMetadata : ( NSDictionary * _Nullable ) trailingMetadata <nl> error : ( NSError * _Nullable ) error ; <nl> mmm a / src / objective - c / GRPCClient / GRPCCall . m <nl> ppp b / src / objective - c / GRPCClient / GRPCCall . m <nl> - ( void ) finish { <nl> } <nl> <nl> - ( void ) issueInitialMetadata : ( NSDictionary * ) initialMetadata { <nl> - id < GRPCResponseHandler > handler = _handler ; <nl> - if ( [ handler respondsToSelector : @ selector ( receivedInitialMetadata : ) ] ) { <nl> - dispatch_async ( handler . dispatchQueue , ^ { <nl> - [ handler receivedInitialMetadata : initialMetadata ] ; <nl> - } ) ; <nl> + if ( initialMetadata ! = nil & & [ _handler respondsToSelector : @ selector ( receivedInitialMetadata : ) ] ) { <nl> + [ _handler receivedInitialMetadata : initialMetadata ] ; <nl> } <nl> } <nl> <nl> - ( void ) issueMessage : ( id ) message { <nl> - id < GRPCResponseHandler > handler = _handler ; <nl> - if ( [ handler respondsToSelector : @ selector ( receivedRawMessage : ) ] ) { <nl> - dispatch_async ( handler . dispatchQueue , ^ { <nl> - [ handler receivedRawMessage : message ] ; <nl> - } ) ; <nl> + if ( message ! = nil & & [ _handler respondsToSelector : @ selector ( receivedRawMessage : ) ] ) { <nl> + [ _handler receivedRawMessage : message ] ; <nl> } <nl> } <nl> <nl> - ( void ) issueClosedWithTrailingMetadata : ( NSDictionary * ) trailingMetadata error : ( NSError * ) error { <nl> - id < GRPCResponseHandler > handler = _handler ; <nl> NSDictionary * trailers = _call . responseTrailers ; <nl> - if ( [ handler respondsToSelector : @ selector ( closedWithTrailingMetadata : error : ) ] ) { <nl> - dispatch_async ( handler . dispatchQueue , ^ { <nl> - [ handler closedWithTrailingMetadata : trailers error : error ] ; <nl> - } ) ; <nl> + if ( [ _handler respondsToSelector : @ selector ( closedWithTrailingMetadata : error : ) ] ) { <nl> + [ _handler closedWithTrailingMetadata : trailers error : error ] ; <nl> } <nl> } <nl> <nl> mmm a / src / objective - c / ProtoRPC / ProtoRPC . h <nl> ppp b / src / objective - c / ProtoRPC / ProtoRPC . h <nl> NS_ASSUME_NONNULL_BEGIN <nl> <nl> @ optional <nl> <nl> - / * * Issued when initial metadata is received from the server . * / <nl> + / * * <nl> + * Issued when initial metadata is received from the server . The task must be scheduled onto the <nl> + * dispatch queue in property \ a dispatchQueue . * / <nl> - ( void ) receivedInitialMetadata : ( NSDictionary * _Nullable ) initialMetadata ; <nl> <nl> / * * <nl> * Issued when a message is received from the server . The message is the deserialized proto object . <nl> + * The task must be scheduled onto the dispatch queue in property \ a dispatchQueue . <nl> * / <nl> - ( void ) receivedProtoMessage : ( GPBMessage * _Nullable ) message ; <nl> <nl> NS_ASSUME_NONNULL_BEGIN <nl> * Issued when a call finished . If the call finished successfully , \ a error is nil and \ a <nl> * trainingMetadata consists any trailing metadata received from the server . Otherwise , \ a error <nl> * is non - nil and contains the corresponding error information , including gRPC error codes and <nl> - * error descriptions . <nl> + * error descriptions . The task must be scheduled onto the dispatch queue in property <nl> + * \ a dispatchQueue . <nl> * / <nl> - ( void ) closedWithTrailingMetadata : ( NSDictionary * _Nullable ) trailingMetadata <nl> error : ( NSError * _Nullable ) error ; <nl> mmm a / src / objective - c / ProtoRPC / ProtoRPC . m <nl> ppp b / src / objective - c / ProtoRPC / ProtoRPC . m <nl> - ( void ) finish { <nl> } <nl> <nl> - ( void ) receivedInitialMetadata : ( NSDictionary * _Nullable ) initialMetadata { <nl> - if ( _handler & & initialMetadata ! = nil ) { <nl> - id < GRPCProtoResponseHandler > handler = _handler ; <nl> - if ( [ handler respondsToSelector : @ selector ( initialMetadata : ) ] ) { <nl> - dispatch_async ( handler . dispatchQueue , ^ { <nl> - [ handler receivedInitialMetadata : initialMetadata ] ; <nl> - } ) ; <nl> + dispatch_async ( _dispatchQueue , ^ { <nl> + if ( initialMetadata ! = nil & & [ self - > _handler respondsToSelector : @ selector ( initialMetadata : ) ] ) { <nl> + [ self - > _handler receivedInitialMetadata : initialMetadata ] ; <nl> } <nl> - } <nl> + } ) ; <nl> } <nl> <nl> - ( void ) receivedRawMessage : ( NSData * _Nullable ) message { <nl> - if ( _handler & & message ! = nil ) { <nl> - id < GRPCProtoResponseHandler > handler = _handler ; <nl> - NSError * error = nil ; <nl> - GPBMessage * parsed = [ _responseClass parseFromData : message error : & error ] ; <nl> - if ( parsed ) { <nl> - if ( [ handler respondsToSelector : @ selector ( receivedProtoMessage : ) ] ) { <nl> - dispatch_async ( handler . dispatchQueue , ^ { <nl> - [ handler receivedProtoMessage : parsed ] ; <nl> - } ) ; <nl> - } <nl> - } else { <nl> - if ( [ handler respondsToSelector : @ selector ( closedWithTrailingMetadata : error : ) ] ) { <nl> - dispatch_async ( handler . dispatchQueue , ^ { <nl> - [ handler closedWithTrailingMetadata : nil error : ErrorForBadProto ( message , _responseClass , error ) ] ; <nl> - } ) ; <nl> + dispatch_async ( _dispatchQueue , ^ { <nl> + if ( self - > _handler & & message ! = nil ) { <nl> + NSError * error = nil ; <nl> + GPBMessage * parsed = [ self - > _responseClass parseFromData : message error : & error ] ; <nl> + if ( parsed ) { <nl> + if ( [ self - > _handler respondsToSelector : @ selector ( receivedProtoMessage : ) ] ) { <nl> + [ self - > _handler receivedProtoMessage : parsed ] ; <nl> + } <nl> + } else { <nl> + if ( [ self - > _handler respondsToSelector : @ selector ( closedWithTrailingMetadata : error : ) ] ) { <nl> + [ self - > _handler closedWithTrailingMetadata : nil error : ErrorForBadProto ( message , _responseClass , error ) ] ; <nl> + } <nl> + self - > _handler = nil ; <nl> + [ self - > _call cancel ] ; <nl> + self - > _call = nil ; <nl> } <nl> - _handler = nil ; <nl> - [ _call cancel ] ; <nl> - _call = nil ; <nl> } <nl> - } <nl> + } ) ; <nl> } <nl> <nl> - ( void ) closedWithTrailingMetadata : ( NSDictionary * _Nullable ) trailingMetadata <nl> error : ( NSError * _Nullable ) error { <nl> - if ( _handler ) { <nl> - id < GRPCProtoResponseHandler > handler = _handler ; <nl> - if ( [ handler respondsToSelector : @ selector ( closedWithTrailingMetadata : error : ) ] ) { <nl> - dispatch_async ( handler . dispatchQueue , ^ { <nl> - [ handler closedWithTrailingMetadata : trailingMetadata error : error ] ; <nl> - } ) ; <nl> + dispatch_async ( _dispatchQueue , ^ { <nl> + if ( [ self - > _handler respondsToSelector : @ selector ( closedWithTrailingMetadata : error : ) ] ) { <nl> + [ self - > _handler closedWithTrailingMetadata : trailingMetadata error : error ] ; <nl> } <nl> - _handler = nil ; <nl> - } <nl> - [ _call cancel ] ; <nl> - _call = nil ; <nl> + self - > _handler = nil ; <nl> + [ self - > _call cancel ] ; <nl> + self - > _call = nil ; <nl> + } ) ; <nl> } <nl> <nl> - ( dispatch_queue_t ) dispatchQueue { <nl> mmm a / src / objective - c / tests / GRPCClientTests . m <nl> ppp b / src / objective - c / tests / GRPCClientTests . m <nl> - ( instancetype ) initWithInitialMetadataCallback : ( void ( ^ ) ( NSDictionary * ) ) initia <nl> } <nl> <nl> - ( void ) receivedInitialMetadata : ( NSDictionary * _Nullable ) initialMetadata { <nl> - if ( _initialMetadataCallback ) { <nl> - _initialMetadataCallback ( initialMetadata ) ; <nl> - } <nl> + dispatch_async ( _dispatchQueue , ^ { <nl> + if ( _initialMetadataCallback ) { <nl> + _initialMetadataCallback ( initialMetadata ) ; <nl> + } <nl> + } ) ; <nl> } <nl> <nl> - ( void ) receivedRawMessage : ( GPBMessage * _Nullable ) message { <nl> - if ( _messageCallback ) { <nl> - _messageCallback ( message ) ; <nl> - } <nl> + dispatch_async ( _dispatchQueue , ^ { <nl> + if ( _messageCallback ) { <nl> + _messageCallback ( message ) ; <nl> + } <nl> + } ) ; <nl> } <nl> <nl> - ( void ) closedWithTrailingMetadata : ( NSDictionary * _Nullable ) trailingMetadata <nl> error : ( NSError * _Nullable ) error { <nl> - if ( _closeCallback ) { <nl> - _closeCallback ( trailingMetadata , error ) ; <nl> - } <nl> + dispatch_async ( _dispatchQueue , ^ { <nl> + if ( _closeCallback ) { <nl> + _closeCallback ( trailingMetadata , error ) ; <nl> + } <nl> + } ) ; <nl> } <nl> <nl> - ( dispatch_queue_t ) dispatchQueue { <nl> mmm a / src / objective - c / tests / InteropTests . m <nl> ppp b / src / objective - c / tests / InteropTests . m <nl> - ( instancetype ) initWithInitialMetadataCallback : ( void ( ^ ) ( NSDictionary * ) ) initia <nl> } <nl> <nl> - ( void ) receivedInitialMetadata : ( NSDictionary * _Nullable ) initialMetadata { <nl> - if ( _initialMetadataCallback ) { <nl> - _initialMetadataCallback ( initialMetadata ) ; <nl> - } <nl> + dispatch_async ( _dispatchQueue , ^ { <nl> + if ( _initialMetadataCallback ) { <nl> + _initialMetadataCallback ( initialMetadata ) ; <nl> + } <nl> + } ) ; <nl> } <nl> <nl> - ( void ) receivedProtoMessage : ( GPBMessage * _Nullable ) message { <nl> - if ( _messageCallback ) { <nl> - _messageCallback ( message ) ; <nl> - } <nl> + dispatch_async ( _dispatchQueue , ^ { <nl> + if ( _messageCallback ) { <nl> + _messageCallback ( message ) ; <nl> + } <nl> + } ) ; <nl> } <nl> <nl> - ( void ) closedWithTrailingMetadata : ( NSDictionary * _Nullable ) trailingMetadata <nl> error : ( NSError * _Nullable ) error { <nl> - if ( _closeCallback ) { <nl> - _closeCallback ( trailingMetadata , error ) ; <nl> - } <nl> + dispatch_async ( _dispatchQueue , ^ { <nl> + if ( _closeCallback ) { <nl> + _closeCallback ( trailingMetadata , error ) ; <nl> + } <nl> + } ) ; <nl> } <nl> <nl> - ( dispatch_queue_t ) dispatchQueue { <nl> | Remove retain of handler in callbacks and dispatch to dispatchQueue | grpc/grpc | f3e9224f0b34a6265830600c67293d96964a4c5c | 2018-10-23T17:22:18Z |
mmm a / . cicd / pipeline . yml <nl> ppp b / . cicd / pipeline . yml <nl> steps : <nl> agents : <nl> queue : " automation - eos - builder - fleet " <nl> timeout : $ { TIMEOUT : - 10 } <nl> - skip : ( [ [ $ { SKIP_AMAZON_LINUX_2 : - false } = = true ] ] | | [ [ $ { SKIP_UNIT_TESTS : - false } = = true ] ] ) | | false <nl> + skip : " [ [ $ { SKIP_UNIT_TESTS : - false } = = true ] ] | | false " <nl> <nl> <nl> # - label : " : centos : CentOS 7 . 6 - Build " <nl> | quick fixes | EOSIO/eos | 3abb11d5546515496396b4cf25fca242b9b4e523 | 2019-08-12T20:40:26Z |
mmm a / vnpy / api / sgit / vnsgit / vnsgittd / vnsgittd . h <nl> ppp b / vnpy / api / sgit / vnsgit / vnsgittd / vnsgittd . h <nl> class TdApi : public CThostFtdcTraderSpi <nl> <nl> void createFtdcTraderApi ( string pszFlowPath = " " ) ; <nl> <nl> - string getApiVersion ( ) ; <nl> - <nl> void release ( ) ; <nl> <nl> void init ( ) ; <nl> class TdApi : public CThostFtdcTraderSpi <nl> <nl> void subscribePublicTopic ( int nType ) ; <nl> <nl> - / / / 1 <nl> - <nl> int reqAuthenticate ( const dict & req , int reqid ) ; <nl> <nl> int reqUserLogin ( const dict & req , int reqid ) ; <nl> | Update vnsgittd . h | vnpy/vnpy | cb7c4e9022d87914b1a0facc016f92fd961cd301 | 2020-02-08T06:18:57Z |
mmm a / project / BuildDependencies / scripts / 0_package . target - win10 - arm . list <nl> ppp b / project / BuildDependencies / scripts / 0_package . target - win10 - arm . list <nl> libxml2 - 2 . 9 . 9 - win10 - arm - v141 - 20200105 . 7z <nl> libxslt - 1 . 1 . 34 - win10 - arm - v141 - 20200105 . 7z <nl> lzo2 - 2 . 10 - win10 - arm - v141 - 20200105 . 7z <nl> mariadb - connector - c - 3 . 1 . 6 - win10 - arm - v141 - 20200105 . 7z <nl> - miniwdk - 10 . 0 . 17763 - 20200105 . 7z <nl> + miniwdk - 10 . 0 . 17763 - 20200106 . 7z <nl> openssl - 1 . 1 . 1d - win10 - arm - v141 - 20200105 . 7z <nl> pcre - 8 . 43 - win10 - arm - v141 - 20200105 . 7z <nl> pillow - 6 . 2 . 1 - win10 - arm - v141 - 20200105 . 7z <nl> mmm a / project / BuildDependencies / scripts / 0_package . target - win10 - win32 . list <nl> ppp b / project / BuildDependencies / scripts / 0_package . target - win10 - win32 . list <nl> libxml2 - 2 . 9 . 9 - win10 - win32 - v141 - 20200105 . 7z <nl> libxslt - 1 . 1 . 34 - win10 - win32 - v141 - 20200105 . 7z <nl> lzo2 - 2 . 10 - win10 - win32 - v141 - 20200105 . 7z <nl> mariadb - connector - c - 3 . 1 . 6 - win10 - win32 - v141 - 20200105 . 7z <nl> - miniwdk - 10 . 0 . 17763 - 20200105 . 7z <nl> + miniwdk - 10 . 0 . 17763 - 20200106 . 7z <nl> openssl - 1 . 1 . 1d - win10 - win32 - v141 - 20200105 . 7z <nl> pcre - 8 . 43 - win10 - win32 - v141 - 20200105 . 7z <nl> pillow - 6 . 2 . 1 - win10 - win32 - v141 - 20200105 . 7z <nl> mmm a / project / BuildDependencies / scripts / 0_package . target - win10 - x64 . list <nl> ppp b / project / BuildDependencies / scripts / 0_package . target - win10 - x64 . list <nl> libxml2 - 2 . 9 . 9 - win10 - x64 - v141 - 20200105 . 7z <nl> libxslt - 1 . 1 . 34 - win10 - x64 - v141 - 20200105 . 7z <nl> lzo2 - 2 . 10 - win10 - x64 - v141 - 20200105 . 7z <nl> mariadb - connector - c - 3 . 1 . 6 - win10 - x64 - v141 - 20200105 . 7z <nl> - miniwdk - 10 . 0 . 17763 - 20200105 . 7z <nl> + miniwdk - 10 . 0 . 17763 - 20200106 . 7z <nl> openssl - 1 . 1 . 1d - win10 - x64 - v141 - 20200105 . 7z <nl> pcre - 8 . 43 - win10 - x64 - v141 - 20200105 . 7z <nl> pillow - 6 . 2 . 1 - win10 - x64 - v141 - 20200105 . 7z <nl> mmm a / project / BuildDependencies / scripts / 0_package . target - win32 . list <nl> ppp b / project / BuildDependencies / scripts / 0_package . target - win32 . list <nl> libxml2 - 2 . 9 . 9 - win32 - v141 - 20200105 . 7z <nl> libxslt - 1 . 1 . 34 - win32 - v141 - 20200105 . 7z <nl> lzo2 - 2 . 10 - win32 - v141 - 20200105 . 7z <nl> mariadb - connector - c - 3 . 1 . 6 - win32 - v141 - 20200105 . 7z <nl> - miniwdk - 10 . 0 . 17763 - 20200105 . 7z <nl> + miniwdk - 10 . 0 . 17763 - 20200106 . 7z <nl> openssl - 1 . 1 . 1d - win10 - win32 - v141 - 20200105 . 7z <nl> pcre - 8 . 43 - win32 - v141 - 20200105 . 7z <nl> pillow - 6 . 2 . 1 - win32 - v141 - 20200105 . 7z <nl> mmm a / project / BuildDependencies / scripts / 0_package . target - x64 . list <nl> ppp b / project / BuildDependencies / scripts / 0_package . target - x64 . list <nl> libxml2 - 2 . 9 . 9 - x64 - v141 - 20200105 . 7z <nl> libxslt - 1 . 1 . 34 - x64 - v141 - 20200105 . 7z <nl> lzo2 - 2 . 10 - x64 - v141 - 20200105 . 7z <nl> mariadb - connector - c - 3 . 1 . 6 - x64 - v141 - 20200105 . 7z <nl> - miniwdk - 10 . 0 . 17763 - 20200105 . 7z <nl> + miniwdk - 10 . 0 . 17763 - 20200106 . 7z <nl> openssl - 1 . 1 . 1d - x64 - v141 - 20200105 . 7z <nl> pcre - 8 . 43 - x64 - v141 - 20200105 . 7z <nl> pillow - 6 . 2 . 1 - x64 - v141 - 20200105 . 7z <nl> | miniwdk build didn ' t work | xbmc/xbmc | ab3c01a65316c35ac771b9738e2e17a1b91b5b68 | 2020-01-06T17:20:41Z |
mmm a / include / swift / AST / DiagnosticsSema . def <nl> ppp b / include / swift / AST / DiagnosticsSema . def <nl> ERROR ( ambiguous_enum_pattern_type , none , <nl> WARNING ( type_inferred_to_undesirable_type , none , <nl> " % select { variable | constant } 2 % 0 inferred to have type % 1 , " <nl> " which may be unexpected " , ( Identifier , Type , bool ) ) <nl> + WARNING ( type_inferred_to_uninhabited_type , none , <nl> + " % select { variable | constant } 2 % 0 inferred to have type % 1 , " <nl> + " which is an enum with no cases " , ( Identifier , Type , bool ) ) <nl> + WARNING ( type_inferred_to_uninhabited_tuple_type , none , <nl> + " % select { variable | constant } 2 % 0 inferred to have type % 1 , " <nl> + " which contains an enum with no cases " , ( Identifier , Type , bool ) ) <nl> NOTE ( add_explicit_type_annotation_to_silence , none , <nl> " add an explicit type annotation to silence this warning " , ( ) ) <nl> <nl> mmm a / lib / Sema / TypeCheckPattern . cpp <nl> ppp b / lib / Sema / TypeCheckPattern . cpp <nl> bool TypeChecker : : coercePatternToType ( Pattern * & P , TypeResolution resolution , <nl> Type diagTy = type - > getOptionalObjectType ( ) ; <nl> if ( ! diagTy ) diagTy = type ; <nl> <nl> + auto diag = diag : : type_inferred_to_undesirable_type ; <nl> bool shouldRequireType = false ; <nl> if ( NP - > isImplicit ( ) ) { <nl> / / If the whole pattern is implicit , the user didn ' t write it . <nl> bool TypeChecker : : coercePatternToType ( Pattern * & P , TypeResolution resolution , <nl> shouldRequireType = true ; <nl> } else if ( diagTy - > isStructurallyUninhabited ( ) ) { <nl> shouldRequireType = true ; <nl> + diag = diag : : type_inferred_to_uninhabited_type ; <nl> + <nl> + if ( diagTy - > is < TupleType > ( ) ) { <nl> + diag = diag : : type_inferred_to_uninhabited_tuple_type ; <nl> + } else { <nl> + assert ( ( diagTy - > is < EnumType > ( ) | | diagTy - > is < BoundGenericEnumType > ( ) ) & & <nl> + " unknown structurally uninhabited type " ) ; <nl> + } <nl> } <nl> <nl> if ( shouldRequireType & & <nl> ! options . is ( TypeResolverContext : : ForEachStmt ) & & <nl> ! options . is ( TypeResolverContext : : EditorPlaceholderExpr ) & & <nl> ! ( options & TypeResolutionFlags : : FromNonInferredPattern ) ) { <nl> - diagnose ( NP - > getLoc ( ) , diag : : type_inferred_to_undesirable_type , <nl> - NP - > getDecl ( ) - > getName ( ) , type , NP - > getDecl ( ) - > isLet ( ) ) ; <nl> + diagnose ( NP - > getLoc ( ) , diag , NP - > getDecl ( ) - > getName ( ) , type , <nl> + NP - > getDecl ( ) - > isLet ( ) ) ; <nl> diagnose ( NP - > getLoc ( ) , diag : : add_explicit_type_annotation_to_silence ) ; <nl> } <nl> <nl> | improve diagnostic for inferred uninhabited | apple/swift | 92a12c0f0acc38cbeac150533a5a893e73e06d50 | 2018-11-09T06:21:15Z |
mmm a / tools / system_libs . py <nl> ppp b / tools / system_libs . py <nl> def read_symbols ( path , exclude = None ) : <nl> return set ( symbols ) <nl> <nl> default_opts = [ ] <nl> - # If we ' re building tracing , we should build the system libraries that way too . <nl> - if shared . Settings . EMSCRIPTEN_TRACING : <nl> - default_opts . append ( ' - - tracing ' ) <nl> <nl> # XXX We also need to add libc symbols that use malloc , for example strdup . It ' s very rare to use just them and not <nl> # a normal malloc symbol ( like free , after calling strdup ) , so we haven ' t hit this yet , but it is possible . <nl> def create_dlmalloc ( out_name , clflags ) : <nl> def create_dlmalloc_singlethreaded ( libname ) : <nl> return create_dlmalloc ( libname , [ ' - O2 ' ] ) <nl> <nl> + def create_dlmalloc_singlethreaded_tracing ( libname ) : <nl> + return create_dlmalloc ( libname , [ ' - O2 ' , ' - - tracing ' ] ) <nl> + <nl> def create_dlmalloc_multithreaded ( libname ) : <nl> return create_dlmalloc ( libname , [ ' - O2 ' , ' - s ' , ' USE_PTHREADS = 1 ' ] ) <nl> <nl> + def create_dlmalloc_multithreaded_tracing ( libname ) : <nl> + return create_dlmalloc ( libname , [ ' - O2 ' , ' - s ' , ' USE_PTHREADS = 1 ' , ' - - tracing ' ] ) <nl> + <nl> # Setting this in the environment will avoid checking dependencies and make building big projects a little faster <nl> # 1 means include everything ; otherwise it can be the name of a lib ( libcxx , etc . ) <nl> # You can provide 1 to include everything , or a comma - separated list with the ones you want <nl> class Dummy : <nl> # malloc dependency is force - added , so when using pthreads , it must be force - added <nl> # as well , since malloc needs to be thread - safe , so it depends on mutexes . <nl> if shared . Settings . USE_PTHREADS : <nl> - system_libs + = [ ( ' libc - mt ' , ' bc ' , create_libc , libc_symbols , [ ] , False ) , <nl> - ( ' pthreads ' , ' bc ' , create_pthreads , pthreads_symbols , [ ' libc ' ] , False ) , <nl> - ( ' dlmalloc_threadsafe ' , ' bc ' , create_dlmalloc_multithreaded , [ ] , [ ] , False ) ] <nl> + system_libs + = [ ( ' libc - mt ' , ' bc ' , create_libc , libc_symbols , [ ] , False ) , <nl> + ( ' pthreads ' , ' bc ' , create_pthreads , pthreads_symbols , [ ' libc ' ] , False ) , <nl> + ( ' dlmalloc_threadsafe ' , ' bc ' , create_dlmalloc_multithreaded , [ ] , [ ] , False ) , <nl> + ( ' dlmalloc_threadsafe_tracing ' , ' bc ' , create_dlmalloc_multithreaded_tracing , [ ] , [ ] , False ) ] <nl> force . add ( ' pthreads ' ) <nl> - force . add ( ' dlmalloc_threadsafe ' ) <nl> + if shared . Settings . EMSCRIPTEN_TRACING : <nl> + force . add ( ' dlmalloc_threadsafe_tracing ' ) <nl> + else : <nl> + force . add ( ' dlmalloc_threadsafe ' ) <nl> else : <nl> - system_libs + = [ ( ' libc ' , ' bc ' , create_libc , libc_symbols , [ ] , False ) , <nl> - ( ' dlmalloc ' , ' bc ' , create_dlmalloc_singlethreaded , [ ] , [ ] , False ) ] <nl> - force . add ( ' dlmalloc ' ) <nl> + system_libs + = [ ( ' libc ' , ' bc ' , create_libc , libc_symbols , [ ] , False ) , <nl> + ( ' dlmalloc ' , ' bc ' , create_dlmalloc_singlethreaded , [ ] , [ ] , False ) , <nl> + ( ' dlmalloc_tracing ' , ' bc ' , create_dlmalloc_singlethreaded_tracing , [ ] , [ ] , False ) ] <nl> + if shared . Settings . EMSCRIPTEN_TRACING : <nl> + force . add ( ' dlmalloc_tracing ' ) <nl> + else : <nl> + force . add ( ' dlmalloc ' ) <nl> <nl> # Go over libraries to figure out which we must include <nl> def maybe_noexcept ( name ) : <nl> | Fix the problem that Emscripten cache needed to be cleared between building with - - tracing and without by building dlmalloc . c separately depending on whether tracing is enabled or not . | emscripten-core/emscripten | 4e672b825c9584c2a485d4d8743a2ae6b3ce7111 | 2015-09-21T19:55:27Z |
mmm a / README . md <nl> ppp b / README . md <nl> It is called eosio_build . sh <nl> <nl> ` ` ` bash <nl> cd ~ / eos <nl> - . / eosio - build . sh <nl> + . / eosio_build . sh <nl> ` ` ` <nl> Choose whether you will be building for a local testnet or for the public testnet and jump to the appropriate section below . Clone the EOS repository recursively as described and run eosio_build . sh located in the root ` eos ` folder . <nl> <nl> We strongly recommend following the instructions for building the public testnet <nl> git clone https : / / github . com / eosio / eos - - recursive <nl> <nl> cd eos <nl> - . / eosio - build . sh <nl> + . / eosio_build . sh <nl> ` ` ` <nl> <nl> Now you can proceed to the next step - [ Creating and launching a single - node testnet ] ( # singlenode ) <nl> git clone https : / / github . com / eosio / eos - - recursive <nl> <nl> cd eos <nl> git checkout dawn - 2 . x <nl> - . / eosio - build . sh <nl> + . / eosio_build . sh <nl> ` ` ` <nl> <nl> Now you can proceed to the next step - [ Running a node on the public testnet ] ( # publictestnet ) <nl> Then clone the EOS repository recursively and run eosio_build . sh in the root ` eo <nl> git clone https : / / github . com / eosio / eos - - recursive <nl> <nl> cd eos <nl> - . / eosio - build . sh <nl> + . / eosio_build . sh <nl> ` ` ` <nl> <nl> Now you can proceed to the next step - [ Creating and launching a single - node testnet ] ( # singlenode ) <nl> Now you can proceed to the next step - [ Creating and launching a single - node tes <nl> Before running the script make sure you have installed / updated XCode . Note : The build script <nl> will install homebrew if it is not already installed on you system . [ Homebrew Website ] ( https : / / brew . sh ) <nl> <nl> - Then clone the EOS repository recursively , checkout the branch that is compatible with the public testnet , and run eosio - build . sh in the root ` eos ` folder . <nl> + Then clone the EOS repository recursively , checkout the branch that is compatible with the public testnet , and run eosio_build . sh in the root ` eos ` folder . <nl> <nl> ` ` ` bash <nl> git clone https : / / github . com / eosio / eos - - recursive <nl> <nl> cd eos <nl> git checkout dawn - 2 . x <nl> - . / eosio - build . sh <nl> + . / eosio_build . sh <nl> ` ` ` <nl> <nl> Now you can proceed to the next step - [ Running a node on the public testnet ] ( # publictestnet ) <nl> mmm a / eosio_build . sh <nl> ppp b / eosio_build . sh <nl> <nl> printf " \ n \ tARCHITECTURE $ { ARCH } \ n " <nl> <nl> if [ $ ARCH = = " Linux " ] ; then <nl> - <nl> - declare - a DIST = ( Ubuntu " Red Hat Enterprise Linux Server " Fedora Centos Amazon ) <nl> - FILE = " " <nl> <nl> if [ ! - e / etc / os - release ] ; then <nl> printf " EOSIO currently supports Ubuntu , Red Hat & Fedora Linux only . \ n " <nl> <nl> ; ; <nl> " Fedora " ) <nl> FILE = $ { WORK_DIR } / scripts / eosio_build_fedora . sh <nl> - CXX_COMPILER = $ { HOME } / opt / llvm / bin / clang + + <nl> - C_COMPILER = $ { HOME } / opt / llvm / bin / clang <nl> + CXX_COMPILER = g + + <nl> + C_COMPILER = gcc <nl> ; ; <nl> * ) <nl> printf " \ n \ tUnsupported Linux Distribution . Exiting now . \ n \ n " <nl> | changed eosio - build . sh references in readme . md to eosio_build . sh | EOSIO/eos | d6cba089cbfd0f109635f23f383017e6be2d474a | 2018-02-09T16:14:54Z |
new file mode 100644 <nl> index 00000000 . . 1b55420d <nl> mmm / dev / null <nl> ppp b / debian / changelog <nl> <nl> + mosh ( 0 . 9 - 0ubuntu1 ) oneiric ; urgency = low <nl> + <nl> + * Initial release <nl> + <nl> + - - Keith Winstein < keithw @ mit . edu > Sun , 05 Feb 2012 03 : 50 : 53 - 0500 <nl> new file mode 100644 <nl> index 00000000 . . 45a4fb75 <nl> mmm / dev / null <nl> ppp b / debian / compat <nl> @ @ - 0 , 0 + 1 @ @ <nl> + 8 <nl> new file mode 100644 <nl> index 00000000 . . 427f8dcb <nl> mmm / dev / null <nl> ppp b / debian / control <nl> <nl> + Source : mosh <nl> + Section : net <nl> + Priority : optional <nl> + Maintainer : Keith Winstein < keithw @ mit . edu > <nl> + Build - Depends : debhelper ( > = 8 . 0 . 0 ) , autotools - dev , protobuf - compiler , libprotobuf - dev <nl> + Standards - Version : 3 . 9 . 2 <nl> + Homepage : http : / / mosh . mit . edu <nl> + Vcs - Git : git : / / github . com / keithw / mosh . git <nl> + Vcs - Browser : http : / / github . com / keithw / mosh <nl> + <nl> + Package : mosh <nl> + Architecture : any <nl> + Depends : $ { shlibs : Depends } , $ { misc : Depends } , libprotobuf - lite7 <nl> + Description : Remote terminal with local echo and IP roaming <nl> + Mosh is a remote terminal application that supports : <nl> + - intermittent network connectivity , <nl> + - roaming to different IP address without dropping the connection , and <nl> + - intelligent local echo and line editing to reduce the effects <nl> + of " network lag " on high - latency connections . <nl> new file mode 100644 <nl> index 00000000 . . c0a49d6d <nl> mmm / dev / null <nl> ppp b / debian / copyright <nl> <nl> + Format : http : / / dep . debian . net / deps / dep5 <nl> + Upstream - Name : mosh <nl> + Source : http : / / github . com / keithw / mosh <nl> + <nl> + Files : * <nl> + Copyright : 2012 Keith Winstein < mosh - devel @ mit . edu > <nl> + License : GPL - 3 + <nl> + This package is free software ; you can redistribute it and / or modify <nl> + it under the terms of the GNU General Public License as published by <nl> + the Free Software Foundation ; either version 3 of the License , or <nl> + ( at your option ) any later version . <nl> + . <nl> + This package is distributed in the hope that it will be useful , <nl> + but WITHOUT ANY WARRANTY ; without even the implied warranty of <nl> + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the <nl> + GNU General Public License for more details . <nl> + . <nl> + You should have received a copy of the GNU General Public License <nl> + along with this program . If not , see < http : / / www . gnu . org / licenses / > <nl> + . <nl> + On Debian systems , the complete text of the GNU General <nl> + Public License version 3 can be found in " / usr / share / common - licenses / GPL - 3 " . <nl> new file mode 100644 <nl> index 00000000 . . e69de29b <nl> new file mode 100755 <nl> index 00000000 . . b760bee7 <nl> mmm / dev / null <nl> ppp b / debian / rules <nl> <nl> + # ! / usr / bin / make - f <nl> + # - * - makefile - * - <nl> + # Sample debian / rules that uses debhelper . <nl> + # This file was originally written by Joey Hess and Craig Small . <nl> + # As a special exception , when this file is copied by dh - make into a <nl> + # dh - make output file , you may use that output file without restriction . <nl> + # This special exception was added by Craig Small in version 0 . 37 of dh - make . <nl> + <nl> + # Uncomment this to turn on verbose mode . <nl> + # export DH_VERBOSE = 1 <nl> + <nl> + % : <nl> + dh $ @ <nl> new file mode 100644 <nl> index 00000000 . . 163aaf8d <nl> mmm / dev / null <nl> ppp b / debian / source / format <nl> @ @ - 0 , 0 + 1 @ @ <nl> + 3 . 0 ( quilt ) <nl> | First packaging info | mobile-shell/mosh | 38c27149ee347aed23b770f2b99e94e6dc18e020 | 2012-02-06T21:20:18Z |
mmm a / hphp / hack / src / parser / full_fidelity_expression_parser . ml <nl> ppp b / hphp / hack / src / parser / full_fidelity_expression_parser . ml <nl> module WithStatementAndDeclAndTypeParser <nl> | Empty <nl> | Endif <nl> | Endfor <nl> + | Endforeach <nl> | Enum <nl> | Eval <nl> | Extends <nl> mmm a / hphp / hack / src / parser / full_fidelity_statement_parser . ml <nl> ppp b / hphp / hack / src / parser / full_fidelity_statement_parser . ml <nl> module WithExpressionAndDeclAndTypeParser <nl> in <nl> let parser , right_paren_token = require_right_paren parser in <nl> let parser = Parser . pop_scope parser [ RightParen ] in <nl> - let parser , foreach_statement = parse_statement parser in <nl> + let parser , foreach_statement = <nl> + let _ , open_token = next_token parser in <nl> + match Token . kind open_token with <nl> + | Colon - > parse_alternate_loop_statement parser ~ terminator : Endforeach <nl> + | _ - > parse_statement parser in <nl> let syntax = <nl> make_foreach_statement foreach_keyword_token foreach_left_paren <nl> foreach_collection_name await_token as_token foreach_key foreach_arrow <nl> mmm a / hphp / hack / src / parser / full_fidelity_token_kind . ml <nl> ppp b / hphp / hack / src / parser / full_fidelity_token_kind . ml <nl> type t = <nl> | Empty <nl> | Endif <nl> | Endfor <nl> + | Endforeach <nl> | Enum <nl> | Eval <nl> | Extends <nl> let from_string keyword = <nl> | " empty " - > Some Empty <nl> | " endif " - > Some Endif <nl> | " endfor " - > Some Endfor <nl> + | " endforeach " - > Some Endforeach <nl> | " enum " - > Some Enum <nl> | " eval " - > Some Eval <nl> | " extends " - > Some Extends <nl> let to_string kind = <nl> | Empty - > " empty " <nl> | Endif - > " endif " <nl> | Endfor - > " endfor " <nl> + | Endforeach - > " endforeach " <nl> | Enum - > " enum " <nl> | Eval - > " eval " <nl> | Extends - > " extends " <nl> mmm a / hphp / hack / src / parser / js / full_fidelity_editable . js <nl> ppp b / hphp / hack / src / parser / js / full_fidelity_editable . js <nl> class EditableToken extends EditableSyntax <nl> return new EndifToken ( leading , trailing ) ; <nl> case ' endfor ' : <nl> return new EndforToken ( leading , trailing ) ; <nl> + case ' endforeach ' : <nl> + return new EndforeachToken ( leading , trailing ) ; <nl> case ' enum ' : <nl> return new EnumToken ( leading , trailing ) ; <nl> case ' eval ' : <nl> class EndforToken extends EditableToken <nl> super ( ' endfor ' , leading , trailing , ' endfor ' ) ; <nl> } <nl> } <nl> + class EndforeachToken extends EditableToken <nl> + { <nl> + constructor ( leading , trailing ) <nl> + { <nl> + super ( ' endforeach ' , leading , trailing , ' endforeach ' ) ; <nl> + } <nl> + } <nl> class EnumToken extends EditableToken <nl> { <nl> constructor ( leading , trailing ) <nl> exports . ElseifToken = ElseifToken ; <nl> exports . EmptyToken = EmptyToken ; <nl> exports . EndifToken = EndifToken ; <nl> exports . EndforToken = EndforToken ; <nl> + exports . EndforeachToken = EndforeachToken ; <nl> exports . EnumToken = EnumToken ; <nl> exports . EvalToken = EvalToken ; <nl> exports . ExtendsToken = ExtendsToken ; <nl> mmm a / hphp / hack / src / parser / js / full_fidelity_schema . json <nl> ppp b / hphp / hack / src / parser / js / full_fidelity_schema . json <nl> <nl> { " description " : <nl> " @ generated JSON schema of the Hack Full Fidelity Parser AST " , <nl> - " version " : " 2018 - 02 - 07 - 0001 " , <nl> + " version " : " 2018 - 02 - 07 - 0002 " , <nl> " trivia " : [ <nl> { " trivia_kind_name " : " WhiteSpace " , <nl> " trivia_type_name " : " whitespace " } , <nl> <nl> " token_text " : " endif " } , <nl> { " token_kind " : " Endfor " , <nl> " token_text " : " endfor " } , <nl> + { " token_kind " : " Endforeach " , <nl> + " token_text " : " endforeach " } , <nl> { " token_kind " : " Enum " , <nl> " token_text " : " enum " } , <nl> { " token_kind " : " Eval " , <nl> mmm a / hphp / hack / src / parser / php / full_fidelity_editable . php <nl> ppp b / hphp / hack / src / parser / php / full_fidelity_editable . php <nl> private static function factory ( <nl> return new EndifToken ( $ leading , $ trailing ) ; <nl> case ' endfor ' : <nl> return new EndforToken ( $ leading , $ trailing ) ; <nl> + case ' endforeach ' : <nl> + return new EndforeachToken ( $ leading , $ trailing ) ; <nl> case ' enum ' : <nl> return new EnumToken ( $ leading , $ trailing ) ; <nl> case ' eval ' : <nl> public function with_trailing ( EditableSyntax $ trailing ) : EndforToken { <nl> return new EndforToken ( $ this - > leading ( ) , $ trailing ) ; <nl> } <nl> } <nl> + final class EndforeachToken extends EditableToken { <nl> + public function __construct ( <nl> + EditableSyntax $ leading , <nl> + EditableSyntax $ trailing ) { <nl> + parent : : __construct ( ' endforeach ' , $ leading , $ trailing , ' endforeach ' ) ; <nl> + } <nl> + <nl> + public function with_leading ( EditableSyntax $ leading ) : EndforeachToken { <nl> + return new EndforeachToken ( $ leading , $ this - > trailing ( ) ) ; <nl> + } <nl> + <nl> + public function with_trailing ( EditableSyntax $ trailing ) : EndforeachToken { <nl> + return new EndforeachToken ( $ this - > leading ( ) , $ trailing ) ; <nl> + } <nl> + } <nl> final class EnumToken extends EditableToken { <nl> public function __construct ( <nl> EditableSyntax $ leading , <nl> mmm a / hphp / hack / src / parser / schema / full_fidelity_schema . ml <nl> ppp b / hphp / hack / src / parser / schema / full_fidelity_schema . ml <nl> <nl> <nl> ( * If you make changes to the schema that cause it to serialize / deserialize <nl> differently , please update this version number * ) <nl> - let full_fidelity_schema_version_number = " 2018 - 02 - 07 - 0001 " <nl> + let full_fidelity_schema_version_number = " 2018 - 02 - 07 - 0002 " <nl> ( * TODO : Consider basing the version number on an auto - generated <nl> hash of a file rather than relying on people remembering to update it . * ) <nl> ( * TODO : It may be worthwhile to investigate how Thrift describes data types <nl> let given_text_tokens = List . map token_node_from_list [ <nl> [ " Empty " ; " empty " ] ; <nl> [ " Endif " ; " endif " ] ; <nl> [ " Endfor " ; " endfor " ] ; <nl> + [ " Endforeach " ; " endforeach " ] ; <nl> [ " Enum " ; " enum " ] ; <nl> [ " Eval " ; " eval " ] ; <nl> [ " Extends " ; " extends " ] ; <nl> mmm a / hphp / test / hhcodegen_failing_tests_php_spec <nl> ppp b / hphp / test / hhcodegen_failing_tests_php_spec <nl> <nl> spec / tests / constants / core_predefined_constants2 . php <nl> - spec / tests / functions / variable_functions . php <nl> spec / tests / lexical_structure / tokens / heredoc_string_literals . php <nl> spec / tests / lexical_structure / tokens / string_literals . php <nl> spec / tests / statements / declare / declare . php <nl> - spec / tests / statements / iteration / foreach . php <nl> spec / tests / statements / iteration / while . php <nl> spec / tests / statements / selection / if . php <nl> - spec / tests / statements / selection / switch . php <nl> + spec / tests / statements / selection / switch . php <nl> \ No newline at end of file <nl> | Bash style foreach loop syntax support | facebook/hhvm | d06bdca42cfb8cf8d1b7e0ed670cf66c2f785471 | 2018-02-14T00:56:54Z |
mmm a / docs / options . md <nl> ppp b / docs / options . md <nl> with info about your project ( name and website ) so we can add an entry for you . <nl> 1 . grpc - graphql - gateway <nl> * Website : https : / / github . com / ysugimoto / grpc - graphql - gateway <nl> * Extensions : 1079 <nl> + <nl> + 1 . Cloudstate <nl> + * Website : https : / / cloudstate . io <nl> + * Extensions : 1080 - 1084 <nl> | Add Cloudstate extensions | protocolbuffers/protobuf | ab968155e5f7da774bca1e40d90210401299f77d | 2020-03-19T15:40:39Z |
mmm a / examples / CMakeLists . txt <nl> ppp b / examples / CMakeLists . txt <nl> ENDMACRO ( ) <nl> add_example ( bayes_net_ex ) <nl> add_example ( bayes_net_from_disk_ex ) <nl> add_example ( bayes_net_gui_ex ) <nl> + add_example ( bridge_ex ) <nl> add_example ( compress_stream_ex ) <nl> add_example ( config_reader_ex ) <nl> add_example ( custom_trainer_ex ) <nl> new file mode 100644 <nl> index 000000000 . . 246d22b98 <nl> mmm / dev / null <nl> ppp b / examples / bridge_ex . cpp <nl> <nl> + / / The contents of this file are in the public domain . See LICENSE_FOR_EXAMPLE_PROGRAMS . txt <nl> + <nl> + <nl> + / * <nl> + This is an example showing how to use the bridge object from from the <nl> + dlib C + + Library to send messages via TCP / IP . <nl> + <nl> + In particular , this example will walk you through four progressively <nl> + more complex use cases of the bridge object . Note that this example <nl> + program assumes you are already familiar with the pipe object and at <nl> + least the contents of the pipe_ex_2 . cpp example program . <nl> + * / <nl> + <nl> + <nl> + # include " dlib / bridge . h " <nl> + # include " dlib / type_safe_union . h " <nl> + # include < iostream > <nl> + <nl> + using namespace dlib ; <nl> + using namespace std ; <nl> + <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - <nl> + <nl> + void run_example_1 ( ) ; <nl> + void run_example_2 ( ) ; <nl> + void run_example_3 ( ) ; <nl> + void run_example_4 ( ) ; <nl> + <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - <nl> + <nl> + int main ( ) <nl> + { <nl> + run_example_1 ( ) ; <nl> + run_example_2 ( ) ; <nl> + run_example_3 ( ) ; <nl> + run_example_4 ( ) ; <nl> + } <nl> + <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - <nl> + <nl> + void run_example_1 ( <nl> + ) <nl> + { <nl> + cout < < " \ n mmm - Running example 1 mmm - " < < endl ; <nl> + <nl> + / * <nl> + The idea of the bridge is basically to allow two different dlib : : pipe objects <nl> + to be connected together via a TCP connection . This is best illustrated by <nl> + the following short example . In it we create two pipes , in and out . When <nl> + an object is enqueued into the out pipe it will be automatically sent <nl> + through a TCP connection and once received at the other end it will be <nl> + inserted into the in pipe . <nl> + * / <nl> + dlib : : pipe < int > in ( 4 ) , out ( 4 ) ; <nl> + <nl> + <nl> + / / This bridge will listen on port 12345 for an incoming TCP connection . Then <nl> + / / it will read data from that connection and put it into the in pipe . <nl> + bridge b2 ( listen_on_port ( 12345 ) , receive ( in ) ) ; <nl> + <nl> + / / This bridge will initiate a TCP connection and then start dequeuing <nl> + / / objects from out and transmitting them over the connection . <nl> + bridge b1 ( connect_to_ip_and_port ( " 127 . 0 . 0 . 1 " , 12345 ) , transmit ( out ) ) ; <nl> + <nl> + / / As an aside , in a real program , each of these bridges and pipes would be in a <nl> + / / separate application . But to make this example self contained they are both <nl> + / / right here . <nl> + <nl> + <nl> + <nl> + / / Now lets put some things into the out pipe <nl> + int value = 1 ; <nl> + out . enqueue ( value ) ; <nl> + <nl> + value = 2 ; <nl> + out . enqueue ( value ) ; <nl> + <nl> + value = 3 ; <nl> + out . enqueue ( value ) ; <nl> + <nl> + <nl> + / / Now those 3 ints can be dequeued from the in pipe . They will show up <nl> + / / in the same order they were inserted into the out pipe . <nl> + in . dequeue ( value ) ; <nl> + cout < < " dequeued value : " < < value < < endl ; <nl> + in . dequeue ( value ) ; <nl> + cout < < " dequeued value : " < < value < < endl ; <nl> + in . dequeue ( value ) ; <nl> + cout < < " dequeued value : " < < value < < endl ; <nl> + } <nl> + <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - <nl> + <nl> + void run_example_2 ( <nl> + ) <nl> + { <nl> + cout < < " \ n mmm - Running example 2 mmm - " < < endl ; <nl> + <nl> + / * <nl> + This example makes a simple echo server on port 12345 . When an object <nl> + is inserted into the out pipe it will be sent over a TCP connection , get <nl> + put into the echo pipe and then immediately read out of the echo pipe and <nl> + sent back over the TCP connection where it will finally be placed into the in <nl> + pipe . <nl> + * / <nl> + <nl> + dlib : : pipe < int > in ( 4 ) , out ( 4 ) , echo ( 4 ) ; <nl> + <nl> + / / Just like TCP connections , a bridge can send data both directions . The directionality <nl> + / / of a pipe is indicated by the receive ( ) and transmit ( ) type decorations . Also , the order <nl> + / / they are listed doesn ' t matter . <nl> + bridge echo_bridge ( listen_on_port ( 12345 ) , receive ( echo ) , transmit ( echo ) ) ; <nl> + <nl> + bridge b1 ( connect_to_ip_and_port ( " 127 . 0 . 0 . 1 " , 12345 ) , transmit ( out ) , receive ( in ) ) ; <nl> + <nl> + <nl> + int value = 1 ; <nl> + out . enqueue ( value ) ; <nl> + <nl> + value = 2 ; <nl> + out . enqueue ( value ) ; <nl> + <nl> + value = 3 ; <nl> + out . enqueue ( value ) ; <nl> + <nl> + <nl> + in . dequeue ( value ) ; <nl> + cout < < " dequeued value : " < < value < < endl ; <nl> + in . dequeue ( value ) ; <nl> + cout < < " dequeued value : " < < value < < endl ; <nl> + in . dequeue ( value ) ; <nl> + cout < < " dequeued value : " < < value < < endl ; <nl> + } <nl> + <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - <nl> + <nl> + struct my_example_object <nl> + { <nl> + / * <nl> + All objects passing though a dlib : : bridge must be serializable . This <nl> + means there must exist global functions called serialize ( ) and deserialize ( ) <nl> + which can convert an object into a bit stream and then reverse the process . <nl> + <nl> + This example object illustrates how this is done . <nl> + * / <nl> + <nl> + int value ; <nl> + std : : string str ; <nl> + } ; <nl> + <nl> + void serialize ( const my_example_object & item , std : : ostream & out ) <nl> + { <nl> + / * <nl> + serialize ( ) just needs to write the state of item to the output stream . <nl> + You can do this however you like . Below , I ' m using the serialize functions <nl> + for int and std : : string which come with dlib . But again , you can do whatever <nl> + you want here . <nl> + * / <nl> + dlib : : serialize ( item . value , out ) ; <nl> + dlib : : serialize ( item . str , out ) ; <nl> + } <nl> + <nl> + void deserialize ( my_example_object & item , std : : istream & in ) <nl> + { <nl> + / * <nl> + deserialize ( ) is just the inverse of serialize ( ) . Again , you can do <nl> + whatever you want here so long as it correctly reconstructs item . This <nl> + also means that deserialize ( ) must always consume as many bytes as serialize ( ) <nl> + generates . <nl> + * / <nl> + dlib : : deserialize ( item . value , in ) ; <nl> + dlib : : deserialize ( item . str , in ) ; <nl> + } <nl> + <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - <nl> + <nl> + void run_example_3 ( <nl> + ) <nl> + { <nl> + cout < < " \ n mmm - Running example 3 mmm - " < < endl ; <nl> + <nl> + / * <nl> + In this example we will just send ints and my_example_object objects <nl> + over a TCP connection . Since we are sending more than one type of <nl> + object though a pipe we will need to use the type_safe_union . <nl> + * / <nl> + <nl> + typedef type_safe_union < int , my_example_object > tsu_type ; <nl> + <nl> + dlib : : pipe < tsu_type > in ( 4 ) , out ( 4 ) ; <nl> + <nl> + / / Note that we don ' t have to start the listening bridge first . If b2 <nl> + / / fails to make a connection it will just keep trying until successful . <nl> + bridge b2 ( connect_to_ip_and_port ( " 127 . 0 . 0 . 1 " , 12345 ) , receive ( in ) ) ; <nl> + / / We don ' t have to configure a bridge in it ' s constructor . If it ' s <nl> + / / more convenient we can do so by calling reconfigure ( ) instead . <nl> + bridge b1 ; <nl> + b1 . reconfigure ( listen_on_port ( 12345 ) , transmit ( out ) ) ; <nl> + <nl> + tsu_type msg ; <nl> + <nl> + msg = 1 ; <nl> + out . enqueue ( msg ) ; <nl> + <nl> + msg = 2 ; <nl> + out . enqueue ( msg ) ; <nl> + <nl> + msg . get < my_example_object > ( ) . value = 3 ; <nl> + msg . get < my_example_object > ( ) . str = " some string " ; <nl> + out . enqueue ( msg ) ; <nl> + <nl> + <nl> + / / dequeue the three objects we sent and print them on the screen . <nl> + for ( int i = 0 ; i < 3 ; + + i ) <nl> + { <nl> + in . dequeue ( msg ) ; <nl> + if ( msg . contains < int > ( ) ) <nl> + { <nl> + cout < < " dequeued int : " < < msg . get < int > ( ) < < endl ; <nl> + } <nl> + else if ( msg . contains < my_example_object > ( ) ) <nl> + { <nl> + cout < < " dequeued struct : " < < msg . get < my_example_object > ( ) . value < < " " <nl> + < < msg . get < my_example_object > ( ) . str < < endl ; <nl> + } <nl> + } <nl> + } <nl> + <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - <nl> + <nl> + void run_example_4 ( <nl> + ) <nl> + { <nl> + cout < < " \ n mmm - Running example 4 mmm - " < < endl ; <nl> + <nl> + / * <nl> + This final example is the same as example 3 except we will also now be getting <nl> + status messages from the bridges . These bridge_status messages tell us the <nl> + state of the TCP connection associated with a bridge . Is it connected or not ? <nl> + Who it is connected to ? <nl> + <nl> + The way you get these status messages is by ensuring that your receive pipe is <nl> + capable of storing bridge_status objects . If it is then the bridge will <nl> + automatically insert bridge_status messages into your receive pipe whenever <nl> + there is a status change . <nl> + <nl> + There are only two kinds of status changes . The establishment of a connection <nl> + or the closing of a connection . Also , a connection which closes due to you <nl> + calling clear ( ) , reconfigure ( ) , or destructing a bridge does not generate a <nl> + status message since , in this case , you already know about it and just want <nl> + the bridge to destroy itself as quickly as possible . <nl> + * / <nl> + <nl> + <nl> + typedef type_safe_union < int , my_example_object , bridge_status > tsu_type ; <nl> + <nl> + dlib : : pipe < tsu_type > in ( 4 ) , out ( 4 ) ; <nl> + dlib : : pipe < bridge_status > b1_status ( 4 ) ; <nl> + <nl> + / / setup both bridges to have receive pipes capable of holding bridge_status messages . <nl> + bridge b1 ( listen_on_port ( 12345 ) , transmit ( out ) , receive ( b1_status ) ) ; <nl> + bridge b2 ( connect_to_ip_and_port ( " 127 . 0 . 0 . 1 " , 12345 ) , receive ( in ) ) ; <nl> + <nl> + tsu_type msg ; <nl> + bridge_status bs ; <nl> + <nl> + / / Once a connection is established it will generate a status message from each bridge . <nl> + / / Lets get those and print them . <nl> + b1_status . dequeue ( bs ) ; <nl> + cout < < " bridge 1 status : is_connected : " < < boolalpha < < bs . is_connected < < endl ; <nl> + cout < < " bridge 1 status : foreign_ip : " < < bs . foreign_ip < < endl ; <nl> + cout < < " bridge 1 status : foreign_port : " < < bs . foreign_port < < endl ; <nl> + <nl> + in . dequeue ( msg ) ; <nl> + bs = msg . get < bridge_status > ( ) ; <nl> + cout < < " bridge 2 status : is_connected : " < < bs . is_connected < < endl ; <nl> + cout < < " bridge 2 status : foreign_ip : " < < bs . foreign_ip < < endl ; <nl> + cout < < " bridge 2 status : foreign_port : " < < bs . foreign_port < < endl ; <nl> + <nl> + <nl> + <nl> + msg = 1 ; <nl> + out . enqueue ( msg ) ; <nl> + <nl> + msg = 2 ; <nl> + out . enqueue ( msg ) ; <nl> + <nl> + msg . get < my_example_object > ( ) . value = 3 ; <nl> + msg . get < my_example_object > ( ) . str = " some string " ; <nl> + out . enqueue ( msg ) ; <nl> + <nl> + <nl> + / / Read the 3 things we sent over the connection . <nl> + for ( int i = 0 ; i < 3 ; + + i ) <nl> + { <nl> + in . dequeue ( msg ) ; <nl> + if ( msg . contains < int > ( ) ) <nl> + { <nl> + cout < < " dequeued int : " < < msg . get < int > ( ) < < endl ; <nl> + } <nl> + else if ( msg . contains < my_example_object > ( ) ) <nl> + { <nl> + cout < < " dequeued struct : " < < msg . get < my_example_object > ( ) . value < < " " <nl> + < < msg . get < my_example_object > ( ) . str < < endl ; <nl> + } <nl> + } <nl> + <nl> + / / cause bridge 1 to shutdown completely . This will close the connection and <nl> + / / therefore bridge 2 will generate a status message indicating the connection <nl> + / / just closed . <nl> + b1 . clear ( ) ; <nl> + in . dequeue ( msg ) ; <nl> + bs = msg . get < bridge_status > ( ) ; <nl> + cout < < " bridge 1 status : is_connected : " < < bs . is_connected < < endl ; <nl> + cout < < " bridge 1 status : foreign_ip : " < < bs . foreign_ip < < endl ; <nl> + cout < < " bridge 1 status : foreign_port : " < < bs . foreign_port < < endl ; <nl> + } <nl> + <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - <nl> + <nl> | Added an example program for the bridge object . | davisking/dlib | 05ed2b5ba603879fe743a1164a5fc5fffabe8783 | 2011-05-14T18:09:06Z |
new file mode 100644 <nl> index 00000000000 . . 61d0bfc5369 <nl> mmm / dev / null <nl> ppp b / src / rdb_protocol / terms / sort . hpp <nl> <nl> + # include " rdb_protocol / datum_stream . hpp " <nl> + # include " rdb_protocol / err . hpp " <nl> + # include " rdb_protocol / op . hpp " <nl> + # include " rdb_protocol / pb_utils . hpp " <nl> + <nl> + namespace ql { <nl> + <nl> + class orderby_term_t : public op_term_t { <nl> + public : <nl> + orderby_term_t ( env_t * env , const Term2 * term ) <nl> + : op_term_t ( env , term , argspec_t ( 2 ) ) { } <nl> + private : <nl> + class lt_cmp_t { <nl> + public : <nl> + lt_cmp_t ( const datum_t * _attrs ) : attrs ( _attrs ) { } <nl> + bool operator ( ) ( const datum_t * l , const datum_t * r ) { <nl> + for ( size_t i = 0 ; i < attrs - > size ( ) ; + + i ) { <nl> + std : : string attrname = attrs - > el ( i ) - > as_str ( ) ; <nl> + bool invert = ( attrname [ 0 ] = = ' - ' ) ; <nl> + if ( attrname [ 0 ] = = ' - ' | | attrname [ 0 ] = = ' + ' ) attrname . erase ( 0 , 1 ) ; <nl> + const datum_t * lattr = l - > el ( attrname , 0 ) ; <nl> + const datum_t * rattr = r - > el ( attrname , 0 ) ; <nl> + if ( ! lattr & & ! rattr ) continue ; <nl> + if ( ! lattr ) return bool ( true ^ invert ) ; <nl> + if ( ! rattr ) return bool ( false ^ invert ) ; <nl> + / / TODO : use datum : : cmp instead to be faster <nl> + if ( * lattr = = * rattr ) continue ; <nl> + return bool ( ( * lattr < * rattr ) ^ invert ) ; <nl> + } <nl> + return false ; <nl> + } <nl> + private : <nl> + const datum_t * attrs ; <nl> + } ; <nl> + <nl> + virtual val_t * eval_impl ( ) { <nl> + lt_cmp_t lt_cmp ( arg ( 1 ) - > as_datum ( ) ) ; <nl> + / / We can ' t have datum_stream_t : : sort because templates suck . <nl> + datum_stream_t * s = new sort_datum_stream_t < lt_cmp_t > ( <nl> + env , lt_cmp , arg ( 0 ) - > as_seq ( ) ) ; <nl> + return new_val ( s ) ; <nl> + } <nl> + RDB_NAME ( " orderby " ) <nl> + } ; <nl> + <nl> + class distinct_term_t : public op_term_t { <nl> + public : <nl> + distinct_term_t ( env_t * env , const Term2 * term ) <nl> + : op_term_t ( env , term , argspec_t ( 1 ) ) { } <nl> + private : <nl> + static bool lt_cmp ( const datum_t * l , const datum_t * r ) { return * l < * r ; } <nl> + virtual val_t * eval_impl ( ) { <nl> + datum_stream_t * s = <nl> + new sort_datum_stream_t < bool ( * ) ( const datum_t * , const datum_t * ) > ( <nl> + env , lt_cmp , arg ( 0 ) - > as_seq ( ) ) ; <nl> + datum_t * arr = env - > add_ptr ( new datum_t ( datum_t : : R_ARRAY ) ) ; <nl> + const datum_t * last = 0 ; <nl> + while ( const datum_t * d = s - > next ( ) ) { <nl> + if ( last & & * last = = * d ) continue ; <nl> + arr - > add ( last = d ) ; <nl> + } <nl> + return new_val ( new array_datum_stream_t ( env , arr ) ) ; <nl> + } <nl> + RDB_NAME ( " distinct " ) <nl> + } ; <nl> + <nl> + } / / namespace ql <nl> | added sort | rethinkdb/rethinkdb | e4fbdb5ebe432d7189a8b5d6248e55b656b7f2f3 | 2013-01-24T19:36:33Z |
mmm a / swoole_coroutine . c <nl> ppp b / swoole_coroutine . c <nl> int sw_coro_create ( zend_fcall_info_cache * fci_cache , zval * * argv , int argc , zval <nl> zend_op_array * op_array = ( zend_op_array * ) fci_cache - > function_handler ; <nl> zend_object * object ; <nl> int i ; <nl> - <nl> - size_t total = ZEND_CALL_FRAME_SLOT + TASK_SLOT + argc ; <nl> - total + = op_array - > last_var + op_array - > T - MIN ( op_array - > num_args , argc ) ; <nl> - total * = sizeof ( zval ) ; <nl> zend_vm_stack_init ( ) ; <nl> <nl> - zend_execute_data * call = ( zend_execute_data * ) ( EG ( vm_stack_top ) + TASK_SLOT * sizeof ( zval ) ) ; <nl> COROG . current_coro = ( coro_task * ) EG ( vm_stack_top ) ; <nl> - if ( __builtin_expect ( total > ( size_t ) ( ( char * ) EG ( vm_stack_end ) - ( char * ) call ) , 0 ) ) <nl> - { <nl> - call = ( zend_execute_data * ) zend_vm_stack_extend ( total ) ; <nl> - } <nl> - else <nl> - { <nl> - EG ( vm_stack_top ) = ( zval * ) ( ( char * ) call + total ) ; <nl> - } <nl> - <nl> + zend_execute_data * call = ( zend_execute_data * ) ( EG ( vm_stack_top ) ) ; <nl> + EG ( vm_stack_top ) = ( zval * ) ( ( char * ) call + TASK_SLOT * sizeof ( zval ) ) ; <nl> object = ( func - > common . fn_flags | ZEND_ACC_STATIC ) ? NULL : fci_cache - > object ; <nl> - zend_vm_init_call_frame ( call , ZEND_CALL_TOP_FUNCTION | ZEND_CALL_DYNAMIC | ZEND_CALL_ALLOCATED , fci_cache - > function_handler , argc , fci_cache - > called_scope , object ) ; <nl> + call = zend_vm_stack_push_call_frame ( ZEND_CALL_TOP_FUNCTION | ZEND_CALL_ALLOCATED , fci_cache - > function_handler , argc , fci_cache - > called_scope , object ) ; <nl> <nl> for ( i = 0 ; i < argc ; + + i ) <nl> { <nl> int sw_coro_create ( zend_fcall_info_cache * fci_cache , zval * * argv , int argc , zval <nl> { <nl> ZEND_ADD_CALL_FLAG ( call , ZEND_CALL_CLOSURE ) ; <nl> } <nl> - <nl> + <nl> zend_init_execute_data ( call , op_array , retval ) ; <nl> <nl> + + COROG . coro_num ; <nl> - COROG . require = 1 ; <nl> COROG . current_coro - > start_time = time ( NULL ) ; <nl> COROG . current_coro - > post_callback = post_callback ; <nl> COROG . current_coro - > post_callback_params = params ; <nl> int sw_coro_create ( zend_fcall_info_cache * fci_cache , zval * * argv , int argc , zval <nl> { <nl> zend_execute_ex ( call ) ; <nl> coro_close ( TSRMLS_C ) ; <nl> - swTrace ( " create the % d coro with stack % zu . heap size : % zu \ n " , COROG . coro_num , total , zend_memory_usage ( 0 ) ) ; <nl> + swTrace ( " create the % d coro with stack . heap size : % zu \ n " , COROG . coro_num , zend_memory_usage ( 0 ) ) ; <nl> coro_status = CORO_END ; <nl> } <nl> else <nl> int sw_coro_resume ( php_context * sw_current_context , zval * retval , zval * coro_ret <nl> { <nl> / / coro exit <nl> zend_execute_ex ( sw_current_context - > current_execute_data TSRMLS_CC ) ; <nl> - / / if ( EG ( return_value_ptr_ptr ) ! = NULL ) <nl> - / / { <nl> - / / * coro_retval = * EG ( return_value_ptr_ptr ) ; <nl> - / / } <nl> coro_close ( TSRMLS_C ) ; <nl> coro_status = CORO_END ; <nl> } <nl> int sw_coro_resume ( php_context * sw_current_context , zval * retval , zval * coro_ret <nl> / / coro yield <nl> coro_status = CORO_YIELD ; <nl> } <nl> + return coro_status ; <nl> } <nl> # endif <nl> <nl> | use new zend api to support 7 . 0 . 12 from rocket | swoole/swoole-src | 5280221953248c8f9399279b055914d242dc7086 | 2016-11-05T14:04:58Z |
mmm a / atom / browser / api / atom_api_session . cc <nl> ppp b / atom / browser / api / atom_api_session . cc <nl> class ResolveProxyHelper { <nl> / / Start the request . <nl> int result = proxy_service - > ResolveProxy ( <nl> url , " GET " , & proxy_info_ , completion_callback , & pac_req_ , nullptr , <nl> - net : : BoundNetLog ( ) ) ; <nl> + net : : NetLogWithSource ( ) ) ; <nl> <nl> / / Completed synchronously . <nl> if ( result ! = net : : ERR_IO_PENDING ) <nl> mmm a / atom / browser / atom_browser_context . cc <nl> ppp b / atom / browser / atom_browser_context . cc <nl> AtomBrowserContext : : CreateURLRequestJobFactory ( <nl> url_request_context_getter ( ) - > GetURLRequestContext ( ) - > host_resolver ( ) ; <nl> job_factory - > SetProtocolHandler ( <nl> url : : kFtpScheme , <nl> - base : : WrapUnique ( new net : : FtpProtocolHandler ( <nl> - new net : : FtpNetworkLayer ( host_resolver ) ) ) ) ; <nl> + net : : FtpProtocolHandler : : Create ( host_resolver ) ) ; <nl> <nl> return std : : move ( job_factory ) ; <nl> } <nl> | net : : FtpProtocolHandler has changed its constructor | electron/electron | 5cf2873b77d89f06784db879f5f983655291f221 | 2017-02-06T18:34:29Z |
mmm a / tensorflow / core / kernels / adjust_hue_op_gpu . cu . cc <nl> ppp b / tensorflow / core / kernels / adjust_hue_op_gpu . cu . cc <nl> limitations under the License . <nl> <nl> # include " tensorflow / core / kernels / adjust_hsv_gpu . cu . h " <nl> # include " tensorflow / core / kernels / adjust_hue_op . h " <nl> - # include " tensorflow / core / util / cuda_kernel_helper . h " <nl> + # include " tensorflow / core / util / gpu_kernel_helper . h " <nl> <nl> namespace tensorflow { <nl> <nl> mmm a / tensorflow / core / kernels / adjust_saturation_op_gpu . cu . cc <nl> ppp b / tensorflow / core / kernels / adjust_saturation_op_gpu . cu . cc <nl> limitations under the License . <nl> <nl> # include " tensorflow / core / kernels / adjust_hsv_gpu . cu . h " <nl> # include " tensorflow / core / kernels / adjust_saturation_op . h " <nl> - # include " tensorflow / core / util / cuda_kernel_helper . h " <nl> + # include " tensorflow / core / util / gpu_kernel_helper . h " <nl> <nl> namespace tensorflow { <nl> <nl> mmm a / tensorflow / core / kernels / avgpooling_op_gpu . cu . cc <nl> ppp b / tensorflow / core / kernels / avgpooling_op_gpu . cu . cc <nl> limitations under the License . <nl> # define EIGEN_USE_GPU <nl> <nl> # include < stdio . h > <nl> - # include < iostream > <nl> <nl> - # include " tensorflow / core / kernels / avgpooling_op . h " <nl> + # include < iostream > <nl> <nl> # include " tensorflow / core / framework / register_types . h " <nl> # include " tensorflow / core / framework / tensor_types . h " <nl> - # include " tensorflow / core / util / cuda_kernel_helper . h " <nl> + # include " tensorflow / core / kernels / avgpooling_op . h " <nl> + # include " tensorflow / core / util / gpu_kernel_helper . h " <nl> <nl> namespace tensorflow { <nl> <nl> mmm a / tensorflow / core / kernels / bias_op_gpu . cu . cc <nl> ppp b / tensorflow / core / kernels / bias_op_gpu . cu . cc <nl> limitations under the License . <nl> # include < algorithm > <nl> <nl> # include " tensorflow / core / framework / register_types . h " <nl> - # include " tensorflow / core / kernels / bias_op . h " <nl> - # include " tensorflow / core / kernels / bias_op_gpu . h " <nl> - # include " tensorflow / core / util / cuda_kernel_helper . h " <nl> - <nl> # include " tensorflow / core / framework / tensor . h " <nl> # include " tensorflow / core / framework / tensor_shape . h " <nl> # include " tensorflow / core / framework / tensor_types . h " <nl> - # include " tensorflow / core / platform / types . h " <nl> - <nl> + # include " tensorflow / core / kernels / bias_op . h " <nl> + # include " tensorflow / core / kernels / bias_op_gpu . h " <nl> # include " tensorflow / core / kernels / reduction_gpu_kernels . cu . h " <nl> # include " tensorflow / core / kernels / reduction_ops_common . h " <nl> + # include " tensorflow / core / platform / types . h " <nl> + # include " tensorflow / core / util / gpu_kernel_helper . h " <nl> <nl> namespace tensorflow { <nl> <nl> mmm a / tensorflow / core / kernels / bincount_op_gpu . cu . cc <nl> ppp b / tensorflow / core / kernels / bincount_op_gpu . cu . cc <nl> limitations under the License . <nl> # include " tensorflow / core / kernels / bincount_op . h " <nl> # include " tensorflow / core / platform / logging . h " <nl> # include " tensorflow / core / platform / types . h " <nl> - # include " tensorflow / core / util / cuda_kernel_helper . h " <nl> + # include " tensorflow / core / util / gpu_kernel_helper . h " <nl> <nl> namespace tensorflow { <nl> <nl> mmm a / tensorflow / core / kernels / bucketize_op_gpu . cu . cc <nl> ppp b / tensorflow / core / kernels / bucketize_op_gpu . cu . cc <nl> limitations under the License . <nl> # define EIGEN_USE_GPU <nl> <nl> # include " third_party / eigen3 / unsupported / Eigen / CXX11 / Tensor " <nl> - <nl> # include " tensorflow / core / framework / op_kernel . h " <nl> # include " tensorflow / core / framework / register_types . h " <nl> # include " tensorflow / core / framework / tensor . h " <nl> limitations under the License . <nl> # include " tensorflow / core / kernels / gpu_device_array . h " <nl> # include " tensorflow / core / platform / logging . h " <nl> # include " tensorflow / core / platform / types . h " <nl> - # include " tensorflow / core / util / cuda_kernel_helper . h " <nl> + # include " tensorflow / core / util / gpu_kernel_helper . h " <nl> <nl> namespace tensorflow { <nl> <nl> mmm a / tensorflow / core / kernels / check_numerics_op_gpu . cu . cc <nl> ppp b / tensorflow / core / kernels / check_numerics_op_gpu . cu . cc <nl> limitations under the License . <nl> # define EIGEN_USE_GPU <nl> <nl> # include < assert . h > <nl> + # include < math . h > <nl> # include < stdio . h > <nl> <nl> - # include < math . h > <nl> # include < algorithm > <nl> <nl> # include " third_party / eigen3 / unsupported / Eigen / CXX11 / Tensor " <nl> # include " tensorflow / core / platform / types . h " <nl> - # include " tensorflow / core / util / cuda_launch_config . h " <nl> + # include " tensorflow / core / util / gpu_launch_config . h " <nl> <nl> namespace tensorflow { <nl> <nl> mmm a / tensorflow / core / kernels / compare_and_bitpack_op_gpu . cu . cc <nl> ppp b / tensorflow / core / kernels / compare_and_bitpack_op_gpu . cu . cc <nl> limitations under the License . <nl> <nl> # define EIGEN_USE_GPU <nl> <nl> - # include " tensorflow / core / kernels / compare_and_bitpack_op . h " <nl> - <nl> # include " third_party / eigen3 / unsupported / Eigen / CXX11 / Tensor " <nl> # include " tensorflow / core / framework / op_kernel . h " <nl> # include " tensorflow / core / framework / register_types . h " <nl> # include " tensorflow / core / framework / tensor_types . h " <nl> + # include " tensorflow / core / kernels / compare_and_bitpack_op . h " <nl> # include " tensorflow / core / platform / types . h " <nl> - # include " tensorflow / core / util / cuda_kernel_helper . h " <nl> + # include " tensorflow / core / util / gpu_kernel_helper . h " <nl> <nl> namespace tensorflow { <nl> <nl> mmm a / tensorflow / core / kernels / concat_lib_gpu_impl . cu . cc <nl> ppp b / tensorflow / core / kernels / concat_lib_gpu_impl . cu . cc <nl> limitations under the License . <nl> # include " tensorflow / core / framework / tensor_types . h " <nl> # include " tensorflow / core / kernels / concat_lib_gpu . h " <nl> # include " tensorflow / core / kernels / gpu_device_array_gpu . h " <nl> - # include " tensorflow / core / util / cuda_kernel_helper . h " <nl> + # include " tensorflow / core / util / gpu_kernel_helper . h " <nl> <nl> namespace tensorflow { <nl> <nl> mmm a / tensorflow / core / kernels / conv_2d_gpu . h <nl> ppp b / tensorflow / core / kernels / conv_2d_gpu . h <nl> limitations under the License . <nl> # include " tensorflow / core / framework / register_types . h " <nl> # include " tensorflow / core / kernels / conv_2d . h " <nl> # include " tensorflow / core / lib / math / math_util . h " <nl> - # include " tensorflow / core / util / cuda_kernel_helper . h " <nl> + # include " tensorflow / core / util / gpu_kernel_helper . h " <nl> # include " tensorflow / core / util / tensor_format . h " <nl> <nl> namespace tensorflow { <nl> mmm a / tensorflow / core / kernels / crop_and_resize_op_gpu . cu . cc <nl> ppp b / tensorflow / core / kernels / crop_and_resize_op_gpu . cu . cc <nl> limitations under the License . <nl> <nl> # define EIGEN_USE_GPU <nl> <nl> - # include " tensorflow / core / kernels / crop_and_resize_op . h " <nl> - <nl> # include " tensorflow / core / framework / register_types . h " <nl> # include " tensorflow / core / framework / tensor_types . h " <nl> + # include " tensorflow / core / kernels / crop_and_resize_op . h " <nl> # include " tensorflow / core / platform / types . h " <nl> - # include " tensorflow / core / util / cuda_kernel_helper . h " <nl> + # include " tensorflow / core / util / gpu_kernel_helper . h " <nl> <nl> namespace tensorflow { <nl> <nl> mmm a / tensorflow / core / kernels / cwise_op_clip_gpu . cu . cc <nl> ppp b / tensorflow / core / kernels / cwise_op_clip_gpu . cu . cc <nl> limitations under the License . <nl> <nl> # include " tensorflow / core / kernels / cwise_op_clip . h " <nl> # include " tensorflow / core / kernels / cwise_ops_gpu_common . cu . h " <nl> - # include " tensorflow / core / util / cuda_kernel_helper . h " <nl> + # include " tensorflow / core / util / gpu_kernel_helper . h " <nl> <nl> namespace tensorflow { <nl> <nl> mmm a / tensorflow / core / kernels / depthtospace_op_gpu . cu . cc <nl> ppp b / tensorflow / core / kernels / depthtospace_op_gpu . cu . cc <nl> limitations under the License . <nl> <nl> # define EIGEN_USE_GPU <nl> <nl> - # include " tensorflow / core / kernels / depthtospace_op . h " <nl> - <nl> # include " tensorflow / core / framework / tensor_types . h " <nl> + # include " tensorflow / core / kernels / depthtospace_op . h " <nl> # include " tensorflow / core / platform / types . h " <nl> - # include " tensorflow / core / util / cuda_kernel_helper . h " <nl> + # include " tensorflow / core / util / gpu_kernel_helper . h " <nl> <nl> namespace tensorflow { <nl> namespace { <nl> mmm a / tensorflow / core / kernels / depthwise_conv_op_gpu . h <nl> ppp b / tensorflow / core / kernels / depthwise_conv_op_gpu . h <nl> limitations under the License . <nl> # include " tensorflow / core / framework / op_kernel . h " <nl> # include " tensorflow / core / kernels / depthwise_conv_op . h " <nl> # include " tensorflow / core / platform / types . h " <nl> - # include " tensorflow / core / util / cuda_kernel_helper . h " <nl> + # include " tensorflow / core / util / gpu_kernel_helper . h " <nl> # include " tensorflow / core / util / tensor_format . h " <nl> <nl> # if defined ( _MSC_VER ) & & ! defined ( __clang__ ) <nl> mmm a / tensorflow / core / kernels / determinant_op_gpu . cu . cc <nl> ppp b / tensorflow / core / kernels / determinant_op_gpu . cu . cc <nl> limitations under the License . <nl> <nl> # define EIGEN_USE_GPU <nl> <nl> - # include " tensorflow / core / kernels / determinant_op . h " <nl> - <nl> # include < complex > <nl> + <nl> # include " third_party / eigen3 / unsupported / Eigen / CXX11 / Tensor " <nl> # include " tensorflow / core / framework / tensor_types . h " <nl> # include " tensorflow / core / kernels / cuda_solvers . h " <nl> - # include " tensorflow / core / util / cuda_kernel_helper . h " <nl> + # include " tensorflow / core / kernels / determinant_op . h " <nl> + # include " tensorflow / core / util / gpu_kernel_helper . h " <nl> <nl> namespace tensorflow { <nl> namespace functor { <nl> mmm a / tensorflow / core / kernels / diag_op_gpu . cu . cc <nl> ppp b / tensorflow / core / kernels / diag_op_gpu . cu . cc <nl> limitations under the License . <nl> # define EIGEN_USE_GPU <nl> <nl> # include < complex > <nl> + <nl> # include " tensorflow / core / framework / register_types . h " <nl> # include " tensorflow / core / kernels / diag_op . h " <nl> - # include " tensorflow / core / util / cuda_kernel_helper . h " <nl> + # include " tensorflow / core / util / gpu_kernel_helper . h " <nl> <nl> namespace tensorflow { <nl> namespace functor { <nl> mmm a / tensorflow / core / kernels / dilation_ops_gpu . cu . cc <nl> ppp b / tensorflow / core / kernels / dilation_ops_gpu . cu . cc <nl> limitations under the License . <nl> # include < cfloat > <nl> # include < vector > <nl> <nl> - # include " tensorflow / core / kernels / dilation_ops . h " <nl> - <nl> # include " tensorflow / core / framework / register_types . h " <nl> # include " tensorflow / core / framework / tensor_types . h " <nl> + # include " tensorflow / core / kernels / dilation_ops . h " <nl> # include " tensorflow / core / platform / types . h " <nl> - # include " tensorflow / core / util / cuda_kernel_helper . h " <nl> + # include " tensorflow / core / util / gpu_kernel_helper . h " <nl> <nl> namespace tensorflow { <nl> <nl> mmm a / tensorflow / core / kernels / dynamic_partition_op_gpu . cu . cc <nl> ppp b / tensorflow / core / kernels / dynamic_partition_op_gpu . cu . cc <nl> limitations under the License . <nl> # include " tensorflow / core / framework / types . h " <nl> # include " tensorflow / core / kernels / fill_functor . h " <nl> # include " tensorflow / core / kernels / gather_functor_gpu . cu . h " <nl> - # include " tensorflow / core / util / cuda_kernel_helper . h " <nl> + # include " tensorflow / core / util / gpu_kernel_helper . h " <nl> # include " tensorflow / core / util / transform_output_iterator . h " <nl> <nl> namespace tensorflow { <nl> mmm a / tensorflow / core / kernels / dynamic_stitch_op_gpu . cu . cc <nl> ppp b / tensorflow / core / kernels / dynamic_stitch_op_gpu . cu . cc <nl> limitations under the License . <nl> # include " tensorflow / core / framework / register_types . h " <nl> # include " tensorflow / core / framework / tensor_types . h " <nl> # include " tensorflow / core / kernels / gpu_device_array_gpu . h " <nl> - # include " tensorflow / core / util / cuda_kernel_helper . h " <nl> + # include " tensorflow / core / util / gpu_kernel_helper . h " <nl> <nl> namespace tensorflow { <nl> <nl> mmm a / tensorflow / core / kernels / eye_functor_gpu . cu . cc <nl> ppp b / tensorflow / core / kernels / eye_functor_gpu . cu . cc <nl> limitations under the License . <nl> # include " tensorflow / core / framework / tensor_types . h " <nl> # include " tensorflow / core / framework / type_traits . h " <nl> # include " tensorflow / core / kernels / eye_functor . h " <nl> - # include " tensorflow / core / util / cuda_kernel_helper . h " <nl> + # include " tensorflow / core / util / gpu_kernel_helper . h " <nl> <nl> namespace tensorflow { <nl> namespace functor { <nl> mmm a / tensorflow / core / kernels / fused_batch_norm_op . cu . cc <nl> ppp b / tensorflow / core / kernels / fused_batch_norm_op . cu . cc <nl> limitations under the License . <nl> # define EIGEN_USE_GPU <nl> # include " cuda / include / cuda . h " <nl> # include " tensorflow / core / kernels / fused_batch_norm_op . h " <nl> - # include " tensorflow / core / util / cuda_kernel_helper . h " <nl> + # include " tensorflow / core / util / gpu_kernel_helper . h " <nl> <nl> namespace tensorflow { <nl> namespace functor { <nl> mmm a / tensorflow / core / kernels / gather_functor_gpu . cu . h <nl> ppp b / tensorflow / core / kernels / gather_functor_gpu . cu . h <nl> limitations under the License . <nl> # include " tensorflow / core / framework / register_types . h " <nl> # include " tensorflow / core / kernels / gather_functor . h " <nl> # include " tensorflow / core / platform / types . h " <nl> - # include " tensorflow / core / util / cuda_kernel_helper . h " <nl> + # include " tensorflow / core / util / gpu_kernel_helper . h " <nl> <nl> namespace tensorflow { <nl> <nl> mmm a / tensorflow / core / kernels / gather_nd_op_gpu . cu . cc <nl> ppp b / tensorflow / core / kernels / gather_nd_op_gpu . cu . cc <nl> limitations under the License . <nl> # include " tensorflow / core / framework / register_types . h " <nl> # include " tensorflow / core / kernels / gather_nd_op . h " <nl> # include " tensorflow / core / platform / types . h " <nl> - # include " tensorflow / core / util / cuda_kernel_helper . h " <nl> + # include " tensorflow / core / util / gpu_kernel_helper . h " <nl> <nl> namespace tensorflow { <nl> <nl> mmm a / tensorflow / core / kernels / histogram_op_gpu . cu . cc <nl> ppp b / tensorflow / core / kernels / histogram_op_gpu . cu . cc <nl> limitations under the License . <nl> # include " tensorflow / core / kernels / histogram_op . h " <nl> # include " tensorflow / core / platform / logging . h " <nl> # include " tensorflow / core / platform / types . h " <nl> - # include " tensorflow / core / util / cuda_kernel_helper . h " <nl> + # include " tensorflow / core / util / gpu_kernel_helper . h " <nl> <nl> namespace tensorflow { <nl> <nl> mmm a / tensorflow / core / kernels / inplace_ops_functor_gpu . cu . cc <nl> ppp b / tensorflow / core / kernels / inplace_ops_functor_gpu . cu . cc <nl> limitations under the License . <nl> <nl> # include " third_party / eigen3 / unsupported / Eigen / CXX11 / Tensor " <nl> # include " tensorflow / core / kernels / inplace_ops_functor . h " <nl> - # include " tensorflow / core / util / cuda_kernel_helper . h " <nl> + # include " tensorflow / core / util / gpu_kernel_helper . h " <nl> <nl> namespace tensorflow { <nl> namespace functor { <nl> mmm a / tensorflow / core / kernels / lu_op_gpu . cu . cc <nl> ppp b / tensorflow / core / kernels / lu_op_gpu . cu . cc <nl> limitations under the License . <nl> # include " tensorflow / core / kernels / cuda_solvers . h " <nl> # include " tensorflow / core / kernels / transpose_functor . h " <nl> # include " tensorflow / core / platform / types . h " <nl> - # include " tensorflow / core / util / cuda_kernel_helper . h " <nl> + # include " tensorflow / core / util / gpu_kernel_helper . h " <nl> <nl> namespace tensorflow { <nl> <nl> mmm a / tensorflow / core / kernels / matrix_band_part_op_gpu . cu . cc <nl> ppp b / tensorflow / core / kernels / matrix_band_part_op_gpu . cu . cc <nl> limitations under the License . <nl> # define EIGEN_USE_GPU <nl> <nl> # include < complex > <nl> + <nl> # include " third_party / eigen3 / unsupported / Eigen / CXX11 / Tensor " <nl> # include " tensorflow / core / framework / register_types . h " <nl> # include " tensorflow / core / kernels / cuda_solvers . h " <nl> # include " tensorflow / core / kernels / matrix_band_part_op . h " <nl> - # include " tensorflow / core / util / cuda_kernel_helper . h " <nl> + # include " tensorflow / core / util / gpu_kernel_helper . h " <nl> <nl> namespace tensorflow { <nl> namespace functor { <nl> mmm a / tensorflow / core / kernels / matrix_set_diag_op_gpu . cu . cc <nl> ppp b / tensorflow / core / kernels / matrix_set_diag_op_gpu . cu . cc <nl> limitations under the License . <nl> <nl> # include " tensorflow / core / framework / register_types . h " <nl> # include " tensorflow / core / kernels / matrix_set_diag_op . h " <nl> - # include " tensorflow / core / util / cuda_kernel_helper . h " <nl> + # include " tensorflow / core / util / gpu_kernel_helper . h " <nl> <nl> namespace tensorflow { <nl> namespace functor { <nl> mmm a / tensorflow / core / kernels / maxpooling_op_gpu . cu . cc <nl> ppp b / tensorflow / core / kernels / maxpooling_op_gpu . cu . cc <nl> limitations under the License . <nl> # define EIGEN_USE_GPU <nl> <nl> # include < stdio . h > <nl> + <nl> # include < cfloat > <nl> <nl> # include " tensorflow / core / framework / register_types . h " <nl> limitations under the License . <nl> # include " tensorflow / core / framework / type_traits . h " <nl> # include " tensorflow / core / kernels / maxpooling_op . h " <nl> # include " tensorflow / core / kernels / maxpooling_op_gpu . h " <nl> - # include " tensorflow / core / util / cuda_kernel_helper . h " <nl> + # include " tensorflow / core / util / gpu_kernel_helper . h " <nl> <nl> namespace tensorflow { <nl> namespace { <nl> mmm a / tensorflow / core / kernels / multinomial_op_gpu . cu . cc <nl> ppp b / tensorflow / core / kernels / multinomial_op_gpu . cu . cc <nl> limitations under the License . <nl> <nl> # define EIGEN_USE_GPU <nl> <nl> - # include " tensorflow / core / kernels / multinomial_op . h " <nl> - <nl> # include < assert . h > <nl> # include < stdio . h > <nl> <nl> # include " tensorflow / core / framework / tensor_types . h " <nl> + # include " tensorflow / core / kernels / multinomial_op . h " <nl> # include " tensorflow / core / kernels / random_op . h " <nl> # include " tensorflow / core / kernels / reduction_gpu_kernels . cu . h " <nl> # include " tensorflow / core / kernels / reduction_ops_common . h " <nl> # include " tensorflow / core / lib / random / philox_random . h " <nl> # include " tensorflow / core / lib / random / random_distributions . h " <nl> - # include " tensorflow / core / util / cuda_kernel_helper . h " <nl> + # include " tensorflow / core / util / gpu_kernel_helper . h " <nl> <nl> namespace tensorflow { <nl> <nl> mmm a / tensorflow / core / kernels / parameterized_truncated_normal_op_gpu . cu . cc <nl> ppp b / tensorflow / core / kernels / parameterized_truncated_normal_op_gpu . cu . cc <nl> limitations under the License . <nl> <nl> # define EIGEN_USE_GPU <nl> <nl> - # include " tensorflow / core / kernels / parameterized_truncated_normal_op . h " <nl> - <nl> # include < assert . h > <nl> # include < stdio . h > <nl> + <nl> # include < cmath > <nl> <nl> # include " third_party / eigen3 / unsupported / Eigen / CXX11 / Tensor " <nl> # include " tensorflow / core / framework / tensor_types . h " <nl> + # include " tensorflow / core / kernels / parameterized_truncated_normal_op . h " <nl> # include " tensorflow / core / lib / random / philox_random . h " <nl> # include " tensorflow / core / lib / random / random_distributions . h " <nl> - # include " tensorflow / core / util / cuda_kernel_helper . h " <nl> + # include " tensorflow / core / util / gpu_kernel_helper . h " <nl> <nl> # if defined ( _MSC_VER ) & & ! defined ( __clang__ ) <nl> / / msvc does not support unroll . One could try the loop pragma but we need to <nl> mmm a / tensorflow / core / kernels / pooling_ops_3d_gpu . cu . cc <nl> ppp b / tensorflow / core / kernels / pooling_ops_3d_gpu . cu . cc <nl> limitations under the License . <nl> <nl> # include " tensorflow / core / framework / register_types . h " <nl> # include " tensorflow / core / kernels / pooling_ops_3d_gpu . h " <nl> - # include " tensorflow / core / util / cuda_kernel_helper . h " <nl> + # include " tensorflow / core / util / gpu_kernel_helper . h " <nl> # include " tensorflow / core / util / tensor_format . h " <nl> <nl> namespace tensorflow { <nl> mmm a / tensorflow / core / kernels / population_count_op_gpu . cu . cc <nl> ppp b / tensorflow / core / kernels / population_count_op_gpu . cu . cc <nl> limitations under the License . <nl> <nl> # define EIGEN_USE_GPU <nl> <nl> - # include " tensorflow / core / kernels / population_count_op . h " <nl> - <nl> # include " third_party / eigen3 / unsupported / Eigen / CXX11 / Tensor " <nl> # include " tensorflow / core / framework / op_kernel . h " <nl> # include " tensorflow / core / framework / register_types . h " <nl> # include " tensorflow / core / framework / tensor_types . h " <nl> + # include " tensorflow / core / kernels / population_count_op . h " <nl> # include " tensorflow / core / platform / types . h " <nl> - # include " tensorflow / core / util / cuda_kernel_helper . h " <nl> + # include " tensorflow / core / util / gpu_kernel_helper . h " <nl> <nl> namespace tensorflow { <nl> <nl> mmm a / tensorflow / core / kernels / random_op_gpu . h <nl> ppp b / tensorflow / core / kernels / random_op_gpu . h <nl> limitations under the License . <nl> # include " tensorflow / core / kernels / random_op . h " <nl> # include " tensorflow / core / lib / random / philox_random . h " <nl> # include " tensorflow / core / lib / random / random_distributions . h " <nl> - # include " tensorflow / core / util / cuda_kernel_helper . h " <nl> + # include " tensorflow / core / util / gpu_kernel_helper . h " <nl> <nl> namespace tensorflow { <nl> <nl> mmm a / tensorflow / core / kernels / reduction_gpu_kernels . cu . h <nl> ppp b / tensorflow / core / kernels / reduction_gpu_kernels . cu . h <nl> limitations under the License . <nl> <nl> # define EIGEN_USE_GPU <nl> <nl> + # include < sstream > <nl> + <nl> # include " third_party / eigen3 / unsupported / Eigen / CXX11 / Tensor " <nl> # include " third_party / cub / device / device_reduce . cuh " <nl> # include " third_party / cub / device / device_segmented_reduce . cuh " <nl> limitations under the License . <nl> # include " cuda / include / cuComplex . h " <nl> # include " tensorflow / core / kernels / reduction_ops . h " <nl> # include " tensorflow / core / lib / core / bits . h " <nl> - # include " tensorflow / core / util / cuda_device_functions . h " <nl> - # include " tensorflow / core / util / cuda_kernel_helper . h " <nl> + # include " tensorflow / core / util / gpu_device_functions . h " <nl> + # include " tensorflow / core / util / gpu_kernel_helper . h " <nl> # include " tensorflow / core / util / permutation_input_iterator . h " <nl> # include " tensorflow / core / util / transform_output_iterator . h " <nl> <nl> - # include < sstream > <nl> - <nl> namespace tensorflow { <nl> namespace functor { <nl> <nl> mmm a / tensorflow / core / kernels / relu_op_gpu . cu . cc <nl> ppp b / tensorflow / core / kernels / relu_op_gpu . cu . cc <nl> limitations under the License . <nl> # include " tensorflow / core / framework / register_types . h " <nl> # include " tensorflow / core / framework / tensor_types . h " <nl> # include " tensorflow / core / kernels / relu_op_functor . h " <nl> - # include " tensorflow / core / util / cuda_kernel_helper . h " <nl> - # include " tensorflow / core / util / cuda_launch_config . h " <nl> + # include " tensorflow / core / util / gpu_kernel_helper . h " <nl> + # include " tensorflow / core / util / gpu_launch_config . h " <nl> <nl> namespace tensorflow { <nl> <nl> mmm a / tensorflow / core / kernels / resize_bilinear_op_gpu . cu . cc <nl> ppp b / tensorflow / core / kernels / resize_bilinear_op_gpu . cu . cc <nl> limitations under the License . <nl> <nl> # define EIGEN_USE_GPU <nl> <nl> - # include " tensorflow / core / kernels / resize_bilinear_op . h " <nl> - <nl> # include " tensorflow / core / framework / register_types . h " <nl> # include " tensorflow / core / framework / tensor_types . h " <nl> + # include " tensorflow / core / kernels / resize_bilinear_op . h " <nl> # include " tensorflow / core / platform / types . h " <nl> - # include " tensorflow / core / util / cuda_kernel_helper . h " <nl> + # include " tensorflow / core / util / gpu_kernel_helper . h " <nl> <nl> namespace tensorflow { <nl> <nl> mmm a / tensorflow / core / kernels / resize_nearest_neighbor_op_gpu . cu . cc <nl> ppp b / tensorflow / core / kernels / resize_nearest_neighbor_op_gpu . cu . cc <nl> limitations under the License . <nl> <nl> # include < stdio . h > <nl> <nl> - # include " tensorflow / core / kernels / resize_nearest_neighbor_op . h " <nl> - <nl> # include " tensorflow / core / framework / register_types . h " <nl> # include " tensorflow / core / framework / tensor_types . h " <nl> + # include " tensorflow / core / kernels / resize_nearest_neighbor_op . h " <nl> # include " tensorflow / core / platform / types . h " <nl> - # include " tensorflow / core / util / cuda_kernel_helper . h " <nl> + # include " tensorflow / core / util / gpu_kernel_helper . h " <nl> <nl> namespace tensorflow { <nl> <nl> mmm a / tensorflow / core / kernels / scan_ops_gpu . h <nl> ppp b / tensorflow / core / kernels / scan_ops_gpu . h <nl> limitations under the License . <nl> # include " cuda / include / cuComplex . h " <nl> # include " tensorflow / core / framework / numeric_types . h " <nl> # include " tensorflow / core / framework / register_types . h " <nl> - # include " tensorflow / core / util / cuda_launch_config . h " <nl> + # include " tensorflow / core / kernels / scan_ops . h " <nl> + # include " tensorflow / core / util / gpu_launch_config . h " <nl> # include " tensorflow / core / util / permutation_input_iterator . h " <nl> # include " tensorflow / core / util / permutation_output_iterator . h " <nl> <nl> - # include " tensorflow / core / kernels / scan_ops . h " <nl> - <nl> namespace tensorflow { <nl> <nl> typedef Eigen : : GpuDevice GPUDevice ; <nl> mmm a / tensorflow / core / kernels / scatter_functor_gpu . cu . h <nl> ppp b / tensorflow / core / kernels / scatter_functor_gpu . cu . h <nl> limitations under the License . <nl> # include " tensorflow / core / framework / tensor_types . h " <nl> # include " tensorflow / core / kernels / scatter_functor . h " <nl> # include " tensorflow / core / platform / types . h " <nl> - # include " tensorflow / core / util / cuda_kernel_helper . h " <nl> + # include " tensorflow / core / util / gpu_kernel_helper . h " <nl> <nl> namespace tensorflow { <nl> <nl> mmm a / tensorflow / core / kernels / scatter_nd_op_gpu . cu . cc <nl> ppp b / tensorflow / core / kernels / scatter_nd_op_gpu . cu . cc <nl> limitations under the License . <nl> # include " tensorflow / core / framework / register_types . h " <nl> # include " tensorflow / core / kernels / scatter_nd_op . h " <nl> # include " tensorflow / core / platform / types . h " <nl> - # include " tensorflow / core / util / cuda_kernel_helper . h " <nl> + # include " tensorflow / core / util / gpu_kernel_helper . h " <nl> <nl> namespace tensorflow { <nl> <nl> mmm a / tensorflow / core / kernels / searchsorted_op_gpu . cu . cc <nl> ppp b / tensorflow / core / kernels / searchsorted_op_gpu . cu . cc <nl> limitations under the License . <nl> <nl> # define EIGEN_USE_GPU <nl> <nl> - # include " tensorflow / core / kernels / searchsorted_op . h " <nl> - <nl> # include " tensorflow / core / framework / op_kernel . h " <nl> # include " tensorflow / core / framework / register_types . h " <nl> # include " tensorflow / core / framework / tensor . h " <nl> # include " tensorflow / core / framework / tensor_shape . h " <nl> + # include " tensorflow / core / kernels / searchsorted_op . h " <nl> # include " tensorflow / core / platform / logging . h " <nl> # include " tensorflow / core / platform / types . h " <nl> - # include " tensorflow / core / util / cuda_kernel_helper . h " <nl> + # include " tensorflow / core / util / gpu_kernel_helper . h " <nl> <nl> namespace tensorflow { <nl> typedef Eigen : : GpuDevice GPUDevice ; <nl> mmm a / tensorflow / core / kernels / segment_reduction_ops . h <nl> ppp b / tensorflow / core / kernels / segment_reduction_ops . h <nl> limitations under the License . <nl> # define TENSORFLOW_CORE_KERNELS_SEGMENT_REDUCTION_OPS_H_ <nl> <nl> / / This file requires the following include because it uses CudaAtomicMax : <nl> - / / # include " tensorflow / core / util / cuda_kernel_helper . h " <nl> - <nl> - / / Unfortunately we can ' t add the # include , since it breaks compilation for <nl> - / / non - GPU targets . This only breaks in clang , because it ' s more strict for <nl> - / / template code and CudaAtomicMax is used in template context . <nl> - <nl> - / / This file requires the following include because it uses CudaAtomicMax : <nl> - / / # include " tensorflow / core / util / cuda_kernel_helper . h " <nl> - <nl> - / / Unfortunately we can ' t add the # include , since it breaks compilation for <nl> - / / non - GPU targets . This only breaks in clang , because it ' s more strict for <nl> - / / template code and CudaAtomicMax is used in template context . <nl> - <nl> - / / This file requires the following include because it uses CudaAtomicMax : <nl> - / / # include " tensorflow / core / util / cuda_kernel_helper . h " <nl> - <nl> + / / # include " tensorflow / core / util / gpu_kernel_helper . h " <nl> + / / <nl> / / Unfortunately we can ' t add the # include , since it breaks compilation for <nl> / / non - GPU targets . This only breaks in clang , because it ' s more strict for <nl> / / template code and CudaAtomicMax is used in template context . <nl> mmm a / tensorflow / core / kernels / segment_reduction_ops_gpu . cu . cc <nl> ppp b / tensorflow / core / kernels / segment_reduction_ops_gpu . cu . cc <nl> limitations under the License . <nl> <nl> / / We need to include cuda_kernel_helper . h before segment_reduction_ops . h <nl> / / See comment in segment_reduction_ops . h for more details . <nl> - # include " tensorflow / core / util / cuda_kernel_helper . h " <nl> + / / clang - format off <nl> + # include " tensorflow / core / util / gpu_kernel_helper . h " <nl> + / / clang - format on <nl> <nl> # include " tensorflow / core / kernels / segment_reduction_ops . h " <nl> # include " tensorflow / core / framework / register_types . h " <nl> - # include " tensorflow / core / util / cuda_device_functions . h " <nl> - <nl> + # include " tensorflow / core / util / gpu_device_functions . h " <nl> <nl> namespace tensorflow { <nl> <nl> mmm a / tensorflow / core / kernels / softmax_op_gpu . cu . cc <nl> ppp b / tensorflow / core / kernels / softmax_op_gpu . cu . cc <nl> limitations under the License . <nl> # include " tensorflow / core / framework / tensor . h " <nl> # include " tensorflow / core / framework / tensor_shape . h " <nl> # include " tensorflow / core / framework / tensor_types . h " <nl> - # include " tensorflow / core / platform / types . h " <nl> - <nl> - # include " tensorflow / core / util / cuda_kernel_helper . h " <nl> - <nl> # include " tensorflow / core / kernels / reduction_gpu_kernels . cu . h " <nl> # include " tensorflow / core / kernels / reduction_ops_common . h " <nl> + # include " tensorflow / core / platform / types . h " <nl> + # include " tensorflow / core / util / gpu_kernel_helper . h " <nl> <nl> namespace tensorflow { <nl> <nl> mmm a / tensorflow / core / kernels / spacetobatch_functor_gpu . cu . cc <nl> ppp b / tensorflow / core / kernels / spacetobatch_functor_gpu . cu . cc <nl> limitations under the License . <nl> <nl> # define EIGEN_USE_GPU <nl> <nl> - # include " tensorflow / core / kernels / spacetobatch_functor . h " <nl> - <nl> # include " tensorflow / core / framework / register_types . h " <nl> - # include " tensorflow / core / util / cuda_kernel_helper . h " <nl> + # include " tensorflow / core / kernels / spacetobatch_functor . h " <nl> + # include " tensorflow / core / util / gpu_kernel_helper . h " <nl> <nl> namespace tensorflow { <nl> <nl> mmm a / tensorflow / core / kernels / spacetodepth_op_gpu . cu . cc <nl> ppp b / tensorflow / core / kernels / spacetodepth_op_gpu . cu . cc <nl> limitations under the License . <nl> <nl> # define EIGEN_USE_GPU <nl> <nl> - # include " tensorflow / core / kernels / spacetodepth_op . h " <nl> - <nl> # include " tensorflow / core / framework / tensor_types . h " <nl> + # include " tensorflow / core / kernels / spacetodepth_op . h " <nl> # include " tensorflow / core / platform / types . h " <nl> - # include " tensorflow / core / util / cuda_kernel_helper . h " <nl> + # include " tensorflow / core / util / gpu_kernel_helper . h " <nl> <nl> namespace tensorflow { <nl> <nl> mmm a / tensorflow / core / kernels / sparse_tensor_dense_matmul_op_gpu . cu . cc <nl> ppp b / tensorflow / core / kernels / sparse_tensor_dense_matmul_op_gpu . cu . cc <nl> limitations under the License . <nl> <nl> # define EIGEN_USE_GPU <nl> <nl> - # include " tensorflow / core / kernels / sparse_tensor_dense_matmul_op . h " <nl> - <nl> # include " tensorflow / core / framework / bounds_check . h " <nl> # include " tensorflow / core / framework / register_types . h " <nl> - # include " tensorflow / core / util / cuda_kernel_helper . h " <nl> + # include " tensorflow / core / kernels / sparse_tensor_dense_matmul_op . h " <nl> + # include " tensorflow / core / util / gpu_kernel_helper . h " <nl> <nl> namespace tensorflow { <nl> <nl> mmm a / tensorflow / core / kernels / split_lib_gpu . cu . cc <nl> ppp b / tensorflow / core / kernels / split_lib_gpu . cu . cc <nl> limitations under the License . <nl> <nl> # include < stdio . h > <nl> <nl> - # include " tensorflow / core / kernels / split_lib . h " <nl> - <nl> # include " tensorflow / core / framework / register_types . h " <nl> # include " tensorflow / core / framework / tensor_types . h " <nl> # include " tensorflow / core / kernels / gpu_device_array_gpu . h " <nl> + # include " tensorflow / core / kernels / split_lib . h " <nl> # include " tensorflow / core / kernels / split_lib_gpu . h " <nl> - # include " tensorflow / core / util / cuda_kernel_helper . h " <nl> + # include " tensorflow / core / util / gpu_kernel_helper . h " <nl> <nl> namespace tensorflow { <nl> namespace functor { <nl> mmm a / tensorflow / core / kernels / stateful_random_ops_gpu . cu . cc <nl> ppp b / tensorflow / core / kernels / stateful_random_ops_gpu . cu . cc <nl> limitations under the License . <nl> <nl> # include " tensorflow / core / kernels / random_op_gpu . h " <nl> # include " tensorflow / core / kernels / stateful_random_ops_cpu_gpu . h " <nl> - # include " tensorflow / core / util / cuda_launch_config . h " <nl> + # include " tensorflow / core / util / gpu_launch_config . h " <nl> <nl> namespace tensorflow { <nl> <nl> mmm a / tensorflow / core / kernels / svd_op_gpu . cu . cc <nl> ppp b / tensorflow / core / kernels / svd_op_gpu . cu . cc <nl> limitations under the License . <nl> # include " tensorflow / core / platform / logging . h " <nl> # include " tensorflow / core / platform / stream_executor . h " <nl> # include " tensorflow / core / platform / types . h " <nl> - # include " tensorflow / core / util / cuda_kernel_helper . h " <nl> + # include " tensorflow / core / util / gpu_kernel_helper . h " <nl> <nl> namespace tensorflow { <nl> <nl> mmm a / tensorflow / core / kernels / tile_functor_gpu . h <nl> ppp b / tensorflow / core / kernels / tile_functor_gpu . h <nl> limitations under the License . <nl> # include " tensorflow / core / framework / register_types . h " <nl> # include " tensorflow / core / kernels / ops_util . h " <nl> # include " tensorflow / core / kernels / tile_functor . h " <nl> - # include " tensorflow / core / util / cuda_kernel_helper . h " <nl> + # include " tensorflow / core / util / gpu_kernel_helper . h " <nl> <nl> namespace tensorflow { <nl> namespace internal { <nl> mmm a / tensorflow / core / kernels / topk_op_gpu . h <nl> ppp b / tensorflow / core / kernels / topk_op_gpu . h <nl> limitations under the License . <nl> <nl> # include < cmath > <nl> # include < vector > <nl> + <nl> # include " third_party / eigen3 / unsupported / Eigen / CXX11 / Tensor " <nl> # include " third_party / cub / device / device_segmented_radix_sort . cuh " <nl> # include " third_party / cub / iterator / counting_input_iterator . cuh " <nl> limitations under the License . <nl> # include " tensorflow / core / lib / gtl / top_n . h " <nl> # include " tensorflow / core / platform / logging . h " <nl> # include " tensorflow / core / platform / types . h " <nl> - # include " tensorflow / core / util / cuda_kernel_helper . h " <nl> + # include " tensorflow / core / util / gpu_kernel_helper . h " <nl> <nl> / / Required for sorting Eigen : : half <nl> namespace cub { <nl> mmm a / tensorflow / core / kernels / transpose_functor_gpu . cu . cc <nl> ppp b / tensorflow / core / kernels / transpose_functor_gpu . cu . cc <nl> limitations under the License . <nl> # include " third_party / eigen3 / unsupported / Eigen / CXX11 / Tensor " <nl> # include " tensorflow / core / kernels / ops_util . h " <nl> # include " tensorflow / core / kernels / transpose_functor . h " <nl> - # include " tensorflow / core / util / cuda_kernel_helper . h " <nl> + # include " tensorflow / core / util / gpu_kernel_helper . h " <nl> <nl> / / TODO ( yangzihao ) : Remove the dependency of conv_2d . h once we move all <nl> / / GPU util functions and transpose kernels into separate files . <nl> mmm a / tensorflow / core / kernels / tridiagonal_solve_op_gpu . cu . cc <nl> ppp b / tensorflow / core / kernels / tridiagonal_solve_op_gpu . cu . cc <nl> limitations under the License . <nl> # include " tensorflow / core / kernels / cuda_sparse . h " <nl> # include " tensorflow / core / kernels / linalg_ops_common . h " <nl> # include " tensorflow / core / lib / core / errors . h " <nl> - # include " tensorflow / core / util / cuda_device_functions . h " <nl> - # include " tensorflow / core / util / cuda_launch_config . h " <nl> + # include " tensorflow / core / util / gpu_device_functions . h " <nl> + # include " tensorflow / core / util / gpu_launch_config . h " <nl> <nl> namespace tensorflow { <nl> <nl> mmm a / tensorflow / core / kernels / where_op_gpu . cu . h <nl> ppp b / tensorflow / core / kernels / where_op_gpu . cu . h <nl> limitations under the License . <nl> # include " tensorflow / core / kernels / where_op . h " <nl> # include " tensorflow / core / platform / macros . h " <nl> # include " tensorflow / core / platform / types . h " <nl> - # include " tensorflow / core / util / cuda_kernel_helper . h " <nl> + # include " tensorflow / core / util / gpu_kernel_helper . h " <nl> <nl> namespace tensorflow { <nl> <nl> | Step two of renaming some files from cuda_ * to gpu_ * : Change # include directives . See PR . | tensorflow/tensorflow | 75e8d8ef3c4b76a6bec1282971d2a697d631aa4f | 2019-04-16T12:08:14Z |
mmm a / tensorflow / python / compat / compat . py <nl> ppp b / tensorflow / python / compat / compat . py <nl> <nl> # This value changes every day with an automatic CL . It can be modified in code <nl> # via ` forward_compatibility_horizon ( ) ` or with the environment variable <nl> # TF_FORWARD_COMPATIBILITY_DELTA_DAYS , which is added to the compatibility date . <nl> - _FORWARD_COMPATIBILITY_HORIZON = datetime . date ( 2020 , 8 , 12 ) <nl> + _FORWARD_COMPATIBILITY_HORIZON = datetime . date ( 2020 , 8 , 13 ) <nl> _FORWARD_COMPATIBILITY_DELTA_DAYS_VAR_NAME = " TF_FORWARD_COMPATIBILITY_DELTA_DAYS " <nl> _FORWARD_COMPATIBILITY_DATE_NUMBER = None <nl> <nl> | compat : Update forward compatibility horizon to 2020 - 08 - 13 | tensorflow/tensorflow | 0e52e44a4d6a0237c03e7de1371994c0bd919fa4 | 2020-08-13T09:04:52Z |
mmm a / hphp / runtime / ext / asio / async_function_wait_handle . h <nl> ppp b / hphp / runtime / ext / asio / async_function_wait_handle . h <nl> class c_AsyncFunctionWaitHandle final : public c_ResumableWaitHandle { <nl> <nl> explicit c_AsyncFunctionWaitHandle ( Class * cls = <nl> c_AsyncFunctionWaitHandle : : classof ( ) ) <nl> - : c_ResumableWaitHandle ( cls , HeaderKind : : ResumableObj ) <nl> - { } <nl> + : c_ResumableWaitHandle ( cls , HeaderKind : : ResumableObj ) { } <nl> ~ c_AsyncFunctionWaitHandle ( ) ; <nl> void t___construct ( ) ; <nl> <nl> mmm a / hphp / runtime / ext / asio / async_generator_wait_handle . h <nl> ppp b / hphp / runtime / ext / asio / async_generator_wait_handle . h <nl> class c_AsyncGeneratorWaitHandle final : public c_ResumableWaitHandle { <nl> <nl> explicit c_AsyncGeneratorWaitHandle ( Class * cls = <nl> c_AsyncGeneratorWaitHandle : : classof ( ) ) <nl> - : c_ResumableWaitHandle ( cls ) <nl> - { } <nl> + : c_ResumableWaitHandle ( cls ) { } <nl> ~ c_AsyncGeneratorWaitHandle ( ) ; <nl> <nl> void t___construct ( ) ; <nl> mmm a / hphp / runtime / ext / asio / await_all_wait_handle . h <nl> ppp b / hphp / runtime / ext / asio / await_all_wait_handle . h <nl> class c_AwaitAllWaitHandle final : public c_BlockableWaitHandle { <nl> DECLARE_CLASS_NO_SWEEP ( AwaitAllWaitHandle ) <nl> <nl> explicit c_AwaitAllWaitHandle ( Class * cls = c_AwaitAllWaitHandle : : classof ( ) ) <nl> - : c_BlockableWaitHandle ( cls ) <nl> - { } <nl> + : c_BlockableWaitHandle ( cls ) { } <nl> ~ c_AwaitAllWaitHandle ( ) { } <nl> <nl> static void ti_setoncreatecallback ( const Variant & callback ) ; <nl> mmm a / hphp / runtime / ext / asio / blockable_wait_handle . h <nl> ppp b / hphp / runtime / ext / asio / blockable_wait_handle . h <nl> class c_BlockableWaitHandle : public c_WaitableWaitHandle { <nl> <nl> explicit c_BlockableWaitHandle ( Class * cls = c_BlockableWaitHandle : : classof ( ) , <nl> HeaderKind kind = HeaderKind : : Object ) <nl> - : c_WaitableWaitHandle ( cls , kind ) <nl> - { } <nl> + : c_WaitableWaitHandle ( cls , kind ) { } <nl> ~ c_BlockableWaitHandle ( ) { } <nl> <nl> public : <nl> mmm a / hphp / runtime / ext / asio / condition_wait_handle . h <nl> ppp b / hphp / runtime / ext / asio / condition_wait_handle . h <nl> class c_ConditionWaitHandle final : public c_WaitableWaitHandle { <nl> DECLARE_CLASS_NO_SWEEP ( ConditionWaitHandle ) <nl> <nl> explicit c_ConditionWaitHandle ( Class * cls = c_ConditionWaitHandle : : classof ( ) ) <nl> - : c_WaitableWaitHandle ( cls ) <nl> - { } <nl> + : c_WaitableWaitHandle ( cls ) { } <nl> ~ c_ConditionWaitHandle ( ) { } <nl> <nl> static void ti_setoncreatecallback ( const Variant & callback ) ; <nl> mmm a / hphp / runtime / ext / asio / external_thread_event_wait_handle . h <nl> ppp b / hphp / runtime / ext / asio / external_thread_event_wait_handle . h <nl> struct c_ExternalThreadEventWaitHandle final <nl> <nl> explicit c_ExternalThreadEventWaitHandle ( Class * cls = <nl> c_ExternalThreadEventWaitHandle : : classof ( ) ) <nl> - : SweepableObj < c_WaitableWaitHandle > ( Sweep , cls ) <nl> - { } <nl> - <nl> + : SweepableObj < c_WaitableWaitHandle > ( Sweep , cls ) { } <nl> ~ c_ExternalThreadEventWaitHandle ( ) { } <nl> <nl> static void ti_setoncreatecallback ( const Variant & callback ) ; <nl> mmm a / hphp / runtime / ext / asio / gen_array_wait_handle . h <nl> ppp b / hphp / runtime / ext / asio / gen_array_wait_handle . h <nl> class c_GenArrayWaitHandle final : public c_BlockableWaitHandle { <nl> DECLARE_CLASS_NO_SWEEP ( GenArrayWaitHandle ) <nl> <nl> explicit c_GenArrayWaitHandle ( Class * cls = c_GenArrayWaitHandle : : classof ( ) ) <nl> - : c_BlockableWaitHandle ( cls ) <nl> - { } <nl> + : c_BlockableWaitHandle ( cls ) { } <nl> ~ c_GenArrayWaitHandle ( ) { } <nl> <nl> static void ti_setoncreatecallback ( const Variant & callback ) ; <nl> mmm a / hphp / runtime / ext / asio / gen_map_wait_handle . h <nl> ppp b / hphp / runtime / ext / asio / gen_map_wait_handle . h <nl> class c_GenMapWaitHandle final : public c_BlockableWaitHandle { <nl> DECLARE_CLASS_NO_SWEEP ( GenMapWaitHandle ) <nl> <nl> explicit c_GenMapWaitHandle ( Class * cls = c_GenMapWaitHandle : : classof ( ) ) <nl> - : c_BlockableWaitHandle ( cls ) <nl> - { } <nl> + : c_BlockableWaitHandle ( cls ) { } <nl> ~ c_GenMapWaitHandle ( ) { } <nl> <nl> static void ti_setoncreatecallback ( const Variant & callback ) ; <nl> mmm a / hphp / runtime / ext / asio / gen_vector_wait_handle . h <nl> ppp b / hphp / runtime / ext / asio / gen_vector_wait_handle . h <nl> class c_GenVectorWaitHandle final : public c_BlockableWaitHandle { <nl> DECLARE_CLASS_NO_SWEEP ( GenVectorWaitHandle ) <nl> <nl> explicit c_GenVectorWaitHandle ( Class * cls = c_GenVectorWaitHandle : : classof ( ) ) <nl> - : c_BlockableWaitHandle ( cls ) <nl> - { } <nl> + : c_BlockableWaitHandle ( cls ) { } <nl> ~ c_GenVectorWaitHandle ( ) { } <nl> <nl> static void ti_setoncreatecallback ( const Variant & callback ) ; <nl> mmm a / hphp / runtime / ext / asio / reschedule_wait_handle . h <nl> ppp b / hphp / runtime / ext / asio / reschedule_wait_handle . h <nl> class c_RescheduleWaitHandle final : public c_WaitableWaitHandle { <nl> <nl> explicit c_RescheduleWaitHandle ( Class * cls = <nl> c_RescheduleWaitHandle : : classof ( ) ) <nl> - : c_WaitableWaitHandle ( cls ) <nl> - { } <nl> + : c_WaitableWaitHandle ( cls ) { } <nl> ~ c_RescheduleWaitHandle ( ) { } <nl> <nl> static Object ti_create ( int64_t queue , int priority ) ; <nl> mmm a / hphp / runtime / ext / asio / resumable_wait_handle . h <nl> ppp b / hphp / runtime / ext / asio / resumable_wait_handle . h <nl> class c_ResumableWaitHandle : public c_BlockableWaitHandle { <nl> <nl> explicit c_ResumableWaitHandle ( Class * cls = c_ResumableWaitHandle : : classof ( ) , <nl> HeaderKind kind = HeaderKind : : Object ) <nl> - : c_BlockableWaitHandle ( cls , kind ) <nl> - { } <nl> + : c_BlockableWaitHandle ( cls , kind ) { } <nl> ~ c_ResumableWaitHandle ( ) { } <nl> static void ti_setoncreatecallback ( const Variant & callback ) ; <nl> static void ti_setonawaitcallback ( const Variant & callback ) ; <nl> mmm a / hphp / runtime / ext / asio / sleep_wait_handle . h <nl> ppp b / hphp / runtime / ext / asio / sleep_wait_handle . h <nl> class c_SleepWaitHandle final : public c_WaitableWaitHandle { <nl> DECLARE_CLASS_NO_SWEEP ( SleepWaitHandle ) ; <nl> <nl> explicit c_SleepWaitHandle ( Class * cls = c_SleepWaitHandle : : classof ( ) ) <nl> - : c_WaitableWaitHandle ( cls ) <nl> - { } <nl> + : c_WaitableWaitHandle ( cls ) { } <nl> ~ c_SleepWaitHandle ( ) { } <nl> static void ti_setoncreatecallback ( const Variant & callback ) ; <nl> static void ti_setonsuccesscallback ( const Variant & callback ) ; <nl> mmm a / hphp / runtime / ext / asio / static_wait_handle . h <nl> ppp b / hphp / runtime / ext / asio / static_wait_handle . h <nl> class c_StaticWaitHandle final : public c_WaitHandle { <nl> DECLARE_CLASS_NO_SWEEP ( StaticWaitHandle ) <nl> <nl> explicit c_StaticWaitHandle ( Class * cls = c_StaticWaitHandle : : classof ( ) ) <nl> - : c_WaitHandle ( cls ) <nl> - { } <nl> + : c_WaitHandle ( cls ) { } <nl> ~ c_StaticWaitHandle ( ) { <nl> assert ( isFinished ( ) ) ; <nl> tvRefcountedDecRef ( & m_resultOrException ) ; <nl> mmm a / hphp / runtime / ext / asio / wait_handle . h <nl> ppp b / hphp / runtime / ext / asio / wait_handle . h <nl> class c_WaitHandle : public ExtObjectDataFlags < ObjectData : : IsWaitHandle > { <nl> <nl> explicit c_WaitHandle ( Class * cls = c_WaitHandle : : classof ( ) , <nl> HeaderKind kind = HeaderKind : : Object ) <nl> - : ExtObjectDataFlags ( cls , kind ) <nl> - { } <nl> + : ExtObjectDataFlags ( cls , kind ) { } <nl> ~ c_WaitHandle ( ) { } <nl> <nl> void t___construct ( ) ; <nl> mmm a / hphp / runtime / ext / asio / waitable_wait_handle - inl . h <nl> ppp b / hphp / runtime / ext / asio / waitable_wait_handle - inl . h <nl> <nl> namespace HPHP { <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> <nl> + inline c_WaitableWaitHandle : : c_WaitableWaitHandle ( Class * cb , HeaderKind kind ) <nl> + : c_WaitHandle ( cb , kind ) { <nl> + setContextIdx ( AsioSession : : Get ( ) - > getCurrentContextIdx ( ) ) ; <nl> + m_parentChain . init ( ) ; <nl> + } <nl> + <nl> + inline c_WaitableWaitHandle : : ~ c_WaitableWaitHandle ( ) { <nl> + switch ( getState ( ) ) { <nl> + case STATE_SUCCEEDED : <nl> + tvRefcountedDecRef ( & m_resultOrException ) ; <nl> + break ; <nl> + <nl> + case STATE_FAILED : <nl> + tvDecRefObj ( & m_resultOrException ) ; <nl> + break ; <nl> + } <nl> + } <nl> + <nl> inline void <nl> c_WaitableWaitHandle : : enterContext ( context_idx_t ctx_idx ) { <nl> assert ( AsioSession : : Get ( ) - > getContext ( ctx_idx ) ) ; <nl> mmm a / hphp / runtime / ext / asio / waitable_wait_handle . cpp <nl> ppp b / hphp / runtime / ext / asio / waitable_wait_handle . cpp <nl> <nl> namespace HPHP { <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> <nl> - c_WaitableWaitHandle : : c_WaitableWaitHandle ( Class * cb , HeaderKind kind ) <nl> - : c_WaitHandle ( cb , kind ) { <nl> - setContextIdx ( AsioSession : : Get ( ) - > getCurrentContextIdx ( ) ) ; <nl> - m_parentChain . init ( ) ; <nl> - } <nl> - <nl> - c_WaitableWaitHandle : : ~ c_WaitableWaitHandle ( ) { <nl> - switch ( getState ( ) ) { <nl> - case STATE_SUCCEEDED : <nl> - tvRefcountedDecRef ( & m_resultOrException ) ; <nl> - break ; <nl> - <nl> - case STATE_FAILED : <nl> - tvDecRefObj ( & m_resultOrException ) ; <nl> - break ; <nl> - } <nl> - } <nl> - <nl> int c_WaitableWaitHandle : : t_getcontextidx ( ) { <nl> return getContextIdx ( ) ; <nl> } <nl> | Inline constructor / destructor of WaitableWaitHandle | facebook/hhvm | 343e2fb9b32750d32f905296b287dc6274f7a0bc | 2015-02-25T19:00:34Z |
mmm a / hphp / hhbbc / index . cpp <nl> ppp b / hphp / hhbbc / index . cpp <nl> struct ClassInfo { <nl> const MethTabEntryPair * ctor = nullptr ; <nl> <nl> / * <nl> - * Subclasses of this class , including this class itself ( unless it <nl> - * is an interface ) . <nl> + * Subclasses of this class , including this class itself . <nl> + * <nl> + * For interfaces , this is the list of instantiable classes that <nl> + * implement this interface . <nl> * <nl> * For traits , this is the list of classes that use the trait where <nl> * the trait wasn ' t flattened into the class ( including the trait <nl> struct Index : : IndexData { <nl> hphp_fast_set < php : : Func * > <nl> > classExtraMethodMap ; <nl> <nl> - / / Map from every interface to the list of instantiable classes which can <nl> - / / implement it . <nl> - hphp_fast_map < <nl> - const php : : Class * , <nl> - CompactVector < ClassInfo * > <nl> - > ifaceImplementerMap ; <nl> - <nl> / * <nl> * Map from each class name to ClassInfo objects for all <nl> * not - known - to - be - impossible resolutions of the class at runtime . <nl> bool build_class_properties ( BuildClsInfo & info , <nl> return true ; <nl> } <nl> <nl> - void build_methods_for_iface ( IndexData & data , ClassInfo * iface ) { <nl> - std : : vector < SString > names ; <nl> - auto const impls = data . ifaceImplementerMap . find ( iface - > cls ) ; <nl> - if ( impls = = data . ifaceImplementerMap . end ( ) ) return ; <nl> - <nl> - / / We start by collecting the list of methods shared across all classes which <nl> - / / implement iface ( including indirectly ) . And then add the public methods <nl> - / / which are not constructors and have no private ancestors to the method <nl> - / / families of iface . Note that this set may be larger than the methods <nl> - / / declared on iface and may also be missing methods declared on iface . In <nl> - / / practice this is the set of methods we can depend on having accessible <nl> - / / given any object which is known to implement iface . <nl> - auto it = impls - > second . begin ( ) ; <nl> - for ( auto & par : ( * it ) - > methods ) names . push_back ( par . first ) ; <nl> - <nl> - while ( + + it ! = impls - > second . end ( ) ) { <nl> - auto & methods = ( * it ) - > methods ; <nl> - for ( auto nameIt = names . begin ( ) ; nameIt ! = names . end ( ) ; ) { <nl> - if ( ! methods . count ( * nameIt ) ) nameIt = names . erase ( nameIt ) ; <nl> - else + + nameIt ; <nl> - } <nl> - } <nl> - <nl> - hphp_fast_set < SString > added ; <nl> - <nl> - auto add_method = [ & ] ( SString name ) { <nl> - res : : Func : : FuncFamily : : PFuncVec funcs ; <nl> - bool containsInterceptables = false ; <nl> - <nl> - hphp_hash_set < const php : : Func * > seen ; <nl> - <nl> - for ( auto cinfo : impls - > second ) { <nl> - assertx ( ! ( cinfo - > cls - > attrs & AttrInterface ) ) ; <nl> - <nl> - auto methIt = cinfo - > methods . find ( name ) ; <nl> - assertx ( methIt ! = cinfo - > methods . end ( ) ) ; <nl> - auto mte = mteFromIt ( methIt ) ; <nl> - <nl> - / / Don ' t create method families for interfaces with non - public methods <nl> - / / or methods which may be constructors . We won ' t always know from context <nl> - / / which implementer we are referring to and whether we share a common <nl> - / / context . In practice interfaces generally declare public methods . <nl> - if ( cinfo - > ctor = = mte | | ! ( mte - > second . attrs & AttrPublic ) ) return ; <nl> - <nl> - / / If the method has a private ancestor we won ' t be able to determine from <nl> - / / context if a given resolution should be for the private ancestor or the <nl> - / / interface method . In theory we could dump all of the private ancestors <nl> - / / into the family too but as is noted above we also don ' t currently <nl> - / / handle non - public resolution . <nl> - if ( mte - > second . hasPrivateAncestor ) return ; <nl> - <nl> - if ( mte - > second . attrs & AttrInterceptable ) { <nl> - containsInterceptables = true ; <nl> - } <nl> - <nl> - / / Avoid adding duplicate entries to the list <nl> - if ( seen . emplace ( mte - > second . func ) . second ) funcs . push_back ( mte ) ; <nl> - } <nl> - <nl> - if ( ! funcs . empty ( ) ) { <nl> - funcs . shrink_to_fit ( ) ; <nl> - iface - > methodFamilies . emplace ( <nl> - std : : piecewise_construct , <nl> - std : : forward_as_tuple ( name ) , <nl> - std : : forward_as_tuple ( std : : move ( funcs ) , <nl> - containsInterceptables , <nl> - false ) <nl> - ) ; <nl> - added . emplace ( name ) ; <nl> - } <nl> - } ; <nl> - <nl> - for ( auto name : names ) { <nl> - add_method ( name ) ; <nl> - } <nl> - <nl> - for ( auto & m : iface - > cls - > methods ) { <nl> - if ( added . count ( m - > name ) ) { <nl> - iface - > methods . emplace ( <nl> - m - > name , <nl> - MethTabEntry { m . get ( ) , m - > attrs , false , true } <nl> - ) ; <nl> - } <nl> - } <nl> - return ; <nl> - } <nl> - <nl> - void build_iface_methods ( IndexData & data ) { <nl> - trace_time tracer ( " build interface methods " ) ; <nl> - parallel : : for_each ( <nl> - data . allClassInfos , <nl> - [ & ] ( const std : : unique_ptr < ClassInfo > & info ) { <nl> - if ( info - > cls - > attrs & AttrInterface ) { <nl> - build_methods_for_iface ( data , info . get ( ) ) ; <nl> - } <nl> - } <nl> - ) ; <nl> - } <nl> - <nl> / * <nl> * Make a flattened table of the methods on this class . <nl> * <nl> void compute_subclass_list_rec ( IndexData & index , <nl> void compute_subclass_list ( IndexData & index ) { <nl> auto fixupTraits = false ; <nl> for ( auto & cinfo : index . allClassInfos ) { <nl> + if ( cinfo - > cls - > attrs & AttrInterface ) continue ; <nl> for ( auto & cparent : cinfo - > baseList ) { <nl> cparent - > subclassList . push_back ( cinfo . get ( ) ) ; <nl> } <nl> void compute_subclass_list ( IndexData & index ) { <nl> } <nl> } <nl> <nl> - void define_func_family ( IndexData & index , ClassInfo * cinfo , <nl> - SString name , const MethTabEntryPair * mte ) { <nl> + bool define_func_family ( IndexData & index , ClassInfo * cinfo , <nl> + SString name , bool isCtor , <nl> + const php : : Func * func = nullptr ) { <nl> FuncFamily : : PFuncVec funcs { } ; <nl> auto containsInterceptables = false ; <nl> - auto const isCtor = mte = = cinfo - > ctor ; <nl> - for ( auto & cleaf : cinfo - > subclassList ) { <nl> + for ( auto const cleaf : cinfo - > subclassList ) { <nl> auto const leafFn = [ & ] ( ) - > const MethTabEntryPair * { <nl> if ( isCtor ) return cleaf - > ctor ; <nl> auto const leafFnIt = cleaf - > methods . find ( name ) ; <nl> if ( leafFnIt = = end ( cleaf - > methods ) ) return nullptr ; <nl> - return mteFromIt ( leafFnIt ) ; <nl> + auto const mte = mteFromIt ( leafFnIt ) ; <nl> + if ( cleaf - > ctor = = mte ) { <nl> + return nullptr ; <nl> + } <nl> + return mte ; <nl> } ( ) ; <nl> if ( ! leafFn ) continue ; <nl> if ( leafFn - > second . func - > attrs & AttrInterceptable ) { <nl> void define_func_family ( IndexData & index , ClassInfo * cinfo , <nl> funcs . push_back ( leafFn ) ; <nl> } <nl> <nl> + if ( funcs . empty ( ) ) return false ; <nl> + <nl> std : : sort ( begin ( funcs ) , end ( funcs ) , <nl> [ & ] ( const MethTabEntryPair * a , const MethTabEntryPair * b ) { <nl> / / We want a canonical order for the family . Putting the <nl> void define_func_family ( IndexData & index , ClassInfo * cinfo , <nl> / / that , sort by name so that different case spellings <nl> / / come in the same order . <nl> if ( a - > second . func = = b - > second . func ) return false ; <nl> - if ( b - > second . func = = mte - > second . func ) return false ; <nl> - if ( a - > second . func = = mte - > second . func ) return true ; <nl> + if ( func ) { <nl> + if ( b - > second . func = = func ) return false ; <nl> + if ( a - > second . func = = func ) return true ; <nl> + } <nl> if ( auto d = a - > first - > compare ( b - > first ) ) { <nl> + if ( ! func ) { <nl> + if ( b - > first = = name ) return false ; <nl> + if ( a - > first = = name ) return true ; <nl> + } <nl> return d < 0 ; <nl> } <nl> return std : : less < const void * > { } ( a - > second . func , b - > second . func ) ; <nl> void define_func_family ( IndexData & index , ClassInfo * cinfo , <nl> end ( funcs ) <nl> ) ; <nl> <nl> - / * <nl> - * Note : right now abstract functions are part of the family . <nl> - * <nl> - * They have bytecode bodies that just fatal , so it won ' t hurt <nl> - * return type inference ( we ' ll just add an extra TBottom to the <nl> - * return type union ) . It can hurt parameter reffiness if the <nl> - * abstract function is declared with reffiness that doesn ' t match <nl> - * the overloadsmmmit ' s still actually possible to call the abstract <nl> - * function in some cases , including in a late - bound context if it <nl> - * is static , so the reffiness declaration on the abstract method <nl> - * actually matters . It could be avoided on an instancemmmbut we ' re <nl> - * not trying to notice those cases right now . <nl> - * <nl> - * For now we ' re leaving that alone , which gives the invariant that <nl> - * every FuncFamily we create here is non - empty . <nl> - * / <nl> - always_assert ( ! funcs . empty ( ) ) ; <nl> funcs . shrink_to_fit ( ) ; <nl> <nl> + if ( Trace : : moduleEnabled ( Trace : : hhbbc_index , 4 ) ) { <nl> + FTRACE ( 4 , " define_func_family : { } : : { } : \ n " , <nl> + cinfo - > cls - > name , name ) ; <nl> + for ( auto const DEBUG_ONLY func : funcs ) { <nl> + FTRACE ( 4 , " { } : : { } \ n " , <nl> + func - > second . func - > cls - > name , func - > second . func - > name ) ; <nl> + } <nl> + } <nl> + <nl> cinfo - > methodFamilies . emplace ( <nl> std : : piecewise_construct , <nl> std : : forward_as_tuple ( name ) , <nl> void define_func_family ( IndexData & index , ClassInfo * cinfo , <nl> containsInterceptables , <nl> isCtor ) <nl> ) ; <nl> + <nl> + return true ; <nl> } <nl> <nl> - void define_func_families ( IndexData & index ) { <nl> - for ( auto & cinfo : index . allClassInfos ) { <nl> - if ( cinfo - > cls - > attrs & AttrTrait ) continue ; <nl> - auto didCtor = false ; <nl> - for ( auto & kv : cinfo - > methods ) { <nl> - auto const mte = mteFromElm ( kv ) ; <nl> - <nl> - if ( mte - > second . attrs & AttrNoOverride ) continue ; <nl> - if ( mte = = cinfo - > ctor ) { <nl> - define_func_family ( index , cinfo . get ( ) , s_construct . get ( ) , mte ) ; <nl> - didCtor = true ; <nl> - continue ; <nl> + void build_abstract_func_families ( IndexData & data , ClassInfo * cinfo ) { <nl> + std : : vector < SString > extras ; <nl> + <nl> + / / We start by collecting the list of methods shared across all <nl> + / / subclasses of cinfo ( including indirectly ) . And then add the <nl> + / / public methods which are not constructors and have no private <nl> + / / ancestors to the method families of cinfo . Note that this set <nl> + / / may be larger than the methods declared on cinfo and may also <nl> + / / be missing methods declared on cinfo . In practice this is the <nl> + / / set of methods we can depend on having accessible given any <nl> + / / object which is known to implement cinfo . <nl> + auto it = cinfo - > subclassList . begin ( ) ; <nl> + while ( true ) { <nl> + if ( it = = cinfo - > subclassList . end ( ) ) return ; <nl> + auto const sub = * it + + ; <nl> + assertx ( ! ( sub - > cls - > attrs & AttrInterface ) ) ; <nl> + if ( sub = = cinfo | | ( sub - > cls - > attrs & AttrAbstract ) ) continue ; <nl> + for ( auto & par : sub - > methods ) { <nl> + if ( ! par . second . hasPrivateAncestor & & <nl> + ( par . second . attrs & AttrPublic ) & & <nl> + ! cinfo - > methodFamilies . count ( par . first ) & & <nl> + ! cinfo - > methods . count ( par . first ) ) { <nl> + extras . push_back ( par . first ) ; <nl> + } <nl> + } <nl> + if ( ! extras . size ( ) ) return ; <nl> + break ; <nl> + } <nl> + <nl> + auto end = extras . end ( ) ; <nl> + while ( it ! = cinfo - > subclassList . end ( ) ) { <nl> + auto const sub = * it + + ; <nl> + assertx ( ! ( sub - > cls - > attrs & AttrInterface ) ) ; <nl> + if ( sub = = cinfo | | ( sub - > cls - > attrs & AttrAbstract ) ) continue ; <nl> + for ( auto nameIt = extras . begin ( ) ; nameIt ! = end ; ) { <nl> + auto const meth = sub - > methods . find ( * nameIt ) ; <nl> + if ( meth = = sub - > methods . end ( ) | | <nl> + ! ( meth - > second . attrs & AttrPublic ) | | <nl> + meth - > second . hasPrivateAncestor ) { <nl> + * nameIt = * - - end ; <nl> + if ( end = = extras . begin ( ) ) return ; <nl> + } else { <nl> + + + nameIt ; <nl> } <nl> - if ( mte - > second . attrs & AttrPrivate ) continue ; <nl> - if ( is_special_method_name ( mte - > first ) ) continue ; <nl> + } <nl> + } <nl> + extras . erase ( end , extras . end ( ) ) ; <nl> <nl> - define_func_family ( index , cinfo . get ( ) , mte - > first , mte ) ; <nl> + if ( Trace : : moduleEnabled ( Trace : : hhbbc_index , 5 ) ) { <nl> + FTRACE ( 5 , " Adding extra methods to { } : \ n " , cinfo - > cls - > name ) ; <nl> + for ( auto const DEBUG_ONLY extra : extras ) { <nl> + FTRACE ( 5 , " { } \ n " , extra ) ; <nl> } <nl> - if ( cinfo - > ctor & & ! didCtor ) { <nl> - define_func_family ( index , cinfo . get ( ) , s_construct . get ( ) , cinfo - > ctor ) ; <nl> + } <nl> + <nl> + hphp_fast_set < SString > added ; <nl> + <nl> + for ( auto name : extras ) { <nl> + if ( define_func_family ( data , cinfo , name , false ) & & <nl> + ( cinfo - > cls - > attrs & AttrInterface ) ) { <nl> + added . emplace ( name ) ; <nl> } <nl> } <nl> + <nl> + if ( cinfo - > cls - > attrs & AttrInterface ) { <nl> + for ( auto & m : cinfo - > cls - > methods ) { <nl> + if ( added . count ( m - > name ) ) { <nl> + cinfo - > methods . emplace ( <nl> + m - > name , <nl> + MethTabEntry { m . get ( ) , m - > attrs , false , true } <nl> + ) ; <nl> + } <nl> + } <nl> + } <nl> + return ; <nl> + } <nl> + <nl> + void define_func_families ( IndexData & index ) { <nl> + trace_time tracer ( " define_func_families " ) ; <nl> + <nl> + parallel : : for_each ( <nl> + index . allClassInfos , <nl> + [ & ] ( const std : : unique_ptr < ClassInfo > & cinfo ) { <nl> + if ( cinfo - > cls - > attrs & AttrTrait ) return ; <nl> + FTRACE ( 4 , " Defining func families for { } \ n " , cinfo - > cls - > name ) ; <nl> + if ( ! ( cinfo - > cls - > attrs & AttrInterface ) ) { <nl> + auto didCtor = false ; <nl> + for ( auto & kv : cinfo - > methods ) { <nl> + auto const mte = mteFromElm ( kv ) ; <nl> + <nl> + if ( mte - > second . attrs & AttrNoOverride ) continue ; <nl> + if ( mte = = cinfo - > ctor ) { <nl> + define_func_family ( index , cinfo . get ( ) , s_construct . get ( ) , <nl> + true , mte - > second . func ) ; <nl> + didCtor = true ; <nl> + continue ; <nl> + } <nl> + if ( mte - > second . attrs & AttrPrivate ) continue ; <nl> + if ( is_special_method_name ( mte - > first ) ) continue ; <nl> + <nl> + define_func_family ( index , cinfo . get ( ) , mte - > first , <nl> + false , mte - > second . func ) ; <nl> + } <nl> + if ( cinfo - > ctor & & ! didCtor ) { <nl> + define_func_family ( index , cinfo . get ( ) , s_construct . get ( ) , <nl> + true , cinfo - > ctor - > second . func ) ; <nl> + } <nl> + } <nl> + if ( cinfo - > cls - > attrs & ( AttrInterface | AttrAbstract ) ) { <nl> + build_abstract_func_families ( index , cinfo . get ( ) ) ; <nl> + } <nl> + } <nl> + ) ; <nl> } <nl> <nl> / * <nl> void compute_iface_vtables ( IndexData & index ) { <nl> <nl> for ( auto & ipair : cinfo - > implInterfaces ) { <nl> + + iface_uses [ ipair . second - > cls ] ; <nl> - index . ifaceImplementerMap [ ipair . second - > cls ] . push_back ( cinfo . get ( ) ) ; <nl> + auto impl = const_cast < ClassInfo * > ( ipair . second ) ; <nl> + impl - > subclassList . push_back ( cinfo . get ( ) ) ; <nl> for ( auto & jpair : cinfo - > implInterfaces ) { <nl> cg . add ( ipair . second - > cls , jpair . second - > cls ) ; <nl> } <nl> Index : : Index ( php : : Program * program , <nl> compute_subclass_list ( * m_data ) ; <nl> clean_86reifiedinit_methods ( * m_data ) ; / / uses the base class lists <nl> mark_no_override_methods ( * m_data ) ; / / uses AttrUnique <nl> - define_func_families ( * m_data ) ; / / uses AttrNoOverride functions <nl> find_magic_methods ( * m_data ) ; / / uses the subclass lists <nl> find_mocked_classes ( * m_data ) ; <nl> compute_iface_vtables ( * m_data ) ; <nl> - build_iface_methods ( * m_data ) ; <nl> + define_func_families ( * m_data ) ; / / AttrNoOverride , iface_vtables , <nl> + / / subclass_list <nl> <nl> check_invariants ( * m_data ) ; <nl> <nl> res : : Func Index : : resolve_method ( Context ctx , <nl> auto const cinfo = dcls . cls . val . right ( ) ; <nl> if ( ! cinfo ) return name_only ( ) ; <nl> <nl> - / / Interfaces may have more method families than methods , so look at the <nl> - / / method families first . Note that interfaces only have methods and method <nl> - / / families for which all methods are public on all implementer classes and <nl> - / / no methods have private ancestors . This avoids the need for context checks <nl> - / / which would be difficult as the base class is unknown . Interfaces are <nl> - / / generally used to declare public methods so this trade - off is unlikely to <nl> - / / cost anything in practice . <nl> - if ( cinfo - > cls - > attrs & AttrInterface ) { <nl> + / / Classes may have more method families than methods . Any such <nl> + / / method families are guaranteed to all be public so we can do this <nl> + / / lookup as a last gasp before resorting to name_only ( ) . <nl> + auto const find_extra_method = [ & ] { <nl> auto methIt = cinfo - > methodFamilies . find ( name ) ; <nl> if ( methIt = = end ( cinfo - > methodFamilies ) ) return name_only ( ) ; <nl> if ( methIt - > second . possibleFuncs ( ) - > size ( ) = = 1 ) { <nl> res : : Func Index : : resolve_method ( Context ctx , <nl> / / If there was a sole implementer we can resolve to a single method , even <nl> / / if the method was not declared on the interface itself . <nl> return res : : Func { this , & methIt - > second } ; <nl> - } <nl> + } ; <nl> + <nl> + / / Interfaces * only * have the extra methods defined for all <nl> + / / subclasses <nl> + if ( cinfo - > cls - > attrs & AttrInterface ) return find_extra_method ( ) ; <nl> <nl> / * <nl> * Whether or not the context class has a private method with the <nl> res : : Func Index : : resolve_method ( Context ctx , <nl> * Look up the method in the target class . <nl> * / <nl> auto const methIt = cinfo - > methods . find ( name ) ; <nl> - if ( methIt = = end ( cinfo - > methods ) ) return name_only ( ) ; <nl> + if ( methIt = = end ( cinfo - > methods ) ) return find_extra_method ( ) ; <nl> if ( methIt - > second . attrs & AttrInterceptable ) return name_only ( ) ; <nl> auto const ftarget = methIt - > second . func ; <nl> <nl> new file mode 100644 <nl> index 00000000000 . . 2e6b5c7cef4 <nl> mmm / dev / null <nl> ppp b / hphp / test / slow / compilation / interface_func_families . php <nl> <nl> + < ? hh <nl> + <nl> + interface I { } <nl> + <nl> + abstract class X { } <nl> + <nl> + abstract class Y extends X implements I { <nl> + } <nl> + <nl> + class Z extends Y { <nl> + function foo ( $ x ) : int { return ( int ) $ x ; } <nl> + } <nl> + <nl> + function x ( X $ x ) : X { <nl> + if ( $ x is Y ) return $ x ; <nl> + return new Z ; <nl> + } <nl> + <nl> + function g ( X $ x , int $ i ) { <nl> + $ x = x ( $ x ) ; <nl> + if ( $ x instanceof I ) { <nl> + return $ x - > foo ( $ i ) ; <nl> + } <nl> + return ~ 42 ; <nl> + } <nl> + <nl> + echo g ( new Z , 42 ) , " \ n " ; <nl> new file mode 100644 <nl> index 00000000000 . . d81cc0710eb <nl> mmm / dev / null <nl> ppp b / hphp / test / slow / compilation / interface_func_families . php . expect <nl> @ @ - 0 , 0 + 1 @ @ <nl> + 42 <nl> | Fix an issue with interface func families | facebook/hhvm | 4fb9cb20cac6c7410502216199ba1a046988c20c | 2019-04-10T23:09:59Z |
new file mode 100755 <nl> index 000000000000 . . 1efcdf0b4c1d <nl> mmm / dev / null <nl> ppp b / plugin / samples / HelloSocial / Classes / AppDelegate . cpp <nl> <nl> + # include " AppDelegate . h " <nl> + # include " cocos2d . h " <nl> + # include " HelloWorldScene . h " <nl> + # include " PluginManager . h " <nl> + # include " MyShareManager . h " <nl> + <nl> + using namespace cocos2d : : plugin ; <nl> + USING_NS_CC ; <nl> + <nl> + AppDelegate : : AppDelegate ( ) <nl> + { <nl> + <nl> + } <nl> + <nl> + AppDelegate : : ~ AppDelegate ( ) <nl> + { <nl> + <nl> + } <nl> + <nl> + bool AppDelegate : : applicationDidFinishLaunching ( ) <nl> + { <nl> + MyShareManager : : sharedManager ( ) - > loadSocialPlugin ( ) ; <nl> + <nl> + / / initialize director <nl> + CCDirector * pDirector = CCDirector : : sharedDirector ( ) ; <nl> + pDirector - > setOpenGLView ( CCEGLView : : sharedOpenGLView ( ) ) ; <nl> + CCEGLView * pEGLView = CCEGLView : : sharedOpenGLView ( ) ; <nl> + pEGLView - > setDesignResolutionSize ( 960 . 0f , 640 . 0f , kResolutionNoBorder ) ; <nl> + / / turn on display FPS <nl> + pDirector - > setDisplayStats ( true ) ; <nl> + <nl> + / / set FPS . the default value is 1 . 0 / 60 if you don ' t call this <nl> + pDirector - > setAnimationInterval ( 1 . 0 / 60 ) ; <nl> + <nl> + / / create a scene . it ' s an autorelease object <nl> + CCScene * pScene = HelloWorld : : scene ( ) ; <nl> + <nl> + / / run <nl> + pDirector - > runWithScene ( pScene ) ; <nl> + <nl> + return true ; <nl> + } <nl> + <nl> + / / This function will be called when the app is inactive . When comes a phone call , it ' s be invoked too <nl> + void AppDelegate : : applicationDidEnterBackground ( ) <nl> + { <nl> + CCDirector : : sharedDirector ( ) - > pause ( ) ; <nl> + <nl> + / / if you use SimpleAudioEngine , it must be pause <nl> + / / SimpleAudioEngine : : sharedEngine ( ) - > pauseBackgroundMusic ( ) ; <nl> + } <nl> + <nl> + / / this function will be called when the app is active again <nl> + void AppDelegate : : applicationWillEnterForeground ( ) <nl> + { <nl> + CCDirector : : sharedDirector ( ) - > resume ( ) ; <nl> + <nl> + / / if you use SimpleAudioEngine , it must resume here <nl> + / / SimpleAudioEngine : : sharedEngine ( ) - > resumeBackgroundMusic ( ) ; <nl> + } <nl> new file mode 100755 <nl> index 000000000000 . . d0369404021a <nl> mmm / dev / null <nl> ppp b / plugin / samples / HelloSocial / Classes / AppDelegate . h <nl> <nl> + # ifndef _APP_DELEGATE_H_ <nl> + # define _APP_DELEGATE_H_ <nl> + <nl> + # include " CCApplication . h " <nl> + <nl> + / * * <nl> + @ brief The cocos2d Application . <nl> + <nl> + The reason for implement as private inheritance is to hide some interface call by CCDirector . <nl> + * / <nl> + class AppDelegate : private cocos2d : : CCApplication <nl> + { <nl> + public : <nl> + AppDelegate ( ) ; <nl> + virtual ~ AppDelegate ( ) ; <nl> + <nl> + / * * <nl> + @ brief Implement CCDirector and CCScene init code here . <nl> + @ return true Initialize success , app continue . <nl> + @ return false Initialize failed , app terminate . <nl> + * / <nl> + virtual bool applicationDidFinishLaunching ( ) ; <nl> + <nl> + / * * <nl> + @ brief The function be called when the application enter background <nl> + @ param the pointer of the application <nl> + * / <nl> + virtual void applicationDidEnterBackground ( ) ; <nl> + <nl> + / * * <nl> + @ brief The function be called when the application enter foreground <nl> + @ param the pointer of the application <nl> + * / <nl> + virtual void applicationWillEnterForeground ( ) ; <nl> + <nl> + static void loadAnalyticsPlugin ( ) ; <nl> + } ; <nl> + <nl> + # endif / / _APP_DELEGATE_H_ <nl> + <nl> new file mode 100755 <nl> index 000000000000 . . 75535b2d640f <nl> mmm / dev / null <nl> ppp b / plugin / samples / HelloSocial / Classes / HelloWorldScene . cpp <nl> <nl> + # include " HelloWorldScene . h " <nl> + # include " PluginManager . h " <nl> + # include " AppDelegate . h " <nl> + # include " MyShareManager . h " <nl> + <nl> + using namespace cocos2d ; <nl> + using namespace cocos2d : : plugin ; <nl> + <nl> + enum { <nl> + TAG_PAY_BY_ALIPAY = 100 , <nl> + TAG_PAY_BY_ND91 , <nl> + } ; <nl> + <nl> + typedef struct tagEventMenuItem { <nl> + std : : string id ; <nl> + int tag ; <nl> + } EventMenuItem ; <nl> + <nl> + static EventMenuItem s_EventMenuItem [ ] = { <nl> + { " twitter . jpeg " , TAG_PAY_BY_ALIPAY } <nl> + } ; <nl> + <nl> + CCScene * HelloWorld : : scene ( ) <nl> + { <nl> + / / ' scene ' is an autorelease object <nl> + CCScene * scene = CCScene : : create ( ) ; <nl> + <nl> + / / ' layer ' is an autorelease object <nl> + HelloWorld * layer = HelloWorld : : create ( ) ; <nl> + <nl> + / / add layer as a child to scene <nl> + scene - > addChild ( layer ) ; <nl> + <nl> + / / return the scene <nl> + return scene ; <nl> + } <nl> + <nl> + / / on " init " you need to initialize your instance <nl> + bool HelloWorld : : init ( ) <nl> + { <nl> + / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> + / / 1 . super init first <nl> + if ( ! CCLayer : : init ( ) ) <nl> + { <nl> + return false ; <nl> + } <nl> + <nl> + CCSize size = CCDirector : : sharedDirector ( ) - > getVisibleSize ( ) ; <nl> + <nl> + CCSprite * pBackground = CCSprite : : create ( " background . png " ) ; <nl> + pBackground - > setPosition ( ccp ( size . width / 2 , size . height / 2 ) ) ; <nl> + addChild ( pBackground ) ; <nl> + / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> + / / 2 . add a menu item with " X " image , which is clicked to quit the program <nl> + / / you may modify it . <nl> + <nl> + CCEGLView * pEGLView = CCEGLView : : sharedOpenGLView ( ) ; <nl> + CCPoint posBR = ccp ( pEGLView - > getVisibleOrigin ( ) . x + pEGLView - > getVisibleSize ( ) . width , pEGLView - > getVisibleOrigin ( ) . y ) ; <nl> + CCPoint posBC = ccp ( pEGLView - > getVisibleOrigin ( ) . x + pEGLView - > getVisibleSize ( ) . width / 2 , pEGLView - > getVisibleOrigin ( ) . y ) ; <nl> + CCPoint posTL = ccp ( pEGLView - > getVisibleOrigin ( ) . x , pEGLView - > getVisibleOrigin ( ) . y + pEGLView - > getVisibleSize ( ) . height ) ; <nl> + <nl> + / / add a " close " icon to exit the progress . it ' s an autorelease object <nl> + CCMenuItemImage * pCloseItem = CCMenuItemImage : : create ( <nl> + " CloseNormal . png " , <nl> + " CloseSelected . png " , <nl> + this , <nl> + menu_selector ( HelloWorld : : menuCloseCallback ) ) ; <nl> + pCloseItem - > setPosition ( ccp ( posBR . x - 20 , posBR . y + 20 ) ) ; <nl> + <nl> + / / create menu , it ' s an autorelease object <nl> + CCMenu * pMenu = CCMenu : : create ( pCloseItem , NULL ) ; <nl> + pMenu - > setPosition ( CCPointZero ) ; <nl> + this - > addChild ( pMenu , 1 ) ; <nl> + <nl> + CCPoint posStep = ccp ( 220 , - 150 ) ; <nl> + CCPoint beginPos = ccpAdd ( posTL , ccpMult ( posStep , 0 . 5f ) ) ; <nl> + int line = 0 ; <nl> + int row = 0 ; <nl> + for ( int i = 0 ; i < sizeof ( s_EventMenuItem ) / sizeof ( s_EventMenuItem [ 0 ] ) ; i + + ) { <nl> + CCMenuItemImage * pMenuItem = CCMenuItemImage : : create ( s_EventMenuItem [ i ] . id . c_str ( ) , s_EventMenuItem [ i ] . id . c_str ( ) , <nl> + this , menu_selector ( HelloWorld : : eventMenuCallback ) ) ; <nl> + pMenu - > addChild ( pMenuItem , 0 , s_EventMenuItem [ i ] . tag ) ; <nl> + <nl> + CCPoint pos = ccpAdd ( beginPos , ccp ( posStep . x * row , posStep . y * line ) ) ; <nl> + CCSize itemSize = pMenuItem - > getContentSize ( ) ; <nl> + if ( ( pos . x + itemSize . width / 2 ) > posBR . x ) <nl> + { <nl> + line + = 1 ; <nl> + row = 0 ; <nl> + pos = ccpAdd ( beginPos , ccp ( posStep . x * row , posStep . y * line ) ) ; <nl> + } <nl> + row + = 1 ; <nl> + pMenuItem - > setPosition ( pos ) ; <nl> + } <nl> + <nl> + CCLabelTTF * label = CCLabelTTF : : create ( " Reload all plugins " , " Arial " , 24 ) ; <nl> + CCMenuItemLabel * pMenuItem = CCMenuItemLabel : : create ( label , this , menu_selector ( HelloWorld : : reloadPluginMenuCallback ) ) ; <nl> + pMenuItem - > setAnchorPoint ( ccp ( 0 . 5f , 0 ) ) ; <nl> + pMenu - > addChild ( pMenuItem , 0 ) ; <nl> + pMenuItem - > setPosition ( posBC ) ; <nl> + <nl> + return true ; <nl> + } <nl> + <nl> + void HelloWorld : : reloadPluginMenuCallback ( CCObject * pSender ) <nl> + { <nl> + MyShareManager : : sharedManager ( ) - > unloadSocialPlugin ( ) ; <nl> + MyShareManager : : sharedManager ( ) - > loadSocialPlugin ( ) ; <nl> + } <nl> + <nl> + void HelloWorld : : eventMenuCallback ( CCObject * pSender ) <nl> + { <nl> + TShareInfo pInfo ; <nl> + pInfo [ " text " ] = " MyFirst tweet ! " ; <nl> + / / pInfo [ " imagePath " ] = " Full / path / to / image " ; <nl> + MyShareManager : : sharedManager ( ) - > shareByMode ( pInfo , MyShareManager : : eTwitter ) ; <nl> + } <nl> + <nl> + void HelloWorld : : menuCloseCallback ( CCObject * pSender ) <nl> + { <nl> + MyShareManager : : purgeManager ( ) ; <nl> + CCDirector : : sharedDirector ( ) - > end ( ) ; <nl> + # if ( CC_TARGET_PLATFORM = = CC_PLATFORM_IOS ) <nl> + exit ( 0 ) ; <nl> + # endif <nl> + } <nl> new file mode 100755 <nl> index 000000000000 . . cf90652eebd1 <nl> mmm / dev / null <nl> ppp b / plugin / samples / HelloSocial / Classes / HelloWorldScene . h <nl> <nl> + # ifndef __HELLOWORLD_SCENE_H__ <nl> + # define __HELLOWORLD_SCENE_H__ <nl> + <nl> + # include " cocos2d . h " <nl> + <nl> + class HelloWorld : public cocos2d : : CCLayer <nl> + { <nl> + public : <nl> + / / Here ' s a difference . Method ' init ' in cocos2d - x returns bool , instead of returning ' id ' in cocos2d - iphone <nl> + virtual bool init ( ) ; <nl> + <nl> + / / there ' s no ' id ' in cpp , so we recommand to return the exactly class pointer <nl> + static cocos2d : : CCScene * scene ( ) ; <nl> + <nl> + / / a selector callback <nl> + void menuCloseCallback ( CCObject * pSender ) ; <nl> + void eventMenuCallback ( CCObject * pSender ) ; <nl> + void reloadPluginMenuCallback ( CCObject * pSender ) ; <nl> + <nl> + / / implement the " static node ( ) " method manually <nl> + CREATE_FUNC ( HelloWorld ) ; <nl> + } ; <nl> + <nl> + # endif / / __HELLOWORLD_SCENE_H__ <nl> new file mode 100755 <nl> index 000000000000 . . 9bd4add8e29d <nl> mmm / dev / null <nl> ppp b / plugin / samples / HelloSocial / Classes / MyShareManager . cpp <nl> <nl> + # include " MyShareManager . h " <nl> + # include " PluginManager . h " <nl> + # include " cocos2d . h " <nl> + <nl> + using namespace cocos2d : : plugin ; <nl> + using namespace cocos2d ; <nl> + <nl> + MyShareManager * MyShareManager : : s_pManager = NULL ; <nl> + <nl> + MyShareManager : : MyShareManager ( ) <nl> + : s_pRetListener ( NULL ) <nl> + , s_pTwitter ( NULL ) <nl> + { <nl> + <nl> + } <nl> + <nl> + MyShareManager : : ~ MyShareManager ( ) <nl> + { <nl> + unloadSocialPlugin ( ) ; <nl> + if ( s_pRetListener ) <nl> + { <nl> + delete s_pRetListener ; <nl> + } <nl> + } <nl> + <nl> + MyShareManager * MyShareManager : : sharedManager ( ) <nl> + { <nl> + if ( s_pManager = = NULL ) { <nl> + s_pManager = new MyShareManager ( ) ; <nl> + } <nl> + return s_pManager ; <nl> + } <nl> + <nl> + void MyShareManager : : purgeManager ( ) <nl> + { <nl> + if ( s_pManager ) <nl> + { <nl> + delete s_pManager ; <nl> + } <nl> + } <nl> + <nl> + void MyShareManager : : loadSocialPlugin ( ) <nl> + { <nl> + { <nl> + / / init twitter plugin <nl> + s_pTwitter = dynamic_cast < SocialTwitter * > ( PluginManager : : getInstance ( ) - > loadPlugin ( " SocialTwitter " ) ) ; <nl> + TDeveloperInfo pTwitterInfo ; <nl> + <nl> + / * Warning : must set your twiiter dev info here * / <nl> + / / pTwitterInfo [ " consumerkey " ] = " your consumerkey " ; <nl> + / / pTwitterInfo [ " consumersecret " ] = " your consumersecret " ; <nl> + <nl> + if ( pTwitterInfo . empty ( ) ) <nl> + { <nl> + char msg [ 256 ] = { 0 } ; <nl> + sprintf ( msg , " Developer info is empty . PLZ fill your twitter info in % s ( nearby line % d ) " , __FILE__ , __LINE__ ) ; <nl> + CCMessageBox ( msg , " Twitter Warning " ) ; <nl> + } <nl> + s_pTwitter - > setDebugMode ( true ) ; <nl> + s_pTwitter - > initDeveloperInfo ( pTwitterInfo ) ; <nl> + } <nl> + <nl> + if ( s_pRetListener = = NULL ) <nl> + { <nl> + s_pRetListener = new MyShareResult ( ) ; <nl> + ProtocolSocial : : setResultListener ( s_pRetListener ) ; <nl> + } <nl> + } <nl> + <nl> + void MyShareManager : : unloadSocialPlugin ( ) <nl> + { <nl> + if ( s_pTwitter ) <nl> + { <nl> + PluginManager : : getInstance ( ) - > unloadPlugin ( " SocialTwitter " ) ; <nl> + s_pTwitter = NULL ; <nl> + } <nl> + } <nl> + <nl> + void MyShareManager : : shareByMode ( TShareInfo info , MyShareMode mode ) <nl> + { <nl> + ProtocolSocial * pShare = NULL ; <nl> + switch ( mode ) <nl> + { <nl> + case eTwitter : <nl> + pShare = s_pTwitter ; <nl> + break ; <nl> + default : <nl> + break ; <nl> + } <nl> + <nl> + if ( pShare ) { <nl> + pShare - > share ( info ) ; <nl> + } <nl> + } <nl> + <nl> + void MyShareResult : : shareResult ( EShareResult ret , const char * msg , TShareInfo info ) <nl> + { <nl> + char shareInfo [ 1024 ] = { 0 } ; <nl> + char shareStatus [ 1024 ] = { 0 } ; <nl> + sprintf ( shareStatus , " Share info : % s " , ( ret = = eShareSuccess ) ? " Successed " : " Failed " ) ; <nl> + sprintf ( shareInfo , " % s \ ntext : % s " , <nl> + shareStatus , <nl> + info . find ( " text " ) - > second . c_str ( ) <nl> + ) ; <nl> + CCMessageBox ( shareInfo , msg ) ; <nl> + } <nl> new file mode 100755 <nl> index 000000000000 . . a8c65eea6762 <nl> mmm / dev / null <nl> ppp b / plugin / samples / HelloSocial / Classes / MyShareManager . h <nl> <nl> + # ifndef __MY_SHARE_MANAGER_H__ <nl> + # define __MY_SHARE_MANAGER_H__ <nl> + <nl> + # include " SocialTwitter . h " <nl> + <nl> + class MyShareResult : public cocos2d : : plugin : : ShareResultListener <nl> + { <nl> + public : <nl> + virtual void shareResult ( cocos2d : : plugin : : EShareResult ret , const char * msg , cocos2d : : plugin : : TShareInfo info ) ; <nl> + } ; <nl> + <nl> + class MyShareManager <nl> + { <nl> + public : <nl> + static MyShareManager * sharedManager ( ) ; <nl> + static void purgeManager ( ) ; <nl> + <nl> + typedef enum { <nl> + eNoneMode = 0 , <nl> + eTwitter , <nl> + } MyShareMode ; <nl> + <nl> + void unloadSocialPlugin ( ) ; <nl> + void loadSocialPlugin ( ) ; <nl> + void shareByMode ( cocos2d : : plugin : : TShareInfo info , MyShareMode mode ) ; <nl> + <nl> + private : <nl> + MyShareManager ( ) ; <nl> + virtual ~ MyShareManager ( ) ; <nl> + <nl> + static MyShareManager * s_pManager ; <nl> + <nl> + cocos2d : : plugin : : SocialTwitter * s_pTwitter ; <nl> + MyShareResult * s_pRetListener ; <nl> + } ; <nl> + <nl> + # endif / / __MY_SHARE_MANAGER_H__ <nl> new file mode 100644 <nl> index 000000000000 . . 15b10523a18f <nl> mmm / dev / null <nl> ppp b / plugin / samples / HelloSocial / Resources / background . png . REMOVED . git - id <nl> @ @ - 0 , 0 + 1 @ @ <nl> + b2e4ae6ce873ef4a74cf0230693ef26e939d2778 <nl> \ No newline at end of file <nl> new file mode 100755 <nl> index 000000000000 . . 2115f0c73a7e <nl> mmm / dev / null <nl> ppp b / plugin / samples / HelloSocial / proj . android / . classpath <nl> <nl> + < ? xml version = " 1 . 0 " encoding = " UTF - 8 " ? > <nl> + < classpath > <nl> + < classpathentry kind = " src " path = " src " / > <nl> + < classpathentry kind = " src " path = " gen " / > <nl> + < classpathentry kind = " con " path = " com . android . ide . eclipse . adt . ANDROID_FRAMEWORK " / > <nl> + < classpathentry kind = " con " path = " com . android . ide . eclipse . adt . LIBRARIES " / > <nl> + < classpathentry exported = " true " kind = " lib " path = " publish / protocols / android / libPluginProtocol . jar " / > <nl> + < classpathentry exported = " true " kind = " lib " path = " / Users / lihex / cocos2d - x / plugin / publish / plugins / twitter / android / libPluginSocialTwitter . jar " / > <nl> + < classpathentry exported = " true " kind = " lib " path = " publish / plugins / twitter / android / signpost - commonshttp4 - 1 . 2 . 1 . 1 . jar " / > <nl> + < classpathentry exported = " true " kind = " lib " path = " publish / plugins / twitter / android / signpost - core - 1 . 2 . 1 . 1 . jar " / > <nl> + < classpathentry exported = " true " kind = " lib " path = " publish / plugins / twitter / android / signpost - jetty6 - 1 . 2 . 1 . 1 . jar " / > <nl> + < classpathentry exported = " true " kind = " lib " path = " publish / plugins / twitter / android / twitter4j - core - android - 3 . 0 . 1 . jar " / > <nl> + < classpathentry kind = " output " path = " bin / classes " / > <nl> + < / classpath > <nl> new file mode 100755 <nl> index 000000000000 . . 6328a7480a09 <nl> mmm / dev / null <nl> ppp b / plugin / samples / HelloSocial / proj . android / . project <nl> <nl> + < ? xml version = " 1 . 0 " encoding = " UTF - 8 " ? > <nl> + < projectDescription > <nl> + < name > HelloSocial < / name > <nl> + < comment > < / comment > <nl> + < projects > <nl> + < / projects > <nl> + < buildSpec > <nl> + < buildCommand > <nl> + < name > com . android . ide . eclipse . adt . ResourceManagerBuilder < / name > <nl> + < arguments > <nl> + < / arguments > <nl> + < / buildCommand > <nl> + < buildCommand > <nl> + < name > com . android . ide . eclipse . adt . PreCompilerBuilder < / name > <nl> + < arguments > <nl> + < / arguments > <nl> + < / buildCommand > <nl> + < buildCommand > <nl> + < name > org . eclipse . jdt . core . javabuilder < / name > <nl> + < arguments > <nl> + < / arguments > <nl> + < / buildCommand > <nl> + < buildCommand > <nl> + < name > com . android . ide . eclipse . adt . ApkBuilder < / name > <nl> + < arguments > <nl> + < / arguments > <nl> + < / buildCommand > <nl> + < / buildSpec > <nl> + < natures > <nl> + < nature > com . android . ide . eclipse . adt . AndroidNature < / nature > <nl> + < nature > org . eclipse . jdt . core . javanature < / nature > <nl> + < / natures > <nl> + < linkedResources > <nl> + < link > <nl> + < name > Classes < / name > <nl> + < type > 2 < / type > <nl> + < locationURI > PARENT - 1 - PROJECT_LOC / Classes < / locationURI > <nl> + < / link > <nl> + < link > <nl> + < name > publish < / name > <nl> + < type > 2 < / type > <nl> + < locationURI > PARENT - 3 - PROJECT_LOC / publish < / locationURI > <nl> + < / link > <nl> + < / linkedResources > <nl> + < / projectDescription > <nl> new file mode 100755 <nl> index 000000000000 . . dc93dff99a2c <nl> mmm / dev / null <nl> ppp b / plugin / samples / HelloSocial / proj . android / AndroidManifest . xml <nl> <nl> + < ? xml version = " 1 . 0 " encoding = " utf - 8 " ? > <nl> + < manifest xmlns : android = " http : / / schemas . android . com / apk / res / android " <nl> + package = " org . cocos2dx . helloSocial " <nl> + android : versionCode = " 1 " <nl> + android : versionName = " 1 . 0 " > <nl> + <nl> + < uses - sdk android : minSdkVersion = " 8 " / > <nl> + <nl> + < application android : label = " @ string / app_name " <nl> + android : debuggable = " true " <nl> + android : icon = " @ drawable / icon " > <nl> + <nl> + < activity android : name = " . HelloSocial " <nl> + android : label = " @ string / app_name " <nl> + android : screenOrientation = " landscape " <nl> + android : theme = " @ android : style / Theme . NoTitleBar . Fullscreen " <nl> + android : configChanges = " orientation " > <nl> + < intent - filter > <nl> + < action android : name = " android . intent . action . MAIN " / > <nl> + < category android : name = " android . intent . category . LAUNCHER " / > <nl> + < / intent - filter > <nl> + < / activity > <nl> + < / application > <nl> + <nl> + < ! - - Twitter permission - - > <nl> + < uses - permission android : name = " android . permission . ACCESS_NETWORK_STATE " / > <nl> + < uses - permission android : name = " android . permission . ACCESS_WIFI_STATE " / > <nl> + < uses - permission android : name = " android . permission . READ_PHONE_STATE " / > <nl> + < uses - permission android : name = " android . permission . INTERNET " / > <nl> + < / manifest > <nl> new file mode 100755 <nl> index 000000000000 . . b0971e891efd <nl> mmm / dev / null <nl> ppp b / plugin / samples / HelloSocial / proj . android / ant . properties <nl> <nl> + # This file is used to override default values used by the Ant build system . <nl> + # <nl> + # This file must be checked into Version Control Systems , as it is <nl> + # integral to the build system of your project . <nl> + <nl> + # This file is only used by the Ant script . <nl> + <nl> + # You can use this to override default values such as <nl> + # ' source . dir ' for the location of your java source folder and <nl> + # ' out . dir ' for the location of your output folder . <nl> + <nl> + # You can also use it define how the release builds are signed by declaring <nl> + # the following properties : <nl> + # ' key . store ' for the location of your keystore and <nl> + # ' key . alias ' for the name of the key to use . <nl> + # The password will be asked during the build when you use the ' release ' target . <nl> + <nl> new file mode 100755 <nl> index 000000000000 . . 80abad0ab017 <nl> mmm / dev / null <nl> ppp b / plugin / samples / HelloSocial / proj . android / build . xml <nl> <nl> + < ? xml version = " 1 . 0 " encoding = " UTF - 8 " ? > <nl> + < project name = " HelloAnalytics " default = " help " > <nl> + <nl> + < ! - - The local . properties file is created and updated by the ' android ' tool . <nl> + It contains the path to the SDK . It should * NOT * be checked into <nl> + Version Control Systems . - - > <nl> + < property file = " local . properties " / > <nl> + <nl> + < ! - - The ant . properties file can be created by you . It is only edited by the <nl> + ' android ' tool to add properties to it . <nl> + This is the place to change some Ant specific build properties . <nl> + Here are some properties you may want to change / update : <nl> + <nl> + source . dir <nl> + The name of the source directory . Default is ' src ' . <nl> + out . dir <nl> + The name of the output directory . Default is ' bin ' . <nl> + <nl> + For other overridable properties , look at the beginning of the rules <nl> + files in the SDK , at tools / ant / build . xml <nl> + <nl> + Properties related to the SDK location or the project target should <nl> + be updated using the ' android ' tool with the ' update ' action . <nl> + <nl> + This file is an integral part of the build system for your <nl> + application and should be checked into Version Control Systems . <nl> + <nl> + - - > <nl> + < property file = " ant . properties " / > <nl> + <nl> + < ! - - if sdk . dir was not set from one of the property file , then <nl> + get it from the ANDROID_HOME env var . <nl> + This must be done before we load project . properties since <nl> + the proguard config can use sdk . dir - - > <nl> + < property environment = " env " / > <nl> + < condition property = " sdk . dir " value = " $ { env . ANDROID_HOME } " > <nl> + < isset property = " env . ANDROID_HOME " / > <nl> + < / condition > <nl> + <nl> + < ! - - The project . properties file is created and updated by the ' android ' <nl> + tool , as well as ADT . <nl> + <nl> + This contains project specific properties such as project target , and library <nl> + dependencies . Lower level build properties are stored in ant . properties <nl> + ( or in . classpath for Eclipse projects ) . <nl> + <nl> + This file is an integral part of the build system for your <nl> + application and should be checked into Version Control Systems . - - > <nl> + < loadproperties srcFile = " project . properties " / > <nl> + <nl> + < ! - - quick check on sdk . dir - - > <nl> + < fail <nl> + message = " sdk . dir is missing . Make sure to generate local . properties using ' android update project ' or to inject it through the ANDROID_HOME environment variable . " <nl> + unless = " sdk . dir " <nl> + / > <nl> + <nl> + < ! - - <nl> + Import per project custom build rules if present at the root of the project . <nl> + This is the place to put custom intermediary targets such as : <nl> + - pre - build <nl> + - pre - compile <nl> + - post - compile ( This is typically used for code obfuscation . <nl> + Compiled code location : $ { out . classes . absolute . dir } <nl> + If this is not done in place , override $ { out . dex . input . absolute . dir } ) <nl> + - post - package <nl> + - post - build <nl> + - pre - clean <nl> + - - > <nl> + < import file = " custom_rules . xml " optional = " true " / > <nl> + <nl> + < ! - - Import the actual build file . <nl> + <nl> + To customize existing targets , there are two options : <nl> + - Customize only one target : <nl> + - copy / paste the target into this file , * before * the <nl> + < import > task . <nl> + - customize it to your needs . <nl> + - Customize the whole content of build . xml <nl> + - copy / paste the content of the rules files ( minus the top node ) <nl> + into this file , replacing the < import > task . <nl> + - customize to your needs . <nl> + <nl> + * * * * * * * * * * * * * * * * * * * * * * * <nl> + * * * * * * IMPORTANT * * * * * * <nl> + * * * * * * * * * * * * * * * * * * * * * * * <nl> + In all cases you must update the value of version - tag below to read ' custom ' instead of an integer , <nl> + in order to avoid having your file be overridden by tools such as " android update project " <nl> + - - > <nl> + < ! - - version - tag : 1 - - > <nl> + < import file = " $ { sdk . dir } / tools / ant / build . xml " / > <nl> + <nl> + < / project > <nl> new file mode 100755 <nl> index 000000000000 . . 01fc56213241 <nl> mmm / dev / null <nl> ppp b / plugin / samples / HelloSocial / proj . android / build_native . sh <nl> <nl> + APPNAME = " HelloAnalytics " <nl> + <nl> + # options <nl> + <nl> + buildexternalsfromsource = <nl> + <nl> + usage ( ) { <nl> + cat < < EOF <nl> + usage : $ 0 [ options ] <nl> + <nl> + Build C / C + + code for $ APPNAME using Android NDK <nl> + <nl> + OPTIONS : <nl> + - s Build externals from source <nl> + - h this help <nl> + EOF <nl> + } <nl> + <nl> + while getopts " sh " OPTION ; do <nl> + case " $ OPTION " in <nl> + s ) <nl> + buildexternalsfromsource = 1 <nl> + ; ; <nl> + h ) <nl> + usage <nl> + exit 0 <nl> + ; ; <nl> + esac <nl> + done <nl> + <nl> + # paths <nl> + <nl> + if [ - z " $ { NDK_ROOT + aaa } " ] ; then <nl> + echo " please define NDK_ROOT " <nl> + exit 1 <nl> + fi <nl> + <nl> + DIR = " $ ( cd " $ ( dirname " $ { BASH_SOURCE [ 0 ] } " ) " & & pwd ) " <nl> + # . . . use paths relative to current directory <nl> + PLUGIN_ROOT = " $ DIR / . . / . . / . . " <nl> + COCOS2DX_ROOT = " $ DIR / . . / . . / . . / . . " <nl> + APP_ROOT = " $ DIR / . . " <nl> + APP_ANDROID_ROOT = " $ DIR " <nl> + <nl> + echo " PLUGIN_ROOT = $ PLUGIN_ROOT " <nl> + echo " NDK_ROOT = $ NDK_ROOT " <nl> + echo " COCOS2DX_ROOT = $ COCOS2DX_ROOT " <nl> + echo " APP_ROOT = $ APP_ROOT " <nl> + echo " APP_ANDROID_ROOT = $ APP_ANDROID_ROOT " <nl> + echo " mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm " <nl> + <nl> + # make sure assets is exist <nl> + if [ - d " $ APP_ANDROID_ROOT " / assets ] ; then <nl> + rm - rf " $ APP_ANDROID_ROOT " / assets <nl> + fi <nl> + <nl> + mkdir " $ APP_ANDROID_ROOT " / assets <nl> + <nl> + # copy resources <nl> + for file in " $ APP_ROOT " / Resources / * <nl> + do <nl> + if [ - d " $ file " ] ; then <nl> + cp - rf " $ file " " $ APP_ANDROID_ROOT " / assets <nl> + fi <nl> + <nl> + if [ - f " $ file " ] ; then <nl> + cp " $ file " " $ APP_ANDROID_ROOT " / assets <nl> + fi <nl> + done <nl> + <nl> + if [ [ " $ buildexternalsfromsource " ] ] ; then <nl> + echo " Building external dependencies from source " <nl> + set - x <nl> + " $ NDK_ROOT " / ndk - build - j 4 - C " $ APP_ANDROID_ROOT " $ * \ <nl> + " NDK_MODULE_PATH = $ { PLUGIN_ROOT } / publish : $ { COCOS2DX_ROOT } : $ { COCOS2DX_ROOT } / cocos2dx / platform / third_party / android / source " <nl> + else <nl> + echo " Using prebuilt externals " <nl> + set - x <nl> + " $ NDK_ROOT " / ndk - build - j 4 - C " $ APP_ANDROID_ROOT " $ * \ <nl> + " NDK_MODULE_PATH = $ { PLUGIN_ROOT } / publish : $ { COCOS2DX_ROOT } : $ { COCOS2DX_ROOT } / cocos2dx / platform / third_party / android / prebuilt " <nl> + fi <nl> new file mode 100755 <nl> index 000000000000 . . 3e8cd941a2d4 <nl> mmm / dev / null <nl> ppp b / plugin / samples / HelloSocial / proj . android / jni / Android . mk <nl> <nl> + LOCAL_PATH : = $ ( call my - dir ) <nl> + <nl> + include $ ( CLEAR_VARS ) <nl> + <nl> + LOCAL_MODULE : = game_shared <nl> + <nl> + LOCAL_MODULE_FILENAME : = libgame <nl> + <nl> + LOCAL_SRC_FILES : = hellocpp / main . cpp \ <nl> + . . / . . / Classes / AppDelegate . cpp \ <nl> + . . / . . / Classes / HelloWorldScene . cpp \ <nl> + . . / . . / Classes / MyShareManager . cpp <nl> + <nl> + LOCAL_C_INCLUDES : = $ ( LOCAL_PATH ) / . . / . . / Classes <nl> + <nl> + LOCAL_WHOLE_STATIC_LIBRARIES : = cocos2dx_static \ <nl> + PluginTwitterStatic \ <nl> + PluginProtocolStatic <nl> + <nl> + include $ ( BUILD_SHARED_LIBRARY ) <nl> + <nl> + $ ( call import - module , cocos2dx ) \ <nl> + $ ( call import - module , plugins / twitter / android ) \ <nl> + $ ( call import - module , protocols / android ) <nl> new file mode 100755 <nl> index 000000000000 . . d16d4facd239 <nl> mmm / dev / null <nl> ppp b / plugin / samples / HelloSocial / proj . android / jni / Application . mk <nl> <nl> + APP_STL : = gnustl_static <nl> + APP_CPPFLAGS + = - frtti <nl> \ No newline at end of file <nl> new file mode 100755 <nl> index 000000000000 . . ee1079c7977d <nl> mmm / dev / null <nl> ppp b / plugin / samples / HelloSocial / proj . android / jni / hellocpp / main . cpp <nl> <nl> + # include " AppDelegate . h " <nl> + # include " platform / android / jni / JniHelper . h " <nl> + # include " PluginJniHelper . h " <nl> + # include < jni . h > <nl> + # include < android / log . h > <nl> + <nl> + # include " HelloWorldScene . h " <nl> + <nl> + # define LOG_TAG " main " <nl> + # define LOGD ( . . . ) __android_log_print ( ANDROID_LOG_DEBUG , LOG_TAG , __VA_ARGS__ ) <nl> + <nl> + using namespace cocos2d ; <nl> + <nl> + extern " C " <nl> + { <nl> + <nl> + jint JNI_OnLoad ( JavaVM * vm , void * reserved ) <nl> + { <nl> + JniHelper : : setJavaVM ( vm ) ; <nl> + PluginJniHelper : : setJavaVM ( vm ) ; <nl> + <nl> + return JNI_VERSION_1_4 ; <nl> + } <nl> + <nl> + void Java_org_cocos2dx_lib_Cocos2dxRenderer_nativeInit ( JNIEnv * env , jobject thiz , jint w , jint h ) <nl> + { <nl> + if ( ! CCDirector : : sharedDirector ( ) - > getOpenGLView ( ) ) <nl> + { <nl> + CCEGLView * view = CCEGLView : : sharedOpenGLView ( ) ; <nl> + view - > setFrameSize ( w , h ) ; <nl> + <nl> + AppDelegate * pAppDelegate = new AppDelegate ( ) ; <nl> + CCApplication : : sharedApplication ( ) - > run ( ) ; <nl> + } <nl> + else <nl> + { <nl> + ccDrawInit ( ) ; <nl> + ccGLInvalidateStateCache ( ) ; <nl> + <nl> + CCShaderCache : : sharedShaderCache ( ) - > reloadDefaultShaders ( ) ; <nl> + CCTextureCache : : reloadAllTextures ( ) ; <nl> + CCNotificationCenter : : sharedNotificationCenter ( ) - > postNotification ( EVNET_COME_TO_FOREGROUND , NULL ) ; <nl> + CCDirector : : sharedDirector ( ) - > setGLDefaultValues ( ) ; <nl> + } <nl> + } <nl> + <nl> + } <nl> new file mode 100755 <nl> index 000000000000 . . b60ae7ea07ff <nl> mmm / dev / null <nl> ppp b / plugin / samples / HelloSocial / proj . android / proguard - project . txt <nl> <nl> + # To enable ProGuard in your project , edit project . properties <nl> + # to define the proguard . config property as described in that file . <nl> + # <nl> + # Add project specific ProGuard rules here . <nl> + # By default , the flags in this file are appended to flags specified <nl> + # in $ { sdk . dir } / tools / proguard / proguard - android . txt <nl> + # You can edit the include path and order by changing the ProGuard <nl> + # include property in project . properties . <nl> + # <nl> + # For more details , see <nl> + # http : / / developer . android . com / guide / developing / tools / proguard . html <nl> + <nl> + # Add any project specific keep options here : <nl> + <nl> + # If your project uses WebView with JS , uncomment the following <nl> + # and specify the fully qualified class name to the JavaScript interface <nl> + # class : <nl> + # - keepclassmembers class fqcn . of . javascript . interface . for . webview { <nl> + # public * ; <nl> + # } <nl> new file mode 100755 <nl> index 000000000000 . . 859630e4650a <nl> mmm / dev / null <nl> ppp b / plugin / samples / HelloSocial / proj . android / project . properties <nl> <nl> + # This file is automatically generated by Android Tools . <nl> + # Do not modify this file - - YOUR CHANGES WILL BE ERASED ! <nl> + # <nl> + # This file must be checked in Version Control Systems . <nl> + # <nl> + # To customize properties used by the Ant build system edit <nl> + # " ant . properties " , and override values to adapt the script to your <nl> + # project structure . <nl> + # <nl> + # To enable ProGuard to shrink and obfuscate your code , uncomment this ( available properties : sdk . dir , user . home ) : <nl> + # proguard . config = $ { sdk . dir } / tools / proguard / proguard - android . txt : proguard - project . txt <nl> + <nl> + # Project target . <nl> + target = android - 8 <nl> + android . library . reference . 1 = . . / . . / . . / . . / cocos2dx / platform / android / java <nl> new file mode 100755 <nl> index 000000000000 . . 320a39b235c8 <nl> mmm / dev / null <nl> ppp b / plugin / samples / HelloSocial / proj . android / res / values / strings . xml <nl> <nl> + < ? xml version = " 1 . 0 " encoding = " utf - 8 " ? > <nl> + < resources > <nl> + < string name = " app_name " > HelloSocial < / string > <nl> + < / resources > <nl> new file mode 100755 <nl> index 000000000000 . . cc2a90bf8e3a <nl> mmm / dev / null <nl> ppp b / plugin / samples / HelloSocial / proj . android / src / org / cocos2dx / helloSocial / HelloSocial . java <nl> <nl> + / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> + Copyright ( c ) 2010 - 2012 cocos2d - x . org <nl> + <nl> + http : / / www . cocos2d - x . org <nl> + <nl> + Permission is hereby granted , free of charge , to any person obtaining a copy <nl> + of this software and associated documentation files ( the " Software " ) , to deal <nl> + in the Software without restriction , including without limitation the rights <nl> + to use , copy , modify , merge , publish , distribute , sublicense , and / or sell <nl> + copies of the Software , and to permit persons to whom the Software is <nl> + furnished to do so , subject to the following conditions : <nl> + <nl> + The above copyright notice and this permission notice shall be included in <nl> + all copies or substantial portions of the Software . <nl> + <nl> + THE SOFTWARE IS PROVIDED " AS IS " , WITHOUT WARRANTY OF ANY KIND , EXPRESS OR <nl> + IMPLIED , INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY , <nl> + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT . IN NO EVENT SHALL THE <nl> + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM , DAMAGES OR OTHER <nl> + LIABILITY , WHETHER IN AN ACTION OF CONTRACT , TORT OR OTHERWISE , ARISING FROM , <nl> + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN <nl> + THE SOFTWARE . <nl> + * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> + package org . cocos2dx . helloSocial ; <nl> + <nl> + import org . cocos2dx . lib . Cocos2dxActivity ; <nl> + import org . cocos2dx . lib . Cocos2dxGLSurfaceView ; <nl> + import org . cocos2dx . plugin . PluginWrapper ; <nl> + <nl> + import android . os . Bundle ; <nl> + <nl> + public class HelloSocial extends Cocos2dxActivity { <nl> + <nl> + protected void onCreate ( Bundle savedInstanceState ) { <nl> + super . onCreate ( savedInstanceState ) ; <nl> + PluginWrapper . init ( this ) ; <nl> + PluginWrapper . setGLSurfaceView ( Cocos2dxGLSurfaceView . getInstance ( ) ) ; <nl> + } <nl> + <nl> + static { <nl> + System . loadLibrary ( " game " ) ; <nl> + } <nl> + } <nl> | Add HelloSocial sample | cocos2d/cocos2d-x | 661977645e5a21719f286115c535406a7857d7ce | 2013-04-24T08:00:36Z |
mmm a / tools / whitespace . txt <nl> ppp b / tools / whitespace . txt <nl> A Smi balks into a war and says : <nl> The doubles heard this and started to unbox . <nl> The Smi looked at them when a crazy v8 - autoroll account showed up . . . <nl> The autoroller bought a round of Himbeerbrause . Suddenly . . . <nl> - The bartender starts to shake the bottles . . . . . . . . . . . . <nl> + The bartender starts to shake the bottles . . . . . . . . . . . <nl> | Whitespace CL to trigger CI bots | v8/v8 | 2c4704abf59850fd6c64e3c38a75ebe1e3c8b7b7 | 2017-12-19T03:08:42Z |
mmm a / src / compiler / mips / code - generator - mips . cc <nl> ppp b / src / compiler / mips / code - generator - mips . cc <nl> void CodeGenerator : : AssembleArchInstruction ( Instruction * instr ) { <nl> UNIMPLEMENTED ( ) ; <nl> <nl> / / Assembles branches after an instruction . <nl> - void CodeGenerator : : AssembleArchBranch ( Instruction * instr , <nl> - FlagsCondition condition ) { <nl> + void CodeGenerator : : AssembleArchBranch ( Instruction * instr , BranchInfo * branch ) { <nl> MipsOperandConverter i ( this , instr ) ; <nl> Label * tlabel = branch - > true_label ; <nl> Label * flabel = branch - > false_label ; <nl> void CodeGenerator : : AssembleArchBranch ( Instruction * instr , <nl> cc = eq ; <nl> break ; <nl> default : <nl> - UNSUPPORTED_COND ( kMipsTst , condition ) ; <nl> + UNSUPPORTED_COND ( kMipsTst , branch - > condition ) ; <nl> break ; <nl> } <nl> __ And ( at , i . InputRegister ( 0 ) , i . InputOperand ( 1 ) ) ; <nl> mmm a / src / compiler / mips64 / code - generator - mips64 . cc <nl> ppp b / src / compiler / mips64 / code - generator - mips64 . cc <nl> void CodeGenerator : : AssembleArchInstruction ( Instruction * instr ) { <nl> UNIMPLEMENTED ( ) ; <nl> <nl> / / Assembles branches after an instruction . <nl> - void CodeGenerator : : AssembleArchBranch ( Instruction * instr , <nl> - FlagsCondition condition ) { <nl> + void CodeGenerator : : AssembleArchBranch ( Instruction * instr , BranchInfo * branch ) { <nl> MipsOperandConverter i ( this , instr ) ; <nl> Label * tlabel = branch - > true_label ; <nl> Label * flabel = branch - > false_label ; <nl> void CodeGenerator : : AssembleArchBranch ( Instruction * instr , <nl> __ Branch ( tlabel , cc , i . InputRegister ( 0 ) , i . InputOperand ( 1 ) ) ; <nl> <nl> if ( ! branch - > fallthru ) __ Branch ( flabel ) ; / / no fallthru to flabel . <nl> - __ bind ( & done ) ; <nl> <nl> } else if ( instr - > arch_opcode ( ) = = kMips64Cmp32 ) { <nl> switch ( branch - > condition ) { <nl> void CodeGenerator : : AssembleArchBranch ( Instruction * instr , <nl> __ Branch ( tlabel , cc , i . InputRegister ( 0 ) , i . InputOperand ( 1 ) ) ; <nl> <nl> if ( ! branch - > fallthru ) __ Branch ( flabel ) ; / / no fallthru to flabel . <nl> - __ bind ( & done ) ; <nl> } else if ( instr - > arch_opcode ( ) = = kMips64CmpD ) { <nl> / / TODO ( dusmil ) optimize unordered checks to use less instructions <nl> / / even if we have to unfold BranchF macro . <nl> void CodeGenerator : : AssembleArchBranch ( Instruction * instr , <nl> i . InputDoubleRegister ( 1 ) ) ; <nl> <nl> if ( ! branch - > fallthru ) __ Branch ( flabel ) ; / / no fallthru to flabel . <nl> - __ bind ( & done ) ; <nl> - <nl> } else { <nl> PrintF ( " AssembleArchBranch Unimplemented arch_opcode : % d \ n " , <nl> instr - > arch_opcode ( ) ) ; <nl> | MIPS : [ turbofan ] Clean up and factor out branch generation logic . | v8/v8 | 9182813fb05d25ccb5d49736aa84a1a85f9be647 | 2014-11-21T01:16:54Z |
deleted file mode 100644 <nl> index 6c9980dc725 . . 00000000000 <nl> mmm a / hphp / hack / test / integration / data / lsp_exchanges / highlight . expected <nl> ppp / dev / null <nl> <nl> - [ <nl> - { <nl> - " jsonrpc " : " 2 . 0 " , <nl> - " id " : 1 , <nl> - " result " : { <nl> - " capabilities " : { <nl> - " textDocumentSync " : { <nl> - " openClose " : true , <nl> - " change " : 2 , <nl> - " willSave " : false , <nl> - " willSaveWaitUntil " : false , <nl> - " save " : { <nl> - " includeText " : false <nl> - } <nl> - } , <nl> - " hoverProvider " : true , <nl> - " completionProvider " : { <nl> - " resolveProvider " : true , <nl> - " triggerCharacters " : [ <nl> - " $ " , <nl> - " > " , <nl> - " \ \ " , <nl> - " : " , <nl> - " < " , <nl> - " [ " , <nl> - " ' " , <nl> - " \ " " <nl> - ] <nl> - } , <nl> - " signatureHelpProvider " : { <nl> - " triggerCharacters " : [ <nl> - " ( " , <nl> - " , " <nl> - ] <nl> - } , <nl> - " definitionProvider " : true , <nl> - " typeDefinitionProvider " : true , <nl> - " referencesProvider " : true , <nl> - " documentHighlightProvider " : true , <nl> - " documentSymbolProvider " : true , <nl> - " workspaceSymbolProvider " : true , <nl> - " codeActionProvider " : false , <nl> - " documentFormattingProvider " : true , <nl> - " documentRangeFormattingProvider " : true , <nl> - " documentOnTypeFormattingProvider " : { <nl> - " firstTriggerCharacter " : " ; " , <nl> - " moreTriggerCharacter " : [ <nl> - " } " <nl> - ] <nl> - } , <nl> - " renameProvider " : true , <nl> - " typeCoverageProvider " : true , <nl> - " rageProvider " : true <nl> - } <nl> - } <nl> - } , <nl> - { <nl> - " jsonrpc " : " 2 . 0 " , <nl> - " id " : 2 , <nl> - " result " : [ <nl> - { <nl> - " range " : { <nl> - " start " : { <nl> - " line " : 3 , <nl> - " character " : 9 <nl> - } , <nl> - " end " : { <nl> - " line " : 3 , <nl> - " character " : 20 <nl> - } <nl> - } <nl> - } <nl> - ] <nl> - } , <nl> - { <nl> - " jsonrpc " : " 2 . 0 " , <nl> - " id " : 3 , <nl> - " result " : null <nl> - } <nl> - ] <nl> deleted file mode 100644 <nl> index 14052ea3bbe . . 00000000000 <nl> mmm a / hphp / hack / test / integration / data / lsp_exchanges / highlight . json <nl> ppp / dev / null <nl> <nl> - [ <nl> - { <nl> - " jsonrpc " : " 2 . 0 " , <nl> - " id " : 1 , <nl> - " method " : " initialize " , <nl> - " params " : <nl> - { <nl> - " initializationOptions " : { } , <nl> - " processId " : null , <nl> - " rootPath " : " $ { root_path } " , <nl> - " capabilities " : { } <nl> - } <nl> - } , <nl> - { <nl> - " jsonrpc " : " 2 . 0 " , <nl> - " method " : " $ test / waitForHhServerReady " , <nl> - " params " : { } <nl> - } , <nl> - { <nl> - " jsonrpc " : " 2 . 0 " , <nl> - " method " : " textDocument / didOpen " , <nl> - " params " : { <nl> - " textDocument " : { <nl> - " uri " : " $ { php_file_uri } " , <nl> - " languageId " : " hack " , <nl> - " version " : 1 , <nl> - " text " : " $ { php_file } " <nl> - } <nl> - } <nl> - } , <nl> - { <nl> - " jsonrpc " : " 2 . 0 " , <nl> - " method " : " textDocument / documentHighlight " , <nl> - " id " : 2 , <nl> - " params " : { <nl> - " textDocument " : { <nl> - " uri " : " $ { php_file_uri } " <nl> - } , <nl> - " position " : { " line " : 3 , " character " : 10 } <nl> - } <nl> - } , <nl> - { <nl> - " jsonrpc " : " 2 . 0 " , <nl> - " id " : 3 , <nl> - " method " : " shutdown " , <nl> - " params " : { } <nl> - } <nl> - ] <nl> mmm a / hphp / hack / test / integration / test_lsp . py <nl> ppp b / hphp / hack / test / integration / test_lsp . py <nl> def test_coverage ( self ) - > None : <nl> variables = self . setup_php_file ( " coverage . php " ) <nl> self . load_and_run ( " coverage " , variables ) <nl> <nl> - def test_highlight ( self ) - > None : <nl> - self . prepare_server_environment ( ) <nl> - variables = self . setup_php_file ( " highlight . php " ) <nl> - self . load_and_run ( " highlight " , variables ) <nl> - <nl> def test_formatting ( self ) - > None : <nl> <nl> # This test will fail if hackfmt can ' t be found <nl> def test_lsptestspec_unexpected_notification ( self ) - > None : <nl> # that one . <nl> . replace ( " __PHP_FILE_URI__ " , variables [ " php_file_uri " ] ) , <nl> ) <nl> + <nl> + def test_serverless_ide_highlight ( self ) - > None : <nl> + variables = dict ( self . prepare_serverless_ide_environment ( ) ) <nl> + variables . update ( self . setup_php_file ( " highlight . php " ) ) <nl> + self . test_driver . stop_hh_server ( ) <nl> + <nl> + spec = ( <nl> + self . initialize_spec ( <nl> + LspTestSpec ( " serverless_ide_highlight " ) , use_serverless_ide = True <nl> + ) <nl> + . notification ( <nl> + method = " textDocument / didOpen " , <nl> + params = { <nl> + " textDocument " : { <nl> + " uri " : " $ { php_file_uri } " , <nl> + " languageId " : " hack " , <nl> + " version " : 1 , <nl> + " text " : " $ { php_file } " , <nl> + } <nl> + } , <nl> + ) <nl> + . request ( <nl> + comment = " document highlight , id 2 " , <nl> + method = " textDocument / documentHighlight " , <nl> + params = { <nl> + " textDocument " : { " uri " : " $ { php_file_uri } " } , <nl> + " position " : { " line " : 3 , " character " : 10 } , <nl> + } , <nl> + result = [ <nl> + { <nl> + " range " : { <nl> + " start " : { " line " : 3 , " character " : 9 } , <nl> + " end " : { " line " : 3 , " character " : 20 } , <nl> + } <nl> + } <nl> + ] , <nl> + ) <nl> + . request ( <nl> + comment = " shutdown , id 3 " , method = " shutdown " , params = { } , result = None <nl> + ) <nl> + ) <nl> + self . run_spec ( spec , variables , wait_for_server = False , use_serverless_ide = True ) <nl> | Convert test_highlight to new LSP test format | facebook/hhvm | 678d32dfc34fe935d16797b0de93c6e17bb50304 | 2019-09-17T22:15:41Z |
mmm a / src / Interpreters / Aggregator . cpp <nl> ppp b / src / Interpreters / Aggregator . cpp <nl> bool Aggregator : : executeOnBlock ( const Block & block , AggregatedDataVariants & re <nl> return executeOnBlock ( block . getColumns ( ) , num_rows , result , key_columns , aggregate_columns , no_more_keys ) ; <nl> } <nl> <nl> - AggregateFunctionInstructions NO_INLINE Aggregator : : prepareBlockForAggregation ( Columns & materialized_columns , Columns columns , AggregatedDataVariants & result , <nl> - ColumnRawPtrs & key_columns , AggregateColumns & aggregate_columns ) <nl> + void Aggregator : : prepareKeysAndInstructions ( Columns columns , AggregatedDataVariants & result , ColumnRawPtrs & key_columns , <nl> + AggregateColumns & aggregate_columns , Columns & materialized_columns , <nl> + AggregateFunctionInstructions & aggregate_functions_instructions ) <nl> { <nl> - / / / TODO remove code duplication <nl> - <nl> - / / / ` result ` will destroy the states of aggregate functions in the destructor <nl> - result . aggregator = this ; <nl> - <nl> - / / / How to perform the aggregation ? <nl> - if ( result . empty ( ) ) <nl> - { <nl> - result . init ( method_chosen ) ; <nl> - result . keys_size = params . keys_size ; <nl> - result . key_sizes = key_sizes ; <nl> - LOG_TRACE ( log , " Aggregation method : " < < result . getMethodName ( ) ) ; <nl> - } <nl> - <nl> for ( size_t i = 0 ; i < params . aggregates_size ; + + i ) <nl> aggregate_columns [ i ] . resize ( params . aggregates [ i ] . arguments . size ( ) ) ; <nl> <nl> - / * * Constant columns are not supported directly during aggregation . <nl> - * To make them work anyway , we materialize them . <nl> - * / <nl> - / / Columns materialized_columns ; <nl> - <nl> / / / Remember the columns we will work with <nl> for ( size_t i = 0 ; i < params . keys_size ; + + i ) <nl> { <nl> AggregateFunctionInstructions NO_INLINE Aggregator : : prepareBlockForAggregation ( C <nl> } <nl> } <nl> <nl> - AggregateFunctionInstructions aggregate_functions_instructions ( params . aggregates_size + 1 ) ; <nl> + aggregate_functions_instructions . resize ( params . aggregates_size + 1 ) ; <nl> aggregate_functions_instructions [ params . aggregates_size ] . that = nullptr ; <nl> <nl> std : : vector < std : : vector < const IColumn * > > nested_columns_holder ; <nl> AggregateFunctionInstructions NO_INLINE Aggregator : : prepareBlockForAggregation ( C <nl> <nl> aggregate_functions_instructions [ i ] . arguments = aggregate_columns [ i ] . data ( ) ; <nl> aggregate_functions_instructions [ i ] . state_offset = offsets_of_aggregate_states [ i ] ; <nl> - auto that = aggregate_functions [ i ] ; <nl> + auto * that = aggregate_functions [ i ] ; <nl> <nl> / / / Unnest consecutive trailing - State combinators <nl> - while ( auto func = typeid_cast < const AggregateFunctionState * > ( that ) ) <nl> + while ( const auto * func = typeid_cast < const AggregateFunctionState * > ( that ) ) <nl> that = func - > getNestedFunction ( ) . get ( ) ; <nl> <nl> aggregate_functions_instructions [ i ] . that = that ; <nl> aggregate_functions_instructions [ i ] . func = that - > getAddressOfAddFunction ( ) ; <nl> <nl> - if ( auto func = typeid_cast < const AggregateFunctionArray * > ( that ) ) <nl> + if ( const auto * func = typeid_cast < const AggregateFunctionArray * > ( that ) ) <nl> { <nl> / / / Unnest consecutive - State combinators before - Array <nl> that = func - > getNestedFunction ( ) . get ( ) ; <nl> - while ( auto nested_func = typeid_cast < const AggregateFunctionState * > ( that ) ) <nl> + while ( const auto * nested_func = typeid_cast < const AggregateFunctionState * > ( that ) ) <nl> that = nested_func - > getNestedFunction ( ) . get ( ) ; <nl> <nl> auto [ nested_columns , offsets ] = checkAndGetNestedArrayOffset ( aggregate_columns [ i ] . data ( ) , that - > getArgumentTypes ( ) . size ( ) ) ; <nl> AggregateFunctionInstructions NO_INLINE Aggregator : : prepareBlockForAggregation ( C <nl> <nl> aggregate_functions_instructions [ i ] . batch_that = that ; <nl> } <nl> - <nl> - return aggregate_functions_instructions ; <nl> } <nl> <nl> bool Aggregator : : executeOnBlock ( Columns columns , UInt64 num_rows , AggregatedDataVariants & result , <nl> bool Aggregator : : executeOnBlock ( Columns columns , UInt64 num_rows , AggregatedData <nl> if ( isCancelled ( ) ) <nl> return true ; <nl> <nl> - for ( size_t i = 0 ; i < params . aggregates_size ; + + i ) <nl> - aggregate_columns [ i ] . resize ( params . aggregates [ i ] . arguments . size ( ) ) ; <nl> - <nl> / * * Constant columns are not supported directly during aggregation . <nl> * To make them work anyway , we materialize them . <nl> * / <nl> Columns materialized_columns ; <nl> + AggregateFunctionInstructions aggregate_functions_instructions ; <nl> <nl> - / / / Remember the columns we will work with <nl> - for ( size_t i = 0 ; i < params . keys_size ; + + i ) <nl> - { <nl> - materialized_columns . push_back ( columns . at ( params . keys [ i ] ) - > convertToFullColumnIfConst ( ) ) ; <nl> - key_columns [ i ] = materialized_columns . back ( ) . get ( ) ; <nl> - <nl> - if ( ! result . isLowCardinality ( ) ) <nl> - { <nl> - auto column_no_lc = recursiveRemoveLowCardinality ( key_columns [ i ] - > getPtr ( ) ) ; <nl> - if ( column_no_lc . get ( ) ! = key_columns [ i ] ) <nl> - { <nl> - materialized_columns . emplace_back ( std : : move ( column_no_lc ) ) ; <nl> - key_columns [ i ] = materialized_columns . back ( ) . get ( ) ; <nl> - } <nl> - } <nl> - } <nl> - <nl> - AggregateFunctionInstructions aggregate_functions_instructions ( params . aggregates_size + 1 ) ; <nl> - aggregate_functions_instructions [ params . aggregates_size ] . that = nullptr ; <nl> - <nl> - std : : vector < std : : vector < const IColumn * > > nested_columns_holder ; <nl> - for ( size_t i = 0 ; i < params . aggregates_size ; + + i ) <nl> - { <nl> - for ( size_t j = 0 ; j < aggregate_columns [ i ] . size ( ) ; + + j ) <nl> - { <nl> - materialized_columns . push_back ( columns . at ( params . aggregates [ i ] . arguments [ j ] ) - > convertToFullColumnIfConst ( ) ) ; <nl> - aggregate_columns [ i ] [ j ] = materialized_columns . back ( ) . get ( ) ; <nl> - <nl> - auto column_no_lc = recursiveRemoveLowCardinality ( aggregate_columns [ i ] [ j ] - > getPtr ( ) ) ; <nl> - if ( column_no_lc . get ( ) ! = aggregate_columns [ i ] [ j ] ) <nl> - { <nl> - materialized_columns . emplace_back ( std : : move ( column_no_lc ) ) ; <nl> - aggregate_columns [ i ] [ j ] = materialized_columns . back ( ) . get ( ) ; <nl> - } <nl> - } <nl> - <nl> - aggregate_functions_instructions [ i ] . arguments = aggregate_columns [ i ] . data ( ) ; <nl> - aggregate_functions_instructions [ i ] . state_offset = offsets_of_aggregate_states [ i ] ; <nl> - auto * that = aggregate_functions [ i ] ; <nl> - / / / Unnest consecutive trailing - State combinators <nl> - while ( const auto * func = typeid_cast < const AggregateFunctionState * > ( that ) ) <nl> - that = func - > getNestedFunction ( ) . get ( ) ; <nl> - aggregate_functions_instructions [ i ] . that = that ; <nl> - aggregate_functions_instructions [ i ] . func = that - > getAddressOfAddFunction ( ) ; <nl> - <nl> - if ( const auto * func = typeid_cast < const AggregateFunctionArray * > ( that ) ) <nl> - { <nl> - / / / Unnest consecutive - State combinators before - Array <nl> - that = func - > getNestedFunction ( ) . get ( ) ; <nl> - while ( const auto * nested_func = typeid_cast < const AggregateFunctionState * > ( that ) ) <nl> - that = nested_func - > getNestedFunction ( ) . get ( ) ; <nl> - auto [ nested_columns , offsets ] = checkAndGetNestedArrayOffset ( aggregate_columns [ i ] . data ( ) , that - > getArgumentTypes ( ) . size ( ) ) ; <nl> - nested_columns_holder . push_back ( std : : move ( nested_columns ) ) ; <nl> - aggregate_functions_instructions [ i ] . batch_arguments = nested_columns_holder . back ( ) . data ( ) ; <nl> - aggregate_functions_instructions [ i ] . offsets = offsets ; <nl> - } <nl> - else <nl> - aggregate_functions_instructions [ i ] . batch_arguments = aggregate_columns [ i ] . data ( ) ; <nl> - <nl> - aggregate_functions_instructions [ i ] . batch_that = that ; <nl> - } <nl> + prepareKeysAndInstructions ( columns , result , key_columns , aggregate_columns , materialized_columns , aggregate_functions_instructions ) ; <nl> <nl> if ( isCancelled ( ) ) <nl> return true ; <nl> mmm a / src / Interpreters / Aggregator . h <nl> ppp b / src / Interpreters / Aggregator . h <nl> using AggregatedDataVariantsPtr = std : : shared_ptr < AggregatedDataVariants > ; <nl> using ManyAggregatedDataVariants = std : : vector < AggregatedDataVariantsPtr > ; <nl> using ManyAggregatedDataVariantsPtr = std : : shared_ptr < ManyAggregatedDataVariants > ; <nl> <nl> - / * * This array serves two purposes . <nl> - * <nl> - * 1 . Function arguments are collected side by side , and they do not need to be collected from different places . Also the array is made zero - terminated . <nl> - * The inner loop ( for the case without_key ) is almost twice as compact ; performance gain of about 30 % . <nl> - * <nl> - * 2 . Calling a function by pointer is better than a virtual call , because in the case of a virtual call , <nl> - * GCC 5 . 1 . 2 generates code that , at each iteration of the loop , reloads the function address from memory into the register <nl> - * ( the offset value in the virtual function table ) . <nl> - * / <nl> - struct AggregateFunctionInstruction <nl> - { <nl> - const IAggregateFunction * that ; <nl> - IAggregateFunction : : AddFunc func ; <nl> - size_t state_offset ; <nl> - const IColumn * * arguments ; <nl> - const IAggregateFunction * batch_that ; <nl> - const IColumn * * batch_arguments ; <nl> - const UInt64 * offsets = nullptr ; <nl> - } ; <nl> - <nl> - using AggregateFunctionInstructions = std : : vector < AggregateFunctionInstruction > ; <nl> - <nl> / * * How are " total " values calculated with WITH TOTALS ? <nl> * ( For more details , see TotalsHavingBlockInputStream . ) <nl> * <nl> class Aggregator <nl> ColumnRawPtrs & key_columns , AggregateColumns & aggregate_columns , / / / Passed to not create them anew for each block <nl> bool & no_more_keys ) ; <nl> <nl> - AggregateFunctionInstructions prepareBlockForAggregation ( Columns & materialized_columns , Columns columns , AggregatedDataVariants & result , <nl> - ColumnRawPtrs & key_columns , AggregateColumns & aggregate_columns ) ; <nl> - <nl> / * * Convert the aggregation data structure into a block . <nl> * If overflow_row = true , then aggregates for rows that are not included in max_rows_to_group_by are put in the first block . <nl> * <nl> class Aggregator <nl> friend class ConvertingAggregatedToChunksTransform ; <nl> friend class ConvertingAggregatedToChunksSource ; <nl> friend class AggregatingInOrderTransform ; <nl> - <nl> Params params ; <nl> <nl> AggregatedDataVariants : : Type method_chosen ; <nl> class Aggregator <nl> <nl> AggregateFunctionsPlainPtrs aggregate_functions ; <nl> <nl> + / * * This array serves two purposes . <nl> + * <nl> + * 1 . Function arguments are collected side by side , and they do not need to be collected from different places . Also the array is made zero - terminated . <nl> + * The inner loop ( for the case without_key ) is almost twice as compact ; performance gain of about 30 % . <nl> + * <nl> + * 2 . Calling a function by pointer is better than a virtual call , because in the case of a virtual call , <nl> + * GCC 5 . 1 . 2 generates code that , at each iteration of the loop , reloads the function address from memory into the register <nl> + * ( the offset value in the virtual function table ) . <nl> + * / <nl> + struct AggregateFunctionInstruction <nl> + { <nl> + const IAggregateFunction * that ; <nl> + IAggregateFunction : : AddFunc func ; <nl> + size_t state_offset ; <nl> + const IColumn * * arguments ; <nl> + const IAggregateFunction * batch_that ; <nl> + const IColumn * * batch_arguments ; <nl> + const UInt64 * offsets = nullptr ; <nl> + } ; <nl> + <nl> + using AggregateFunctionInstructions = std : : vector < AggregateFunctionInstruction > ; <nl> + <nl> Sizes offsets_of_aggregate_states ; / / / The offset to the n - th aggregate function in a row of aggregate functions . <nl> size_t total_size_of_aggregate_states = 0 ; / / / The total size of the row from the aggregate functions . <nl> <nl> class Aggregator <nl> * / <nl> bool checkLimits ( size_t result_size , bool & no_more_keys ) const ; <nl> <nl> + void prepareKeysAndInstructions ( <nl> + Columns columns , <nl> + AggregatedDataVariants & result , <nl> + ColumnRawPtrs & key_columns , <nl> + AggregateColumns & aggregate_columns , <nl> + Columns & materialized_columns , <nl> + AggregateFunctionInstructions & instructions ) ; <nl> + <nl> void fillAggregateColumnsWithSingleKey ( <nl> AggregatedDataVariants & data_variants , <nl> MutableColumns & final_aggregate_columns ) ; <nl> mmm a / src / Processors / Transforms / AggregatingInOrderTransform . cpp <nl> ppp b / src / Processors / Transforms / AggregatingInOrderTransform . cpp <nl> AggregatingInOrderTransform : : AggregatingInOrderTransform ( <nl> , many_data ( std : : make_shared < ManyAggregatedData > ( 1 ) ) <nl> , variants ( * many_data - > variants [ 0 ] ) <nl> { <nl> + / / std : : cerr < < " AggregatingInOrderTransform \ n " ; <nl> + <nl> Block res_header = params - > getHeader ( ) ; <nl> <nl> / / / Replace column names to column position in description_sorted . <nl> void AggregatingInOrderTransform : : consume ( Chunk chunk ) <nl> / / / So that key_columns could live longer xD <nl> / / / Need a better construction probably <nl> Columns materialized_columns ; <nl> + Aggregator : : AggregateFunctionInstructions aggregate_function_instructions ; <nl> <nl> - AggregateFunctionInstructions aggregate_function_instructions = <nl> - params - > aggregator . prepareBlockForAggregation ( materialized_columns , chunk . detachColumns ( ) , variants , key_columns , aggregate_columns ) ; <nl> + params - > aggregator . prepareKeysAndInstructions ( chunk . detachColumns ( ) , variants , key_columns , aggregate_columns , materialized_columns , aggregate_function_instructions ) ; <nl> <nl> / / std : : cerr < < " \ nPrepared block of size " < < rows < < " \ n " ; <nl> <nl> | removed some code duplication | ClickHouse/ClickHouse | 0883dd67d3d19681f2fc43c2e425238688ee822a | 2020-05-07T14:54:15Z |
mmm a / tensorflow / core / kernels / eigen_backward_spatial_convolutions . h <nl> ppp b / tensorflow / core / kernels / eigen_backward_spatial_convolutions . h <nl> namespace Eigen { <nl> * that the same order is used in the input , the kernel , and the output . <nl> * <nl> * / <nl> + # ifdef EIGEN_HAS_INDEX_LIST <nl> + typedef IndexList < type2index < 0 > , type2index < 0 > , type2index < 1 > , type2index < 1 > > <nl> + ReverseColMajor ; <nl> + typedef IndexList < type2index < 1 > , type2index < 1 > , type2index < 0 > , type2index < 0 > > <nl> + ReverseRowMajor ; <nl> + # else <nl> + typedef array < bool , 4 > ReverseColMajor ; <nl> + typedef array < bool , 4 > ReverseRowMajor ; <nl> + # endif <nl> + <nl> template < typename OutputBackward , typename Kernel > <nl> EIGEN_ALWAYS_INLINE static const typename internal : : conditional < <nl> internal : : traits < OutputBackward > : : Layout = = ColMajor , <nl> EIGEN_ALWAYS_INLINE static const typename internal : : conditional < <nl> const TensorShufflingOp < <nl> const array < <nl> typename internal : : traits < OutputBackward > : : Index , 4 > , <nl> - const TensorReverseOp < const array < bool , 4 > , <nl> + const TensorReverseOp < const ReverseColMajor , <nl> const Kernel > > > > , <nl> const TensorReshapingOp < <nl> const DSizes < typename internal : : traits < OutputBackward > : : Index , <nl> EIGEN_ALWAYS_INLINE static const typename internal : : conditional < <nl> const TensorShufflingOp < <nl> const array < <nl> typename internal : : traits < OutputBackward > : : Index , 4 > , <nl> - const TensorReverseOp < const array < bool , 4 > , <nl> + const TensorReverseOp < const ReverseRowMajor , <nl> const Kernel > > > > > > > : : type <nl> SpatialConvolutionBackwardInput ( <nl> const Kernel & kernel , const OutputBackward & output_backward , <nl> SpatialConvolutionBackwardInput ( <nl> / / TODO ( yangke ) : we can make things slightly faster by collapsing the <nl> / / dimensions <nl> / / where we don ' t reverse . Try that once we have a faster compiler . <nl> - array < bool , 4 > kernel_reverse ; <nl> + typedef typename internal : : conditional < isColMajor , ReverseColMajor , <nl> + ReverseRowMajor > : : type Reverse ; <nl> + Reverse kernel_reverse ; <nl> + <nl> + # ifndef EIGEN_HAS_INDEX_LIST <nl> if ( isColMajor ) { <nl> kernel_reverse [ 0 ] = false ; <nl> kernel_reverse [ 1 ] = false ; <nl> SpatialConvolutionBackwardInput ( <nl> kernel_reverse [ 2 ] = false ; <nl> kernel_reverse [ 3 ] = false ; <nl> } <nl> + # endif <nl> <nl> / / Reorder the dimensions to filters X patch_rows X patch_cols X channels <nl> array < TensorIndex , 4 > kernel_shuffle ; <nl> | Leverage index list to further speedup the computation of the convolution | tensorflow/tensorflow | 5a130818175ae5f9551012ecdb0f38854c1a72a3 | 2016-03-29T22:03:34Z |
mmm a / src / arm64 / assembler - arm64 . cc <nl> ppp b / src / arm64 / assembler - arm64 . cc <nl> void ConstPool : : RecordEntry ( intptr_t data , <nl> mode ! = RelocInfo : : STATEMENT_POSITION & & <nl> mode ! = RelocInfo : : CONST_POOL & & <nl> mode ! = RelocInfo : : VENEER_POOL & & <nl> - mode ! = RelocInfo : : CODE_AGE_SEQUENCE ) ; <nl> - <nl> + mode ! = RelocInfo : : CODE_AGE_SEQUENCE & & <nl> + mode ! = RelocInfo : : DEOPT_REASON ) ; <nl> uint64_t raw_data = static_cast < uint64_t > ( data ) ; <nl> int offset = assm_ - > pc_offset ( ) ; <nl> if ( IsEmpty ( ) ) { <nl> void Assembler : : RecordRelocInfo ( RelocInfo : : Mode rmode , intptr_t data ) { <nl> if ( ( ( rmode > = RelocInfo : : JS_RETURN ) & & <nl> ( rmode < = RelocInfo : : DEBUG_BREAK_SLOT ) ) | | <nl> ( rmode = = RelocInfo : : CONST_POOL ) | | <nl> - ( rmode = = RelocInfo : : VENEER_POOL ) ) { <nl> + ( rmode = = RelocInfo : : VENEER_POOL ) | | <nl> + ( rmode = = RelocInfo : : DEOPT_REASON ) ) { <nl> / / Adjust code for new modes . <nl> DCHECK ( RelocInfo : : IsDebugBreakSlot ( rmode ) <nl> | | RelocInfo : : IsJSReturn ( rmode ) <nl> | | RelocInfo : : IsComment ( rmode ) <nl> + | | RelocInfo : : IsDeoptReason ( rmode ) <nl> | | RelocInfo : : IsPosition ( rmode ) <nl> | | RelocInfo : : IsConstPool ( rmode ) <nl> | | RelocInfo : : IsVeneerPool ( rmode ) ) ; <nl> mmm a / src / assembler . h <nl> ppp b / src / assembler . h <nl> class RelocInfo { <nl> static inline bool IsVeneerPool ( Mode mode ) { <nl> return mode = = VENEER_POOL ; <nl> } <nl> + static inline bool IsDeoptReason ( Mode mode ) { <nl> + return mode = = DEOPT_REASON ; <nl> + } <nl> static inline bool IsPosition ( Mode mode ) { <nl> return mode = = POSITION | | mode = = STATEMENT_POSITION ; <nl> } <nl> | Fix for arm64 after v8 : r26448 | v8/v8 | 65b10efea162270520158ced8fd4c96fcf6fae0d | 2015-02-11T17:11:33Z |
mmm a / modules / perception / common / geometry / roi_filter_test . cc <nl> ppp b / modules / perception / common / geometry / roi_filter_test . cc <nl> <nl> <nl> # include " modules / perception / base / hdmap_struct . h " <nl> # include " modules / perception / base / object . h " <nl> - # include " modules / perception / base / point_cloud_types . h " <nl> + # include " modules / perception / base / point_cloud . h " <nl> <nl> namespace apollo { <nl> namespace perception { <nl> | Perception : fix build issue | ApolloAuto/apollo | 6427019dfeaaa48986ba50bb577505029863bf0e | 2018-09-25T22:08:38Z |
mmm a / modules / imgproc / src / color . cpp <nl> ppp b / modules / imgproc / src / color . cpp <nl> static bool ocl_cvtColor ( InputArray _src , OutputArray _dst , int code , int dcn ) <nl> CV_Assert ( scn = = 2 & & depth = = CV_8U ) ; <nl> <nl> k . create ( " YUV2RGB_422 " , ocl : : imgproc : : cvtcolor_oclsrc , <nl> - opts + format ( " - D dcn = % d - D bidx = % d - D uidx = % d - D yidx = % d " , dcn , bidx , uidx , yidx ) ) ; <nl> + opts + format ( " - D dcn = % d - D bidx = % d - D uidx = % d - D yidx = % d % s " , dcn , bidx , uidx , yidx , <nl> + src . offset % 4 = = 0 & & src . step % 4 = = 0 ? " - D USE_OPTIMIZED_LOAD " : " " ) ) ; <nl> break ; <nl> } <nl> case COLOR_BGR2YCrCb : <nl> mmm a / modules / imgproc / src / opencl / cvtcolor . cl <nl> ppp b / modules / imgproc / src / opencl / cvtcolor . cl <nl> __kernel void YUV2RGB_422 ( __global const uchar * srcptr , int src_step , int src_of <nl> { <nl> if ( y < rows ) <nl> { <nl> + __constant float * coeffs = c_YUV2RGBCoeffs_420 ; <nl> + <nl> + # ifndef USE_OPTIMIZED_LOAD <nl> float U = ( ( float ) src [ uidx ] ) - HALF_MAX ; <nl> float V = ( ( float ) src [ ( 2 + uidx ) % 4 ] ) - HALF_MAX ; <nl> + float y00 = max ( 0 . f , ( ( float ) src [ yidx ] ) - 16 . f ) * coeffs [ 0 ] ; <nl> + float y01 = max ( 0 . f , ( ( float ) src [ yidx + 2 ] ) - 16 . f ) * coeffs [ 0 ] ; <nl> + # else <nl> + int load_src = * ( ( __global int * ) src ) ; <nl> + float vec_src [ 4 ] = { load_src & 0xff , ( load_src > > 8 ) & 0xff , ( load_src > > 16 ) & 0xff , ( load_src > > 24 ) & 0xff } ; <nl> + float U = vec_src [ uidx ] - HALF_MAX ; <nl> + float V = vec_src [ ( 2 + uidx ) % 4 ] - HALF_MAX ; <nl> + float y00 = max ( 0 . f , vec_src [ yidx ] - 16 . f ) * coeffs [ 0 ] ; <nl> + float y01 = max ( 0 . f , vec_src [ yidx + 2 ] - 16 . f ) * coeffs [ 0 ] ; <nl> + # endif <nl> <nl> - __constant float * coeffs = c_YUV2RGBCoeffs_420 ; <nl> float ruv = fma ( coeffs [ 4 ] , V , 0 . 5f ) ; <nl> float guv = fma ( coeffs [ 3 ] , V , fma ( coeffs [ 2 ] , U , 0 . 5f ) ) ; <nl> float buv = fma ( coeffs [ 1 ] , U , 0 . 5f ) ; <nl> <nl> - float y00 = max ( 0 . f , ( ( float ) src [ yidx ] ) - 16 . f ) * coeffs [ 0 ] ; <nl> dst [ 2 - bidx ] = convert_uchar_sat ( y00 + ruv ) ; <nl> dst [ 1 ] = convert_uchar_sat ( y00 + guv ) ; <nl> dst [ bidx ] = convert_uchar_sat ( y00 + buv ) ; <nl> # if dcn = = 4 <nl> dst [ 3 ] = 255 ; <nl> # endif <nl> - float y01 = max ( 0 . f , ( ( float ) src [ yidx + 2 ] ) - 16 . f ) * coeffs [ 0 ] ; <nl> + <nl> dst [ dcn + 2 - bidx ] = convert_uchar_sat ( y01 + ruv ) ; <nl> dst [ dcn + 1 ] = convert_uchar_sat ( y01 + guv ) ; <nl> dst [ dcn + bidx ] = convert_uchar_sat ( y01 + buv ) ; <nl> | Added optimized loading to YUV2RGB_422 kernel | opencv/opencv | 643c906f3d79933480fcbebdbf16fc431bece1da | 2014-10-28T12:07:51Z |
mmm a / ports / taglib / CONTROL <nl> ppp b / ports / taglib / CONTROL <nl> <nl> Source : taglib <nl> - Version : 1 . 11 . 1 - 2 <nl> + Version : 1 . 11 . 1 - 3 <nl> Description : TagLib Audio Meta - Data Library <nl> Build - Depends : zlib <nl> \ No newline at end of file <nl> deleted file mode 100644 <nl> index 39557f74d49 . . 00000000000 <nl> mmm a / ports / taglib / dont - assume - latin - 1 . patch <nl> ppp / dev / null <nl> <nl> mmmmmm a / taglib / toolkit / tfilestream . cpp <nl> - ppp b / taglib / toolkit / tfilestream . cpp <nl> - namespace <nl> - if ( ! path . wstr ( ) . empty ( ) ) <nl> - return CreateFile2 ( path . wstr ( ) . c_str ( ) , access , FILE_SHARE_READ , OPEN_EXISTING , NULL ) ; <nl> - else if ( ! path . str ( ) . empty ( ) ) <nl> - - return CreateFile2 ( std : : wstring ( path . str ( ) . cbegin ( ) , path . str ( ) . end ( ) ) . c_str ( ) , access , FILE_SHARE_READ , OPEN_EXISTING , NULL ) ; <nl> - + { <nl> - + auto size = MultiByteToWideChar ( CP_ACP , MB_PRECOMPOSED , path . str ( ) . data ( ) , path . str ( ) . size ( ) , NULL , 0 ) ; <nl> - + std : : wstring tmp ( size , L ' \ 0 ' ) ; <nl> - + MultiByteToWideChar ( CP_ACP , MB_PRECOMPOSED , path . str ( ) . data ( ) , path . str ( ) . size ( ) , & tmp [ 0 ] , tmp . size ( ) ) ; <nl> - + return CreateFile2 ( tmp . c_str ( ) , access , FILE_SHARE_READ , OPEN_EXISTING , NULL ) ; <nl> - + } <nl> - else <nl> - return InvalidFileHandle ; <nl> - } <nl> mmm a / ports / taglib / portfile . cmake <nl> ppp b / ports / taglib / portfile . cmake <nl> <nl> include ( vcpkg_common_functions ) <nl> - set ( SOURCE_PATH $ { CURRENT_BUILDTREES_DIR } / src / taglib - 1 . 11 . 1 ) <nl> <nl> vcpkg_from_github ( <nl> OUT_SOURCE_PATH SOURCE_PATH <nl> REPO taglib / taglib <nl> - REF v1 . 11 . 1 <nl> - SHA512 7846775c4954ea948fe4383e514ba7c11f55d038ee06b6ea5a0a1c1069044b348026e76b27aa4ba1c71539aa8143e1401fab39184cc6e915ba0ae2c06133cb98 <nl> - HEAD_REF master <nl> + REF 662f340f933077a926de443c9882f483973570e3 <nl> + SHA512 34087f77bb099f1f8ec82926a212a562bf589fc13f54eac50a56730c4411af2f4dbf1b7d09877087899048c3070325aea02297c6a94d0ad43fbf6742363dd2b6 <nl> ) <nl> <nl> - if ( NOT VCPKG_USE_HEAD_VERSION ) # these have been fixed upstream after 1 . 11 . 1 <nl> - # patches for UWP <nl> - vcpkg_apply_patches ( <nl> - SOURCE_PATH $ { SOURCE_PATH } <nl> - PATCHES <nl> - $ { CMAKE_CURRENT_LIST_DIR } / replace_non - uwp_functions . patch <nl> - $ { CMAKE_CURRENT_LIST_DIR } / dont - assume - latin - 1 . patch <nl> - ) <nl> + if ( VCPKG_CMAKE_SYSTEM_NAME STREQUAL " WindowsStore " ) <nl> + set ( WINRT_OPTIONS - DHAVE_VSNPRINTF = 1 - DPLATFORM_WINRT ) <nl> endif ( ) <nl> <nl> vcpkg_configure_cmake ( <nl> SOURCE_PATH $ { SOURCE_PATH } <nl> PREFER_NINJA <nl> OPTIONS <nl> - - DHAVE_VSNPRINTF = 1 # taglib / ConfigureChecks . cmake doesn ' t properly detect MSVC vsnprintf ( ) on UWP <nl> + $ { WINRT_OPTIONS } <nl> ) <nl> <nl> vcpkg_install_cmake ( ) <nl> deleted file mode 100644 <nl> index 5f01672d53c . . 00000000000 <nl> mmm a / ports / taglib / replace_non - uwp_functions . patch <nl> ppp / dev / null <nl> <nl> mmmmmm a / taglib / toolkit / tfilestream . cpp <nl> - ppp b / taglib / toolkit / tfilestream . cpp <nl> - namespace <nl> - const DWORD access = readOnly ? GENERIC_READ : ( GENERIC_READ | GENERIC_WRITE ) ; <nl> - <nl> - if ( ! path . wstr ( ) . empty ( ) ) <nl> - - return CreateFileW ( path . wstr ( ) . c_str ( ) , access , FILE_SHARE_READ , NULL , OPEN_EXISTING , 0 , NULL ) ; <nl> - + return CreateFile2 ( path . wstr ( ) . c_str ( ) , access , FILE_SHARE_READ , OPEN_EXISTING , NULL ) ; <nl> - else if ( ! path . str ( ) . empty ( ) ) <nl> - - return CreateFileA ( path . str ( ) . c_str ( ) , access , FILE_SHARE_READ , NULL , OPEN_EXISTING , 0 , NULL ) ; <nl> - + return CreateFile2 ( std : : wstring ( path . str ( ) . cbegin ( ) , path . str ( ) . end ( ) ) . c_str ( ) , access , FILE_SHARE_READ , OPEN_EXISTING , NULL ) ; <nl> - else <nl> - return InvalidFileHandle ; <nl> - } <nl> - long FileStream : : length ( ) <nl> - # ifdef _WIN32 <nl> - <nl> - SetLastError ( NO_ERROR ) ; <nl> - - const DWORD fileSize = GetFileSize ( d - > file , NULL ) ; <nl> - + LARGE_INTEGER fileSize ; <nl> - + GetFileSizeEx ( d - > file , & fileSize ) ; <nl> - if ( GetLastError ( ) = = NO_ERROR ) { <nl> - - return static_cast < long > ( fileSize ) ; <nl> - + return fileSize . QuadPart ; <nl> - } <nl> - else { <nl> - debug ( " FileStream : : length ( ) - - Failed to get the file size . " ) ; <nl> | Fix TagLib port configuration under Win 7 and lower | microsoft/vcpkg | 5b05633220dee8335c10c2ca0c496e2d3dd6c403 | 2017-06-09T07:29:40Z |
mmm a / tensorflow / compiler / mlir / tools / kernel_gen / kernel_creator . cc <nl> ppp b / tensorflow / compiler / mlir / tools / kernel_gen / kernel_creator . cc <nl> Status AmendKernelLLVMIRWithStaticKnowledge ( mlir : : ModuleOp module ) { <nl> Status GenerateDeviceCode ( mlir : : ModuleOp module , <nl> llvm : : StringRef gpu_binary_attr_name , <nl> llvm : : ArrayRef < std : : string > architectures , <nl> - bool generate_fatbin , bool print_ptx ) { <nl> + bool generate_fatbin , bool print_ptx , <nl> + bool enable_ftz ) { <nl> mlir : : PassManager pm ( module . getContext ( ) ) ; <nl> applyTensorflowAndCLOptions ( pm ) ; <nl> <nl> Status GenerateDeviceCode ( mlir : : ModuleOp module , <nl> / / Remove debug information to ensure we do not create debug PTX . <nl> kernel_pm . addPass ( mlir : : createStripDebugInfoPass ( ) ) ; <nl> kernel_pm . addPass ( mlir : : kernel_gen : : transforms : : CreateGpuKernelToBlobPass ( <nl> - gpu_binary_attr_name , architectures , generate_fatbin , print_ptx ) ) ; <nl> + gpu_binary_attr_name , architectures , generate_fatbin , print_ptx , <nl> + enable_ftz ) ) ; <nl> <nl> return failed ( pm . run ( module ) ) <nl> ? InternalError ( " Generating device code failed . " ) <nl> StatusOr < mlir : : OwningModuleRef > GenerateKernelForTfCode ( <nl> llvm : : ArrayRef < std : : string > architectures , <nl> llvm : : ArrayRef < uint32_t > tile_sizes , <nl> llvm : : ArrayRef < uint32_t > unroll_factors , bool embed_memref_prints , <nl> - bool generate_fatbin , bool print_ptx ) { <nl> + bool generate_fatbin , bool print_ptx , bool enable_ftz ) { <nl> auto & registry = context . getDialectRegistry ( ) ; <nl> mlir : : RegisterAllTensorFlowDialects ( registry ) ; <nl> registry . insert < mlir : : chlo : : HloClientDialect , mlir : : mhlo : : MhloDialect > ( ) ; <nl> StatusOr < mlir : : OwningModuleRef > GenerateKernelForTfCode ( <nl> TF_RETURN_IF_ERROR ( AmendKernelLLVMIRWithStaticKnowledge ( module . get ( ) ) ) ; <nl> TF_RETURN_IF_ERROR ( GenerateDeviceCode ( module . get ( ) , kGpuBinaryAttrName , <nl> architectures , generate_fatbin , <nl> - print_ptx ) ) ; <nl> + print_ptx , enable_ftz ) ) ; <nl> TF_RETURN_IF_ERROR ( LowerHostSideToFinalForm ( module . get ( ) ) ) ; <nl> return module ; <nl> } <nl> mmm a / tensorflow / compiler / mlir / tools / kernel_gen / kernel_creator . h <nl> ppp b / tensorflow / compiler / mlir / tools / kernel_gen / kernel_creator . h <nl> xla : : StatusOr < mlir : : OwningModuleRef > GenerateKernelForTfCode ( <nl> llvm : : ArrayRef < uint32_t > tile_sizes = { 16 , 64 } , <nl> llvm : : ArrayRef < uint32_t > unroll_factors = { } , <nl> bool embed_memref_prints = false , bool generate_fatbin = true , <nl> - bool print_ptx = false ) ; <nl> + bool print_ptx = false , bool enable_ftz = false ) ; <nl> <nl> / / Extracts gpu_binary from the converted module . <nl> xla : : StatusOr < std : : string > ExtractGpuBinary ( mlir : : ModuleOp module ) ; <nl> mmm a / tensorflow / compiler / mlir / tools / kernel_gen / tf_to_kernel . cc <nl> ppp b / tensorflow / compiler / mlir / tools / kernel_gen / tf_to_kernel . cc <nl> xla : : Status Run ( llvm : : StringRef input_file , llvm : : StringRef output_file , <nl> llvm : : ArrayRef < std : : string > architectures , <nl> llvm : : ArrayRef < uint32_t > tile_sizes , <nl> llvm : : ArrayRef < uint32_t > unroll_factors , <nl> - bool embed_memref_prints , bool print_ptx ) { <nl> + bool embed_memref_prints , bool print_ptx , bool enable_ftz ) { <nl> / / Read TF code . <nl> std : : string tf_code ; <nl> TF_RETURN_IF_ERROR ( <nl> xla : : Status Run ( llvm : : StringRef input_file , llvm : : StringRef output_file , <nl> mlir : : OwningModuleRef module , <nl> GenerateKernelForTfCode ( context , tf_code , architectures , tile_sizes , <nl> unroll_factors , embed_memref_prints , <nl> - / * generate_fatbin = * / true , <nl> - / * print_ptx = * / print_ptx ) ) ; <nl> + / * generate_fatbin = * / true , print_ptx , enable_ftz ) ) ; <nl> / / Get binary . <nl> TF_ASSIGN_OR_RETURN ( std : : string binary , EmitToBinary ( * module ) ) ; <nl> <nl> int main ( int argc , char * * argv ) { <nl> " print - ptx " , <nl> llvm : : cl : : desc ( " Print generated PTX code per target architecture . " ) , <nl> llvm : : cl : : init ( false ) ) ; <nl> + llvm : : cl : : opt < bool > enable_ftz ( <nl> + " enable_ftz " , <nl> + llvm : : cl : : desc ( <nl> + " Enable the denormal flush to zero mode when generating code . " ) , <nl> + llvm : : cl : : init ( false ) ) ; <nl> llvm : : cl : : list < std : : string > architectures ( <nl> " arch " , llvm : : cl : : desc ( " target architectures ( e . g . sm_70 or compute_75 ) " ) , <nl> llvm : : cl : : OneOrMore , llvm : : cl : : CommaSeparated ) ; <nl> int main ( int argc , char * * argv ) { <nl> <nl> auto status = tensorflow : : kernel_gen : : Run ( <nl> input_file , output_file , architectures , tile_sizes , unroll_factors , <nl> - embed_memref_prints , print_ptx ) ; <nl> + embed_memref_prints , print_ptx , enable_ftz ) ; <nl> if ( ! status . ok ( ) ) { <nl> LOG ( ERROR ) < < status ; <nl> return 1 ; <nl> mmm a / tensorflow / compiler / mlir / tools / kernel_gen / transforms / gpu_kernel_to_blob_pass . cc <nl> ppp b / tensorflow / compiler / mlir / tools / kernel_gen / transforms / gpu_kernel_to_blob_pass . cc <nl> class GpuKernelToBlobPass <nl> public : <nl> GpuKernelToBlobPass ( mlir : : StringRef blob_annotation , <nl> llvm : : ArrayRef < std : : string > architectures , <nl> - bool generate_fatbin , bool print_ptx ) { <nl> + bool generate_fatbin , bool print_ptx , bool enable_ftz ) { <nl> if ( ! blob_annotation . empty ( ) ) { <nl> blob_annotation_ = blob_annotation . str ( ) ; <nl> } <nl> architectures_ = architectures ; <nl> generate_fatbin_ = generate_fatbin ; <nl> print_ptx_ = print_ptx ; <nl> + enable_ftz_ = enable_ftz ; <nl> } <nl> <nl> void runOnOperation ( ) override { <nl> class GpuKernelToBlobPass <nl> llvmModule - > setModuleIdentifier ( " acme " ) ; <nl> <nl> xla : : HloModuleConfig config ; <nl> - config . set_debug_options ( xla : : GetDebugOptionsFromFlags ( ) ) ; <nl> + xla : : DebugOptions options = xla : : GetDebugOptionsFromFlags ( ) ; <nl> + options . set_xla_gpu_ftz ( enable_ftz_ ) ; <nl> + config . set_debug_options ( options ) ; <nl> <nl> using AmdGpuHsaco = std : : vector < tensorflow : : uint8 > ; <nl> std : : vector < tensorflow : : se : : HsacoImage > images ; <nl> class GpuKernelToBlobPass <nl> llvmModule - > setDataLayout ( xla : : gpu : : nvptx : : kDataLayout ) ; <nl> <nl> xla : : HloModuleConfig config ; <nl> - config . set_debug_options ( xla : : GetDebugOptionsFromFlags ( ) ) ; <nl> + xla : : DebugOptions options = xla : : GetDebugOptionsFromFlags ( ) ; <nl> + options . set_xla_gpu_ftz ( enable_ftz_ ) ; <nl> + config . set_debug_options ( options ) ; <nl> <nl> auto enable_fusion = [ ] ( llvm : : TargetMachine * target ) { <nl> target - > Options . AllowFPOpFusion = llvm : : FPOpFusion : : FPOpFusionMode : : Fast ; <nl> class GpuKernelToBlobPass <nl> return InternalError ( <nl> " Can ' t find libdevice directory $ { CUDA_DIR } / nvvm / libdevice " ) ; <nl> } <nl> + bool enable_ftz_ ; <nl> } ; <nl> <nl> } / / namespace <nl> <nl> std : : unique_ptr < OperationPass < gpu : : GPUModuleOp > > CreateGpuKernelToBlobPass ( <nl> mlir : : StringRef blob_annotation , ArrayRef < std : : string > architectures , <nl> - bool generate_fatbin , bool print_ptx ) { <nl> - return std : : make_unique < GpuKernelToBlobPass > ( blob_annotation , architectures , <nl> - generate_fatbin , print_ptx ) ; <nl> + bool generate_fatbin , bool print_ptx , bool enable_ftz ) { <nl> + return std : : make_unique < GpuKernelToBlobPass > ( <nl> + blob_annotation , architectures , generate_fatbin , print_ptx , enable_ftz ) ; <nl> } <nl> <nl> } / / namespace transforms <nl> mmm a / tensorflow / compiler / mlir / tools / kernel_gen / transforms / passes . h <nl> ppp b / tensorflow / compiler / mlir / tools / kernel_gen / transforms / passes . h <nl> std : : unique_ptr < FunctionPass > CreateParallelLoopsToSequential ( ) ; <nl> std : : unique_ptr < OperationPass < gpu : : GPUModuleOp > > CreateGpuKernelToBlobPass ( <nl> mlir : : StringRef blob_annotation = { } , <nl> ArrayRef < std : : string > architectures = { } , bool generate_fatbin = true , <nl> - bool print_ptx = false ) ; <nl> + bool print_ptx = false , bool enable_ftz = false ) ; <nl> <nl> / / Pass to propagate tensorflow runtime ABI knowledge across kernel boundaries . <nl> std : : unique_ptr < FunctionPass > CreatePropagateTfAbiKnowledgeToKernels ( ) ; <nl> mmm a / tensorflow / core / kernels / mlir_generated / build_defs . bzl <nl> ppp b / tensorflow / core / kernels / mlir_generated / build_defs . bzl <nl> def _gen_kernel_fatbin_impl ( ctx ) : <nl> " - - arch = % s " % arch_flag , <nl> " - - input = % s " % ctx . file . mlir_op . path , <nl> " - - output = % s " % gpu_bin . path , <nl> + " - - enable_ftz = % s " % ( ctx . attr . data_type = = " f32 " ) , <nl> ] , <nl> mnemonic = " compile " , <nl> ) <nl> def _gen_kernel_fatbin_impl ( ctx ) : <nl> _gen_kernel_fatbin_rule = rule ( <nl> attrs = { <nl> " mlir_op " : attr . label ( mandatory = True , allow_single_file = True ) , <nl> + " data_type " : attr . string ( mandatory = True ) , <nl> " tile_size " : attr . string ( mandatory = True ) , <nl> " unroll_factors " : attr . string ( ) , <nl> " gpu_archs " : attr . string_list ( mandatory = True ) , <nl> def gen_kernel_library ( name , types , tile_size , tags = [ ] , unroll_factors = None , <nl> _gen_kernel_fatbin_rule ( <nl> name = " { name } _ { type } _kernel_generator " . format ( name = name , type = type ) , <nl> mlir_op = " { name } _ { type } . mlir " . format ( name = name , type = type ) , <nl> + data_type = type , <nl> gpu_archs = rocm_gpu_architectures ( ) if rocm_is_configured ( ) else cuda_gpu_architectures ( ) , <nl> tile_size = tile_size , <nl> unroll_factors = unroll_factors , <nl> | Enable denormal - fp - math - f32 mode for f32 kernels . | tensorflow/tensorflow | 800a3b1fb40f0b2fc83e01ca0aa528786cc2dc42 | 2020-12-17T12:51:43Z |
mmm a / hphp / runtime / base / object - data . cpp <nl> ppp b / hphp / runtime / base / object - data . cpp <nl> bool ObjectData : : toBooleanImpl ( ) const noexcept { <nl> if ( instanceof ( SimpleXMLElement_classof ( ) ) ) { <nl> / / SimpleXMLElement is the only non - collection class that has custom bool <nl> / / casting . <nl> + if ( RuntimeOption : : EvalNoticeOnSimpleXMLBehavior ) { <nl> + raise_notice ( " SimpleXMLElement to boolean cast " ) ; <nl> + } <nl> return SimpleXMLElement_objectCast ( this , KindOfBoolean ) . toBoolean ( ) ; <nl> } <nl> <nl> bool ObjectData : : toBooleanImpl ( ) const noexcept { <nl> int64_t ObjectData : : toInt64Impl ( ) const noexcept { <nl> / / SimpleXMLElement is the only class that has proper custom int casting . <nl> assertx ( instanceof ( SimpleXMLElement_classof ( ) ) ) ; <nl> + if ( RuntimeOption : : EvalNoticeOnSimpleXMLBehavior ) { <nl> + raise_notice ( " SimpleXMLElement to integer cast " ) ; <nl> + } <nl> return SimpleXMLElement_objectCast ( this , KindOfInt64 ) . toInt64 ( ) ; <nl> } <nl> <nl> double ObjectData : : toDoubleImpl ( ) const noexcept { <nl> / / SimpleXMLElement is the only class that has custom double casting . <nl> assertx ( instanceof ( SimpleXMLElement_classof ( ) ) ) ; <nl> + if ( RuntimeOption : : EvalNoticeOnSimpleXMLBehavior ) { <nl> + raise_notice ( " SimpleXMLElement to double cast " ) ; <nl> + } <nl> return SimpleXMLElement_objectCast ( this , KindOfDouble ) . toDouble ( ) ; <nl> } <nl> <nl> Object ObjectData : : iterableObject ( bool & isIterable , <nl> obj . reset ( o ) ; <nl> } <nl> if ( ! isIterator ( ) & & obj - > instanceof ( SimpleXMLElement_classof ( ) ) ) { <nl> + if ( RuntimeOption : : EvalNoticeOnSimpleXMLBehavior ) { <nl> + raise_notice ( " SimpleXMLElement used as iterator " ) ; <nl> + } <nl> isIterable = true ; <nl> return create_object ( <nl> s_SimpleXMLElementIterator , <nl> Array ObjectData : : toArray ( bool pubOnly / * = false * / , <nl> / / If we end up with other classes that need special behavior , turn the <nl> / / assert into an if and add cases . <nl> assertx ( instanceof ( SimpleXMLElement_classof ( ) ) ) ; <nl> + if ( RuntimeOption : : EvalNoticeOnSimpleXMLBehavior ) { <nl> + raise_notice ( " SimpleXMLElement to array cast " ) ; <nl> + } <nl> return SimpleXMLElement_objectCast ( this , KindOfArray ) . toArray ( ) ; <nl> } else if ( UNLIKELY ( instanceof ( SystemLib : : s_ArrayObjectClass ) ) | | <nl> UNLIKELY ( instanceof ( SystemLib : : s_ArrayIteratorClass ) ) ) { <nl> bool ObjectData : : equal ( const ObjectData & other ) const { <nl> } <nl> if ( getVMClass ( ) ! = other . getVMClass ( ) ) return false ; <nl> if ( UNLIKELY ( instanceof ( SimpleXMLElement_classof ( ) ) ) ) { <nl> + if ( RuntimeOption : : EvalNoticeOnSimpleXMLBehavior ) { <nl> + raise_notice ( " SimpleXMLElement equality comparison " ) ; <nl> + } <nl> / / Compare the whole object ( including native data ) , not just props <nl> auto ar1 = SimpleXMLElement_objectCast ( this , KindOfArray ) . toArray ( ) ; <nl> auto ar2 = SimpleXMLElement_objectCast ( & other , KindOfArray ) . toArray ( ) ; <nl> int64_t ObjectData : : compare ( const ObjectData & other ) const { <nl> / / Return 1 for different classes to match PHP7 behavior . <nl> if ( getVMClass ( ) ! = other . getVMClass ( ) ) return 1 ; <nl> if ( UNLIKELY ( instanceof ( SimpleXMLElement_classof ( ) ) ) ) { <nl> + if ( RuntimeOption : : EvalNoticeOnSimpleXMLBehavior ) { <nl> + raise_notice ( " SimpleXMLElement comparison " ) ; <nl> + } <nl> / / Compare the whole object ( including native data ) , not just props <nl> auto ar1 = SimpleXMLElement_objectCast ( this , KindOfArray ) . toArray ( ) ; <nl> auto ar2 = SimpleXMLElement_objectCast ( & other , KindOfArray ) . toArray ( ) ; <nl> bool ObjectData : : propEmpty ( const Class * ctx , const StringData * key ) { <nl> / / We only get here for SimpleXMLElement or collections <nl> if ( LIKELY ( ! isCollection ( ) ) ) { <nl> assertx ( instanceof ( SimpleXMLElement_classof ( ) ) ) ; <nl> + if ( RuntimeOption : : EvalNoticeOnSimpleXMLBehavior ) { <nl> + raise_notice ( " SimpleXMLElement empty ( ) property check " ) ; <nl> + } <nl> return SimpleXMLElement_propEmpty ( this , key ) ; <nl> } <nl> } <nl> mmm a / hphp / runtime / base / runtime - option . h <nl> ppp b / hphp / runtime / base / runtime - option . h <nl> struct RuntimeOption { <nl> / * Raise warning when strings are used as classes . * / \ <nl> F ( bool , RaiseStrToClsConversionWarning , false ) \ <nl> F ( bool , NoticeOnCollectionToBool , false ) \ <nl> + F ( bool , NoticeOnSimpleXMLBehavior , false ) \ <nl> / * \ <nl> * Control dynamic calls to functions and dynamic constructs of \ <nl> * classes which haven ' t opted into being called that way . \ <nl> new file mode 100644 <nl> index 00000000000 . . 19c8ff07c34 <nl> mmm / dev / null <nl> ppp b / hphp / test / slow / simple_xml / notices . php <nl> <nl> + < ? hh <nl> + <nl> + < < __EntryPoint > > <nl> + function main ( ) { <nl> + $ config = simplexml_load_string ( ' < config > < prepare / > < / config > ' ) ; <nl> + $ config2 = simplexml_load_string ( ' < config > < prepare2 / > < / config > ' ) ; <nl> + <nl> + / / bool , array , int , double cast <nl> + var_dump ( ( bool ) $ config ) ; <nl> + var_dump ( ( array ) $ config ) ; <nl> + var_dump ( ( int ) $ config ) ; <nl> + var_dump ( ( double ) $ config ) ; <nl> + <nl> + / / empty ( ) <nl> + var_dump ( empty ( $ config - > prepare ) ) ; <nl> + var_dump ( empty ( $ config - > does_not_exist ) ) ; <nl> + <nl> + / / iterator <nl> + foreach ( $ config as $ c ) { <nl> + var_dump ( $ c ) ; <nl> + } <nl> + <nl> + / / comparisons <nl> + var_dump ( $ config < $ config2 ) ; <nl> + var_dump ( $ config > $ config2 ) ; <nl> + var_dump ( $ config < = $ config2 ) ; <nl> + var_dump ( $ config > = $ config2 ) ; <nl> + <nl> + / / equality <nl> + var_dump ( $ config = = $ config2 ) ; <nl> + } <nl> new file mode 100644 <nl> index 00000000000 . . 8e4552c4d84 <nl> mmm / dev / null <nl> ppp b / hphp / test / slow / simple_xml / notices . php . expectf <nl> <nl> + <nl> + Notice : SimpleXMLElement to boolean cast in % s / notices . php on line 9 <nl> + bool ( true ) <nl> + <nl> + Notice : SimpleXMLElement to array cast in % s / notices . php on line 10 <nl> + <nl> + Notice : SimpleXMLElement to array cast in % s / notices . php on line 10 <nl> + array ( 1 ) { <nl> + [ " prepare " ] = > <nl> + object ( SimpleXMLElement ) # 3 ( 0 ) { <nl> + } <nl> + } <nl> + <nl> + Notice : SimpleXMLElement to integer cast in % s / notices . php on line 11 <nl> + int ( 0 ) <nl> + <nl> + Notice : SimpleXMLElement to double cast in % s / notices . php on line 12 <nl> + float ( 0 ) <nl> + <nl> + Notice : SimpleXMLElement empty ( ) property check in % s / notices . php on line 15 <nl> + bool ( true ) <nl> + <nl> + Notice : SimpleXMLElement empty ( ) property check in % s / notices . php on line 16 <nl> + bool ( true ) <nl> + <nl> + Notice : SimpleXMLElement used as iterator in % s / notices . php on line 19 <nl> + <nl> + Notice : SimpleXMLElement to array cast in % s / notices . php on line 20 <nl> + object ( SimpleXMLElement ) # 4 ( 0 ) { <nl> + } <nl> + <nl> + Notice : SimpleXMLElement comparison in % s / notices . php on line 24 <nl> + bool ( false ) <nl> + <nl> + Notice : SimpleXMLElement comparison in % s / notices . php on line 25 <nl> + bool ( false ) <nl> + <nl> + Notice : SimpleXMLElement comparison in % s / notices . php on line 26 <nl> + bool ( false ) <nl> + <nl> + Notice : SimpleXMLElement comparison in % s / notices . php on line 27 <nl> + bool ( false ) <nl> + <nl> + Notice : SimpleXMLElement equality comparison in % s / notices . php on line 30 <nl> + bool ( false ) <nl> new file mode 100644 <nl> index 00000000000 . . 8f3e122fed0 <nl> mmm / dev / null <nl> ppp b / hphp / test / slow / simple_xml / notices . php . opts <nl> @ @ - 0 , 0 + 1 @ @ <nl> + - vEval . NoticeOnSimpleXMLBehavior = 1 <nl> | Add notices for SimpleXMLElement ObjectData operations | facebook/hhvm | 68aa4d569f1eea4c34c6ba5d4c50242187984269 | 2019-02-26T06:25:34Z |
mmm a / include / swift / AST / Types . h <nl> ppp b / include / swift / AST / Types . h <nl> class alignas ( 1 < < TypeAlignInBits ) TypeBase { <nl> NumProtocols : 16 <nl> ) ; <nl> <nl> - SWIFT_INLINE_BITFIELD_FULL ( TypeVariableType , TypeBase , 64 - NumTypeBaseBits , <nl> + SWIFT_INLINE_BITFIELD_FULL ( TypeVariableType , TypeBase , 20 + 4 + 20 , <nl> / / / The unique number assigned to this type variable . <nl> ID : 20 , <nl> <nl> | [ AST ] Explicitly specify number of extra bits type variable type is using | apple/swift | 00f426de487973005300a82fcba12db2bcf29e54 | 2019-06-21T22:17:33Z |
mmm a / atom / browser / api / atom_api_auto_updater . cc <nl> ppp b / atom / browser / api / atom_api_auto_updater . cc <nl> void AutoUpdater : : SetFeedURL ( mate : : Arguments * args ) { <nl> } <nl> <nl> void AutoUpdater : : QuitAndInstall ( ) { <nl> + Emit ( " before - quit - for - update " ) ; <nl> + <nl> / / If we don ' t have any window then quitAndInstall immediately . <nl> if ( WindowList : : IsEmpty ( ) ) { <nl> auto_updater : : AutoUpdater : : QuitAndInstall ( ) ; <nl> mmm a / atom / common / api / atom_api_clipboard . cc <nl> ppp b / atom / common / api / atom_api_clipboard . cc <nl> <nl> # include " third_party / skia / include / core / SkBitmap . h " <nl> # include " third_party / skia / include / core / SkImageInfo . h " <nl> # include " third_party / skia / include / core / SkPixmap . h " <nl> - # include " third_party / skia / tools / sk_tool_utils . h " <nl> # include " ui / base / clipboard / scoped_clipboard_writer . h " <nl> <nl> # include " atom / common / node_includes . h " <nl> <nl> + namespace sk_tool_utils { <nl> + bool copy_to ( SkBitmap * dst , SkColorType dstCT , const SkBitmap & src ) ; <nl> + } <nl> + <nl> namespace atom { <nl> <nl> namespace api { <nl> void Clipboard : : WriteImage ( const gfx : : Image & image , mate : : Arguments * args ) { <nl> SkBitmap orig = image . AsBitmap ( ) ; <nl> SkBitmap bmp ; <nl> <nl> - if ( sk_tool_utils : : copy_to ( & bmp , orig . colorType ( ) , & orig ) ) { <nl> + if ( sk_tool_utils : : copy_to ( & bmp , orig . colorType ( ) , orig ) ) { <nl> writer . WriteImage ( bmp ) ; <nl> } else { <nl> writer . WriteImage ( orig ) ; <nl> mmm a / common . gypi <nl> ppp b / common . gypi <nl> <nl> ' < ( libchromiumcontent_src_dir ) ' , <nl> ' < ( libchromiumcontent_src_dir ) / third_party / icu / source / common ' , <nl> ' < ( libchromiumcontent_src_dir ) / third_party / icu / source / i18n ' , <nl> - ' < ( libchromiumcontent_src_dir ) / third_party / skia / include / utils ' , <nl> - ' < ( libchromiumcontent_src_dir ) / third_party / skia / include / private ' , <nl> ' < ( libchromiumcontent_src_dir ) / v8 ' , <nl> ' < ( libchromiumcontent_src_dir ) / v8 / include ' , <nl> ] , <nl> | pull up definition and remove include | electron/electron | 1727a9eca999a010dd9b43e6c8348f7c525aa084 | 2018-04-15T01:23:05Z |
mmm a / plugins / state_history_plugin / state_history_plugin_abi . cpp <nl> ppp b / plugins / state_history_plugin / state_history_plugin_abi . cpp <nl> extern const char * const state_history_plugin_abi = R " ( { <nl> { " name " : " elapsed " , " type " : " int64 " } , <nl> { " name " : " console " , " type " : " string " } , <nl> { " name " : " account_ram_deltas " , " type " : " account_delta [ ] " } , <nl> - { " name " : " except " , " type " : " string ? " } , <nl> + { " name " : " except " , " type " : " string ? " } <nl> ] <nl> } , <nl> { <nl> | remove trailing comma from action_trace_v0 ABI of state_history_plugin | EOSIO/eos | 164a8dd6b1d439d9519c674869e8164d262a4234 | 2019-04-08T23:18:36Z |
mmm a / src / btree / leaf_node . hpp <nl> ppp b / src / btree / leaf_node . hpp <nl> class value_fits_fscker_t : public value_fscker_t < V > { <nl> template < class V > <nl> bool fsck ( value_sizer_t < V > * sizer , const leaf_node_t * node , value_fscker_t < V > * fscker , std : : string * msg_out ) { <nl> <nl> + struct { <nl> + std : : string * msg_out ; <nl> + bool operator ( ) ( bool test , const char * msg ) { <nl> + if ( ! test ) * msg_out = msg ; <nl> + return ! test ; <nl> + } <nl> + } failed ; <nl> + failed . msg_out = msg_out ; <nl> + <nl> / / We check that all offsets are contiguous ( with interspersed <nl> / / skip entries ) between frontmost and block_size , that frontmost <nl> / / is the smallest offset , that live_size is correct , that we have <nl> bool fsck ( value_sizer_t < V > * sizer , const leaf_node_t * node , value_fscker_t < V > * f <nl> / / is not before the end of pair_offsets <nl> <nl> / / Basic sanity checks on fields ' values . <nl> - RETHINKDB_BTREE_LEAF_FSCK_CHECK ( node - > magic = = sizer - > btree_leaf_magic ( ) ) ; <nl> - RETHINKDB_BTREE_LEAF_FSCK_CHECK ( node - > frontmost > = offsetof ( leaf_node_t , pair_offsets ) + node - > num_pairs * sizeof ( uint16_t ) ) ; <nl> - RETHINKDB_BTREE_LEAF_FSCK_CHECK ( node - > live_size < = ( sizer - > block_size ( ) . value ( ) - node - > frontmost ) + sizeof ( uint16_t ) * node - > num_pairs ) ; <nl> - RETHINKDB_BTREE_LEAF_FSCK_CHECK ( node - > frontmost < = node - > tstamp_cutpoint ) ; <nl> - RETHINKDB_BTREE_LEAF_FSCK_CHECK ( node - > tstamp_cutpoint < = sizer - > block_size ( ) . value ( ) ) ; <nl> + if ( failed ( node - > magic = = sizer - > btree_leaf_magic ( ) , <nl> + " bad leaf magic " ) <nl> + | | failed ( node - > frontmost > = offsetof ( leaf_node_t , pair_offsets ) + node - > num_pairs * sizeof ( uint16_t ) , <nl> + " frontmost offset is before the end of pair_offsets " ) <nl> + | | failed ( node - > live_size > ( sizer - > block_size ( ) . value ( ) - node - > frontmost ) + sizeof ( uint16_t ) * node - > num_pairs , <nl> + " live_size is impossibly large " ) <nl> + | | failed ( node - > tstamp_cutpoint > = node - > frontmost , <nl> + " timestamp cut offset below frontmost offset " ) <nl> + | | failed ( node - > tstamp_cutpoint < = sizer - > block_size ( ) . value ( ) , <nl> + " timestamp cut offset larger than block size " ) <nl> + ) { <nl> + return false ; <nl> + } <nl> <nl> / / sizeof ( offs ) is guaranteed to be less than the block_size ( ) thanks to assertions above . <nl> uint16_t offs [ node - > num_pairs ] ; <nl> bool fsck ( value_sizer_t < V > * sizer , const leaf_node_t * node , value_fscker_t < V > * f <nl> <nl> std : : sort ( offs , offs + node - > num_pairs ) ; <nl> <nl> - RETHINKDB_BTREE_LEAF_FSCK_CHECK ( node - > num_pairs = = 0 | | node - > frontmost < = offs [ 0 ] ) ; <nl> - RETHINKDB_BTREE_LEAF_FSCK_CHECK ( node - > num_pairs = = 0 | | offs [ node - > num_pairs - 1 ] < sizer - > block_size ( ) . value ( ) ) ; <nl> + if ( failed ( node - > num_pairs = = 0 | | node - > frontmost < = offs [ 0 ] , <nl> + " smallest pair offset is before frontmost offset " ) <nl> + | | failed ( node - > num_pairs = = 0 | | offs [ node - > num_pairs - 1 ] < sizer - > block_size ( ) . value ( ) , <nl> + " largest pair offset is larger than block size " ) <nl> + ) { <nl> + return false ; <nl> + } <nl> <nl> entry_iter_t iter = entry_iter_t : : make ( node ) ; <nl> <nl> | Part way through the hardening of leaf : : fsck . | rethinkdb/rethinkdb | 32c40d435c8a111f0fcb0f809a45e24240359ca3 | 2011-08-11T22:02:49Z |
mmm a / Source / Common / BestGpu . cpp <nl> ppp b / Source / Common / BestGpu . cpp <nl> <nl> / / <nl> <nl> # define _CRT_SECURE_NO_WARNINGS / / " secure " CRT not available on all platforms - - add this at the top of all CPP files that give " function or variable may be unsafe " warnings <nl> + # include " Basics . h " <nl> # include " Platform . h " <nl> # include " BestGpu . h " <nl> # include " Config . h " / / for ConfigParameters <nl> struct ProcessorData <nl> cudaDeviceProp deviceProp ; <nl> size_t cudaFreeMem ; <nl> size_t cudaTotalMem ; <nl> - bool dbnFound ; <nl> - bool cnFound ; <nl> + bool cntkFound ; <nl> int deviceId ; / / the deviceId ( cuda side ) for this processor <nl> } ; <nl> <nl> std : : vector < int > BestGpu : : GetDevices ( int number , BestGpuFlags p_bestFlags ) <nl> if ( ! pd - > deviceProp . tccDriver | | pd - > memory . total = = 0 ) <nl> mem = pd - > cudaFreeMem / ( double ) pd - > cudaTotalMem ; <nl> score + = mem * freeMemW ; <nl> - score + = ( ( pd - > cnFound | | pd - > dbnFound ) ? 0 : 1 ) * mlAppRunningW ; <nl> + score + = ( pd - > cntkFound ? 0 : 1 ) * mlAppRunningW ; <nl> for ( int i = 0 ; i < best . size ( ) ; i + + ) <nl> { <nl> / / look for a better score <nl> void BestGpu : : QueryNvmlData ( ) <nl> { <nl> return ; <nl> } <nl> - bool cnFound = false ; <nl> - bool dbnFound = false ; <nl> + bool cntkFound = false ; <nl> for ( nvmlProcessInfo_t info : processInfo ) <nl> { <nl> std : : string name ; <nl> void BestGpu : : QueryNvmlData ( ) <nl> name = name . substr ( pos + 1 ) ; <nl> if ( GetCurrentProcessId ( ) = = info . pid | | name . length ( ) = = 0 ) <nl> continue ; <nl> - cnFound = ( cnFound | | ( ! name . compare ( " cn . exe " ) ) ) ; <nl> - dbnFound = ( dbnFound | | ( ! name . compare ( " dbn . exe " ) ) ) ; <nl> + cntkFound = cntkFound | | ! name . compare ( " cntk . exe " ) <nl> + | | ! name . compare ( " cn . exe " ) | | ! name . compare ( " dbn . exe " ) ; / / MS - proprietary legacy tools - - TODO : do we need a case - insensitive comparison here ? <nl> } <nl> / / set values to save <nl> - curPd - > cnFound = cnFound ; <nl> - curPd - > dbnFound = dbnFound ; <nl> + curPd - > cntkFound = cntkFound ; <nl> } <nl> } <nl> m_nvmlData = true ; <nl> mmm a / Source / ComputationNetworkLib / ComputationNetwork . cpp <nl> ppp b / Source / ComputationNetworkLib / ComputationNetwork . cpp <nl> void ComputationNetwork : : SaveToFileImpl ( const wstring & fileName , const FileOptio <nl> } <nl> fstream . PutMarker ( FileMarker : : fileMarkerEndSection , L " EOutputNodes " ) ; <nl> <nl> - if ( m_pairNodes . size ( ) > 0 ) <nl> - { <nl> - fstream . PutMarker ( FileMarker : : fileMarkerBeginSection , L " BPairNodes " ) ; <nl> - <nl> - fstream < < m_pairNodes . size ( ) ; <nl> - for ( size_t i = 0 ; i < m_pairNodes . size ( ) ; i + + ) <nl> - fstream < < m_pairNodes [ i ] - > NodeName ( ) ; <nl> - fstream . PutMarker ( FileMarker : : fileMarkerEndSection , L " EPairNodes " ) ; <nl> - } <nl> - <nl> fstream . PutMarker ( FileMarker : : fileMarkerEndSection , L " ERootNodes " ) ; <nl> <nl> fstream . PutMarker ( FileMarker : : fileMarkerEndSection , L " ECN " ) ; <nl> void ComputationNetwork : : ReadPersistableParameters ( File & fstream , bool create ) <nl> / / deserialize the model <nl> / / This does not post - process the model ( CompileNetwork ( ) ) . Use Load ( ) instead . <nl> template < class ElemType > <nl> - void ComputationNetwork : : Read ( const wstring & fileName , const FileOptions fileFormat , const bool / * bAllowNoCriterionNode - - unused * / , ComputationNetwork * anotherNetwork ) <nl> + void ComputationNetwork : : Read ( const wstring & fileName ) <nl> { <nl> ClearNetwork ( ) ; <nl> <nl> - File fstream ( fileName , fileFormat | FileOptions : : fileOptionsRead ) ; <nl> + File fstream ( fileName , FileOptions : : fileOptionsBinary | FileOptions : : fileOptionsRead ) ; <nl> <nl> ReadPersistableParameters < ElemType > ( fstream , true ) ; <nl> <nl> void ComputationNetwork : : Read ( const wstring & fileName , const FileOptions fileFor <nl> vector < ComputationNodeBasePtr > childrenNodes ; <nl> childrenNodes . resize ( numChildren ) ; <nl> for ( int j = 0 ; j < numChildren ; j + + ) <nl> - childrenNodes [ j ] = GetNodeFromName ( childrenNames [ j ] , anotherNetwork ) ; <nl> + childrenNodes [ j ] = GetNodeFromName ( childrenNames [ j ] ) ; <nl> <nl> nodePtr - > AttachInputs ( childrenNodes ) ; <nl> } <nl> void ComputationNetwork : : Read ( const wstring & fileName , const FileOptions fileFor <nl> } <nl> } <nl> <nl> - / / TODO : this section is defunct , skip over <nl> + / / this section is for back compat only , skip over <nl> if ( fstream . TryGetMarker ( FileMarker : : fileMarkerBeginSection , L " BNodesReqMultiSeqHandling " ) ) <nl> { <nl> fprintf ( stderr , " WARNING : Ignoring defunct ' BNodesReqMultiSeqHandling ' section in input file . \ n " ) ; <nl> void ComputationNetwork : : Read ( const wstring & fileName , const FileOptions fileFor <nl> fstream . GetMarker ( FileMarker : : fileMarkerEndSection , L " EOutputNodes " ) ; <nl> } <nl> <nl> + / / this section is for back compat only , skip over <nl> if ( fstream . TryGetMarker ( FileMarker : : fileMarkerBeginSection , L " BPairNodes " ) ) <nl> { <nl> fstream > > num ; <nl> - for ( size_t i = 0 ; i < num ; i + + ) <nl> - { <nl> - fstream > > nodeName ; <nl> - m_pairNodes . push_back ( GetNodeFromName ( nodeName ) ) ; <nl> - } <nl> + if ( num > 0 ) <nl> + RuntimeError ( " Read : PairNodes are no longer supported " ) ; <nl> fstream . GetMarker ( FileMarker : : fileMarkerEndSection , L " EPairNodes " ) ; <nl> } <nl> } <nl> void ComputationNetwork : : DescribeNetworkUsingDot ( list < ComputationArc > & arcs , <nl> line = line + msra : : strfun : : wstrprintf ( L " \ " % ls \ " " , x - > GetName ( ) . c_str ( ) ) ; <nl> for ( const auto & x : m_outputNodes ) <nl> line = line + msra : : strfun : : wstrprintf ( L " \ " % ls \ " " , x - > GetName ( ) . c_str ( ) ) ; <nl> - for ( const auto & x : m_pairNodes ) <nl> - line = line + msra : : strfun : : wstrprintf ( L " \ " % ls \ " " , x - > GetName ( ) . c_str ( ) ) ; <nl> for ( const auto & x : m_evalNodes ) <nl> line = line + msra : : strfun : : wstrprintf ( L " \ " % ls \ " " , x - > GetName ( ) . c_str ( ) ) ; <nl> <nl> void ComputationNetwork : : PerformSVDecomposition ( const map < wstring , float > & SVDCo <nl> } <nl> <nl> template void ComputationNetwork : : InitLearnableParameters < float > ( const ComputationNodeBasePtr & node , const bool uniformInit , const unsigned long randomSeed , const float initValueScale , bool initOnCPUOnly ) ; <nl> - template void ComputationNetwork : : Read < float > ( const wstring & fileName , const FileOptions fileFormat , const bool bAllowNoCriterionNode , ComputationNetwork * anotherNetwork ) ; <nl> + template void ComputationNetwork : : Read < float > ( const wstring & fileName ) ; <nl> template void ComputationNetwork : : ReadPersistableParameters < float > ( File & fstream , bool create ) ; <nl> template void ComputationNetwork : : PerformSVDecomposition < float > ( const map < wstring , float > & SVDConfig , size_t alignedsize ) ; <nl> template / * static * / void ComputationNetwork : : SetDropoutRate < float > ( ComputationNetworkPtr net , const ComputationNodeBasePtr & criterionNode , const double dropoutRate , double & prevDropoutRate , unsigned long & dropOutSeed ) ; <nl> template void ComputationNetwork : : SetSeqParam < float > ( ComputationNetworkPtr net , <nl> const double & amf , const double & lmf , const double & wp , const double & bMMIfactor , const bool & sMBR ) ; <nl> <nl> template void ComputationNetwork : : InitLearnableParameters < double > ( const ComputationNodeBasePtr & node , const bool uniformInit , const unsigned long randomSeed , const double initValueScale , bool initOnCPUOnly ) ; <nl> - template void ComputationNetwork : : Read < double > ( const wstring & fileName , const FileOptions fileFormat , const bool bAllowNoCriterionNode , ComputationNetwork * anotherNetwork ) ; <nl> + template void ComputationNetwork : : Read < double > ( const wstring & fileName ) ; <nl> template void ComputationNetwork : : ReadPersistableParameters < double > ( File & fstream , bool create ) ; <nl> template void ComputationNetwork : : PerformSVDecomposition < double > ( const map < wstring , float > & SVDConfig , size_t alignedsize ) ; <nl> template / * static * / void ComputationNetwork : : SetDropoutRate < double > ( ComputationNetworkPtr net , const ComputationNodeBasePtr & criterionNode , const double dropoutRate , double & prevDropoutRate , unsigned long & dropOutSeed ) ; <nl> mmm a / Source / ComputationNetworkLib / ComputationNetwork . h <nl> ppp b / Source / ComputationNetworkLib / ComputationNetwork . h <nl> class ComputationNetwork : public ScriptableObjects : : Object , public ScriptableOb <nl> } <nl> / / design BUGBUG : binary files do not know whether they are float or double . <nl> / / TODO : modify file format to know this ; then eliminate the < ElemType > dependency ( and in some future , allow nodes to be different ) <nl> - template < class ElemType > <nl> - void Read ( const std : : wstring & fileName , const FileOptions fileFormat = FileOptions : : fileOptionsBinary , <nl> - const bool bAllowNoCriterionNode = false , ComputationNetwork * anotherNetwork = nullptr ) ; <nl> - template < class ElemType > <nl> - void Load ( const std : : wstring & fileName , const FileOptions fileFormat = FileOptions : : fileOptionsBinary , <nl> - const bool bAllowNoCriterionNode = false , ComputationNetwork * anotherNetwork = nullptr ) <nl> + template < class ElemType > void Read ( const std : : wstring & fileName ) ; <nl> + template < class ElemType > void Load ( const std : : wstring & fileName ) <nl> { <nl> - Read < ElemType > ( fileName , fileFormat , bAllowNoCriterionNode , anotherNetwork ) ; <nl> + Read < ElemType > ( fileName ) ; <nl> / / perform all further post - processing , caching , etc . <nl> CompileNetwork ( ) ; <nl> } <nl> <nl> / / static helper to instantiate a network from a file <nl> template < class ElemType > <nl> - static ComputationNetworkPtr CreateFromFile ( DEVICEID_TYPE deviceId , const std : : wstring & fileName , <nl> - const FileOptions fileFormat = FileOptions : : fileOptionsBinary , <nl> - const bool bAllowNoCriterionNode = false , ComputationNetwork * anotherNetwork = nullptr ) <nl> + static ComputationNetworkPtr CreateFromFile ( DEVICEID_TYPE deviceId , const std : : wstring & fileName ) <nl> { <nl> auto net = make_shared < ComputationNetwork > ( deviceId ) ; <nl> - net - > Load < ElemType > ( fileName , FileOptions : : fileOptionsBinary , bAllowNoCriterionNode , anotherNetwork ) ; <nl> + net - > Load < ElemType > ( fileName ) ; <nl> return net ; <nl> } <nl> <nl> class ComputationNetwork : public ScriptableObjects : : Object , public ScriptableOb <nl> return ( iter ! = m_nameToNodeMap . end ( ) ) ; <nl> } <nl> <nl> - ComputationNodeBasePtr GetNodeFromName ( const std : : wstring & name , ComputationNetwork * anotherNetwork = nullptr , bool bPanic = true ) const <nl> + ComputationNodeBasePtr GetNodeFromName ( const std : : wstring & name ) const <nl> { <nl> auto iter = m_nameToNodeMap . find ( name ) ; <nl> - if ( iter ! = m_nameToNodeMap . end ( ) ) <nl> - { <nl> - / / found <nl> - return iter - > second ; <nl> - } <nl> - <nl> - if ( anotherNetwork ! = nullptr ) <nl> - return anotherNetwork - > GetNodeFromName ( name ) ; <nl> - <nl> - if ( bPanic ) <nl> + if ( iter = = m_nameToNodeMap . end ( ) ) <nl> RuntimeError ( " GetNodeFromName : Node name % ls does not exist . " , name . c_str ( ) ) ; <nl> - else <nl> - return nullptr ; <nl> + return iter - > second ; <nl> } <nl> <nl> / / GetNodesFromName - Get all the nodes from a name that may match a wildcard ' * ' pattern <nl> class ComputationNetwork : public ScriptableObjects : : Object , public ScriptableOb <nl> { <nl> return m_outputNodes ; <nl> } <nl> - inline std : : vector < ComputationNodeBasePtr > & PairNodes ( ) <nl> - { <nl> - return m_pairNodes ; <nl> - } <nl> <nl> / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> / / node access <nl> class ComputationNetwork : public ScriptableObjects : : Object , public ScriptableOb <nl> <nl> / / node groups <nl> / / These are specified by the user by means of tags or explicitly listing the node groups . <nl> + / / TODO : Are these meant to be disjoint ? <nl> std : : vector < ComputationNodeBasePtr > m_features ; <nl> std : : vector < ComputationNodeBasePtr > m_labels ; <nl> std : : vector < ComputationNodeBasePtr > m_finalCriteria ; <nl> std : : vector < ComputationNodeBasePtr > m_evalNodes ; <nl> std : : vector < ComputationNodeBasePtr > m_outputNodes ; <nl> - std : : vector < ComputationNodeBasePtr > m_pairNodes ; / / nodes for the children network to pair <nl> vector < std : : vector < ComputationNodeBasePtr > * > GetAllNodeGroups ( ) / / get all groups to allow to iterate over all of them . . . continue <nl> { <nl> - return vector < std : : vector < ComputationNodeBasePtr > * > { & m_features , & m_labels , & m_finalCriteria , & m_evalNodes , & m_outputNodes , & m_pairNodes } ; <nl> + return vector < std : : vector < ComputationNodeBasePtr > * > { & m_features , & m_labels , & m_finalCriteria , & m_evalNodes , & m_outputNodes } ; <nl> } <nl> <nl> / / used for sentence boundary information passed from reader to reset RNN state <nl> mmm a / Source / ComputationNetworkLib / ComputationNode . h <nl> ppp b / Source / ComputationNetworkLib / ComputationNode . h <nl> protected : public : / / . . . the following should be protected , but nodes inquire ab <nl> fprintf ( stderr , " Node - - > % ls = % ls \ n " , NodeName ( ) . c_str ( ) , OperationName ( ) . c_str ( ) ) , fflush ( stderr ) ; <nl> } <nl> <nl> - const bool & / * TODO : should be bool by value * / NeedGradient ( ) { return m_needsGradient ; } <nl> + bool NeedGradient ( ) const { return m_needsGradient ; } <nl> <nl> void SetParameterUpdateRequired ( bool f ) { m_parameterUpdateRequired = f ; } <nl> bool IsParameterUpdateRequired ( ) const { return m_parameterUpdateRequired ; } <nl> | removed more PairNode leftovers ; bug fix in QueryNvmlData ( ) | microsoft/CNTK | ba49d13661447ffee1e0b4318492057dc01a9581 | 2016-02-03T01:24:54Z |
mmm a / tools / run_tests / build_package_node . sh <nl> ppp b / tools / run_tests / build_package_node . sh <nl> cd $ ( dirname $ 0 ) / . . / . . <nl> mkdir - p artifacts / <nl> cp - r $ EXTERNAL_GIT_ROOT / architecture = { x86 , x64 } , language = node , platform = { windows , linux , macos } / artifacts / * artifacts / | | true <nl> <nl> + npm update <nl> npm pack <nl> <nl> cp grpc - * . tgz artifacts / grpc . tgz <nl> mmm a / tools / run_tests / distribtest_targets . py <nl> ppp b / tools / run_tests / distribtest_targets . py <nl> def targets ( ) : <nl> RubyDistribTest ( ' linux ' , ' x64 ' , ' ubuntu1504 ' ) , <nl> RubyDistribTest ( ' linux ' , ' x64 ' , ' ubuntu1510 ' ) , <nl> RubyDistribTest ( ' linux ' , ' x64 ' , ' ubuntu1604 ' ) , <nl> - NodeDistribTest ( ' macos ' , ' x64 ' , None , ' 0 . 10 ' ) , <nl> NodeDistribTest ( ' macos ' , ' x64 ' , None , ' 0 . 12 ' ) , <nl> NodeDistribTest ( ' macos ' , ' x64 ' , None , ' 3 ' ) , <nl> NodeDistribTest ( ' macos ' , ' x64 ' , None , ' 4 ' ) , <nl> | Merge pull request from murgatroid99 / node_finish_disabling_0 . 10_tests | grpc/grpc | edf12a7b75ac2e4d58118fed7a673ca2582446d0 | 2016-02-12T02:58:20Z |
mmm a / js / common / modules / org / arangodb / general - graph . js <nl> ppp b / js / common / modules / org / arangodb / general - graph . js <nl> Graph . prototype . _EDGES = function ( vertexId ) { <nl> } ; <nl> <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> - / / / @ brief _edges ( vertexId ) . <nl> - / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> - <nl> - Graph . prototype . _edges = function ( vertexId ) { <nl> - var AQLStmt = new AQLGenerator ( this . __name ) ; <nl> - return AQLStmt . edges ( vertexId , " any " ) ; <nl> - } ; <nl> - <nl> - / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> - / / / @ brief inEdges ( vertexId ) . <nl> + / / / @ brief INEDGES ( vertexId ) . <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> <nl> - Graph . prototype . _inEdges = function ( vertexId ) { <nl> + Graph . prototype . _INEDGES = function ( vertexId ) { <nl> var edgeCollections = this . _edgeCollections ( ) ; <nl> var result = [ ] ; <nl> <nl> Graph . prototype . _inEdges = function ( vertexId ) { <nl> result = result . concat ( edgeCollection . inEdges ( vertexId ) ) ; <nl> } <nl> ) ; <nl> - bindFluentAQLFunctionsToArray ( result ) ; <nl> return result ; <nl> } ; <nl> <nl> Graph . prototype . _outEdges = function ( vertexId ) { <nl> return result ; <nl> } ; <nl> <nl> + / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> + / / / @ brief _edges ( vertexId ) . <nl> + / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> + <nl> + Graph . prototype . _edges = function ( vertexId ) { <nl> + var AQLStmt = new AQLGenerator ( this . __name ) ; <nl> + return AQLStmt . edges ( vertexId , " any " ) ; <nl> + } ; <nl> + <nl> + / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> + / / / @ brief _inEdges ( vertexId ) . <nl> + / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> + <nl> + Graph . prototype . _inEdges = function ( vertexId ) { <nl> + var AQLStmt = new AQLGenerator ( this . __name ) ; <nl> + return AQLStmt . edges ( vertexId , " inbound " ) ; <nl> + } ; <nl> + <nl> + / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> + / / / @ brief _outEdges ( vertexId ) . <nl> + / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> + <nl> + Graph . prototype . _outEdges = function ( vertexId ) { <nl> + var AQLStmt = new AQLGenerator ( this . __name ) ; <nl> + return AQLStmt . edges ( vertexId , " outbound " ) ; <nl> + } ; <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> / / / @ brief get ingoing vertex of an edge . <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> mmm a / js / common / tests / shell - general - graph . js <nl> ppp b / js / common / tests / shell - general - graph . js <nl> function GeneralGraphAQLQueriesSuite ( ) { <nl> assertEqual ( result . length , 3 ) ; <nl> assertTrue ( findIdInResult ( result , incEdge1 ) ) ; <nl> assertTrue ( findIdInResult ( result , incEdge2 ) ) ; <nl> - assertFalse ( findIdInResult ( result , incEdge3 ) ) ; <nl> + assertTrue ( findIdInResult ( result , incEdge3 ) ) ; <nl> * / <nl> + dropInclExcl ( ) ; <nl> + } , <nl> + <nl> + test_outEdges : function ( ) { <nl> + var g = createInclExcl ( ) ; <nl> + var incEdge1 = g . included . save ( <nl> + " v1 / 1 " , <nl> + " v2 / 1 " , <nl> + { <nl> + included : true <nl> + } <nl> + ) . _id ; <nl> + var excEdge1 = g . included . save ( <nl> + " v1 / 2 " , <nl> + " v1 / 1 " , <nl> + { <nl> + included : false <nl> + } <nl> + ) . _id ; <nl> + var incEdge2 = g . excluded . save ( <nl> + " v1 / 1 " , <nl> + " v3 / 1 " , <nl> + { <nl> + included : true <nl> + } <nl> + ) . _id ; <nl> + var query = g . _outEdges ( " v1 / 1 " ) ; <nl> + assertEqual ( query . printQuery ( ) , " GRAPH_EDGES ( " <nl> + + " @ graphName , @ startVertex_0 , outbound ) " ) ; <nl> + var bindVars = query . bindVars ; <nl> + assertEqual ( bindVars . graphName , " graph " ) ; <nl> + assertEqual ( bindVars . startVertex_0 , " v1 / 1 " ) ; <nl> + / * <nl> + var result = query . toArray ( ) ; <nl> + assertEqual ( result . length , 3 ) ; <nl> + assertTrue ( findIdInResult ( result , incEdge1 ) ) ; <nl> + assertTrue ( findIdInResult ( result , incEdge2 ) ) ; <nl> + assertFalse ( findIdInResult ( result , excEdge1 ) ) ; <nl> + * / <nl> + dropInclExcl ( ) ; <nl> + } , <nl> + <nl> + test_inEdges : function ( ) { <nl> + var g = createInclExcl ( ) ; <nl> + var excEdge1 = g . included . save ( <nl> + " v1 / 1 " , <nl> + " v2 / 1 " , <nl> + { <nl> + included : false <nl> + } <nl> + ) . _id ; <nl> + var incEdge1 = g . included . save ( <nl> + " v1 / 2 " , <nl> + " v1 / 1 " , <nl> + { <nl> + included : true <nl> + } <nl> + ) . _id ; <nl> + var excEdge2 = g . excluded . save ( <nl> + " v1 / 1 " , <nl> + " v3 / 1 " , <nl> + { <nl> + included : true <nl> + } <nl> + ) . _id ; <nl> + var query = g . _inEdges ( " v1 / 1 " ) ; <nl> + assertEqual ( query . printQuery ( ) , " GRAPH_EDGES ( " <nl> + + " @ graphName , @ startVertex_0 , inbound ) " ) ; <nl> + var bindVars = query . bindVars ; <nl> + assertEqual ( bindVars . graphName , " graph " ) ; <nl> + assertEqual ( bindVars . startVertex_0 , " v1 / 1 " ) ; <nl> + / * <nl> + var result = query . toArray ( ) ; <nl> + assertEqual ( result . length , 3 ) ; <nl> + assertTrue ( findIdInResult ( result , incEdge1 ) ) ; <nl> + assertFalse ( findIdInResult ( result , excEdge1 ) ) ; <nl> + assertFalse ( findIdInResult ( result , excEdge2 ) ) ; <nl> + * / <nl> + dropInclExcl ( ) ; <nl> } , <nl> <nl> test_restrictOnEdges : function ( ) { <nl> function GeneralGraphAQLQueriesSuite ( ) { <nl> included : false <nl> } <nl> ) . _id ; <nl> - var result = g . _edges ( " v1 / 1 " ) . restrict ( " included " ) ; <nl> + var query = g . _edges ( " v1 / 1 " ) . restrict ( " included " ) ; <nl> + assertEqual ( query . printQuery ( ) , " GRAPH_EDGES ( " <nl> + + " @ graphName , @ startVertex_0 , any , { } , @ restrictions_0 ) " ) ; <nl> + var bindVars = query . bindVars ; <nl> + assertEqual ( bindVars . graphName , " graph " ) ; <nl> + assertEqual ( bindVars . startVertex_0 , " v1 / 1 " ) ; <nl> + assertEqual ( bindVars . restrictions_0 , [ " included " ] ) ; <nl> + <nl> + / * <nl> assertEqual ( result . length , 2 ) ; <nl> assertTrue ( findIdInResult ( result , incEdge1 ) ) ; <nl> assertTrue ( findIdInResult ( result , incEdge2 ) ) ; <nl> assertFalse ( findIdInResult ( result , excEdge ) ) ; <nl> + * / <nl> dropInclExcl ( ) ; <nl> } , <nl> <nl> function GeneralGraphAQLQueriesSuite ( ) { <nl> included : false <nl> } <nl> ) . _id ; <nl> - var result = g . _inEdges ( " v1 / 1 " ) . restrict ( " included " ) ; <nl> + var query = g . _inEdges ( " v1 / 1 " ) . restrict ( " included " ) ; <nl> + assertEqual ( query . printQuery ( ) , " GRAPH_EDGES ( " <nl> + + " @ graphName , @ startVertex_0 , inbound , { } , @ restrictions_0 ) " ) ; <nl> + var bindVars = query . bindVars ; <nl> + assertEqual ( bindVars . graphName , " graph " ) ; <nl> + assertEqual ( bindVars . startVertex_0 , " v1 / 1 " ) ; <nl> + assertEqual ( bindVars . restrictions_0 , [ " included " ] ) ; <nl> + / * <nl> + var result = query . toArray ( ) ; <nl> assertEqual ( result . length , 1 ) ; <nl> assertTrue ( findIdInResult ( result , incEdge ) ) ; <nl> assertFalse ( findIdInResult ( result , excEdge1 ) ) ; <nl> assertFalse ( findIdInResult ( result , excEdge2 ) ) ; <nl> + * / <nl> dropInclExcl ( ) ; <nl> } , <nl> <nl> function GeneralGraphAQLQueriesSuite ( ) { <nl> included : false <nl> } <nl> ) . _id ; <nl> - var result = g . _outEdges ( " v1 / 1 " ) . restrict ( " included " ) ; <nl> + var query = g . _outEdges ( " v1 / 1 " ) . restrict ( " included " ) ; <nl> + assertEqual ( query . printQuery ( ) , " GRAPH_EDGES ( " <nl> + + " @ graphName , @ startVertex_0 , outbound , { } , @ restrictions_0 ) " ) ; <nl> + var bindVars = query . bindVars ; <nl> + assertEqual ( bindVars . graphName , " graph " ) ; <nl> + assertEqual ( bindVars . startVertex_0 , " v1 / 1 " ) ; <nl> + assertEqual ( bindVars . restrictions_0 , [ " included " ] ) ; <nl> + / * <nl> + var result = query . toArray ( ) ; <nl> assertEqual ( result . length , 1 ) ; <nl> assertTrue ( findIdInResult ( result , incEdge ) ) ; <nl> assertFalse ( findIdInResult ( result , excEdge1 ) ) ; <nl> assertFalse ( findIdInResult ( result , excEdge2 ) ) ; <nl> + * / <nl> dropInclExcl ( ) ; <nl> } , <nl> <nl> | Added tests for restriction on edges call in general graph module | arangodb/arangodb | 5255e8f26b7e1582b1f5152748dacaf3dc87e133 | 2014-05-19T09:08:23Z |
mmm a / tensorflow / python / kernel_tests / distributions / BUILD <nl> ppp b / tensorflow / python / kernel_tests / distributions / BUILD <nl> cuda_py_test ( <nl> cuda_py_test ( <nl> name = " multinomial_test " , <nl> srcs = [ " multinomial_test . py " ] , <nl> - tags = [ " manual " ] , # b / 69001419 <nl> deps = [ <nl> " / / tensorflow / python : array_ops " , <nl> " / / tensorflow / python : client_testlib " , <nl> | Re - enable multinomial_test , no longer flaky . | tensorflow/tensorflow | 51ec68ae070d5fa9bb300382201199a3550e5eaf | 2020-04-30T20:06:51Z |
mmm a / modules / dnn / include / opencv2 / dnn / all_layers . hpp <nl> ppp b / modules / dnn / include / opencv2 / dnn / all_layers . hpp <nl> CV__DNN_EXPERIMENTAL_NS_BEGIN <nl> std : : vector < size_t > pads_begin , pads_end ; <nl> CV_DEPRECATED_EXTERNAL Size kernel , stride , pad ; <nl> CV_DEPRECATED_EXTERNAL int pad_l , pad_t , pad_r , pad_b ; <nl> - CV_DEPRECATED_EXTERNAL bool globalPooling ; <nl> + CV_DEPRECATED_EXTERNAL bool globalPooling ; / / ! < Flag is true if at least one of the axes is global pooled . <nl> std : : vector < bool > isGlobalPooling ; <nl> bool computeMaxIdx ; <nl> String padMode ; <nl> mmm a / modules / dnn / src / layers / pooling_layer . cpp <nl> ppp b / modules / dnn / src / layers / pooling_layer . cpp <nl> class PoolingLayerImpl CV_FINAL : public PoolingLayer <nl> CV_Error ( Error : : StsBadArg , " Unknown pooling type \ " " + pool + " \ " " ) ; <nl> <nl> getPoolingKernelParams ( params , kernel_size , isGlobalPooling , pads_begin , pads_end , strides , padMode ) ; <nl> - globalPooling = std : : accumulate ( isGlobalPooling . begin ( ) , isGlobalPooling . end ( ) , 0 ) = = 3 ; <nl> + globalPooling = isGlobalPooling [ 0 ] | | isGlobalPooling [ 1 ] | | isGlobalPooling [ 2 ] ; <nl> if ( kernel_size . size ( ) = = 2 ) { <nl> kernel = Size ( kernel_size [ 1 ] , kernel_size [ 0 ] ) ; <nl> stride = Size ( strides [ 1 ] , strides [ 0 ] ) ; <nl> class PoolingLayerImpl CV_FINAL : public PoolingLayer <nl> out . push_back ( outputs [ 0 ] . size [ i ] ) ; <nl> } <nl> <nl> - if ( kernel_size . size ( ) > inp . size ( ) ) { <nl> - kernel_size . erase ( kernel_size . begin ( ) ) ; <nl> - } <nl> - kernel_size . resize ( out . size ( ) ) ; <nl> + if ( globalPooling ) { <nl> + std : : vector < size_t > finalKernel ; <nl> + for ( int i = 0 ; i < inp . size ( ) ; i + + ) { <nl> + int idx = isGlobalPooling . size ( ) - inp . size ( ) + i ; <nl> + finalKernel . push_back ( isGlobalPooling [ idx ] ? inp [ i ] : kernel_size [ idx ] ) ; <nl> + } <nl> + kernel_size = finalKernel ; <nl> + kernel = Size ( kernel_size [ 1 ] , kernel_size [ 0 ] ) ; <nl> + } <nl> <nl> - for ( int i = 0 ; i < inp . size ( ) ; i + + ) <nl> - { <nl> - int idx = isGlobalPooling . size ( ) - inp . size ( ) + i ; <nl> - if ( isGlobalPooling [ idx ] ) <nl> - kernel_size [ i ] = inp [ i ] ; <nl> - } <nl> - kernel = Size ( kernel_size . back ( ) , kernel_size [ kernel_size . size ( ) - 2 ] ) ; <nl> getConvPoolPaddings ( inp , kernel_size , strides , padMode , pads_begin , pads_end ) ; <nl> <nl> if ( pads_begin . size ( ) = = 2 ) { <nl> mmm a / samples / dnn / human_parsing . py <nl> ppp b / samples / dnn / human_parsing . py <nl> <nl> backends = ( cv . dnn . DNN_BACKEND_DEFAULT , cv . dnn . DNN_BACKEND_INFERENCE_ENGINE , cv . dnn . DNN_BACKEND_OPENCV ) <nl> targets = ( cv . dnn . DNN_TARGET_CPU , cv . dnn . DNN_TARGET_OPENCL , cv . dnn . DNN_TARGET_OPENCL_FP16 , cv . dnn . DNN_TARGET_MYRIAD ) <nl> <nl> - parser = argparse . ArgumentParser ( description = ' Use this script to run human parsing using JPPNet ' , <nl> - formatter_class = argparse . ArgumentDefaultsHelpFormatter ) <nl> - parser . add_argument ( ' - - input ' , ' - i ' , help = ' Path to input image . Skip this argument to capture frames from a camera . ' ) <nl> - parser . add_argument ( ' - - model ' , ' - m ' , required = True , help = ' Path to pb model . ' ) <nl> - parser . add_argument ( ' - - backend ' , choices = backends , default = cv . dnn . DNN_BACKEND_DEFAULT , type = int , <nl> - help = " Choose one of computation backends : " <nl> - " % d : automatically ( by default ) , " <nl> - " % d : Intel ' s Deep Learning Inference Engine ( https : / / software . intel . com / openvino - toolkit ) , " <nl> - " % d : OpenCV implementation " % backends ) <nl> - parser . add_argument ( ' - - target ' , choices = targets , default = cv . dnn . DNN_TARGET_CPU , type = int , <nl> - help = ' Choose one of target computation devices : ' <nl> - ' % d : CPU target ( by default ) , ' <nl> - ' % d : OpenCL , ' <nl> - ' % d : OpenCL fp16 ( half - float precision ) , ' <nl> - ' % d : VPU ' % targets ) <nl> - args , _ = parser . parse_known_args ( ) <nl> - <nl> # To get pre - trained model download https : / / drive . google . com / file / d / 1BFVXgeln - bek8TCbRjN6utPAgRE0LJZg / view <nl> # For correct convert . meta to . pb model download original repository https : / / github . com / Engineering - Course / LIP_JPPNet <nl> # Change script evaluate_parsing_JPPNet - s2 . py for human parsing <nl> def decode_labels ( gray_image ) : <nl> return segm <nl> <nl> <nl> - def parse_human ( image_path , model_path , backend , target ) : <nl> + def parse_human ( image_path , model_path , backend = cv . dnn . DNN_BACKEND_OPENCV , target = cv . dnn . DNN_TARGET_CPU ) : <nl> " " " <nl> Prepare input for execution , run net and postprocess output to parse human . <nl> : param image_path : path to input image <nl> def parse_human ( image_path , model_path , backend , target ) : <nl> <nl> <nl> if __name__ = = ' __main__ ' : <nl> + parser = argparse . ArgumentParser ( description = ' Use this script to run human parsing using JPPNet ' , <nl> + formatter_class = argparse . ArgumentDefaultsHelpFormatter ) <nl> + parser . add_argument ( ' - - input ' , ' - i ' , help = ' Path to input image . Skip this argument to capture frames from a camera . ' ) <nl> + parser . add_argument ( ' - - model ' , ' - m ' , required = True , help = ' Path to pb model . ' ) <nl> + parser . add_argument ( ' - - backend ' , choices = backends , default = cv . dnn . DNN_BACKEND_DEFAULT , type = int , <nl> + help = " Choose one of computation backends : " <nl> + " % d : automatically ( by default ) , " <nl> + " % d : Intel ' s Deep Learning Inference Engine ( https : / / software . intel . com / openvino - toolkit ) , " <nl> + " % d : OpenCV implementation " % backends ) <nl> + parser . add_argument ( ' - - target ' , choices = targets , default = cv . dnn . DNN_TARGET_CPU , type = int , <nl> + help = ' Choose one of target computation devices : ' <nl> + ' % d : CPU target ( by default ) , ' <nl> + ' % d : OpenCL , ' <nl> + ' % d : OpenCL fp16 ( half - float precision ) , ' <nl> + ' % d : VPU ' % targets ) <nl> + args , _ = parser . parse_known_args ( ) <nl> + <nl> output = parse_human ( args . input , args . model , args . backend , args . target ) <nl> winName = ' Deep learning human parsing in OpenCV ' <nl> cv . namedWindow ( winName , cv . WINDOW_AUTOSIZE ) <nl> | Refactoring | opencv/opencv | 832ca0734d4532acd7d92007a3e24dbd493048f4 | 2020-01-22T07:52:40Z |
mmm a / js / common / modules / org / arangodb / request . js <nl> ppp b / js / common / modules / org / arangodb / request . js <nl> function request ( req ) { <nl> if ( res . statusCode > = 400 ) { <nl> var status = httpErrors [ res . statusCode ] ? res . statusCode : 500 ; <nl> var err = new httpErrors [ status ] ( res . message ) ; <nl> - err . request = extend ( { } , req , { headers : headers , body : body } ) ; <nl> + err . request = extend ( { } , req , { headers : headers , body : body , url : url } ) ; <nl> + delete err . request . uri ; <nl> err . response = res ; <nl> throw err ; <nl> } <nl> | Added consistent url to error request data . | arangodb/arangodb | 28070d1d41a5ef7dec17db6600a6a51e56e18747 | 2015-01-20T16:16:34Z |
Binary files a / lib / protoc . exe and b / lib / protoc . exe differ <nl> | Update protoc . exe to 2 . 1 release | protocolbuffers/protobuf | a6afb7cd486ae67973a415bb8ff6fa3d723623fb | 2009-05-30T09:05:24Z |
mmm a / tensorflow / contrib / learn / python / learn / ops / __init__ . py <nl> ppp b / tensorflow / contrib / learn / python / learn / ops / __init__ . py <nl> <nl> from __future__ import print_function <nl> <nl> # pylint : disable = wildcard - import <nl> - from tensorflow . contrib . learn . python . learn . ops . array_ops import * <nl> from tensorflow . contrib . learn . python . learn . ops . embeddings_ops import * <nl> from tensorflow . contrib . learn . python . learn . ops . losses_ops import * <nl> from tensorflow . contrib . learn . python . learn . ops . seq2seq_ops import * <nl> deleted file mode 100644 <nl> index 9196a9b9ad002 . . 0000000000000 <nl> mmm a / tensorflow / contrib / learn / python / learn / ops / array_ops . py <nl> ppp / dev / null <nl> <nl> - # Copyright 2016 The TensorFlow Authors . All Rights Reserved . <nl> - # <nl> - # Licensed under the Apache License , Version 2 . 0 ( the " License " ) ; <nl> - # you may not use this file except in compliance with the License . <nl> - # You may obtain a copy of the License at <nl> - # <nl> - # http : / / www . apache . org / licenses / LICENSE - 2 . 0 <nl> - # <nl> - # Unless required by applicable law or agreed to in writing , software <nl> - # distributed under the License is distributed on an " AS IS " BASIS , <nl> - # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND , either express or implied . <nl> - # See the License for the specific language governing permissions and <nl> - # limitations under the License . <nl> - # = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> - <nl> - " " " TensorFlow ops for array / tensor manipulation . " " " <nl> - <nl> - from __future__ import absolute_import <nl> - from __future__ import division <nl> - from __future__ import print_function <nl> - <nl> - from tensorflow . contrib . framework import deprecated <nl> - from tensorflow . python . framework import dtypes <nl> - from tensorflow . python . framework import ops <nl> - from tensorflow . python . ops import array_ops as array_ops_ <nl> - from tensorflow . python . ops import math_ops <nl> - <nl> - <nl> - @ deprecated ( ' 2016 - 12 - 01 ' , ' Use ` tf . one_hot ` instead . ' ) <nl> - def one_hot_matrix ( tensor_in , num_classes , on_value = 1 . 0 , off_value = 0 . 0 , <nl> - name = None ) : <nl> - " " " Encodes indices from given tensor as one - hot tensor . <nl> - <nl> - TODO ( ilblackdragon ) : Ideally implementation should be <nl> - part of TensorFlow with Eigen - native operation . <nl> - <nl> - Args : <nl> - tensor_in : Input ` Tensor ` of shape [ N1 , N2 ] . <nl> - num_classes : Number of classes to expand index into . <nl> - on_value : ` Tensor ` or float , value to fill - in given index . <nl> - off_value : ` Tensor ` or float , value to fill - in everything else . <nl> - name : Name of the op . <nl> - Returns : <nl> - ` Tensor ` of shape ` [ N1 , N2 , num_classes ] ` with 1 . 0 for each id in original <nl> - tensor . <nl> - " " " <nl> - with ops . name_scope ( <nl> - name , ' one_hot_matrix ' , <nl> - [ tensor_in , num_classes , on_value , off_value ] ) as name_scope : <nl> - return array_ops_ . one_hot ( <nl> - math_ops . cast ( tensor_in , dtypes . int64 ) , num_classes , on_value , <nl> - off_value , name = name_scope ) <nl> mmm a / tensorflow / contrib / learn / python / learn / ops / ops_test . py <nl> ppp b / tensorflow / contrib / learn / python / learn / ops / ops_test . py <nl> <nl> from tensorflow . python . framework import constant_op <nl> from tensorflow . python . framework import dtypes <nl> from tensorflow . python . framework import random_seed <nl> - from tensorflow . python . ops import array_ops <nl> from tensorflow . python . ops import variables <nl> from tensorflow . python . platform import test <nl> <nl> def test_categorical_variable ( self ) : <nl> self . assertEqual ( emb1 . shape , emb2 . shape ) <nl> self . assertAllEqual ( np . transpose ( emb2 , axes = [ 1 , 0 , 2 ] ) , emb1 ) <nl> <nl> - def test_one_hot_matrix ( self ) : <nl> - with self . test_session ( ) as sess : <nl> - tensor_in = array_ops . placeholder ( dtypes . int64 , [ 10 , 2 ] ) <nl> - one_hot_tensor = ops . one_hot_matrix ( tensor_in , 3 ) <nl> - res = sess . run ( ops . one_hot_matrix ( [ [ 0 , 1 ] , [ 2 , 1 ] ] , 3 ) ) <nl> - self . assertAllEqual ( one_hot_tensor . get_shape ( ) , [ 10 , 2 , 3 ] ) <nl> - self . assertAllEqual ( res , [ [ [ 1 . 0 , 0 , 0 ] , [ 0 , 1 . 0 , 0 ] ] , <nl> - [ [ 0 , 0 , 1 . 0 ] , [ 0 , 1 . 0 , 0 ] ] ] ) <nl> - <nl> <nl> if __name__ = = " __main__ " : <nl> test . main ( ) <nl> | Remove deprecated array_ops | tensorflow/tensorflow | 45210f9be77e0cb87d5a4b519ef811b8fd704ab4 | 2017-01-10T23:45:27Z |
mmm a / contrib / CMakeLists . txt <nl> ppp b / contrib / CMakeLists . txt <nl> if ( USE_INTERNAL_FARMHASH_LIBRARY ) <nl> add_subdirectory ( libfarmhash ) <nl> endif ( ) <nl> <nl> - if ( USE_INTERNAL_BTRIE_LIBRARY ) <nl> - add_subdirectory ( libbtrie ) <nl> - endif ( ) <nl> - <nl> if ( USE_INTERNAL_ZLIB_LIBRARY ) <nl> set ( ZLIB_ENABLE_TESTS 0 CACHE INTERNAL " " ) <nl> set ( SKIP_INSTALL_ALL 1 CACHE INTERNAL " " ) <nl> | Merge pull request from azat / build - fix | ClickHouse/ClickHouse | 7f75062d380ac819d75f0829769d375bdf3b51f1 | 2020-11-26T20:14:30Z |
mmm a / Marlin / Configuration . h <nl> ppp b / Marlin / Configuration . h <nl> <nl> / / 8 is 100k 0603 SMD Vishay NTCS0603E3104FXT ( 4 . 7k pullup ) <nl> / / 9 is 100k GE Sensing AL03006 - 58 . 2K - 97 - G1 ( 4 . 7k pullup ) <nl> / / 10 is 100k RS thermistor 198 - 961 ( 4 . 7k pullup ) <nl> + / / 11 is 100k beta 3950 1 % thermistor ( 4 . 7k pullup ) <nl> / / 20 is the PT100 circuit found in the Ultimainboard V2 . x <nl> / / 60 is 100k Maker ' s Tool Works Kapton Bed Thermistor beta = 3950 <nl> / / <nl> mmm a / Marlin / thermistortables . h <nl> ppp b / Marlin / thermistortables . h <nl> const short temptable_10 [ ] [ 2 ] PROGMEM = { <nl> { 1016 * OVERSAMPLENR , 0 } <nl> } ; <nl> # endif <nl> - <nl> - # if ( THERMISTORHEATER_0 = = 20 ) | | ( THERMISTORHEATER_1 = = 20 ) | | ( THERMISTORHEATER_2 = = 20 ) | | ( THERMISTORBED = = 20 ) / / PT100 with INA826 amp on Ultimaker v2 . 0 electronics <nl> - / * The PT100 in the Ultimaker v2 . 0 electronics has a high sample value for a high temperature . <nl> - This does not match the normal thermistor behaviour so we need to set the following defines * / <nl> - # if ( THERMISTORHEATER_0 = = 20 ) <nl> - # define HEATER_0_RAW_HI_TEMP 16383 <nl> - # define HEATER_0_RAW_LO_TEMP 0 <nl> - # endif <nl> - # if ( THERMISTORHEATER_1 = = 20 ) <nl> - # define HEATER_1_RAW_HI_TEMP 16383 <nl> - # define HEATER_1_RAW_LO_TEMP 0 <nl> - # endif <nl> - # if ( THERMISTORHEATER_2 = = 20 ) <nl> - # define HEATER_2_RAW_HI_TEMP 16383 <nl> - # define HEATER_2_RAW_LO_TEMP 0 <nl> - # endif <nl> - # if ( THERMISTORBED = = 20 ) <nl> - # define HEATER_BED_RAW_HI_TEMP 16383 <nl> - # define HEATER_BED_RAW_LO_TEMP 0 <nl> - # endif <nl> - const short temptable_20 [ ] [ 2 ] PROGMEM = { <nl> - { 0 * OVERSAMPLENR , 0 } , <nl> - { 227 * OVERSAMPLENR , 1 } , <nl> - { 236 * OVERSAMPLENR , 10 } , <nl> - { 245 * OVERSAMPLENR , 20 } , <nl> - { 253 * OVERSAMPLENR , 30 } , <nl> - { 262 * OVERSAMPLENR , 40 } , <nl> - { 270 * OVERSAMPLENR , 50 } , <nl> - { 279 * OVERSAMPLENR , 60 } , <nl> - { 287 * OVERSAMPLENR , 70 } , <nl> - { 295 * OVERSAMPLENR , 80 } , <nl> - { 304 * OVERSAMPLENR , 90 } , <nl> - { 312 * OVERSAMPLENR , 100 } , <nl> - { 320 * OVERSAMPLENR , 110 } , <nl> - { 329 * OVERSAMPLENR , 120 } , <nl> - { 337 * OVERSAMPLENR , 130 } , <nl> - { 345 * OVERSAMPLENR , 140 } , <nl> - { 353 * OVERSAMPLENR , 150 } , <nl> - { 361 * OVERSAMPLENR , 160 } , <nl> - { 369 * OVERSAMPLENR , 170 } , <nl> - { 377 * OVERSAMPLENR , 180 } , <nl> - { 385 * OVERSAMPLENR , 190 } , <nl> - { 393 * OVERSAMPLENR , 200 } , <nl> - { 401 * OVERSAMPLENR , 210 } , <nl> - { 409 * OVERSAMPLENR , 220 } , <nl> - { 417 * OVERSAMPLENR , 230 } , <nl> - { 424 * OVERSAMPLENR , 240 } , <nl> - { 432 * OVERSAMPLENR , 250 } , <nl> - { 440 * OVERSAMPLENR , 260 } , <nl> - { 447 * OVERSAMPLENR , 270 } , <nl> - { 455 * OVERSAMPLENR , 280 } , <nl> - { 463 * OVERSAMPLENR , 290 } , <nl> - { 470 * OVERSAMPLENR , 300 } , <nl> - { 478 * OVERSAMPLENR , 310 } , <nl> - { 485 * OVERSAMPLENR , 320 } , <nl> - { 493 * OVERSAMPLENR , 330 } , <nl> - { 500 * OVERSAMPLENR , 340 } , <nl> - { 507 * OVERSAMPLENR , 350 } , <nl> - { 515 * OVERSAMPLENR , 360 } , <nl> - { 522 * OVERSAMPLENR , 370 } , <nl> - { 529 * OVERSAMPLENR , 380 } , <nl> - { 537 * OVERSAMPLENR , 390 } , <nl> - { 544 * OVERSAMPLENR , 400 } , <nl> - { 614 * OVERSAMPLENR , 500 } , <nl> - { 681 * OVERSAMPLENR , 600 } , <nl> - { 744 * OVERSAMPLENR , 700 } , <nl> - { 805 * OVERSAMPLENR , 800 } , <nl> - { 862 * OVERSAMPLENR , 900 } , <nl> - { 917 * OVERSAMPLENR , 1000 } , <nl> - { 968 * OVERSAMPLENR , 1100 } <nl> - } ; <nl> - # endif <nl> + <nl> + # if ( THERMISTORHEATER_0 = = 11 ) | | ( THERMISTORHEATER_1 = = 11 ) | | ( THERMISTORHEATER_2 = = 11 ) | | ( THERMISTORBED = = 11 ) <nl> + / / QU - BD silicone bed QWG - 104F - 3950 thermistor <nl> + <nl> + const short temptable_11 [ ] [ 2 ] PROGMEM = { <nl> + { 1 * OVERSAMPLENR , 938 } , <nl> + { 31 * OVERSAMPLENR , 314 } , <nl> + { 41 * OVERSAMPLENR , 290 } , <nl> + { 51 * OVERSAMPLENR , 272 } , <nl> + { 61 * OVERSAMPLENR , 258 } , <nl> + { 71 * OVERSAMPLENR , 247 } , <nl> + { 81 * OVERSAMPLENR , 237 } , <nl> + { 91 * OVERSAMPLENR , 229 } , <nl> + { 101 * OVERSAMPLENR , 221 } , <nl> + { 111 * OVERSAMPLENR , 215 } , <nl> + { 121 * OVERSAMPLENR , 209 } , <nl> + { 131 * OVERSAMPLENR , 204 } , <nl> + { 141 * OVERSAMPLENR , 199 } , <nl> + { 151 * OVERSAMPLENR , 195 } , <nl> + { 161 * OVERSAMPLENR , 190 } , <nl> + { 171 * OVERSAMPLENR , 187 } , <nl> + { 181 * OVERSAMPLENR , 183 } , <nl> + { 191 * OVERSAMPLENR , 179 } , <nl> + { 201 * OVERSAMPLENR , 176 } , <nl> + { 221 * OVERSAMPLENR , 170 } , <nl> + { 241 * OVERSAMPLENR , 165 } , <nl> + { 261 * OVERSAMPLENR , 160 } , <nl> + { 281 * OVERSAMPLENR , 155 } , <nl> + { 301 * OVERSAMPLENR , 150 } , <nl> + { 331 * OVERSAMPLENR , 144 } , <nl> + { 361 * OVERSAMPLENR , 139 } , <nl> + { 391 * OVERSAMPLENR , 133 } , <nl> + { 421 * OVERSAMPLENR , 128 } , <nl> + { 451 * OVERSAMPLENR , 123 } , <nl> + { 491 * OVERSAMPLENR , 117 } , <nl> + { 531 * OVERSAMPLENR , 111 } , <nl> + { 571 * OVERSAMPLENR , 105 } , <nl> + { 611 * OVERSAMPLENR , 100 } , <nl> + { 641 * OVERSAMPLENR , 95 } , <nl> + { 681 * OVERSAMPLENR , 90 } , <nl> + { 711 * OVERSAMPLENR , 85 } , <nl> + { 751 * OVERSAMPLENR , 79 } , <nl> + { 791 * OVERSAMPLENR , 72 } , <nl> + { 811 * OVERSAMPLENR , 69 } , <nl> + { 831 * OVERSAMPLENR , 65 } , <nl> + { 871 * OVERSAMPLENR , 57 } , <nl> + { 881 * OVERSAMPLENR , 55 } , <nl> + { 901 * OVERSAMPLENR , 51 } , <nl> + { 921 * OVERSAMPLENR , 45 } , <nl> + { 941 * OVERSAMPLENR , 39 } , <nl> + { 971 * OVERSAMPLENR , 28 } , <nl> + { 981 * OVERSAMPLENR , 23 } , <nl> + { 991 * OVERSAMPLENR , 17 } , <nl> + { 1001 * OVERSAMPLENR , 9 } , <nl> + { 1021 * OVERSAMPLENR , - 27 } <nl> + } ; <nl> + # endif <nl> + <nl> + # if ( THERMISTORHEATER_0 = = 20 ) | | ( THERMISTORHEATER_1 = = 20 ) | | ( THERMISTORHEATER_2 = = 20 ) | | ( THERMISTORBED = = 20 ) / / PT100 with INA826 amp on Ultimaker v2 . 0 electronics <nl> + / * The PT100 in the Ultimaker v2 . 0 electronics has a high sample value for a high temperature . <nl> + This does not match the normal thermistor behaviour so we need to set the following defines * / <nl> + # if ( THERMISTORHEATER_0 = = 20 ) <nl> + # define HEATER_0_RAW_HI_TEMP 16383 <nl> + # define HEATER_0_RAW_LO_TEMP 0 <nl> + # endif <nl> + # if ( THERMISTORHEATER_1 = = 20 ) <nl> + # define HEATER_1_RAW_HI_TEMP 16383 <nl> + # define HEATER_1_RAW_LO_TEMP 0 <nl> + # endif <nl> + # if ( THERMISTORHEATER_2 = = 20 ) <nl> + # define HEATER_2_RAW_HI_TEMP 16383 <nl> + # define HEATER_2_RAW_LO_TEMP 0 <nl> + # endif <nl> + # if ( THERMISTORBED = = 20 ) <nl> + # define HEATER_BED_RAW_HI_TEMP 16383 <nl> + # define HEATER_BED_RAW_LO_TEMP 0 <nl> + # endif <nl> + const short temptable_20 [ ] [ 2 ] PROGMEM = { <nl> + { 0 * OVERSAMPLENR , 0 } , <nl> + { 227 * OVERSAMPLENR , 1 } , <nl> + { 236 * OVERSAMPLENR , 10 } , <nl> + { 245 * OVERSAMPLENR , 20 } , <nl> + { 253 * OVERSAMPLENR , 30 } , <nl> + { 262 * OVERSAMPLENR , 40 } , <nl> + { 270 * OVERSAMPLENR , 50 } , <nl> + { 279 * OVERSAMPLENR , 60 } , <nl> + { 287 * OVERSAMPLENR , 70 } , <nl> + { 295 * OVERSAMPLENR , 80 } , <nl> + { 304 * OVERSAMPLENR , 90 } , <nl> + { 312 * OVERSAMPLENR , 100 } , <nl> + { 320 * OVERSAMPLENR , 110 } , <nl> + { 329 * OVERSAMPLENR , 120 } , <nl> + { 337 * OVERSAMPLENR , 130 } , <nl> + { 345 * OVERSAMPLENR , 140 } , <nl> + { 353 * OVERSAMPLENR , 150 } , <nl> + { 361 * OVERSAMPLENR , 160 } , <nl> + { 369 * OVERSAMPLENR , 170 } , <nl> + { 377 * OVERSAMPLENR , 180 } , <nl> + { 385 * OVERSAMPLENR , 190 } , <nl> + { 393 * OVERSAMPLENR , 200 } , <nl> + { 401 * OVERSAMPLENR , 210 } , <nl> + { 409 * OVERSAMPLENR , 220 } , <nl> + { 417 * OVERSAMPLENR , 230 } , <nl> + { 424 * OVERSAMPLENR , 240 } , <nl> + { 432 * OVERSAMPLENR , 250 } , <nl> + { 440 * OVERSAMPLENR , 260 } , <nl> + { 447 * OVERSAMPLENR , 270 } , <nl> + { 455 * OVERSAMPLENR , 280 } , <nl> + { 463 * OVERSAMPLENR , 290 } , <nl> + { 470 * OVERSAMPLENR , 300 } , <nl> + { 478 * OVERSAMPLENR , 310 } , <nl> + { 485 * OVERSAMPLENR , 320 } , <nl> + { 493 * OVERSAMPLENR , 330 } , <nl> + { 500 * OVERSAMPLENR , 340 } , <nl> + { 507 * OVERSAMPLENR , 350 } , <nl> + { 515 * OVERSAMPLENR , 360 } , <nl> + { 522 * OVERSAMPLENR , 370 } , <nl> + { 529 * OVERSAMPLENR , 380 } , <nl> + { 537 * OVERSAMPLENR , 390 } , <nl> + { 544 * OVERSAMPLENR , 400 } , <nl> + { 614 * OVERSAMPLENR , 500 } , <nl> + { 681 * OVERSAMPLENR , 600 } , <nl> + { 744 * OVERSAMPLENR , 700 } , <nl> + { 805 * OVERSAMPLENR , 800 } , <nl> + { 862 * OVERSAMPLENR , 900 } , <nl> + { 917 * OVERSAMPLENR , 1000 } , <nl> + { 968 * OVERSAMPLENR , 1100 } <nl> + } ; <nl> + # endif <nl> <nl> # if ( THERMISTORHEATER_0 = = 51 ) | | ( THERMISTORHEATER_1 = = 51 ) | | ( THERMISTORHEATER_2 = = 51 ) | | ( THERMISTORBED = = 51 ) <nl> / / 100k EPCOS ( WITH 1kohm RESISTOR FOR PULLUP , R9 ON SANGUINOLOLU ! NOT FOR 4 . 7kohm PULLUP ! THIS IS NOT NORMAL ! ) <nl> | Merge pull request from Nutz95 / Marlin_v1 | MarlinFirmware/Marlin | a23a5395f94554cfbc9692c098432e5e7e50682d | 2014-04-13T21:33:58Z |
mmm a / src / arm / full - codegen - arm . cc <nl> ppp b / src / arm / full - codegen - arm . cc <nl> void FullCodeGenerator : : Generate ( ) { <nl> bool function_in_register = true ; <nl> <nl> / / Possibly allocate a local context . <nl> - int heap_slots = info - > scope ( ) - > num_heap_slots ( ) - Context : : MIN_CONTEXT_SLOTS ; <nl> - if ( heap_slots > 0 ) { <nl> + if ( info - > scope ( ) - > num_heap_slots ( ) > 0 ) { <nl> / / Argument to NewContext is the function , which is still in r1 . <nl> Comment cmnt ( masm_ , " [ Allocate context " ) ; <nl> bool need_write_barrier = true ; <nl> + int slots = info - > scope ( ) - > num_heap_slots ( ) - Context : : MIN_CONTEXT_SLOTS ; <nl> if ( info - > scope ( ) - > is_script_scope ( ) ) { <nl> __ push ( r1 ) ; <nl> __ Push ( info - > scope ( ) - > GetScopeInfo ( info - > isolate ( ) ) ) ; <nl> __ CallRuntime ( Runtime : : kNewScriptContext , 2 ) ; <nl> - } else if ( heap_slots < = FastNewContextStub : : kMaximumSlots ) { <nl> - FastNewContextStub stub ( isolate ( ) , heap_slots ) ; <nl> + } else if ( slots < = FastNewContextStub : : kMaximumSlots ) { <nl> + FastNewContextStub stub ( isolate ( ) , slots ) ; <nl> __ CallStub ( & stub ) ; <nl> / / Result of FastNewContextStub is always in new space . <nl> need_write_barrier = false ; <nl> mmm a / src / arm64 / full - codegen - arm64 . cc <nl> ppp b / src / arm64 / full - codegen - arm64 . cc <nl> void FullCodeGenerator : : Generate ( ) { <nl> <nl> bool function_in_register_x1 = true ; <nl> <nl> - int heap_slots = info - > scope ( ) - > num_heap_slots ( ) - Context : : MIN_CONTEXT_SLOTS ; <nl> - if ( heap_slots > 0 ) { <nl> + if ( info - > scope ( ) - > num_heap_slots ( ) > 0 ) { <nl> / / Argument to NewContext is the function , which is still in x1 . <nl> Comment cmnt ( masm_ , " [ Allocate context " ) ; <nl> bool need_write_barrier = true ; <nl> + int slots = info - > scope ( ) - > num_heap_slots ( ) - Context : : MIN_CONTEXT_SLOTS ; <nl> if ( info - > scope ( ) - > is_script_scope ( ) ) { <nl> __ Mov ( x10 , Operand ( info - > scope ( ) - > GetScopeInfo ( info - > isolate ( ) ) ) ) ; <nl> __ Push ( x1 , x10 ) ; <nl> __ CallRuntime ( Runtime : : kNewScriptContext , 2 ) ; <nl> - } else if ( heap_slots < = FastNewContextStub : : kMaximumSlots ) { <nl> - FastNewContextStub stub ( isolate ( ) , heap_slots ) ; <nl> + } else if ( slots < = FastNewContextStub : : kMaximumSlots ) { <nl> + FastNewContextStub stub ( isolate ( ) , slots ) ; <nl> __ CallStub ( & stub ) ; <nl> / / Result of FastNewContextStub is always in new space . <nl> need_write_barrier = false ; <nl> mmm a / src / code - stubs . h <nl> ppp b / src / code - stubs . h <nl> class FastNewContextStub final : public HydrogenCodeStub { <nl> static const int kMaximumSlots = 64 ; <nl> <nl> FastNewContextStub ( Isolate * isolate , int slots ) : HydrogenCodeStub ( isolate ) { <nl> - DCHECK ( slots > 0 & & slots < = kMaximumSlots ) ; <nl> + DCHECK ( slots > = 0 & & slots < = kMaximumSlots ) ; <nl> set_sub_minor_key ( SlotsBits : : encode ( slots ) ) ; <nl> } <nl> <nl> mmm a / src / compiler / ast - graph - builder . cc <nl> ppp b / src / compiler / ast - graph - builder . cc <nl> bool AstGraphBuilder : : CreateGraph ( bool constant_context , bool stack_check ) { <nl> } <nl> <nl> / / Build function context only if there are context allocated variables . <nl> - int heap_slots = info ( ) - > num_heap_slots ( ) - Context : : MIN_CONTEXT_SLOTS ; <nl> - if ( heap_slots > 0 ) { <nl> + if ( info ( ) - > num_heap_slots ( ) > 0 ) { <nl> / / Push a new inner context scope for the function . <nl> Node * inner_context = <nl> BuildLocalFunctionContext ( function_context_ . get ( ) , patched_receiver ) ; <nl> mmm a / src / ia32 / full - codegen - ia32 . cc <nl> ppp b / src / ia32 / full - codegen - ia32 . cc <nl> void FullCodeGenerator : : Generate ( ) { <nl> bool function_in_register = true ; <nl> <nl> / / Possibly allocate a local context . <nl> - int heap_slots = info - > scope ( ) - > num_heap_slots ( ) - Context : : MIN_CONTEXT_SLOTS ; <nl> - if ( heap_slots > 0 ) { <nl> + if ( info - > scope ( ) - > num_heap_slots ( ) > 0 ) { <nl> Comment cmnt ( masm_ , " [ Allocate context " ) ; <nl> bool need_write_barrier = true ; <nl> + int slots = info - > scope ( ) - > num_heap_slots ( ) - Context : : MIN_CONTEXT_SLOTS ; <nl> / / Argument to NewContext is the function , which is still in edi . <nl> if ( info - > scope ( ) - > is_script_scope ( ) ) { <nl> __ push ( edi ) ; <nl> __ Push ( info - > scope ( ) - > GetScopeInfo ( info - > isolate ( ) ) ) ; <nl> __ CallRuntime ( Runtime : : kNewScriptContext , 2 ) ; <nl> - } else if ( heap_slots < = FastNewContextStub : : kMaximumSlots ) { <nl> - FastNewContextStub stub ( isolate ( ) , heap_slots ) ; <nl> + } else if ( slots < = FastNewContextStub : : kMaximumSlots ) { <nl> + FastNewContextStub stub ( isolate ( ) , slots ) ; <nl> __ CallStub ( & stub ) ; <nl> / / Result of FastNewContextStub is always in new space . <nl> need_write_barrier = false ; <nl> mmm a / src / mips / full - codegen - mips . cc <nl> ppp b / src / mips / full - codegen - mips . cc <nl> void FullCodeGenerator : : Generate ( ) { <nl> bool function_in_register = true ; <nl> <nl> / / Possibly allocate a local context . <nl> - int heap_slots = info - > scope ( ) - > num_heap_slots ( ) - Context : : MIN_CONTEXT_SLOTS ; <nl> - if ( heap_slots > 0 ) { <nl> + if ( info - > scope ( ) - > num_heap_slots ( ) > 0 ) { <nl> Comment cmnt ( masm_ , " [ Allocate context " ) ; <nl> / / Argument to NewContext is the function , which is still in a1 . <nl> bool need_write_barrier = true ; <nl> + int slots = info - > scope ( ) - > num_heap_slots ( ) - Context : : MIN_CONTEXT_SLOTS ; <nl> if ( info - > scope ( ) - > is_script_scope ( ) ) { <nl> __ push ( a1 ) ; <nl> __ Push ( info - > scope ( ) - > GetScopeInfo ( info - > isolate ( ) ) ) ; <nl> __ CallRuntime ( Runtime : : kNewScriptContext , 2 ) ; <nl> - } else if ( heap_slots < = FastNewContextStub : : kMaximumSlots ) { <nl> - FastNewContextStub stub ( isolate ( ) , heap_slots ) ; <nl> + } else if ( slots < = FastNewContextStub : : kMaximumSlots ) { <nl> + FastNewContextStub stub ( isolate ( ) , slots ) ; <nl> __ CallStub ( & stub ) ; <nl> / / Result of FastNewContextStub is always in new space . <nl> need_write_barrier = false ; <nl> mmm a / src / mips64 / full - codegen - mips64 . cc <nl> ppp b / src / mips64 / full - codegen - mips64 . cc <nl> void FullCodeGenerator : : Generate ( ) { <nl> bool function_in_register = true ; <nl> <nl> / / Possibly allocate a local context . <nl> - int heap_slots = info - > scope ( ) - > num_heap_slots ( ) - Context : : MIN_CONTEXT_SLOTS ; <nl> - if ( heap_slots > 0 ) { <nl> + if ( info - > scope ( ) - > num_heap_slots ( ) > 0 ) { <nl> Comment cmnt ( masm_ , " [ Allocate context " ) ; <nl> / / Argument to NewContext is the function , which is still in a1 . <nl> bool need_write_barrier = true ; <nl> + int slots = info - > scope ( ) - > num_heap_slots ( ) - Context : : MIN_CONTEXT_SLOTS ; <nl> if ( info - > scope ( ) - > is_script_scope ( ) ) { <nl> __ push ( a1 ) ; <nl> __ Push ( info - > scope ( ) - > GetScopeInfo ( info - > isolate ( ) ) ) ; <nl> __ CallRuntime ( Runtime : : kNewScriptContext , 2 ) ; <nl> - } else if ( heap_slots < = FastNewContextStub : : kMaximumSlots ) { <nl> - FastNewContextStub stub ( isolate ( ) , heap_slots ) ; <nl> + } else if ( slots < = FastNewContextStub : : kMaximumSlots ) { <nl> + FastNewContextStub stub ( isolate ( ) , slots ) ; <nl> __ CallStub ( & stub ) ; <nl> / / Result of FastNewContextStub is always in new space . <nl> need_write_barrier = false ; <nl> mmm a / src / ppc / full - codegen - ppc . cc <nl> ppp b / src / ppc / full - codegen - ppc . cc <nl> void FullCodeGenerator : : Generate ( ) { <nl> bool function_in_register = true ; <nl> <nl> / / Possibly allocate a local context . <nl> - int heap_slots = info - > scope ( ) - > num_heap_slots ( ) - Context : : MIN_CONTEXT_SLOTS ; <nl> - if ( heap_slots > 0 ) { <nl> + if ( info - > scope ( ) - > num_heap_slots ( ) > 0 ) { <nl> / / Argument to NewContext is the function , which is still in r4 . <nl> Comment cmnt ( masm_ , " [ Allocate context " ) ; <nl> bool need_write_barrier = true ; <nl> + int slots = info - > scope ( ) - > num_heap_slots ( ) - Context : : MIN_CONTEXT_SLOTS ; <nl> if ( info - > scope ( ) - > is_script_scope ( ) ) { <nl> __ push ( r4 ) ; <nl> __ Push ( info - > scope ( ) - > GetScopeInfo ( info - > isolate ( ) ) ) ; <nl> __ CallRuntime ( Runtime : : kNewScriptContext , 2 ) ; <nl> - } else if ( heap_slots < = FastNewContextStub : : kMaximumSlots ) { <nl> - FastNewContextStub stub ( isolate ( ) , heap_slots ) ; <nl> + } else if ( slots < = FastNewContextStub : : kMaximumSlots ) { <nl> + FastNewContextStub stub ( isolate ( ) , slots ) ; <nl> __ CallStub ( & stub ) ; <nl> / / Result of FastNewContextStub is always in new space . <nl> need_write_barrier = false ; <nl> mmm a / src / x64 / full - codegen - x64 . cc <nl> ppp b / src / x64 / full - codegen - x64 . cc <nl> void FullCodeGenerator : : Generate ( ) { <nl> bool function_in_register = true ; <nl> <nl> / / Possibly allocate a local context . <nl> - int heap_slots = info - > scope ( ) - > num_heap_slots ( ) - Context : : MIN_CONTEXT_SLOTS ; <nl> - if ( heap_slots > 0 ) { <nl> + if ( info - > scope ( ) - > num_heap_slots ( ) > 0 ) { <nl> Comment cmnt ( masm_ , " [ Allocate context " ) ; <nl> bool need_write_barrier = true ; <nl> + int slots = info - > scope ( ) - > num_heap_slots ( ) - Context : : MIN_CONTEXT_SLOTS ; <nl> / / Argument to NewContext is the function , which is still in rdi . <nl> if ( info - > scope ( ) - > is_script_scope ( ) ) { <nl> __ Push ( rdi ) ; <nl> __ Push ( info - > scope ( ) - > GetScopeInfo ( info - > isolate ( ) ) ) ; <nl> __ CallRuntime ( Runtime : : kNewScriptContext , 2 ) ; <nl> - } else if ( heap_slots < = FastNewContextStub : : kMaximumSlots ) { <nl> - FastNewContextStub stub ( isolate ( ) , heap_slots ) ; <nl> + } else if ( slots < = FastNewContextStub : : kMaximumSlots ) { <nl> + FastNewContextStub stub ( isolate ( ) , slots ) ; <nl> __ CallStub ( & stub ) ; <nl> / / Result of FastNewContextStub is always in new space . <nl> need_write_barrier = false ; <nl> mmm a / src / x87 / full - codegen - x87 . cc <nl> ppp b / src / x87 / full - codegen - x87 . cc <nl> void FullCodeGenerator : : Generate ( ) { <nl> bool function_in_register = true ; <nl> <nl> / / Possibly allocate a local context . <nl> - int heap_slots = info - > scope ( ) - > num_heap_slots ( ) - Context : : MIN_CONTEXT_SLOTS ; <nl> - if ( heap_slots > 0 ) { <nl> + if ( info - > scope ( ) - > num_heap_slots ( ) > 0 ) { <nl> Comment cmnt ( masm_ , " [ Allocate context " ) ; <nl> bool need_write_barrier = true ; <nl> + int slots = info - > scope ( ) - > num_heap_slots ( ) - Context : : MIN_CONTEXT_SLOTS ; <nl> / / Argument to NewContext is the function , which is still in edi . <nl> if ( info - > scope ( ) - > is_script_scope ( ) ) { <nl> __ push ( edi ) ; <nl> __ Push ( info - > scope ( ) - > GetScopeInfo ( info - > isolate ( ) ) ) ; <nl> __ CallRuntime ( Runtime : : kNewScriptContext , 2 ) ; <nl> - } else if ( heap_slots < = FastNewContextStub : : kMaximumSlots ) { <nl> - FastNewContextStub stub ( isolate ( ) , heap_slots ) ; <nl> + } else if ( slots < = FastNewContextStub : : kMaximumSlots ) { <nl> + FastNewContextStub stub ( isolate ( ) , slots ) ; <nl> __ CallStub ( & stub ) ; <nl> / / Result of FastNewContextStub is always in new space . <nl> need_write_barrier = false ; <nl> new file mode 100644 <nl> index 00000000000 . . b02daeed40f <nl> mmm / dev / null <nl> ppp b / test / mjsunit / harmony / regress / regress - 4160 . js <nl> <nl> + / / Copyright 2015 the V8 project authors . All rights reserved . <nl> + / / Use of this source code is governed by a BSD - style license that can be <nl> + / / found in the LICENSE file . <nl> + <nl> + / / Flags : - - harmony - arrow - functions - - allow - natives - syntax <nl> + <nl> + ( function ( x ) { <nl> + ( function ( x ) { <nl> + var boom = ( ( ) = > eval ( x ) ) ; <nl> + assertEquals ( 23 , boom ( ) ) ; <nl> + assertEquals ( 23 , boom ( ) ) ; <nl> + % OptimizeFunctionOnNextCall ( boom ) ; <nl> + assertEquals ( 23 , boom ( ) ) ; <nl> + assertEquals ( " 23 " , x ) ; <nl> + } ) ( " 23 " ) ; <nl> + assertEquals ( " 42 " , x ) ; <nl> + } ) ( " 42 " ) ; <nl> + <nl> + ( function ( x ) { <nl> + ( function ( x ) { <nl> + var boom = ( ( ) = > ( eval ( " var x = 66 " ) , x ) ) ; <nl> + assertEquals ( 66 , boom ( ) ) ; <nl> + assertEquals ( 66 , boom ( ) ) ; <nl> + % OptimizeFunctionOnNextCall ( boom ) ; <nl> + assertEquals ( 66 , boom ( ) ) ; <nl> + assertEquals ( " 23 " , x ) ; <nl> + } ) ( " 23 " ) ; <nl> + assertEquals ( " 42 " , x ) ; <nl> + } ) ( " 42 " ) ; <nl> | Fix arrow functions requiring context without slots . | v8/v8 | 68beef53c36d8640b453da4169548cbbd61c91a9 | 2015-06-03T11:32:31Z |
mmm a / docs / en / engines / table - engines / integrations / rabbitmq . md <nl> ppp b / docs / en / engines / table - engines / integrations / rabbitmq . md <nl> Optional parameters : <nl> - ` rabbitmq_row_delimiter ` – Delimiter character , which ends the message . <nl> - ` rabbitmq_schema ` – Parameter that must be used if the format requires a schema definition . For example , [ Cap ’ n Proto ] ( https : / / capnproto . org / ) requires the path to the schema file and the name of the root ` schema . capnp : Message ` object . <nl> - ` rabbitmq_num_consumers ` – The number of consumers per table . Default : ` 1 ` . Specify more consumers if the throughput of one consumer is insufficient . <nl> - - ` rabbitmq_num_queues ` – The number of queues per consumer . Default : ` 1 ` . Specify more queues if the capacity of one queue per consumer is insufficient . <nl> + - ` rabbitmq_num_queues ` – Total number of queues . Default : ` 1 ` . Increasing this number can significantly improve performance . <nl> - ` rabbitmq_queue_base ` - Specify a hint for queue names . Use cases of this setting are described below . <nl> - ` rabbitmq_deadletter_exchange ` - Specify name for a [ dead letter exchange ] ( https : / / www . rabbitmq . com / dlx . html ) . You can create another table with this exchange name and collect messages in cases when they are republished to dead letter exchange . By default dead letter exchange is not specified . <nl> - ` rabbitmq_persistent ` - If set to 1 ( true ) , in insert query delivery mode will be set to 2 ( marks messages as ' persistent ' ) . Default : ` 0 ` . <nl> Example : <nl> - ` _channel_id ` - ChannelID , on which consumer , who received the message , was declared . <nl> - ` _delivery_tag ` - DeliveryTag of the received message . Scoped per channel . <nl> - ` _redelivered ` - ` redelivered ` flag of the message . <nl> - - ` _message_id ` - MessageID of the received message ; non - empty if was set , when message was published . <nl> + - ` _message_id ` - messageID of the received message ; non - empty if was set , when message was published . <nl> + - ` _timestamp ` - timestamp of the received message ; non - empty if was set , when message was published . <nl> mmm a / docs / ru / engines / table - engines / integrations / rabbitmq . md <nl> ppp b / docs / ru / engines / table - engines / integrations / rabbitmq . md <nl> CREATE TABLE [ IF NOT EXISTS ] [ db . ] table_name [ ON CLUSTER cluster ] <nl> - ` rabbitmq_row_delimiter ` – символ - разделитель , который завершает сообщение . <nl> - ` rabbitmq_schema ` – опциональный параметр , необходимый , если используется формат , требующий определения схемы . Например , [ Cap ’ n Proto ] ( https : / / capnproto . org / ) требует путь к файлу со схемой и название корневого объекта ` schema . capnp : Message ` . <nl> - ` rabbitmq_num_consumers ` – количество потребителей на таблицу . По умолчанию : ` 1 ` . Укажите больше потребителей , если пропускная способность одного потребителя недостаточна . <nl> - - ` rabbitmq_num_queues ` – количество очередей на потребителя . По умолчанию : ` 1 ` . Укажите больше потребителей , если пропускная способность одной очереди на потребителя недостаточна . <nl> + - ` rabbitmq_num_queues ` – количество очередей . По умолчанию : ` 1 ` . Большее число очередей может сильно увеличить пропускную способность . <nl> - ` rabbitmq_queue_base ` - настройка для имен очередей . Сценарии использования описаны ниже . <nl> - ` rabbitmq_persistent ` - флаг , от которого зависит настройка ' durable ' для сообщений при запросах ` INSERT ` . По умолчанию : ` 0 ` . <nl> - ` rabbitmq_skip_broken_messages ` – максимальное количество некорректных сообщений в блоке . Если ` rabbitmq_skip_broken_messages = N ` , то движок отбрасывает ` N ` сообщений , которые не получилось обработать . Одно сообщение в точности соответствует одной записи ( строке ) . Значение по умолчанию – 0 . <nl> Example : <nl> - ` _channel_id ` - идентификатор канала ` ChannelID ` , на котором было получено сообщение . <nl> - ` _delivery_tag ` - значение ` DeliveryTag ` полученного сообщения . Уникально в рамках одного канала . <nl> - ` _redelivered ` - флаг ` redelivered ` . ( Не равно нулю , если есть возможность , что сообщение было получено более , чем одним каналом . ) <nl> - - ` _message_id ` - значение ` MessageID ` полученного сообщения . Данное поле непусто , если указано в параметрах при отправке сообщения . <nl> + - ` _message_id ` - значение поля ` messageID ` полученного сообщения . Данное поле непусто , если указано в параметрах при отправке сообщения . <nl> + - ` _timestamp ` - значение поля ` timestamp ` полученного сообщения . Данное поле непусто , если указано в параметрах при отправке сообщения . <nl> mmm a / src / Storages / RabbitMQ / RabbitMQBlockInputStream . cpp <nl> ppp b / src / Storages / RabbitMQ / RabbitMQBlockInputStream . cpp <nl> RabbitMQBlockInputStream : : RabbitMQBlockInputStream ( <nl> , non_virtual_header ( metadata_snapshot - > getSampleBlockNonMaterialized ( ) ) <nl> , sample_block ( non_virtual_header ) <nl> , virtual_header ( metadata_snapshot - > getSampleBlockForColumns ( <nl> - { " _exchange_name " , " _channel_id " , " _delivery_tag " , " _redelivered " , " _message_id " } , <nl> + { " _exchange_name " , " _channel_id " , " _delivery_tag " , " _redelivered " , " _message_id " , " _timestamp " } , <nl> storage . getVirtuals ( ) , storage . getStorageID ( ) ) ) <nl> { <nl> for ( const auto & column : virtual_header ) <nl> Block RabbitMQBlockInputStream : : readImpl ( ) <nl> auto delivery_tag = buffer - > getDeliveryTag ( ) ; <nl> auto redelivered = buffer - > getRedelivered ( ) ; <nl> auto message_id = buffer - > getMessageID ( ) ; <nl> + auto timestamp = buffer - > getTimestamp ( ) ; <nl> <nl> buffer - > updateAckTracker ( { delivery_tag , channel_id } ) ; <nl> <nl> Block RabbitMQBlockInputStream : : readImpl ( ) <nl> virtual_columns [ 2 ] - > insert ( delivery_tag ) ; <nl> virtual_columns [ 3 ] - > insert ( redelivered ) ; <nl> virtual_columns [ 4 ] - > insert ( message_id ) ; <nl> + virtual_columns [ 5 ] - > insert ( timestamp ) ; <nl> } <nl> <nl> total_rows = total_rows + new_rows ; <nl> mmm a / src / Storages / RabbitMQ / RabbitMQBlockInputStream . h <nl> ppp b / src / Storages / RabbitMQ / RabbitMQBlockInputStream . h <nl> class RabbitMQBlockInputStream : public IBlockInputStream <nl> Block readImpl ( ) override ; <nl> void readSuffixImpl ( ) override ; <nl> <nl> + bool queueEmpty ( ) const { return ! buffer | | buffer - > queueEmpty ( ) ; } <nl> bool needChannelUpdate ( ) ; <nl> void updateChannel ( ) ; <nl> bool sendAck ( ) ; <nl> mmm a / src / Storages / RabbitMQ / ReadBufferFromRabbitMQConsumer . cpp <nl> ppp b / src / Storages / RabbitMQ / ReadBufferFromRabbitMQConsumer . cpp <nl> <nl> namespace DB <nl> { <nl> <nl> - namespace ErrorCodes <nl> - { <nl> - extern const int BAD_ARGUMENTS ; <nl> - extern const int CANNOT_CREATE_RABBITMQ_QUEUE_BINDING ; <nl> - } <nl> - <nl> ReadBufferFromRabbitMQConsumer : : ReadBufferFromRabbitMQConsumer ( <nl> ChannelPtr consumer_channel_ , <nl> - ChannelPtr setup_channel_ , <nl> HandlerPtr event_handler_ , <nl> - const String & exchange_name_ , <nl> + std : : vector < String > & queues_ , <nl> size_t channel_id_base_ , <nl> const String & channel_base_ , <nl> - const String & queue_base_ , <nl> Poco : : Logger * log_ , <nl> char row_delimiter_ , <nl> - bool hash_exchange_ , <nl> - size_t num_queues_ , <nl> - const String & deadletter_exchange_ , <nl> uint32_t queue_size_ , <nl> const std : : atomic < bool > & stopped_ ) <nl> : ReadBuffer ( nullptr , 0 ) <nl> , consumer_channel ( std : : move ( consumer_channel_ ) ) <nl> - , setup_channel ( setup_channel_ ) <nl> , event_handler ( event_handler_ ) <nl> - , exchange_name ( exchange_name_ ) <nl> + , queues ( queues_ ) <nl> , channel_base ( channel_base_ ) <nl> , channel_id_base ( channel_id_base_ ) <nl> - , queue_base ( queue_base_ ) <nl> - , hash_exchange ( hash_exchange_ ) <nl> - , num_queues ( num_queues_ ) <nl> - , deadletter_exchange ( deadletter_exchange_ ) <nl> , log ( log_ ) <nl> , row_delimiter ( row_delimiter_ ) <nl> - , queue_size ( queue_size_ ) <nl> , stopped ( stopped_ ) <nl> - , received ( queue_size * num_queues ) <nl> + , received ( queue_size_ ) <nl> { <nl> - for ( size_t queue_id = 0 ; queue_id < num_queues ; + + queue_id ) <nl> - bindQueue ( queue_id ) ; <nl> - <nl> setupChannel ( ) ; <nl> } <nl> <nl> ReadBufferFromRabbitMQConsumer : : ~ ReadBufferFromRabbitMQConsumer ( ) <nl> } <nl> <nl> <nl> - void ReadBufferFromRabbitMQConsumer : : bindQueue ( size_t queue_id ) <nl> - { <nl> - std : : atomic < bool > binding_created = false ; <nl> - <nl> - auto success_callback = [ & ] ( const std : : string & queue_name , int msgcount , int / * consumercount * / ) <nl> - { <nl> - queues . emplace_back ( queue_name ) ; <nl> - LOG_DEBUG ( log , " Queue { } is declared " , queue_name ) ; <nl> - <nl> - if ( msgcount ) <nl> - LOG_INFO ( log , " Queue { } is non - empty . Non - consumed messaged will also be delivered " , queue_name ) ; <nl> - <nl> - / * Here we bind either to sharding exchange ( consistent - hash ) or to bridge exchange ( fanout ) . All bindings to routing keys are <nl> - * done between client ' s exchange and local bridge exchange . Binding key must be a string integer in case of hash exchange , for <nl> - * fanout exchange it can be arbitrary <nl> - * / <nl> - setup_channel - > bindQueue ( exchange_name , queue_name , std : : to_string ( channel_id_base ) ) <nl> - . onSuccess ( [ & ] { binding_created = true ; } ) <nl> - . onError ( [ & ] ( const char * message ) <nl> - { <nl> - throw Exception ( <nl> - ErrorCodes : : CANNOT_CREATE_RABBITMQ_QUEUE_BINDING , <nl> - " Failed to create queue binding with queue { } for exchange { } . Reason : { } " , std : : string ( message ) , <nl> - queue_name , exchange_name ) ; <nl> - } ) ; <nl> - } ; <nl> - <nl> - auto error_callback ( [ & ] ( const char * message ) <nl> - { <nl> - / * This error is most likely a result of an attempt to declare queue with different settings if it was declared before . So for a <nl> - * given queue name either deadletter_exchange parameter changed or queue_size changed , i . e . table was declared with different <nl> - * max_block_size parameter . Solution : client should specify a different queue_base parameter or manually delete previously <nl> - * declared queues via any of the various cli tools . <nl> - * / <nl> - throw Exception ( " Failed to declare queue . Probably queue settings are conflicting : max_block_size , deadletter_exchange . Attempt \ <nl> - specifying differently those settings or use a different queue_base or manually delete previously declared queues , \ <nl> - which were declared with the same names . ERROR reason : " <nl> - + std : : string ( message ) , ErrorCodes : : BAD_ARGUMENTS ) ; <nl> - } ) ; <nl> - <nl> - AMQP : : Table queue_settings ; <nl> - <nl> - queue_settings [ " x - max - length " ] = queue_size ; <nl> - queue_settings [ " x - overflow " ] = " reject - publish " ; <nl> - <nl> - if ( ! deadletter_exchange . empty ( ) ) <nl> - queue_settings [ " x - dead - letter - exchange " ] = deadletter_exchange ; <nl> - <nl> - / * The first option not just simplifies queue_name , but also implements the possibility to be able to resume reading from one <nl> - * specific queue when its name is specified in queue_base setting <nl> - * / <nl> - const String queue_name = ! hash_exchange ? queue_base : std : : to_string ( channel_id_base ) + " _ " + std : : to_string ( queue_id ) + " _ " + queue_base ; <nl> - setup_channel - > declareQueue ( queue_name , AMQP : : durable , queue_settings ) . onSuccess ( success_callback ) . onError ( error_callback ) ; <nl> - <nl> - while ( ! binding_created ) <nl> - { <nl> - iterateEventLoop ( ) ; <nl> - } <nl> - } <nl> - <nl> - <nl> void ReadBufferFromRabbitMQConsumer : : subscribe ( ) <nl> { <nl> for ( const auto & queue_name : queues ) <nl> void ReadBufferFromRabbitMQConsumer : : subscribe ( ) <nl> if ( row_delimiter ! = ' \ 0 ' ) <nl> message_received + = row_delimiter ; <nl> <nl> - if ( message . hasMessageID ( ) ) <nl> - received . push ( { message_received , message . messageID ( ) , redelivered , AckTracker ( delivery_tag , channel_id ) } ) ; <nl> - else <nl> - received . push ( { message_received , " " , redelivered , AckTracker ( delivery_tag , channel_id ) } ) ; <nl> + received . push ( { message_received , message . hasMessageID ( ) ? message . messageID ( ) : " " , <nl> + message . hasTimestamp ( ) ? message . timestamp ( ) : 0 , <nl> + redelivered , AckTracker ( delivery_tag , channel_id ) } ) ; <nl> } <nl> } ) <nl> . onError ( [ & ] ( const char * message ) <nl> mmm a / src / Storages / RabbitMQ / ReadBufferFromRabbitMQConsumer . h <nl> ppp b / src / Storages / RabbitMQ / ReadBufferFromRabbitMQConsumer . h <nl> class ReadBufferFromRabbitMQConsumer : public ReadBuffer <nl> public : <nl> ReadBufferFromRabbitMQConsumer ( <nl> ChannelPtr consumer_channel_ , <nl> - ChannelPtr setup_channel_ , <nl> HandlerPtr event_handler_ , <nl> - const String & exchange_name_ , <nl> + std : : vector < String > & queues_ , <nl> size_t channel_id_base_ , <nl> const String & channel_base_ , <nl> - const String & queue_base_ , <nl> Poco : : Logger * log_ , <nl> char row_delimiter_ , <nl> - bool hash_exchange_ , <nl> - size_t num_queues_ , <nl> - const String & deadletter_exchange_ , <nl> uint32_t queue_size_ , <nl> const std : : atomic < bool > & stopped_ ) ; <nl> <nl> class ReadBufferFromRabbitMQConsumer : public ReadBuffer <nl> { <nl> String message ; <nl> String message_id ; <nl> + uint64_t timestamp ; <nl> bool redelivered ; <nl> AckTracker track ; <nl> } ; <nl> class ReadBufferFromRabbitMQConsumer : public ReadBuffer <nl> auto getDeliveryTag ( ) const { return current . track . delivery_tag ; } <nl> auto getRedelivered ( ) const { return current . redelivered ; } <nl> auto getMessageID ( ) const { return current . message_id ; } <nl> + auto getTimestamp ( ) const { return current . timestamp ; } <nl> <nl> private : <nl> bool nextImpl ( ) override ; <nl> <nl> - void bindQueue ( size_t queue_id ) ; <nl> void subscribe ( ) ; <nl> void iterateEventLoop ( ) ; <nl> <nl> ChannelPtr consumer_channel ; <nl> - ChannelPtr setup_channel ; <nl> HandlerPtr event_handler ; <nl> - <nl> - const String exchange_name ; <nl> + std : : vector < String > queues ; <nl> const String channel_base ; <nl> const size_t channel_id_base ; <nl> - const String queue_base ; <nl> - const bool hash_exchange ; <nl> - const size_t num_queues ; <nl> - const String deadletter_exchange ; <nl> Poco : : Logger * log ; <nl> char row_delimiter ; <nl> bool allowed = true ; <nl> - uint32_t queue_size ; <nl> const std : : atomic < bool > & stopped ; <nl> <nl> String channel_id ; <nl> std : : atomic < bool > channel_error = true , wait_subscription = false ; <nl> - std : : vector < String > queues ; <nl> ConcurrentBoundedQueue < MessageData > received ; <nl> MessageData current ; <nl> size_t subscribed = 0 ; <nl> mmm a / src / Storages / RabbitMQ / StorageRabbitMQ . cpp <nl> ppp b / src / Storages / RabbitMQ / StorageRabbitMQ . cpp <nl> namespace DB <nl> <nl> static const auto CONNECT_SLEEP = 200 ; <nl> static const auto RETRIES_MAX = 20 ; <nl> - static const auto HEARTBEAT_RESCHEDULE_MS = 3000 ; <nl> static const uint32_t QUEUE_SIZE = 100000 ; <nl> + static const auto MAX_FAILED_READ_ATTEMPTS = 10 ; <nl> + static const auto RESCHEDULE_MS = 500 ; <nl> + static const auto MAX_THREAD_WORK_DURATION_MS = 60000 ; <nl> <nl> namespace ErrorCodes <nl> { <nl> namespace ErrorCodes <nl> extern const int CANNOT_BIND_RABBITMQ_EXCHANGE ; <nl> extern const int CANNOT_DECLARE_RABBITMQ_EXCHANGE ; <nl> extern const int CANNOT_REMOVE_RABBITMQ_EXCHANGE ; <nl> + extern const int CANNOT_CREATE_RABBITMQ_QUEUE_BINDING ; <nl> } <nl> <nl> namespace ExchangeType <nl> StorageRabbitMQ : : StorageRabbitMQ ( <nl> streaming_task = global_context . getSchedulePool ( ) . createTask ( " RabbitMQStreamingTask " , [ this ] { streamingToViewsFunc ( ) ; } ) ; <nl> streaming_task - > deactivate ( ) ; <nl> <nl> - heartbeat_task = global_context . getSchedulePool ( ) . createTask ( " RabbitMQHeartbeatTask " , [ this ] { heartbeatFunc ( ) ; } ) ; <nl> - heartbeat_task - > deactivate ( ) ; <nl> - <nl> if ( queue_base . empty ( ) ) <nl> { <nl> / * Make sure that local exchange name is unique for each table and is not the same as client ' s exchange name . It also needs to <nl> Context StorageRabbitMQ : : addSettings ( Context context ) const <nl> } <nl> <nl> <nl> - void StorageRabbitMQ : : heartbeatFunc ( ) <nl> - { <nl> - if ( ! stream_cancelled & & event_handler - > connectionRunning ( ) ) <nl> - { <nl> - connection - > heartbeat ( ) ; <nl> - heartbeat_task - > scheduleAfter ( HEARTBEAT_RESCHEDULE_MS ) ; <nl> - } <nl> - } <nl> - <nl> - <nl> void StorageRabbitMQ : : loopingFunc ( ) <nl> { <nl> if ( event_handler - > connectionRunning ( ) ) <nl> void StorageRabbitMQ : : bindExchange ( ) <nl> } <nl> <nl> <nl> + void StorageRabbitMQ : : bindQueue ( size_t queue_id ) <nl> + { <nl> + std : : atomic < bool > binding_created = false ; <nl> + <nl> + auto success_callback = [ & ] ( const std : : string & queue_name , int msgcount , int / * consumercount * / ) <nl> + { <nl> + queues . emplace_back ( queue_name ) ; <nl> + LOG_DEBUG ( log , " Queue { } is declared " , queue_name ) ; <nl> + <nl> + if ( msgcount ) <nl> + LOG_INFO ( log , " Queue { } is non - empty . Non - consumed messaged will also be delivered " , queue_name ) ; <nl> + <nl> + / * Here we bind either to sharding exchange ( consistent - hash ) or to bridge exchange ( fanout ) . All bindings to routing keys are <nl> + * done between client ' s exchange and local bridge exchange . Binding key must be a string integer in case of hash exchange , for <nl> + * fanout exchange it can be arbitrary <nl> + * / <nl> + setup_channel - > bindQueue ( consumer_exchange , queue_name , std : : to_string ( queue_id ) ) <nl> + . onSuccess ( [ & ] { binding_created = true ; } ) <nl> + . onError ( [ & ] ( const char * message ) <nl> + { <nl> + throw Exception ( <nl> + ErrorCodes : : CANNOT_CREATE_RABBITMQ_QUEUE_BINDING , <nl> + " Failed to create queue binding for exchange { } . Reason : { } " , exchange_name , std : : string ( message ) ) ; <nl> + } ) ; <nl> + } ; <nl> + <nl> + auto error_callback ( [ & ] ( const char * message ) <nl> + { <nl> + / * This error is most likely a result of an attempt to declare queue with different settings if it was declared before . So for a <nl> + * given queue name either deadletter_exchange parameter changed or queue_size changed , i . e . table was declared with different <nl> + * max_block_size parameter . Solution : client should specify a different queue_base parameter or manually delete previously <nl> + * declared queues via any of the various cli tools . <nl> + * / <nl> + throw Exception ( " Failed to declare queue . Probably queue settings are conflicting : max_block_size , deadletter_exchange . Attempt \ <nl> + specifying differently those settings or use a different queue_base or manually delete previously declared queues , \ <nl> + which were declared with the same names . ERROR reason : " <nl> + + std : : string ( message ) , ErrorCodes : : BAD_ARGUMENTS ) ; <nl> + } ) ; <nl> + <nl> + AMQP : : Table queue_settings ; <nl> + <nl> + queue_settings [ " x - max - length " ] = queue_size ; <nl> + <nl> + if ( ! deadletter_exchange . empty ( ) ) <nl> + queue_settings [ " x - dead - letter - exchange " ] = deadletter_exchange ; <nl> + else <nl> + queue_settings [ " x - overflow " ] = " reject - publish " ; <nl> + <nl> + / * The first option not just simplifies queue_name , but also implements the possibility to be able to resume reading from one <nl> + * specific queue when its name is specified in queue_base setting <nl> + * / <nl> + const String queue_name = ! hash_exchange ? queue_base : std : : to_string ( queue_id ) + " _ " + queue_base ; <nl> + setup_channel - > declareQueue ( queue_name , AMQP : : durable , queue_settings ) . onSuccess ( success_callback ) . onError ( error_callback ) ; <nl> + <nl> + while ( ! binding_created ) <nl> + { <nl> + event_handler - > iterateLoop ( ) ; <nl> + } <nl> + } <nl> + <nl> + <nl> bool StorageRabbitMQ : : restoreConnection ( bool reconnecting ) <nl> { <nl> size_t cnt_retries = 0 ; <nl> <nl> if ( reconnecting ) <nl> { <nl> - deactivateTask ( heartbeat_task , false , false ) ; <nl> connection - > close ( ) ; / / / Connection might be unusable , but not closed <nl> <nl> / * Connection is not closed immediately ( firstly , all pending operations are completed , and then <nl> void StorageRabbitMQ : : unbindExchange ( ) <nl> * / <nl> std : : call_once ( flag , [ & ] ( ) <nl> { <nl> - heartbeat_task - > deactivate ( ) ; <nl> streaming_task - > deactivate ( ) ; <nl> event_handler - > updateLoopState ( Loop : : STOP ) ; <nl> looping_task - > deactivate ( ) ; <nl> <nl> + setup_channel = std : : make_shared < AMQP : : TcpChannel > ( connection . get ( ) ) ; <nl> setup_channel - > removeExchange ( bridge_exchange ) <nl> . onSuccess ( [ & ] ( ) <nl> { <nl> void StorageRabbitMQ : : unbindExchange ( ) <nl> { <nl> event_handler - > iterateLoop ( ) ; <nl> } <nl> + <nl> + setup_channel - > close ( ) ; <nl> } ) ; <nl> } <nl> <nl> Pipe StorageRabbitMQ : : read ( <nl> deactivateTask ( looping_task , false , true ) ; <nl> <nl> update_channels = restoreConnection ( true ) ; <nl> - if ( update_channels ) <nl> - heartbeat_task - > scheduleAfter ( HEARTBEAT_RESCHEDULE_MS ) ; <nl> } <nl> <nl> Pipes pipes ; <nl> Pipe StorageRabbitMQ : : read ( <nl> if ( event_handler - > loopRunning ( ) ) <nl> { <nl> deactivateTask ( looping_task , false , true ) ; <nl> - deactivateTask ( heartbeat_task , false , false ) ; <nl> } <nl> <nl> rabbit_stream - > updateChannel ( ) ; <nl> void StorageRabbitMQ : : startup ( ) <nl> initExchange ( ) ; <nl> bindExchange ( ) ; <nl> <nl> + for ( size_t i = 1 ; i < = num_queues ; + + i ) <nl> + { <nl> + bindQueue ( i ) ; <nl> + } <nl> + <nl> + setup_channel - > close ( ) ; <nl> + <nl> for ( size_t i = 0 ; i < num_consumers ; + + i ) <nl> { <nl> try <nl> void StorageRabbitMQ : : startup ( ) <nl> <nl> event_handler - > updateLoopState ( Loop : : RUN ) ; <nl> streaming_task - > activateAndSchedule ( ) ; <nl> - heartbeat_task - > activateAndSchedule ( ) ; <nl> } <nl> <nl> <nl> void StorageRabbitMQ : : shutdown ( ) <nl> <nl> deactivateTask ( streaming_task , true , false ) ; <nl> deactivateTask ( looping_task , true , true ) ; <nl> - deactivateTask ( heartbeat_task , true , false ) ; <nl> <nl> connection - > close ( ) ; <nl> <nl> ConsumerBufferPtr StorageRabbitMQ : : createReadBuffer ( ) <nl> ChannelPtr consumer_channel = std : : make_shared < AMQP : : TcpChannel > ( connection . get ( ) ) ; <nl> <nl> return std : : make_shared < ReadBufferFromRabbitMQConsumer > ( <nl> - consumer_channel , setup_channel , event_handler , consumer_exchange , + + consumer_id , <nl> - unique_strbase , queue_base , log , row_delimiter , hash_exchange , num_queues , <nl> - deadletter_exchange , queue_size , stream_cancelled ) ; <nl> + consumer_channel , event_handler , queues , + + consumer_id , <nl> + unique_strbase , log , row_delimiter , queue_size , stream_cancelled ) ; <nl> } <nl> <nl> <nl> void StorageRabbitMQ : : streamingToViewsFunc ( ) <nl> try <nl> { <nl> auto table_id = getStorageID ( ) ; <nl> + <nl> / / Check if at least one direct dependency is attached <nl> size_t dependencies_count = DatabaseCatalog : : instance ( ) . getDependencies ( table_id ) . size ( ) ; <nl> <nl> if ( dependencies_count ) <nl> { <nl> + auto start_time = std : : chrono : : steady_clock : : now ( ) ; <nl> + <nl> / / Keep streaming as long as there are attached views and streaming is not cancelled <nl> while ( ! stream_cancelled & & num_created_consumers > 0 ) <nl> { <nl> void StorageRabbitMQ : : streamingToViewsFunc ( ) <nl> <nl> LOG_DEBUG ( log , " Started streaming to { } attached views " , dependencies_count ) ; <nl> <nl> - if ( ! streamToViews ( ) ) <nl> + if ( streamToViews ( ) ) <nl> + break ; <nl> + <nl> + auto end_time = std : : chrono : : steady_clock : : now ( ) ; <nl> + auto duration = std : : chrono : : duration_cast < std : : chrono : : milliseconds > ( end_time - start_time ) ; <nl> + if ( duration . count ( ) > MAX_THREAD_WORK_DURATION_MS ) <nl> + { <nl> + event_handler - > updateLoopState ( Loop : : STOP ) ; <nl> + LOG_TRACE ( log , " Reschedule streaming . Thread work duration limit exceeded . " ) ; <nl> break ; <nl> + } <nl> } <nl> } <nl> } <nl> void StorageRabbitMQ : : streamingToViewsFunc ( ) <nl> <nl> / / / Wait for attached views <nl> if ( ! stream_cancelled ) <nl> - streaming_task - > schedule ( ) ; <nl> + streaming_task - > scheduleAfter ( RESCHEDULE_MS ) ; <nl> } <nl> <nl> <nl> bool StorageRabbitMQ : : streamToViews ( ) <nl> auto column_names = block_io . out - > getHeader ( ) . getNames ( ) ; <nl> auto sample_block = metadata_snapshot - > getSampleBlockForColumns ( column_names , getVirtuals ( ) , getStorageID ( ) ) ; <nl> <nl> - / * event_handler - > connectionRunning ( ) does not guarantee that connection is not closed in case loop was not running before , but <nl> - * need to anyway start the loop to activate error callbacks and update connection state , because even checking with <nl> - * connection - > usable ( ) will not give correct answer before callbacks are activated . <nl> - * / <nl> - if ( ! event_handler - > loopRunning ( ) & & event_handler - > connectionRunning ( ) ) <nl> - looping_task - > activateAndSchedule ( ) ; <nl> - <nl> auto block_size = getMaxBlockSize ( ) ; <nl> <nl> / / Create a stream for each consumer and join them in a union stream <nl> bool StorageRabbitMQ : : streamToViews ( ) <nl> in = streams [ 0 ] ; <nl> <nl> std : : atomic < bool > stub = { false } ; <nl> + <nl> + if ( ! event_handler - > loopRunning ( ) ) <nl> + { <nl> + event_handler - > updateLoopState ( Loop : : RUN ) ; <nl> + looping_task - > activateAndSchedule ( ) ; <nl> + } <nl> + <nl> copyData ( * in , * block_io . out , & stub ) ; <nl> <nl> - / * Need to stop loop even if connection is ok , because sending ack ( ) with loop running in another thread will lead to a lot of data <nl> - * races inside the library , but only in case any error occurs or connection is lost while ack is being sent <nl> + / * Note : sending ack ( ) with loop running in another thread will lead to a lot of data races inside the library , but only in case <nl> + * error occurs or connection is lost while ack is being sent <nl> * / <nl> - if ( event_handler - > loopRunning ( ) ) <nl> - deactivateTask ( looping_task , false , true ) ; <nl> + deactivateTask ( looping_task , false , true ) ; <nl> + size_t queue_empty = 0 ; <nl> <nl> if ( ! event_handler - > connectionRunning ( ) ) <nl> { <nl> - if ( ! stream_cancelled & & restoreConnection ( true ) ) <nl> + if ( stream_cancelled ) <nl> + return true ; <nl> + <nl> + if ( restoreConnection ( true ) ) <nl> { <nl> for ( auto & stream : streams ) <nl> stream - > as < RabbitMQBlockInputStream > ( ) - > updateChannel ( ) ; <nl> } <nl> else <nl> { <nl> - / / / Reschedule if unable to connect to rabbitmq or quit if cancelled <nl> - return false ; <nl> + LOG_TRACE ( log , " Reschedule streaming . Unable to restore connection . " ) ; <nl> + return true ; <nl> } <nl> } <nl> else <nl> { <nl> - deactivateTask ( heartbeat_task , false , false ) ; <nl> - <nl> / / / Commit <nl> for ( auto & stream : streams ) <nl> { <nl> + if ( stream - > as < RabbitMQBlockInputStream > ( ) - > queueEmpty ( ) ) <nl> + + + queue_empty ; <nl> + <nl> / * false is returned by the sendAck function in only two cases : <nl> * 1 ) if connection failed . In this case all channels will be closed and will be unable to send ack . Also ack is made based on <nl> * delivery tags , which are unique to channels , so if channels fail , those delivery tags will become invalid and there is <nl> bool StorageRabbitMQ : : streamToViews ( ) <nl> break ; <nl> } <nl> } <nl> + <nl> + event_handler - > iterateLoop ( ) ; <nl> } <nl> } <nl> <nl> - event_handler - > updateLoopState ( Loop : : RUN ) ; <nl> - looping_task - > activateAndSchedule ( ) ; <nl> - heartbeat_task - > scheduleAfter ( HEARTBEAT_RESCHEDULE_MS ) ; / / / It is also deactivated in restoreConnection ( ) , so reschedule anyway <nl> - <nl> - / / Check whether the limits were applied during query execution <nl> - bool limits_applied = false ; <nl> - const BlockStreamProfileInfo & info = in - > getProfileInfo ( ) ; <nl> - limits_applied = info . hasAppliedLimit ( ) ; <nl> + if ( ( queue_empty = = num_created_consumers ) & & ( + + read_attempts = = MAX_FAILED_READ_ATTEMPTS ) ) <nl> + { <nl> + connection - > heartbeat ( ) ; <nl> + read_attempts = 0 ; <nl> + LOG_TRACE ( log , " Reschedule streaming . Queues are empty . " ) ; <nl> + return true ; <nl> + } <nl> + else <nl> + { <nl> + event_handler - > updateLoopState ( Loop : : RUN ) ; <nl> + looping_task - > activateAndSchedule ( ) ; <nl> + } <nl> <nl> - return limits_applied ; <nl> + return false ; <nl> } <nl> <nl> <nl> NamesAndTypesList StorageRabbitMQ : : getVirtuals ( ) const <nl> { " _channel_id " , std : : make_shared < DataTypeString > ( ) } , <nl> { " _delivery_tag " , std : : make_shared < DataTypeUInt64 > ( ) } , <nl> { " _redelivered " , std : : make_shared < DataTypeUInt8 > ( ) } , <nl> - { " _message_id " , std : : make_shared < DataTypeString > ( ) } <nl> + { " _message_id " , std : : make_shared < DataTypeString > ( ) } , <nl> + { " _timestamp " , std : : make_shared < DataTypeUInt64 > ( ) } <nl> } ; <nl> } <nl> <nl> mmm a / src / Storages / RabbitMQ / StorageRabbitMQ . h <nl> ppp b / src / Storages / RabbitMQ / StorageRabbitMQ . h <nl> class StorageRabbitMQ final : public ext : : shared_ptr_helper < StorageRabbitMQ > , pub <nl> std : : atomic < bool > wait_confirm = true ; / / / needed to break waiting for confirmations for producer <nl> std : : atomic < bool > exchange_removed = false ; <nl> ChannelPtr setup_channel ; <nl> + std : : vector < String > queues ; <nl> <nl> std : : once_flag flag ; / / / remove exchange only once <nl> std : : mutex task_mutex ; <nl> BackgroundSchedulePool : : TaskHolder streaming_task ; <nl> - BackgroundSchedulePool : : TaskHolder heartbeat_task ; <nl> BackgroundSchedulePool : : TaskHolder looping_task ; <nl> <nl> std : : atomic < bool > stream_cancelled { false } ; <nl> + size_t read_attempts = 0 ; <nl> <nl> ConsumerBufferPtr createReadBuffer ( ) ; <nl> <nl> class StorageRabbitMQ final : public ext : : shared_ptr_helper < StorageRabbitMQ > , pub <nl> <nl> void initExchange ( ) ; <nl> void bindExchange ( ) ; <nl> + void bindQueue ( size_t queue_id ) ; <nl> <nl> bool restoreConnection ( bool reconnecting ) ; <nl> bool streamToViews ( ) ; <nl> mmm a / tests / integration / test_storage_rabbitmq / test . py <nl> ppp b / tests / integration / test_storage_rabbitmq / test . py <nl> def test_rabbitmq_big_message ( rabbitmq_cluster ) : <nl> @ pytest . mark . timeout ( 420 ) <nl> def test_rabbitmq_sharding_between_queues_publish ( rabbitmq_cluster ) : <nl> NUM_CONSUMERS = 10 <nl> - NUM_QUEUES = 2 <nl> + NUM_QUEUES = 10 <nl> <nl> instance . query ( ' ' ' <nl> CREATE TABLE test . rabbitmq ( key UInt64 , value UInt64 ) <nl> ENGINE = RabbitMQ <nl> SETTINGS rabbitmq_host_port = ' rabbitmq1 : 5672 ' , <nl> rabbitmq_exchange_name = ' test_sharding ' , <nl> - rabbitmq_num_queues = 2 , <nl> + rabbitmq_num_queues = 10 , <nl> rabbitmq_num_consumers = 10 , <nl> rabbitmq_format = ' JSONEachRow ' , <nl> rabbitmq_row_delimiter = ' \ \ n ' ; <nl> def test_rabbitmq_mv_combo ( rabbitmq_cluster ) : <nl> rabbitmq_exchange_name = ' combo ' , <nl> rabbitmq_queue_base = ' combo ' , <nl> rabbitmq_num_consumers = 2 , <nl> - rabbitmq_num_queues = 2 , <nl> + rabbitmq_num_queues = 5 , <nl> rabbitmq_format = ' JSONEachRow ' , <nl> rabbitmq_row_delimiter = ' \ \ n ' ; <nl> ' ' ' ) <nl> def test_rabbitmq_overloaded_insert ( rabbitmq_cluster ) : <nl> rabbitmq_queue_base = ' over ' , <nl> rabbitmq_exchange_type = ' direct ' , <nl> rabbitmq_num_consumers = 5 , <nl> - rabbitmq_num_queues = 2 , <nl> + rabbitmq_num_queues = 10 , <nl> rabbitmq_max_block_size = 10000 , <nl> rabbitmq_routing_key_list = ' over ' , <nl> rabbitmq_format = ' TSV ' , <nl> def test_rabbitmq_restore_failed_connection_without_losses_2 ( rabbitmq_cluster ) : <nl> SETTINGS rabbitmq_host_port = ' rabbitmq1 : 5672 ' , <nl> rabbitmq_exchange_name = ' consumer_reconnect ' , <nl> rabbitmq_num_consumers = 10 , <nl> - rabbitmq_num_queues = 2 , <nl> + rabbitmq_num_queues = 10 , <nl> rabbitmq_format = ' JSONEachRow ' , <nl> rabbitmq_row_delimiter = ' \ \ n ' ; <nl> ' ' ' ) <nl> | Merge pull request from kssenii / rabbit - optimize | ClickHouse/ClickHouse | 57c3935a260de5b46b114a31530a59149bb9b136 | 2020-10-28T19:24:22Z |
mmm a / trunk / research / librtmp / srs_detect_rtmp . c <nl> ppp b / trunk / research / librtmp / srs_detect_rtmp . c <nl> int main ( int argc , char * * argv ) <nl> int64_t time_cleanup = 0 ; <nl> / / delay = actual - expect time when quit . <nl> int delay = 0 ; <nl> + / / bytes <nl> + int64_t bytes_nsend = 0 ; <nl> + int time_duration = 0 ; <nl> + int64_t bytes_nrecv = 0 ; <nl> <nl> / / packet data <nl> int type , size ; <nl> int main ( int argc , char * * argv ) <nl> } <nl> <nl> rtmp_destroy : <nl> + bytes_nsend = srs_get_nsend_bytes ( rtmp ) ; <nl> + bytes_nrecv = srs_get_nrecv_bytes ( rtmp ) ; <nl> + <nl> srs_rtmp_destroy ( rtmp ) ; <nl> time_cleanup = srs_get_time_ms ( ) ; <nl> + time_duration = ( int ) ( time_cleanup - time_startup ) ; <nl> <nl> / / print result to stderr . <nl> fprintf ( stderr , " { " <nl> int main ( int argc , char * * argv ) <nl> " \ " % s \ " : % d , " / / # 6 <nl> " \ " % s \ " : % d , " / / # 7 <nl> " \ " % s \ " : % d , " / / # 8 <nl> + " \ " % s \ " : % d , " / / # 9 <nl> + " \ " % s \ " : % d , " / / # 10 <nl> " % s , % s , % s , % s } " , <nl> " code " , ret , / / # 0 <nl> / / total = dns + tcp_connect + start_play + first_packet + last_packet <nl> - " total " , ( int ) ( time_cleanup - time_startup ) , / / # 1 <nl> + " total " , time_duration , / / # 1 <nl> " dns " , ( int ) ( time_dns_resolve - time_startup ) , / / # 2 <nl> " tcp_connect " , ( int ) ( time_socket_connect - time_dns_resolve ) , / / # 3 <nl> " start_play " , ( int ) ( time_play_stream - time_socket_connect ) , / / # 4 <nl> int main ( int argc , char * * argv ) <nl> / / actual = stream <nl> / / delay = actual - expect <nl> " delay " , ( int ) ( timestamp - ( time_cleanup - time_first_packet ) ) , / / # 8 <nl> + " publish_kbps " , ( int ) ( ( time_duration < = 0 ) ? 0 : ( bytes_nsend * 8 / time_duration ) ) , / / # 9 <nl> + " play_kbps " , ( int ) ( ( time_duration < = 0 ) ? 0 : ( bytes_nrecv * 8 / time_duration ) ) , / / # 10 <nl> / / unit in ms . <nl> " \ " unit \ " : \ " ms \ " " , <nl> " \ " remark0 \ " : \ " total = dns + tcp_connect + start_play + first_packet + last_packet \ " " , <nl> mmm a / trunk / src / libs / srs_librtmp . cpp <nl> ppp b / trunk / src / libs / srs_librtmp . cpp <nl> int64_t srs_get_time_ms ( ) <nl> return srs_get_system_time_ms ( ) ; <nl> } <nl> <nl> + int64_t srs_get_nsend_bytes ( srs_rtmp_t rtmp ) <nl> + { <nl> + srs_assert ( rtmp ! = NULL ) ; <nl> + Context * context = ( Context * ) rtmp ; <nl> + return context - > rtmp - > get_send_bytes ( ) ; <nl> + } <nl> + <nl> + int64_t srs_get_nrecv_bytes ( srs_rtmp_t rtmp ) <nl> + { <nl> + srs_assert ( rtmp ! = NULL ) ; <nl> + Context * context = ( Context * ) rtmp ; <nl> + return context - > rtmp - > get_recv_bytes ( ) ; <nl> + } <nl> + <nl> struct FlvContext <nl> { <nl> SrsFileStream fs ; <nl> mmm a / trunk / src / libs / srs_librtmp . hpp <nl> ppp b / trunk / src / libs / srs_librtmp . hpp <nl> int srs_version_revision ( ) ; <nl> * utilities <nl> * / <nl> int64_t srs_get_time_ms ( ) ; <nl> + int64_t srs_get_nsend_bytes ( srs_rtmp_t rtmp ) ; <nl> + int64_t srs_get_nrecv_bytes ( srs_rtmp_t rtmp ) ; <nl> <nl> / * * <nl> * flv codec <nl> | add bytes statistic for librtmp | ossrs/srs | cccc483ab32899c0fe11fb2ec49cff715d739cfc | 2014-06-10T09:39:12Z |
mmm a / test / brpc_server_unittest . cpp <nl> ppp b / test / brpc_server_unittest . cpp <nl> TEST_F ( ServerTest , too_big_message ) { <nl> server . Join ( ) ; <nl> } <nl> <nl> - void CheckCert ( const char * address , const char * cert ) { <nl> + struct EchoOpensslMsg { } ; <nl> + inline std : : ostream & operator < < ( std : : ostream & os , EchoOpensslMsg ) { <nl> + std : : ifstream t ( " openssl . msg " ) ; <nl> + return os < < " = = = = = = = = = = = = The output of previous openssl = = = = = = = = = = = = \ n " <nl> + < < t . rdbuf ( ) <nl> + < < " \ n = = = = = = = = = = = = The output ends here = = = = = = = = = = = = \ n " ; <nl> + } <nl> + void CheckCert ( const char * cname , const char * cert ) { <nl> std : : string cmd = butil : : string_printf ( <nl> - " / usr / bin / curl - Ikv https : / / % s " , address ) ; <nl> - ASSERT_EQ ( 0 , system ( cmd . c_str ( ) ) ) ; <nl> + " echo ' Q ' | openssl s_client - connect localhost : 8613 " <nl> + " - servername % s > openssl . msg & & grep % s openssl . msg " , cname , cert ) ; <nl> + ASSERT_EQ ( 0 , system ( cmd . c_str ( ) ) ) < < EchoOpensslMsg ( ) ; <nl> } <nl> <nl> std : : string GetRawPemString ( const char * fname ) { <nl> TEST_F ( ServerTest , ssl_sni ) { <nl> options . ssl_options . certs . push_back ( cert ) ; <nl> } <nl> ASSERT_EQ ( 0 , server . Start ( 8613 , & options ) ) ; <nl> - CheckCert ( " localhost : 8613 " , " cert1 " ) ; <nl> + CheckCert ( " localhost " , " cert1 " ) ; <nl> <nl> # ifdef SSL_CTRL_SET_TLSEXT_HOSTNAME <nl> - CheckCert ( " localhost . localdomain : 8613 " , " cert2 " ) ; <nl> + CheckCert ( " localhost . localdomain " , " cert2 " ) ; <nl> # endif / / SSL_CTRL_SET_TLSEXT_HOSTNAME <nl> <nl> server . Stop ( 0 ) ; <nl> TEST_F ( ServerTest , ssl_reload ) { <nl> options . ssl_options . default_cert = cert ; <nl> } <nl> ASSERT_EQ ( 0 , server . Start ( 8613 , & options ) ) ; <nl> - CheckCert ( " localhost : 8613 " , " cert1 " ) ; <nl> + CheckCert ( " localhost " , " cert1 " ) ; <nl> <nl> { <nl> brpc : : CertInfo cert ; <nl> TEST_F ( ServerTest , ssl_reload ) { <nl> ASSERT_EQ ( 0 , server . AddCertificate ( cert ) ) ; <nl> } <nl> # ifdef SSL_CTRL_SET_TLSEXT_HOSTNAME <nl> - CheckCert ( " localhost . localdomain : 8613 " , " cert2 " ) ; <nl> + CheckCert ( " localhost . localdomain " , " cert2 " ) ; <nl> # endif / / SSL_CTRL_SET_TLSEXT_HOSTNAME <nl> <nl> { <nl> TEST_F ( ServerTest , ssl_reload ) { <nl> ASSERT_EQ ( 0 , server . RemoveCertificate ( cert ) ) ; <nl> } <nl> # ifdef SSL_CTRL_SET_TLSEXT_HOSTNAME <nl> - CheckCert ( " localhost . localdomain : 8613 " , " cert1 " ) ; <nl> + CheckCert ( " localhost . localdomain " , " cert1 " ) ; <nl> # endif / / SSL_CTRL_SET_TLSEXT_HOSTNAME <nl> <nl> { <nl> TEST_F ( ServerTest , ssl_reload ) { <nl> ASSERT_EQ ( 0 , server . ResetCertificates ( certs ) ) ; <nl> } <nl> # ifdef SSL_CTRL_SET_TLSEXT_HOSTNAME <nl> - CheckCert ( " localhost . localdomain : 8613 " , " cert2 " ) ; <nl> + CheckCert ( " localhost . localdomain " , " cert2 " ) ; <nl> # endif / / SSL_CTRL_SET_TLSEXT_HOSTNAME <nl> <nl> server . Stop ( 0 ) ; <nl> | + Use openssl instead of curl to test SNI | apache/incubator-brpc | 90a44b820f39fa330123d2ada244d4601bda7844 | 2017-10-23T07:36:21Z |
mmm a / src / compiler / bytecode - graph - builder . cc <nl> ppp b / src / compiler / bytecode - graph - builder . cc <nl> Node * BytecodeGraphBuilder : : BuildLoadContextSlot ( ) { <nl> return NewNode ( op , context ) ; <nl> } <nl> <nl> + Node * BytecodeGraphBuilder : : BuildLoadCurrentContextSlot ( ) { <nl> + / / TODO ( mythria ) : immutable flag is also set to false . This information is not <nl> + / / available in bytecode array . update this code when the implementation <nl> + / / changes . <nl> + const Operator * op = javascript ( ) - > LoadContext ( <nl> + 0 , bytecode_iterator ( ) . GetIndexOperand ( 0 ) , false ) ; <nl> + Node * context = environment ( ) - > Context ( ) ; <nl> + return NewNode ( op , context ) ; <nl> + } <nl> + <nl> void BytecodeGraphBuilder : : VisitLdaContextSlot ( ) { <nl> Node * node = BuildLoadContextSlot ( ) ; <nl> environment ( ) - > BindAccumulator ( node ) ; <nl> } <nl> <nl> + void BytecodeGraphBuilder : : VisitLdaCurrentContextSlot ( ) { <nl> + Node * node = BuildLoadCurrentContextSlot ( ) ; <nl> + environment ( ) - > BindAccumulator ( node ) ; <nl> + } <nl> + <nl> void BytecodeGraphBuilder : : VisitLdrContextSlot ( ) { <nl> Node * node = BuildLoadContextSlot ( ) ; <nl> environment ( ) - > BindRegister ( bytecode_iterator ( ) . GetRegisterOperand ( 3 ) , node ) ; <nl> } <nl> <nl> + void BytecodeGraphBuilder : : VisitLdrCurrentContextSlot ( ) { <nl> + Node * node = BuildLoadCurrentContextSlot ( ) ; <nl> + environment ( ) - > BindRegister ( bytecode_iterator ( ) . GetRegisterOperand ( 1 ) , node ) ; <nl> + } <nl> + <nl> void BytecodeGraphBuilder : : VisitStaContextSlot ( ) { <nl> const Operator * op = javascript ( ) - > StoreContext ( <nl> bytecode_iterator ( ) . GetUnsignedImmediateOperand ( 2 ) , <nl> void BytecodeGraphBuilder : : VisitStaContextSlot ( ) { <nl> NewNode ( op , context , value ) ; <nl> } <nl> <nl> + void BytecodeGraphBuilder : : VisitStaCurrentContextSlot ( ) { <nl> + const Operator * op = <nl> + javascript ( ) - > StoreContext ( 0 , bytecode_iterator ( ) . GetIndexOperand ( 0 ) ) ; <nl> + Node * context = environment ( ) - > Context ( ) ; <nl> + Node * value = environment ( ) - > LookupAccumulator ( ) ; <nl> + NewNode ( op , context , value ) ; <nl> + } <nl> + <nl> void BytecodeGraphBuilder : : BuildLdaLookupSlot ( TypeofMode typeof_mode ) { <nl> PrepareEagerCheckpoint ( ) ; <nl> Node * name = <nl> mmm a / src / compiler / bytecode - graph - builder . h <nl> ppp b / src / compiler / bytecode - graph - builder . h <nl> class BytecodeGraphBuilder { <nl> <nl> void BuildCreateArguments ( CreateArgumentsType type ) ; <nl> Node * BuildLoadContextSlot ( ) ; <nl> + Node * BuildLoadCurrentContextSlot ( ) ; <nl> Node * BuildLoadGlobal ( uint32_t feedback_slot_index , TypeofMode typeof_mode ) ; <nl> void BuildStoreGlobal ( LanguageMode language_mode ) ; <nl> Node * BuildNamedLoad ( ) ; <nl> mmm a / src / interpreter / bytecode - array - builder . cc <nl> ppp b / src / interpreter / bytecode - array - builder . cc <nl> BytecodeArrayBuilder & BytecodeArrayBuilder : : StoreGlobal ( <nl> BytecodeArrayBuilder & BytecodeArrayBuilder : : LoadContextSlot ( Register context , <nl> int slot_index , <nl> int depth ) { <nl> - OutputLdaContextSlot ( context , slot_index , depth ) ; <nl> + if ( context . is_current_context ( ) & & depth = = 0 ) { <nl> + OutputLdaCurrentContextSlot ( slot_index ) ; <nl> + } else { <nl> + OutputLdaContextSlot ( context , slot_index , depth ) ; <nl> + } <nl> return * this ; <nl> } <nl> <nl> BytecodeArrayBuilder & BytecodeArrayBuilder : : StoreContextSlot ( Register context , <nl> int slot_index , <nl> int depth ) { <nl> - OutputStaContextSlot ( context , slot_index , depth ) ; <nl> + if ( context . is_current_context ( ) & & depth = = 0 ) { <nl> + OutputStaCurrentContextSlot ( slot_index ) ; <nl> + } else { <nl> + OutputStaContextSlot ( context , slot_index , depth ) ; <nl> + } <nl> return * this ; <nl> } <nl> <nl> mmm a / src / interpreter / bytecodes . h <nl> ppp b / src / interpreter / bytecodes . h <nl> namespace interpreter { <nl> V ( PopContext , AccumulatorUse : : kNone , OperandType : : kReg ) \ <nl> V ( LdaContextSlot , AccumulatorUse : : kWrite , OperandType : : kReg , \ <nl> OperandType : : kIdx , OperandType : : kUImm ) \ <nl> + V ( LdaCurrentContextSlot , AccumulatorUse : : kWrite , OperandType : : kIdx ) \ <nl> V ( LdrContextSlot , AccumulatorUse : : kNone , OperandType : : kReg , \ <nl> OperandType : : kIdx , OperandType : : kUImm , OperandType : : kRegOut ) \ <nl> + V ( LdrCurrentContextSlot , AccumulatorUse : : kNone , OperandType : : kIdx , \ <nl> + OperandType : : kRegOut ) \ <nl> V ( StaContextSlot , AccumulatorUse : : kRead , OperandType : : kReg , \ <nl> OperandType : : kIdx , OperandType : : kUImm ) \ <nl> + V ( StaCurrentContextSlot , AccumulatorUse : : kRead , OperandType : : kIdx ) \ <nl> \ <nl> / * Load - Store lookup slots * / \ <nl> V ( LdaLookupSlot , AccumulatorUse : : kWrite , OperandType : : kIdx ) \ <nl> mmm a / src / interpreter / interpreter . cc <nl> ppp b / src / interpreter / interpreter . cc <nl> compiler : : Node * Interpreter : : BuildLoadContextSlot ( <nl> return __ LoadContextSlot ( slot_context , slot_index ) ; <nl> } <nl> <nl> + compiler : : Node * Interpreter : : BuildLoadCurrentContextSlot ( <nl> + InterpreterAssembler * assembler ) { <nl> + Node * slot_index = __ BytecodeOperandIdx ( 0 ) ; <nl> + Node * slot_context = __ GetContext ( ) ; <nl> + return __ LoadContextSlot ( slot_context , slot_index ) ; <nl> + } <nl> + <nl> / / LdaContextSlot < context > < slot_index > < depth > <nl> / / <nl> / / Load the object in | slot_index | of the context at | depth | in the context <nl> void Interpreter : : DoLdaContextSlot ( InterpreterAssembler * assembler ) { <nl> __ Dispatch ( ) ; <nl> } <nl> <nl> + / / LdaCurrentContextSlot < slot_index > <nl> + / / <nl> + / / Load the object in | slot_index | of the current context into the accumulator . <nl> + void Interpreter : : DoLdaCurrentContextSlot ( InterpreterAssembler * assembler ) { <nl> + Node * result = BuildLoadCurrentContextSlot ( assembler ) ; <nl> + __ SetAccumulator ( result ) ; <nl> + __ Dispatch ( ) ; <nl> + } <nl> + <nl> / / LdrContextSlot < context > < slot_index > < depth > < reg > <nl> / / <nl> / / Load the object in | slot_index | of the context at | depth | in the context <nl> void Interpreter : : DoLdrContextSlot ( InterpreterAssembler * assembler ) { <nl> __ Dispatch ( ) ; <nl> } <nl> <nl> + / / LdrCurrentContextSlot < slot_index > < reg > <nl> + / / <nl> + / / Load the object in | slot_index | of the current context into register | reg | . <nl> + void Interpreter : : DoLdrCurrentContextSlot ( InterpreterAssembler * assembler ) { <nl> + Node * result = BuildLoadCurrentContextSlot ( assembler ) ; <nl> + Node * destination = __ BytecodeOperandReg ( 1 ) ; <nl> + __ StoreRegister ( result , destination ) ; <nl> + __ Dispatch ( ) ; <nl> + } <nl> + <nl> / / StaContextSlot < context > < slot_index > < depth > <nl> / / <nl> / / Stores the object in the accumulator into | slot_index | of the context at <nl> void Interpreter : : DoStaContextSlot ( InterpreterAssembler * assembler ) { <nl> __ Dispatch ( ) ; <nl> } <nl> <nl> + / / StaCurrentContextSlot < slot_index > <nl> + / / <nl> + / / Stores the object in the accumulator into | slot_index | of the current <nl> + / / context . <nl> + void Interpreter : : DoStaCurrentContextSlot ( InterpreterAssembler * assembler ) { <nl> + Node * value = __ GetAccumulator ( ) ; <nl> + Node * slot_index = __ BytecodeOperandIdx ( 0 ) ; <nl> + Node * slot_context = __ GetContext ( ) ; <nl> + __ StoreContextSlot ( slot_context , slot_index , value ) ; <nl> + __ Dispatch ( ) ; <nl> + } <nl> + <nl> void Interpreter : : DoLdaLookupSlot ( Runtime : : FunctionId function_id , <nl> InterpreterAssembler * assembler ) { <nl> Node * name_index = __ BytecodeOperandIdx ( 0 ) ; <nl> mmm a / src / interpreter / interpreter . h <nl> ppp b / src / interpreter / interpreter . h <nl> class Interpreter { <nl> / / Generates code to load a context slot . <nl> compiler : : Node * BuildLoadContextSlot ( InterpreterAssembler * assembler ) ; <nl> <nl> + / / Generates code to load a slot in the current context . <nl> + compiler : : Node * BuildLoadCurrentContextSlot ( InterpreterAssembler * assembler ) ; <nl> + <nl> / / Generates code to load a global . <nl> compiler : : Node * BuildLoadGlobal ( Callable ic , compiler : : Node * context , <nl> compiler : : Node * feedback_slot , <nl> mmm a / src / interpreter / mkpeephole . cc <nl> ppp b / src / interpreter / mkpeephole . cc <nl> PeepholeActionAndData PeepholeActionTableWriter : : LookupActionAndData ( <nl> case Bytecode : : kLdaContextSlot : <nl> return { PeepholeAction : : kTransformLdaStarToLdrLdarAction , <nl> Bytecode : : kLdrContextSlot } ; <nl> + case Bytecode : : kLdaCurrentContextSlot : <nl> + return { PeepholeAction : : kTransformLdaStarToLdrLdarAction , <nl> + Bytecode : : kLdrCurrentContextSlot } ; <nl> case Bytecode : : kLdaUndefined : <nl> return { PeepholeAction : : kTransformLdaStarToLdrLdarAction , <nl> Bytecode : : kLdrUndefined } ; <nl> mmm a / test / cctest / interpreter / bytecode_expectations / BasicLoops . golden <nl> ppp b / test / cctest / interpreter / bytecode_expectations / BasicLoops . golden <nl> snippet : " <nl> " <nl> frame size : 4 <nl> parameter count : 1 <nl> - bytecode array length : 63 <nl> + bytecode array length : 53 <nl> bytecodes : [ <nl> / * 30 E > * / B ( StackCheck ) , <nl> / * 42 S > * / B ( LdaZero ) , <nl> B ( Star ) , R ( 1 ) , <nl> / * 52 S > * / B ( Ldar ) , R ( 1 ) , <nl> - B ( JumpIfToBooleanFalse ) , U8 ( 55 ) , <nl> + B ( JumpIfToBooleanFalse ) , U8 ( 45 ) , <nl> / * 45 E > * / B ( StackCheck ) , <nl> B ( Ldar ) , R ( closure ) , <nl> B ( CreateBlockContext ) , U8 ( 0 ) , <nl> B ( PushContext ) , R ( 3 ) , <nl> B ( LdaTheHole ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> B ( CreateClosure ) , U8 ( 1 ) , U8 ( 2 ) , <nl> B ( Star ) , R ( 0 ) , <nl> / * 73 S > * / B ( LdaSmi ) , U8 ( 1 ) , <nl> - / * 73 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + / * 73 E > * / B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> B ( Mov ) , R ( 0 ) , R ( 2 ) , <nl> - / * 106 S > * / B ( LdaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + / * 106 S > * / B ( LdaCurrentContextSlot ) , U8 ( 4 ) , <nl> B ( JumpIfToBooleanFalse ) , U8 ( 8 ) , <nl> / * 113 S > * / B ( PopContext ) , R ( 3 ) , <nl> B ( PopContext ) , R ( 3 ) , <nl> - B ( Jump ) , U8 ( 14 ) , <nl> - / * 126 S > * / B ( LdaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + B ( Jump ) , U8 ( 10 ) , <nl> + / * 126 S > * / B ( LdaCurrentContextSlot ) , U8 ( 4 ) , <nl> B ( Inc ) , U8 ( 2 ) , <nl> - / * 127 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + / * 127 E > * / B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> B ( PopContext ) , R ( 3 ) , <nl> - B ( JumpLoop ) , U8 ( - 54 ) , U8 ( 0 ) , <nl> + B ( JumpLoop ) , U8 ( - 44 ) , U8 ( 0 ) , <nl> B ( LdaUndefined ) , <nl> / * 137 S > * / B ( Return ) , <nl> ] <nl> mmm a / test / cctest / interpreter / bytecode_expectations / BreakableBlocks . golden <nl> ppp b / test / cctest / interpreter / bytecode_expectations / BreakableBlocks . golden <nl> snippet : " <nl> " <nl> frame size : 3 <nl> parameter count : 1 <nl> - bytecode array length : 34 <nl> + bytecode array length : 30 <nl> bytecodes : [ <nl> / * 30 E > * / B ( StackCheck ) , <nl> B ( Ldar ) , R ( closure ) , <nl> B ( CreateBlockContext ) , U8 ( 0 ) , <nl> B ( PushContext ) , R ( 2 ) , <nl> B ( LdaTheHole ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> B ( CreateClosure ) , U8 ( 1 ) , U8 ( 2 ) , <nl> B ( Star ) , R ( 0 ) , <nl> / * 53 S > * / B ( LdaSmi ) , U8 ( 10 ) , <nl> - / * 53 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + / * 53 E > * / B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> B ( Mov ) , R ( 0 ) , R ( 1 ) , <nl> B ( Ldar ) , R ( 0 ) , <nl> / * 88 S > * / B ( Jump ) , U8 ( 2 ) , <nl> snippet : " <nl> " <nl> frame size : 4 <nl> parameter count : 1 <nl> - bytecode array length : 67 <nl> + bytecode array length : 53 <nl> bytecodes : [ <nl> B ( CreateFunctionContext ) , U8 ( 1 ) , <nl> B ( PushContext ) , R ( 2 ) , <nl> B ( LdaTheHole ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> / * 30 E > * / B ( StackCheck ) , <nl> / * 42 S > * / B ( LdaSmi ) , U8 ( 1 ) , <nl> - / * 42 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + / * 42 E > * / B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> B ( Ldar ) , R ( closure ) , <nl> B ( CreateBlockContext ) , U8 ( 0 ) , <nl> B ( PushContext ) , R ( 3 ) , <nl> B ( LdaTheHole ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> B ( CreateClosure ) , U8 ( 1 ) , U8 ( 2 ) , <nl> B ( Star ) , R ( 0 ) , <nl> / * 76 S > * / B ( LdaSmi ) , U8 ( 2 ) , <nl> - / * 76 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + / * 76 E > * / B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> B ( Mov ) , R ( 0 ) , R ( 1 ) , <nl> - / * 118 S > * / B ( LdaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + / * 118 S > * / B ( LdaCurrentContextSlot ) , U8 ( 4 ) , <nl> B ( JumpIfToBooleanFalse ) , U8 ( 6 ) , <nl> / * 125 S > * / B ( PopContext ) , R ( 3 ) , <nl> - B ( Jump ) , U8 ( 10 ) , <nl> + B ( Jump ) , U8 ( 8 ) , <nl> / * 142 S > * / B ( LdaSmi ) , U8 ( 3 ) , <nl> - / * 144 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + / * 144 E > * / B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> B ( PopContext ) , R ( 3 ) , <nl> / * 155 S > * / B ( LdaSmi ) , U8 ( 4 ) , <nl> - / * 157 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + / * 157 E > * / B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> B ( LdaUndefined ) , <nl> / * 162 S > * / B ( Return ) , <nl> ] <nl> mmm a / test / cctest / interpreter / bytecode_expectations / CallLookupSlot . golden <nl> ppp b / test / cctest / interpreter / bytecode_expectations / CallLookupSlot . golden <nl> snippet : " <nl> " <nl> frame size : 10 <nl> parameter count : 1 <nl> - bytecode array length : 89 <nl> + bytecode array length : 83 <nl> bytecodes : [ <nl> B ( CreateFunctionContext ) , U8 ( 3 ) , <nl> B ( PushContext ) , R ( 0 ) , <nl> B ( Ldar ) , R ( this ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> B ( CreateMappedArguments ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 6 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 6 ) , <nl> B ( Ldar ) , R ( new_target ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 5 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 5 ) , <nl> / * 30 E > * / B ( StackCheck ) , <nl> / * 34 S > * / B ( CreateClosure ) , U8 ( 0 ) , U8 ( 2 ) , <nl> / * 36 E > * / B ( StaLookupSlotSloppy ) , U8 ( 1 ) , <nl> mmm a / test / cctest / interpreter / bytecode_expectations / ClassDeclarations . golden <nl> ppp b / test / cctest / interpreter / bytecode_expectations / ClassDeclarations . golden <nl> snippet : " <nl> " <nl> frame size : 11 <nl> parameter count : 1 <nl> - bytecode array length : 128 <nl> + bytecode array length : 120 <nl> bytecodes : [ <nl> B ( CreateFunctionContext ) , U8 ( 2 ) , <nl> B ( PushContext ) , R ( 3 ) , <nl> bytecodes : [ <nl> B ( Star ) , R ( 2 ) , <nl> / * 30 E > * / B ( StackCheck ) , <nl> / * 43 S > * / B ( LdaConstant ) , U8 ( 0 ) , <nl> - / * 43 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + / * 43 E > * / B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> / * 57 S > * / B ( LdaConstant ) , U8 ( 1 ) , <nl> - / * 57 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 5 ) , U8 ( 0 ) , <nl> + / * 57 E > * / B ( StaCurrentContextSlot ) , U8 ( 5 ) , <nl> B ( LdaTheHole ) , <nl> B ( Star ) , R ( 0 ) , <nl> / * 62 S > * / B ( LdaTheHole ) , <nl> bytecodes : [ <nl> B ( CallRuntime ) , U16 ( Runtime : : kDefineClass ) , R ( 4 ) , U8 ( 4 ) , <nl> B ( Star ) , R ( 4 ) , <nl> B ( LdrNamedProperty ) , R ( 4 ) , U8 ( 3 ) , U8 ( 2 ) , R ( 5 ) , <nl> - / * 75 E > * / B ( LdaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + / * 75 E > * / B ( LdaCurrentContextSlot ) , U8 ( 4 ) , <nl> B ( ToName ) , R ( 7 ) , <nl> B ( CreateClosure ) , U8 ( 4 ) , U8 ( 2 ) , <nl> B ( Star ) , R ( 8 ) , <nl> bytecodes : [ <nl> B ( Star ) , R ( 10 ) , <nl> B ( Mov ) , R ( 5 ) , R ( 6 ) , <nl> B ( CallRuntime ) , U16 ( Runtime : : kDefineDataPropertyInLiteral ) , R ( 6 ) , U8 ( 5 ) , <nl> - / * 106 E > * / B ( LdaContextSlot ) , R ( context ) , U8 ( 5 ) , U8 ( 0 ) , <nl> + / * 106 E > * / B ( LdaCurrentContextSlot ) , U8 ( 5 ) , <nl> B ( ToName ) , R ( 7 ) , <nl> B ( LdaConstant ) , U8 ( 3 ) , <nl> B ( TestEqualStrict ) , R ( 7 ) , U8 ( 0 ) , <nl> snippet : " <nl> " <nl> frame size : 8 <nl> parameter count : 1 <nl> - bytecode array length : 62 <nl> + bytecode array length : 60 <nl> bytecodes : [ <nl> B ( CreateFunctionContext ) , U8 ( 1 ) , <nl> B ( PushContext ) , R ( 3 ) , <nl> bytecodes : [ <nl> B ( Star ) , R ( 2 ) , <nl> / * 30 E > * / B ( StackCheck ) , <nl> / * 46 S > * / B ( LdaZero ) , <nl> - / * 46 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + / * 46 E > * / B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> B ( LdaTheHole ) , <nl> B ( Star ) , R ( 0 ) , <nl> / * 49 S > * / B ( LdaTheHole ) , <nl> mmm a / test / cctest / interpreter / bytecode_expectations / CompoundExpressions . golden <nl> ppp b / test / cctest / interpreter / bytecode_expectations / CompoundExpressions . golden <nl> snippet : " <nl> " <nl> frame size : 2 <nl> parameter count : 1 <nl> - bytecode array length : 29 <nl> + bytecode array length : 23 <nl> bytecodes : [ <nl> B ( CreateFunctionContext ) , U8 ( 1 ) , <nl> B ( PushContext ) , R ( 0 ) , <nl> / * 30 E > * / B ( StackCheck ) , <nl> / * 42 S > * / B ( LdaSmi ) , U8 ( 1 ) , <nl> - / * 42 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + / * 42 E > * / B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> / * 45 S > * / B ( CreateClosure ) , U8 ( 0 ) , U8 ( 2 ) , <nl> - / * 75 S > * / B ( LdrContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , R ( 1 ) , <nl> + / * 75 S > * / B ( LdrCurrentContextSlot ) , U8 ( 4 ) , R ( 1 ) , <nl> B ( BitwiseOrSmi ) , U8 ( 24 ) , R ( 1 ) , U8 ( 2 ) , <nl> - / * 77 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + / * 77 E > * / B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> B ( LdaUndefined ) , <nl> / * 84 S > * / B ( Return ) , <nl> ] <nl> mmm a / test / cctest / interpreter / bytecode_expectations / ConstVariableContextSlot . golden <nl> ppp b / test / cctest / interpreter / bytecode_expectations / ConstVariableContextSlot . golden <nl> snippet : " <nl> " <nl> frame size : 2 <nl> parameter count : 1 <nl> - bytecode array length : 23 <nl> + bytecode array length : 19 <nl> bytecodes : [ <nl> B ( CreateFunctionContext ) , U8 ( 1 ) , <nl> B ( PushContext ) , R ( 1 ) , <nl> B ( LdaTheHole ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> B ( CreateClosure ) , U8 ( 0 ) , U8 ( 2 ) , <nl> B ( Star ) , R ( 0 ) , <nl> / * 30 E > * / B ( StackCheck ) , <nl> / * 44 S > * / B ( LdaSmi ) , U8 ( 10 ) , <nl> - / * 44 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + / * 44 E > * / B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> B ( LdaUndefined ) , <nl> / * 74 S > * / B ( Return ) , <nl> ] <nl> snippet : " <nl> " <nl> frame size : 2 <nl> parameter count : 1 <nl> - bytecode array length : 26 <nl> + bytecode array length : 20 <nl> bytecodes : [ <nl> B ( CreateFunctionContext ) , U8 ( 1 ) , <nl> B ( PushContext ) , R ( 1 ) , <nl> B ( LdaTheHole ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> B ( CreateClosure ) , U8 ( 0 ) , U8 ( 2 ) , <nl> B ( Star ) , R ( 0 ) , <nl> / * 30 E > * / B ( StackCheck ) , <nl> / * 44 S > * / B ( LdaSmi ) , U8 ( 10 ) , <nl> - / * 44 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> - / * 74 S > * / B ( LdaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + / * 44 E > * / B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> + / * 74 S > * / B ( LdaCurrentContextSlot ) , U8 ( 4 ) , <nl> / * 84 S > * / B ( Return ) , <nl> ] <nl> constant pool : [ <nl> snippet : " <nl> " <nl> frame size : 4 <nl> parameter count : 1 <nl> - bytecode array length : 45 <nl> + bytecode array length : 39 <nl> bytecodes : [ <nl> B ( CreateFunctionContext ) , U8 ( 1 ) , <nl> B ( PushContext ) , R ( 1 ) , <nl> B ( LdaTheHole ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> B ( CreateClosure ) , U8 ( 0 ) , U8 ( 2 ) , <nl> B ( Star ) , R ( 0 ) , <nl> / * 30 E > * / B ( StackCheck ) , <nl> / * 47 S > * / B ( LdaSmi ) , U8 ( 20 ) , <nl> B ( Star ) , R ( 2 ) , <nl> - / * 47 E > * / B ( LdaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + / * 47 E > * / B ( LdaCurrentContextSlot ) , U8 ( 4 ) , <nl> B ( JumpIfNotHole ) , U8 ( 11 ) , <nl> B ( LdaConstant ) , U8 ( 1 ) , <nl> B ( Star ) , R ( 3 ) , <nl> B ( CallRuntime ) , U16 ( Runtime : : kThrowReferenceError ) , R ( 3 ) , U8 ( 1 ) , <nl> B ( CallRuntime ) , U16 ( Runtime : : kThrowConstAssignError ) , R ( 0 ) , U8 ( 0 ) , <nl> - / * 47 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + / * 47 E > * / B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> B ( LdaUndefined ) , <nl> / * 80 S > * / B ( Return ) , <nl> ] <nl> snippet : " <nl> " <nl> frame size : 2 <nl> parameter count : 1 <nl> - bytecode array length : 30 <nl> + bytecode array length : 26 <nl> bytecodes : [ <nl> B ( CreateFunctionContext ) , U8 ( 1 ) , <nl> B ( PushContext ) , R ( 1 ) , <nl> B ( LdaTheHole ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> B ( CreateClosure ) , U8 ( 0 ) , U8 ( 2 ) , <nl> B ( Star ) , R ( 0 ) , <nl> / * 30 E > * / B ( StackCheck ) , <nl> / * 44 S > * / B ( LdaSmi ) , U8 ( 10 ) , <nl> - / * 44 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + / * 44 E > * / B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> / * 48 S > * / B ( LdaSmi ) , U8 ( 20 ) , <nl> / * 50 E > * / B ( CallRuntime ) , U16 ( Runtime : : kThrowConstAssignError ) , R ( 0 ) , U8 ( 0 ) , <nl> B ( LdaUndefined ) , <nl> mmm a / test / cctest / interpreter / bytecode_expectations / ContextParameters . golden <nl> ppp b / test / cctest / interpreter / bytecode_expectations / ContextParameters . golden <nl> snippet : " <nl> " <nl> frame size : 1 <nl> parameter count : 2 <nl> - bytecode array length : 15 <nl> + bytecode array length : 13 <nl> bytecodes : [ <nl> B ( CreateFunctionContext ) , U8 ( 1 ) , <nl> B ( PushContext ) , R ( 0 ) , <nl> B ( Ldar ) , R ( arg0 ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> / * 10 E > * / B ( StackCheck ) , <nl> / * 19 S > * / B ( CreateClosure ) , U8 ( 0 ) , U8 ( 2 ) , <nl> / * 52 S > * / B ( Return ) , <nl> snippet : " <nl> " <nl> frame size : 2 <nl> parameter count : 2 <nl> - bytecode array length : 21 <nl> + bytecode array length : 17 <nl> bytecodes : [ <nl> B ( CreateFunctionContext ) , U8 ( 1 ) , <nl> B ( PushContext ) , R ( 1 ) , <nl> B ( Ldar ) , R ( arg0 ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> / * 10 E > * / B ( StackCheck ) , <nl> / * 27 S > * / B ( CreateClosure ) , U8 ( 0 ) , U8 ( 2 ) , <nl> B ( Star ) , R ( 0 ) , <nl> - / * 53 S > * / B ( LdaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + / * 53 S > * / B ( LdaCurrentContextSlot ) , U8 ( 4 ) , <nl> / * 66 S > * / B ( Return ) , <nl> ] <nl> constant pool : [ <nl> snippet : " <nl> " <nl> frame size : 1 <nl> parameter count : 5 <nl> - bytecode array length : 21 <nl> + bytecode array length : 17 <nl> bytecodes : [ <nl> B ( CreateFunctionContext ) , U8 ( 2 ) , <nl> B ( PushContext ) , R ( 0 ) , <nl> B ( Ldar ) , R ( arg0 ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 5 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 5 ) , <nl> B ( Ldar ) , R ( arg2 ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> / * 10 E > * / B ( StackCheck ) , <nl> / * 29 S > * / B ( CreateClosure ) , U8 ( 0 ) , U8 ( 2 ) , <nl> / * 61 S > * / B ( Return ) , <nl> snippet : " <nl> " <nl> frame size : 1 <nl> parameter count : 1 <nl> - bytecode array length : 15 <nl> + bytecode array length : 13 <nl> bytecodes : [ <nl> B ( CreateFunctionContext ) , U8 ( 1 ) , <nl> B ( PushContext ) , R ( 0 ) , <nl> / * 10 E > * / B ( StackCheck ) , <nl> / * 26 S > * / B ( Ldar ) , R ( this ) , <nl> - / * 26 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + / * 26 E > * / B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> / * 32 S > * / B ( CreateClosure ) , U8 ( 0 ) , U8 ( 2 ) , <nl> / * 65 S > * / B ( Return ) , <nl> ] <nl> mmm a / test / cctest / interpreter / bytecode_expectations / ContextVariables . golden <nl> ppp b / test / cctest / interpreter / bytecode_expectations / ContextVariables . golden <nl> snippet : " <nl> " <nl> frame size : 1 <nl> parameter count : 1 <nl> - bytecode array length : 15 <nl> + bytecode array length : 13 <nl> bytecodes : [ <nl> B ( CreateFunctionContext ) , U8 ( 1 ) , <nl> B ( PushContext ) , R ( 0 ) , <nl> / * 30 E > * / B ( StackCheck ) , <nl> / * 42 S > * / B ( LdaSmi ) , U8 ( 1 ) , <nl> - / * 42 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + / * 42 E > * / B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> / * 45 S > * / B ( CreateClosure ) , U8 ( 0 ) , U8 ( 2 ) , <nl> / * 75 S > * / B ( Return ) , <nl> ] <nl> snippet : " <nl> " <nl> frame size : 1 <nl> parameter count : 1 <nl> - bytecode array length : 21 <nl> + bytecode array length : 17 <nl> bytecodes : [ <nl> B ( CreateFunctionContext ) , U8 ( 2 ) , <nl> B ( PushContext ) , R ( 0 ) , <nl> / * 30 E > * / B ( StackCheck ) , <nl> / * 42 S > * / B ( LdaSmi ) , U8 ( 1 ) , <nl> - / * 42 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + / * 42 E > * / B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> / * 53 S > * / B ( LdaSmi ) , U8 ( 2 ) , <nl> - / * 53 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 5 ) , U8 ( 0 ) , <nl> + / * 53 E > * / B ( StaCurrentContextSlot ) , U8 ( 5 ) , <nl> / * 56 S > * / B ( CreateClosure ) , U8 ( 0 ) , U8 ( 2 ) , <nl> / * 92 S > * / B ( Return ) , <nl> ] <nl> snippet : " <nl> " <nl> frame size : 3 <nl> parameter count : 1 <nl> - bytecode array length : 22 <nl> + bytecode array length : 20 <nl> bytecodes : [ <nl> B ( CreateFunctionContext ) , U8 ( 1 ) , <nl> B ( PushContext ) , R ( 0 ) , <nl> bytecodes : [ <nl> B ( CreateClosure ) , U8 ( 0 ) , U8 ( 2 ) , <nl> B ( Star ) , R ( 1 ) , <nl> / * 64 E > * / B ( Call ) , R ( 1 ) , R ( 2 ) , U8 ( 1 ) , U8 ( 2 ) , <nl> - / * 68 S > * / B ( LdaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + / * 68 S > * / B ( LdaCurrentContextSlot ) , U8 ( 4 ) , <nl> / * 78 S > * / B ( Return ) , <nl> ] <nl> constant pool : [ <nl> snippet : " <nl> " <nl> frame size : 2 <nl> parameter count : 1 <nl> - bytecode array length : 39 <nl> + bytecode array length : 31 <nl> bytecodes : [ <nl> B ( CreateFunctionContext ) , U8 ( 1 ) , <nl> B ( PushContext ) , R ( 0 ) , <nl> B ( LdaTheHole ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> / * 30 E > * / B ( StackCheck ) , <nl> / * 56 S > * / B ( LdaSmi ) , U8 ( 1 ) , <nl> - / * 56 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + / * 56 E > * / B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> B ( Ldar ) , R ( closure ) , <nl> B ( CreateBlockContext ) , U8 ( 0 ) , <nl> B ( PushContext ) , R ( 1 ) , <nl> B ( LdaTheHole ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> / * 69 S > * / B ( LdaSmi ) , U8 ( 2 ) , <nl> - / * 69 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + / * 69 E > * / B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> / * 72 S > * / B ( CreateClosure ) , U8 ( 1 ) , U8 ( 2 ) , <nl> B ( PopContext ) , R ( 0 ) , <nl> / * 104 S > * / B ( Return ) , <nl> snippet : " <nl> " <nl> frame size : 3 <nl> parameter count : 1 <nl> - bytecode array length : 1305 <nl> + bytecode array length : 789 <nl> bytecodes : [ <nl> B ( CreateFunctionContext ) , U8 ( 254 ) , <nl> B ( PushContext ) , R ( 0 ) , <nl> B ( Ldar ) , R ( this ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> B ( CreateUnmappedArguments ) , <nl> - B ( Wide ) , B ( StaContextSlot ) , R16 ( context ) , U16 ( 257 ) , U16 ( 0 ) , <nl> + B ( Wide ) , B ( StaCurrentContextSlot ) , U16 ( 257 ) , <nl> B ( Ldar ) , R ( new_target ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 5 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 5 ) , <nl> / * 30 E > * / B ( StackCheck ) , <nl> / * 57 S > * / B ( LdaZero ) , <nl> - / * 57 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 6 ) , U8 ( 0 ) , <nl> + / * 57 E > * / B ( StaCurrentContextSlot ) , U8 ( 6 ) , <nl> / * 69 S > * / B ( LdaZero ) , <nl> - / * 69 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 7 ) , U8 ( 0 ) , <nl> + / * 69 E > * / B ( StaCurrentContextSlot ) , U8 ( 7 ) , <nl> / * 81 S > * / B ( LdaZero ) , <nl> - / * 81 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 8 ) , U8 ( 0 ) , <nl> + / * 81 E > * / B ( StaCurrentContextSlot ) , U8 ( 8 ) , <nl> / * 93 S > * / B ( LdaZero ) , <nl> - / * 93 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 9 ) , U8 ( 0 ) , <nl> + / * 93 E > * / B ( StaCurrentContextSlot ) , U8 ( 9 ) , <nl> / * 105 S > * / B ( LdaZero ) , <nl> - / * 105 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 10 ) , U8 ( 0 ) , <nl> + / * 105 E > * / B ( StaCurrentContextSlot ) , U8 ( 10 ) , <nl> / * 117 S > * / B ( LdaZero ) , <nl> - / * 117 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 11 ) , U8 ( 0 ) , <nl> + / * 117 E > * / B ( StaCurrentContextSlot ) , U8 ( 11 ) , <nl> / * 129 S > * / B ( LdaZero ) , <nl> - / * 129 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 12 ) , U8 ( 0 ) , <nl> + / * 129 E > * / B ( StaCurrentContextSlot ) , U8 ( 12 ) , <nl> / * 141 S > * / B ( LdaZero ) , <nl> - / * 141 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 13 ) , U8 ( 0 ) , <nl> + / * 141 E > * / B ( StaCurrentContextSlot ) , U8 ( 13 ) , <nl> / * 153 S > * / B ( LdaZero ) , <nl> - / * 153 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 14 ) , U8 ( 0 ) , <nl> + / * 153 E > * / B ( StaCurrentContextSlot ) , U8 ( 14 ) , <nl> / * 165 S > * / B ( LdaZero ) , <nl> - / * 165 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 15 ) , U8 ( 0 ) , <nl> + / * 165 E > * / B ( StaCurrentContextSlot ) , U8 ( 15 ) , <nl> / * 178 S > * / B ( LdaZero ) , <nl> - / * 178 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 16 ) , U8 ( 0 ) , <nl> + / * 178 E > * / B ( StaCurrentContextSlot ) , U8 ( 16 ) , <nl> / * 191 S > * / B ( LdaZero ) , <nl> - / * 191 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 17 ) , U8 ( 0 ) , <nl> + / * 191 E > * / B ( StaCurrentContextSlot ) , U8 ( 17 ) , <nl> / * 204 S > * / B ( LdaZero ) , <nl> - / * 204 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 18 ) , U8 ( 0 ) , <nl> + / * 204 E > * / B ( StaCurrentContextSlot ) , U8 ( 18 ) , <nl> / * 217 S > * / B ( LdaZero ) , <nl> - / * 217 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 19 ) , U8 ( 0 ) , <nl> + / * 217 E > * / B ( StaCurrentContextSlot ) , U8 ( 19 ) , <nl> / * 230 S > * / B ( LdaZero ) , <nl> - / * 230 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 20 ) , U8 ( 0 ) , <nl> + / * 230 E > * / B ( StaCurrentContextSlot ) , U8 ( 20 ) , <nl> / * 243 S > * / B ( LdaZero ) , <nl> - / * 243 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 21 ) , U8 ( 0 ) , <nl> + / * 243 E > * / B ( StaCurrentContextSlot ) , U8 ( 21 ) , <nl> / * 256 S > * / B ( LdaZero ) , <nl> - / * 256 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 22 ) , U8 ( 0 ) , <nl> + / * 256 E > * / B ( StaCurrentContextSlot ) , U8 ( 22 ) , <nl> / * 269 S > * / B ( LdaZero ) , <nl> - / * 269 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 23 ) , U8 ( 0 ) , <nl> + / * 269 E > * / B ( StaCurrentContextSlot ) , U8 ( 23 ) , <nl> / * 282 S > * / B ( LdaZero ) , <nl> - / * 282 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 24 ) , U8 ( 0 ) , <nl> + / * 282 E > * / B ( StaCurrentContextSlot ) , U8 ( 24 ) , <nl> / * 295 S > * / B ( LdaZero ) , <nl> - / * 295 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 25 ) , U8 ( 0 ) , <nl> + / * 295 E > * / B ( StaCurrentContextSlot ) , U8 ( 25 ) , <nl> / * 308 S > * / B ( LdaZero ) , <nl> - / * 308 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 26 ) , U8 ( 0 ) , <nl> + / * 308 E > * / B ( StaCurrentContextSlot ) , U8 ( 26 ) , <nl> / * 321 S > * / B ( LdaZero ) , <nl> - / * 321 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 27 ) , U8 ( 0 ) , <nl> + / * 321 E > * / B ( StaCurrentContextSlot ) , U8 ( 27 ) , <nl> / * 334 S > * / B ( LdaZero ) , <nl> - / * 334 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 28 ) , U8 ( 0 ) , <nl> + / * 334 E > * / B ( StaCurrentContextSlot ) , U8 ( 28 ) , <nl> / * 347 S > * / B ( LdaZero ) , <nl> - / * 347 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 29 ) , U8 ( 0 ) , <nl> + / * 347 E > * / B ( StaCurrentContextSlot ) , U8 ( 29 ) , <nl> / * 360 S > * / B ( LdaZero ) , <nl> - / * 360 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 30 ) , U8 ( 0 ) , <nl> + / * 360 E > * / B ( StaCurrentContextSlot ) , U8 ( 30 ) , <nl> / * 373 S > * / B ( LdaZero ) , <nl> - / * 373 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 31 ) , U8 ( 0 ) , <nl> + / * 373 E > * / B ( StaCurrentContextSlot ) , U8 ( 31 ) , <nl> / * 386 S > * / B ( LdaZero ) , <nl> - / * 386 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 32 ) , U8 ( 0 ) , <nl> + / * 386 E > * / B ( StaCurrentContextSlot ) , U8 ( 32 ) , <nl> / * 399 S > * / B ( LdaZero ) , <nl> - / * 399 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 33 ) , U8 ( 0 ) , <nl> + / * 399 E > * / B ( StaCurrentContextSlot ) , U8 ( 33 ) , <nl> / * 412 S > * / B ( LdaZero ) , <nl> - / * 412 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 34 ) , U8 ( 0 ) , <nl> + / * 412 E > * / B ( StaCurrentContextSlot ) , U8 ( 34 ) , <nl> / * 425 S > * / B ( LdaZero ) , <nl> - / * 425 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 35 ) , U8 ( 0 ) , <nl> + / * 425 E > * / B ( StaCurrentContextSlot ) , U8 ( 35 ) , <nl> / * 438 S > * / B ( LdaZero ) , <nl> - / * 438 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 36 ) , U8 ( 0 ) , <nl> + / * 438 E > * / B ( StaCurrentContextSlot ) , U8 ( 36 ) , <nl> / * 451 S > * / B ( LdaZero ) , <nl> - / * 451 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 37 ) , U8 ( 0 ) , <nl> + / * 451 E > * / B ( StaCurrentContextSlot ) , U8 ( 37 ) , <nl> / * 464 S > * / B ( LdaZero ) , <nl> - / * 464 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 38 ) , U8 ( 0 ) , <nl> + / * 464 E > * / B ( StaCurrentContextSlot ) , U8 ( 38 ) , <nl> / * 477 S > * / B ( LdaZero ) , <nl> - / * 477 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 39 ) , U8 ( 0 ) , <nl> + / * 477 E > * / B ( StaCurrentContextSlot ) , U8 ( 39 ) , <nl> / * 490 S > * / B ( LdaZero ) , <nl> - / * 490 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 40 ) , U8 ( 0 ) , <nl> + / * 490 E > * / B ( StaCurrentContextSlot ) , U8 ( 40 ) , <nl> / * 503 S > * / B ( LdaZero ) , <nl> - / * 503 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 41 ) , U8 ( 0 ) , <nl> + / * 503 E > * / B ( StaCurrentContextSlot ) , U8 ( 41 ) , <nl> / * 516 S > * / B ( LdaZero ) , <nl> - / * 516 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 42 ) , U8 ( 0 ) , <nl> + / * 516 E > * / B ( StaCurrentContextSlot ) , U8 ( 42 ) , <nl> / * 529 S > * / B ( LdaZero ) , <nl> - / * 529 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 43 ) , U8 ( 0 ) , <nl> + / * 529 E > * / B ( StaCurrentContextSlot ) , U8 ( 43 ) , <nl> / * 542 S > * / B ( LdaZero ) , <nl> - / * 542 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 44 ) , U8 ( 0 ) , <nl> + / * 542 E > * / B ( StaCurrentContextSlot ) , U8 ( 44 ) , <nl> / * 555 S > * / B ( LdaZero ) , <nl> - / * 555 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 45 ) , U8 ( 0 ) , <nl> + / * 555 E > * / B ( StaCurrentContextSlot ) , U8 ( 45 ) , <nl> / * 568 S > * / B ( LdaZero ) , <nl> - / * 568 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 46 ) , U8 ( 0 ) , <nl> + / * 568 E > * / B ( StaCurrentContextSlot ) , U8 ( 46 ) , <nl> / * 581 S > * / B ( LdaZero ) , <nl> - / * 581 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 47 ) , U8 ( 0 ) , <nl> + / * 581 E > * / B ( StaCurrentContextSlot ) , U8 ( 47 ) , <nl> / * 594 S > * / B ( LdaZero ) , <nl> - / * 594 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 48 ) , U8 ( 0 ) , <nl> + / * 594 E > * / B ( StaCurrentContextSlot ) , U8 ( 48 ) , <nl> / * 607 S > * / B ( LdaZero ) , <nl> - / * 607 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 49 ) , U8 ( 0 ) , <nl> + / * 607 E > * / B ( StaCurrentContextSlot ) , U8 ( 49 ) , <nl> / * 620 S > * / B ( LdaZero ) , <nl> - / * 620 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 50 ) , U8 ( 0 ) , <nl> + / * 620 E > * / B ( StaCurrentContextSlot ) , U8 ( 50 ) , <nl> / * 633 S > * / B ( LdaZero ) , <nl> - / * 633 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 51 ) , U8 ( 0 ) , <nl> + / * 633 E > * / B ( StaCurrentContextSlot ) , U8 ( 51 ) , <nl> / * 646 S > * / B ( LdaZero ) , <nl> - / * 646 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 52 ) , U8 ( 0 ) , <nl> + / * 646 E > * / B ( StaCurrentContextSlot ) , U8 ( 52 ) , <nl> / * 659 S > * / B ( LdaZero ) , <nl> - / * 659 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 53 ) , U8 ( 0 ) , <nl> + / * 659 E > * / B ( StaCurrentContextSlot ) , U8 ( 53 ) , <nl> / * 672 S > * / B ( LdaZero ) , <nl> - / * 672 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 54 ) , U8 ( 0 ) , <nl> + / * 672 E > * / B ( StaCurrentContextSlot ) , U8 ( 54 ) , <nl> / * 685 S > * / B ( LdaZero ) , <nl> - / * 685 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 55 ) , U8 ( 0 ) , <nl> + / * 685 E > * / B ( StaCurrentContextSlot ) , U8 ( 55 ) , <nl> / * 698 S > * / B ( LdaZero ) , <nl> - / * 698 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 56 ) , U8 ( 0 ) , <nl> + / * 698 E > * / B ( StaCurrentContextSlot ) , U8 ( 56 ) , <nl> / * 711 S > * / B ( LdaZero ) , <nl> - / * 711 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 57 ) , U8 ( 0 ) , <nl> + / * 711 E > * / B ( StaCurrentContextSlot ) , U8 ( 57 ) , <nl> / * 724 S > * / B ( LdaZero ) , <nl> - / * 724 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 58 ) , U8 ( 0 ) , <nl> + / * 724 E > * / B ( StaCurrentContextSlot ) , U8 ( 58 ) , <nl> / * 737 S > * / B ( LdaZero ) , <nl> - / * 737 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 59 ) , U8 ( 0 ) , <nl> + / * 737 E > * / B ( StaCurrentContextSlot ) , U8 ( 59 ) , <nl> / * 750 S > * / B ( LdaZero ) , <nl> - / * 750 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 60 ) , U8 ( 0 ) , <nl> + / * 750 E > * / B ( StaCurrentContextSlot ) , U8 ( 60 ) , <nl> / * 763 S > * / B ( LdaZero ) , <nl> - / * 763 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 61 ) , U8 ( 0 ) , <nl> + / * 763 E > * / B ( StaCurrentContextSlot ) , U8 ( 61 ) , <nl> / * 776 S > * / B ( LdaZero ) , <nl> - / * 776 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 62 ) , U8 ( 0 ) , <nl> + / * 776 E > * / B ( StaCurrentContextSlot ) , U8 ( 62 ) , <nl> / * 789 S > * / B ( LdaZero ) , <nl> - / * 789 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 63 ) , U8 ( 0 ) , <nl> + / * 789 E > * / B ( StaCurrentContextSlot ) , U8 ( 63 ) , <nl> / * 802 S > * / B ( LdaZero ) , <nl> - / * 802 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 64 ) , U8 ( 0 ) , <nl> + / * 802 E > * / B ( StaCurrentContextSlot ) , U8 ( 64 ) , <nl> / * 815 S > * / B ( LdaZero ) , <nl> - / * 815 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 65 ) , U8 ( 0 ) , <nl> + / * 815 E > * / B ( StaCurrentContextSlot ) , U8 ( 65 ) , <nl> / * 828 S > * / B ( LdaZero ) , <nl> - / * 828 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 66 ) , U8 ( 0 ) , <nl> + / * 828 E > * / B ( StaCurrentContextSlot ) , U8 ( 66 ) , <nl> / * 841 S > * / B ( LdaZero ) , <nl> - / * 841 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 67 ) , U8 ( 0 ) , <nl> + / * 841 E > * / B ( StaCurrentContextSlot ) , U8 ( 67 ) , <nl> / * 854 S > * / B ( LdaZero ) , <nl> - / * 854 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 68 ) , U8 ( 0 ) , <nl> + / * 854 E > * / B ( StaCurrentContextSlot ) , U8 ( 68 ) , <nl> / * 867 S > * / B ( LdaZero ) , <nl> - / * 867 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 69 ) , U8 ( 0 ) , <nl> + / * 867 E > * / B ( StaCurrentContextSlot ) , U8 ( 69 ) , <nl> / * 880 S > * / B ( LdaZero ) , <nl> - / * 880 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 70 ) , U8 ( 0 ) , <nl> + / * 880 E > * / B ( StaCurrentContextSlot ) , U8 ( 70 ) , <nl> / * 893 S > * / B ( LdaZero ) , <nl> - / * 893 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 71 ) , U8 ( 0 ) , <nl> + / * 893 E > * / B ( StaCurrentContextSlot ) , U8 ( 71 ) , <nl> / * 906 S > * / B ( LdaZero ) , <nl> - / * 906 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 72 ) , U8 ( 0 ) , <nl> + / * 906 E > * / B ( StaCurrentContextSlot ) , U8 ( 72 ) , <nl> / * 919 S > * / B ( LdaZero ) , <nl> - / * 919 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 73 ) , U8 ( 0 ) , <nl> + / * 919 E > * / B ( StaCurrentContextSlot ) , U8 ( 73 ) , <nl> / * 932 S > * / B ( LdaZero ) , <nl> - / * 932 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 74 ) , U8 ( 0 ) , <nl> + / * 932 E > * / B ( StaCurrentContextSlot ) , U8 ( 74 ) , <nl> / * 945 S > * / B ( LdaZero ) , <nl> - / * 945 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 75 ) , U8 ( 0 ) , <nl> + / * 945 E > * / B ( StaCurrentContextSlot ) , U8 ( 75 ) , <nl> / * 958 S > * / B ( LdaZero ) , <nl> - / * 958 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 76 ) , U8 ( 0 ) , <nl> + / * 958 E > * / B ( StaCurrentContextSlot ) , U8 ( 76 ) , <nl> / * 971 S > * / B ( LdaZero ) , <nl> - / * 971 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 77 ) , U8 ( 0 ) , <nl> + / * 971 E > * / B ( StaCurrentContextSlot ) , U8 ( 77 ) , <nl> / * 984 S > * / B ( LdaZero ) , <nl> - / * 984 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 78 ) , U8 ( 0 ) , <nl> + / * 984 E > * / B ( StaCurrentContextSlot ) , U8 ( 78 ) , <nl> / * 997 S > * / B ( LdaZero ) , <nl> - / * 997 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 79 ) , U8 ( 0 ) , <nl> + / * 997 E > * / B ( StaCurrentContextSlot ) , U8 ( 79 ) , <nl> / * 1010 S > * / B ( LdaZero ) , <nl> - / * 1010 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 80 ) , U8 ( 0 ) , <nl> + / * 1010 E > * / B ( StaCurrentContextSlot ) , U8 ( 80 ) , <nl> / * 1023 S > * / B ( LdaZero ) , <nl> - / * 1023 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 81 ) , U8 ( 0 ) , <nl> + / * 1023 E > * / B ( StaCurrentContextSlot ) , U8 ( 81 ) , <nl> / * 1036 S > * / B ( LdaZero ) , <nl> - / * 1036 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 82 ) , U8 ( 0 ) , <nl> + / * 1036 E > * / B ( StaCurrentContextSlot ) , U8 ( 82 ) , <nl> / * 1049 S > * / B ( LdaZero ) , <nl> - / * 1049 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 83 ) , U8 ( 0 ) , <nl> + / * 1049 E > * / B ( StaCurrentContextSlot ) , U8 ( 83 ) , <nl> / * 1062 S > * / B ( LdaZero ) , <nl> - / * 1062 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 84 ) , U8 ( 0 ) , <nl> + / * 1062 E > * / B ( StaCurrentContextSlot ) , U8 ( 84 ) , <nl> / * 1075 S > * / B ( LdaZero ) , <nl> - / * 1075 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 85 ) , U8 ( 0 ) , <nl> + / * 1075 E > * / B ( StaCurrentContextSlot ) , U8 ( 85 ) , <nl> / * 1088 S > * / B ( LdaZero ) , <nl> - / * 1088 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 86 ) , U8 ( 0 ) , <nl> + / * 1088 E > * / B ( StaCurrentContextSlot ) , U8 ( 86 ) , <nl> / * 1101 S > * / B ( LdaZero ) , <nl> - / * 1101 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 87 ) , U8 ( 0 ) , <nl> + / * 1101 E > * / B ( StaCurrentContextSlot ) , U8 ( 87 ) , <nl> / * 1114 S > * / B ( LdaZero ) , <nl> - / * 1114 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 88 ) , U8 ( 0 ) , <nl> + / * 1114 E > * / B ( StaCurrentContextSlot ) , U8 ( 88 ) , <nl> / * 1127 S > * / B ( LdaZero ) , <nl> - / * 1127 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 89 ) , U8 ( 0 ) , <nl> + / * 1127 E > * / B ( StaCurrentContextSlot ) , U8 ( 89 ) , <nl> / * 1140 S > * / B ( LdaZero ) , <nl> - / * 1140 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 90 ) , U8 ( 0 ) , <nl> + / * 1140 E > * / B ( StaCurrentContextSlot ) , U8 ( 90 ) , <nl> / * 1153 S > * / B ( LdaZero ) , <nl> - / * 1153 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 91 ) , U8 ( 0 ) , <nl> + / * 1153 E > * / B ( StaCurrentContextSlot ) , U8 ( 91 ) , <nl> / * 1166 S > * / B ( LdaZero ) , <nl> - / * 1166 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 92 ) , U8 ( 0 ) , <nl> + / * 1166 E > * / B ( StaCurrentContextSlot ) , U8 ( 92 ) , <nl> / * 1179 S > * / B ( LdaZero ) , <nl> - / * 1179 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 93 ) , U8 ( 0 ) , <nl> + / * 1179 E > * / B ( StaCurrentContextSlot ) , U8 ( 93 ) , <nl> / * 1192 S > * / B ( LdaZero ) , <nl> - / * 1192 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 94 ) , U8 ( 0 ) , <nl> + / * 1192 E > * / B ( StaCurrentContextSlot ) , U8 ( 94 ) , <nl> / * 1205 S > * / B ( LdaZero ) , <nl> - / * 1205 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 95 ) , U8 ( 0 ) , <nl> + / * 1205 E > * / B ( StaCurrentContextSlot ) , U8 ( 95 ) , <nl> / * 1218 S > * / B ( LdaZero ) , <nl> - / * 1218 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 96 ) , U8 ( 0 ) , <nl> + / * 1218 E > * / B ( StaCurrentContextSlot ) , U8 ( 96 ) , <nl> / * 1231 S > * / B ( LdaZero ) , <nl> - / * 1231 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 97 ) , U8 ( 0 ) , <nl> + / * 1231 E > * / B ( StaCurrentContextSlot ) , U8 ( 97 ) , <nl> / * 1244 S > * / B ( LdaZero ) , <nl> - / * 1244 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 98 ) , U8 ( 0 ) , <nl> + / * 1244 E > * / B ( StaCurrentContextSlot ) , U8 ( 98 ) , <nl> / * 1257 S > * / B ( LdaZero ) , <nl> - / * 1257 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 99 ) , U8 ( 0 ) , <nl> + / * 1257 E > * / B ( StaCurrentContextSlot ) , U8 ( 99 ) , <nl> / * 1270 S > * / B ( LdaZero ) , <nl> - / * 1270 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 100 ) , U8 ( 0 ) , <nl> + / * 1270 E > * / B ( StaCurrentContextSlot ) , U8 ( 100 ) , <nl> / * 1283 S > * / B ( LdaZero ) , <nl> - / * 1283 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 101 ) , U8 ( 0 ) , <nl> + / * 1283 E > * / B ( StaCurrentContextSlot ) , U8 ( 101 ) , <nl> / * 1296 S > * / B ( LdaZero ) , <nl> - / * 1296 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 102 ) , U8 ( 0 ) , <nl> + / * 1296 E > * / B ( StaCurrentContextSlot ) , U8 ( 102 ) , <nl> / * 1309 S > * / B ( LdaZero ) , <nl> - / * 1309 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 103 ) , U8 ( 0 ) , <nl> + / * 1309 E > * / B ( StaCurrentContextSlot ) , U8 ( 103 ) , <nl> / * 1322 S > * / B ( LdaZero ) , <nl> - / * 1322 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 104 ) , U8 ( 0 ) , <nl> + / * 1322 E > * / B ( StaCurrentContextSlot ) , U8 ( 104 ) , <nl> / * 1335 S > * / B ( LdaZero ) , <nl> - / * 1335 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 105 ) , U8 ( 0 ) , <nl> + / * 1335 E > * / B ( StaCurrentContextSlot ) , U8 ( 105 ) , <nl> / * 1349 S > * / B ( LdaZero ) , <nl> - / * 1349 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 106 ) , U8 ( 0 ) , <nl> + / * 1349 E > * / B ( StaCurrentContextSlot ) , U8 ( 106 ) , <nl> / * 1363 S > * / B ( LdaZero ) , <nl> - / * 1363 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 107 ) , U8 ( 0 ) , <nl> + / * 1363 E > * / B ( StaCurrentContextSlot ) , U8 ( 107 ) , <nl> / * 1377 S > * / B ( LdaZero ) , <nl> - / * 1377 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 108 ) , U8 ( 0 ) , <nl> + / * 1377 E > * / B ( StaCurrentContextSlot ) , U8 ( 108 ) , <nl> / * 1391 S > * / B ( LdaZero ) , <nl> - / * 1391 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 109 ) , U8 ( 0 ) , <nl> + / * 1391 E > * / B ( StaCurrentContextSlot ) , U8 ( 109 ) , <nl> / * 1405 S > * / B ( LdaZero ) , <nl> - / * 1405 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 110 ) , U8 ( 0 ) , <nl> + / * 1405 E > * / B ( StaCurrentContextSlot ) , U8 ( 110 ) , <nl> / * 1419 S > * / B ( LdaZero ) , <nl> - / * 1419 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 111 ) , U8 ( 0 ) , <nl> + / * 1419 E > * / B ( StaCurrentContextSlot ) , U8 ( 111 ) , <nl> / * 1433 S > * / B ( LdaZero ) , <nl> - / * 1433 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 112 ) , U8 ( 0 ) , <nl> + / * 1433 E > * / B ( StaCurrentContextSlot ) , U8 ( 112 ) , <nl> / * 1447 S > * / B ( LdaZero ) , <nl> - / * 1447 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 113 ) , U8 ( 0 ) , <nl> + / * 1447 E > * / B ( StaCurrentContextSlot ) , U8 ( 113 ) , <nl> / * 1461 S > * / B ( LdaZero ) , <nl> - / * 1461 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 114 ) , U8 ( 0 ) , <nl> + / * 1461 E > * / B ( StaCurrentContextSlot ) , U8 ( 114 ) , <nl> / * 1475 S > * / B ( LdaZero ) , <nl> - / * 1475 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 115 ) , U8 ( 0 ) , <nl> + / * 1475 E > * / B ( StaCurrentContextSlot ) , U8 ( 115 ) , <nl> / * 1489 S > * / B ( LdaZero ) , <nl> - / * 1489 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 116 ) , U8 ( 0 ) , <nl> + / * 1489 E > * / B ( StaCurrentContextSlot ) , U8 ( 116 ) , <nl> / * 1503 S > * / B ( LdaZero ) , <nl> - / * 1503 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 117 ) , U8 ( 0 ) , <nl> + / * 1503 E > * / B ( StaCurrentContextSlot ) , U8 ( 117 ) , <nl> / * 1517 S > * / B ( LdaZero ) , <nl> - / * 1517 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 118 ) , U8 ( 0 ) , <nl> + / * 1517 E > * / B ( StaCurrentContextSlot ) , U8 ( 118 ) , <nl> / * 1531 S > * / B ( LdaZero ) , <nl> - / * 1531 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 119 ) , U8 ( 0 ) , <nl> + / * 1531 E > * / B ( StaCurrentContextSlot ) , U8 ( 119 ) , <nl> / * 1545 S > * / B ( LdaZero ) , <nl> - / * 1545 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 120 ) , U8 ( 0 ) , <nl> + / * 1545 E > * / B ( StaCurrentContextSlot ) , U8 ( 120 ) , <nl> / * 1559 S > * / B ( LdaZero ) , <nl> - / * 1559 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 121 ) , U8 ( 0 ) , <nl> + / * 1559 E > * / B ( StaCurrentContextSlot ) , U8 ( 121 ) , <nl> / * 1573 S > * / B ( LdaZero ) , <nl> - / * 1573 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 122 ) , U8 ( 0 ) , <nl> + / * 1573 E > * / B ( StaCurrentContextSlot ) , U8 ( 122 ) , <nl> / * 1587 S > * / B ( LdaZero ) , <nl> - / * 1587 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 123 ) , U8 ( 0 ) , <nl> + / * 1587 E > * / B ( StaCurrentContextSlot ) , U8 ( 123 ) , <nl> / * 1601 S > * / B ( LdaZero ) , <nl> - / * 1601 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 124 ) , U8 ( 0 ) , <nl> + / * 1601 E > * / B ( StaCurrentContextSlot ) , U8 ( 124 ) , <nl> / * 1615 S > * / B ( LdaZero ) , <nl> - / * 1615 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 125 ) , U8 ( 0 ) , <nl> + / * 1615 E > * / B ( StaCurrentContextSlot ) , U8 ( 125 ) , <nl> / * 1629 S > * / B ( LdaZero ) , <nl> - / * 1629 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 126 ) , U8 ( 0 ) , <nl> + / * 1629 E > * / B ( StaCurrentContextSlot ) , U8 ( 126 ) , <nl> / * 1643 S > * / B ( LdaZero ) , <nl> - / * 1643 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 127 ) , U8 ( 0 ) , <nl> + / * 1643 E > * / B ( StaCurrentContextSlot ) , U8 ( 127 ) , <nl> / * 1657 S > * / B ( LdaZero ) , <nl> - / * 1657 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 128 ) , U8 ( 0 ) , <nl> + / * 1657 E > * / B ( StaCurrentContextSlot ) , U8 ( 128 ) , <nl> / * 1671 S > * / B ( LdaZero ) , <nl> - / * 1671 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 129 ) , U8 ( 0 ) , <nl> + / * 1671 E > * / B ( StaCurrentContextSlot ) , U8 ( 129 ) , <nl> / * 1685 S > * / B ( LdaZero ) , <nl> - / * 1685 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 130 ) , U8 ( 0 ) , <nl> + / * 1685 E > * / B ( StaCurrentContextSlot ) , U8 ( 130 ) , <nl> / * 1699 S > * / B ( LdaZero ) , <nl> - / * 1699 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 131 ) , U8 ( 0 ) , <nl> + / * 1699 E > * / B ( StaCurrentContextSlot ) , U8 ( 131 ) , <nl> / * 1713 S > * / B ( LdaZero ) , <nl> - / * 1713 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 132 ) , U8 ( 0 ) , <nl> + / * 1713 E > * / B ( StaCurrentContextSlot ) , U8 ( 132 ) , <nl> / * 1727 S > * / B ( LdaZero ) , <nl> - / * 1727 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 133 ) , U8 ( 0 ) , <nl> + / * 1727 E > * / B ( StaCurrentContextSlot ) , U8 ( 133 ) , <nl> / * 1741 S > * / B ( LdaZero ) , <nl> - / * 1741 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 134 ) , U8 ( 0 ) , <nl> + / * 1741 E > * / B ( StaCurrentContextSlot ) , U8 ( 134 ) , <nl> / * 1755 S > * / B ( LdaZero ) , <nl> - / * 1755 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 135 ) , U8 ( 0 ) , <nl> + / * 1755 E > * / B ( StaCurrentContextSlot ) , U8 ( 135 ) , <nl> / * 1769 S > * / B ( LdaZero ) , <nl> - / * 1769 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 136 ) , U8 ( 0 ) , <nl> + / * 1769 E > * / B ( StaCurrentContextSlot ) , U8 ( 136 ) , <nl> / * 1783 S > * / B ( LdaZero ) , <nl> - / * 1783 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 137 ) , U8 ( 0 ) , <nl> + / * 1783 E > * / B ( StaCurrentContextSlot ) , U8 ( 137 ) , <nl> / * 1797 S > * / B ( LdaZero ) , <nl> - / * 1797 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 138 ) , U8 ( 0 ) , <nl> + / * 1797 E > * / B ( StaCurrentContextSlot ) , U8 ( 138 ) , <nl> / * 1811 S > * / B ( LdaZero ) , <nl> - / * 1811 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 139 ) , U8 ( 0 ) , <nl> + / * 1811 E > * / B ( StaCurrentContextSlot ) , U8 ( 139 ) , <nl> / * 1825 S > * / B ( LdaZero ) , <nl> - / * 1825 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 140 ) , U8 ( 0 ) , <nl> + / * 1825 E > * / B ( StaCurrentContextSlot ) , U8 ( 140 ) , <nl> / * 1839 S > * / B ( LdaZero ) , <nl> - / * 1839 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 141 ) , U8 ( 0 ) , <nl> + / * 1839 E > * / B ( StaCurrentContextSlot ) , U8 ( 141 ) , <nl> / * 1853 S > * / B ( LdaZero ) , <nl> - / * 1853 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 142 ) , U8 ( 0 ) , <nl> + / * 1853 E > * / B ( StaCurrentContextSlot ) , U8 ( 142 ) , <nl> / * 1867 S > * / B ( LdaZero ) , <nl> - / * 1867 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 143 ) , U8 ( 0 ) , <nl> + / * 1867 E > * / B ( StaCurrentContextSlot ) , U8 ( 143 ) , <nl> / * 1881 S > * / B ( LdaZero ) , <nl> - / * 1881 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 144 ) , U8 ( 0 ) , <nl> + / * 1881 E > * / B ( StaCurrentContextSlot ) , U8 ( 144 ) , <nl> / * 1895 S > * / B ( LdaZero ) , <nl> - / * 1895 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 145 ) , U8 ( 0 ) , <nl> + / * 1895 E > * / B ( StaCurrentContextSlot ) , U8 ( 145 ) , <nl> / * 1909 S > * / B ( LdaZero ) , <nl> - / * 1909 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 146 ) , U8 ( 0 ) , <nl> + / * 1909 E > * / B ( StaCurrentContextSlot ) , U8 ( 146 ) , <nl> / * 1923 S > * / B ( LdaZero ) , <nl> - / * 1923 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 147 ) , U8 ( 0 ) , <nl> + / * 1923 E > * / B ( StaCurrentContextSlot ) , U8 ( 147 ) , <nl> / * 1937 S > * / B ( LdaZero ) , <nl> - / * 1937 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 148 ) , U8 ( 0 ) , <nl> + / * 1937 E > * / B ( StaCurrentContextSlot ) , U8 ( 148 ) , <nl> / * 1951 S > * / B ( LdaZero ) , <nl> - / * 1951 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 149 ) , U8 ( 0 ) , <nl> + / * 1951 E > * / B ( StaCurrentContextSlot ) , U8 ( 149 ) , <nl> / * 1965 S > * / B ( LdaZero ) , <nl> - / * 1965 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 150 ) , U8 ( 0 ) , <nl> + / * 1965 E > * / B ( StaCurrentContextSlot ) , U8 ( 150 ) , <nl> / * 1979 S > * / B ( LdaZero ) , <nl> - / * 1979 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 151 ) , U8 ( 0 ) , <nl> + / * 1979 E > * / B ( StaCurrentContextSlot ) , U8 ( 151 ) , <nl> / * 1993 S > * / B ( LdaZero ) , <nl> - / * 1993 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 152 ) , U8 ( 0 ) , <nl> + / * 1993 E > * / B ( StaCurrentContextSlot ) , U8 ( 152 ) , <nl> / * 2007 S > * / B ( LdaZero ) , <nl> - / * 2007 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 153 ) , U8 ( 0 ) , <nl> + / * 2007 E > * / B ( StaCurrentContextSlot ) , U8 ( 153 ) , <nl> / * 2021 S > * / B ( LdaZero ) , <nl> - / * 2021 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 154 ) , U8 ( 0 ) , <nl> + / * 2021 E > * / B ( StaCurrentContextSlot ) , U8 ( 154 ) , <nl> / * 2035 S > * / B ( LdaZero ) , <nl> - / * 2035 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 155 ) , U8 ( 0 ) , <nl> + / * 2035 E > * / B ( StaCurrentContextSlot ) , U8 ( 155 ) , <nl> / * 2049 S > * / B ( LdaZero ) , <nl> - / * 2049 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 156 ) , U8 ( 0 ) , <nl> + / * 2049 E > * / B ( StaCurrentContextSlot ) , U8 ( 156 ) , <nl> / * 2063 S > * / B ( LdaZero ) , <nl> - / * 2063 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 157 ) , U8 ( 0 ) , <nl> + / * 2063 E > * / B ( StaCurrentContextSlot ) , U8 ( 157 ) , <nl> / * 2077 S > * / B ( LdaZero ) , <nl> - / * 2077 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 158 ) , U8 ( 0 ) , <nl> + / * 2077 E > * / B ( StaCurrentContextSlot ) , U8 ( 158 ) , <nl> / * 2091 S > * / B ( LdaZero ) , <nl> - / * 2091 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 159 ) , U8 ( 0 ) , <nl> + / * 2091 E > * / B ( StaCurrentContextSlot ) , U8 ( 159 ) , <nl> / * 2105 S > * / B ( LdaZero ) , <nl> - / * 2105 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 160 ) , U8 ( 0 ) , <nl> + / * 2105 E > * / B ( StaCurrentContextSlot ) , U8 ( 160 ) , <nl> / * 2119 S > * / B ( LdaZero ) , <nl> - / * 2119 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 161 ) , U8 ( 0 ) , <nl> + / * 2119 E > * / B ( StaCurrentContextSlot ) , U8 ( 161 ) , <nl> / * 2133 S > * / B ( LdaZero ) , <nl> - / * 2133 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 162 ) , U8 ( 0 ) , <nl> + / * 2133 E > * / B ( StaCurrentContextSlot ) , U8 ( 162 ) , <nl> / * 2147 S > * / B ( LdaZero ) , <nl> - / * 2147 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 163 ) , U8 ( 0 ) , <nl> + / * 2147 E > * / B ( StaCurrentContextSlot ) , U8 ( 163 ) , <nl> / * 2161 S > * / B ( LdaZero ) , <nl> - / * 2161 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 164 ) , U8 ( 0 ) , <nl> + / * 2161 E > * / B ( StaCurrentContextSlot ) , U8 ( 164 ) , <nl> / * 2175 S > * / B ( LdaZero ) , <nl> - / * 2175 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 165 ) , U8 ( 0 ) , <nl> + / * 2175 E > * / B ( StaCurrentContextSlot ) , U8 ( 165 ) , <nl> / * 2189 S > * / B ( LdaZero ) , <nl> - / * 2189 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 166 ) , U8 ( 0 ) , <nl> + / * 2189 E > * / B ( StaCurrentContextSlot ) , U8 ( 166 ) , <nl> / * 2203 S > * / B ( LdaZero ) , <nl> - / * 2203 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 167 ) , U8 ( 0 ) , <nl> + / * 2203 E > * / B ( StaCurrentContextSlot ) , U8 ( 167 ) , <nl> / * 2217 S > * / B ( LdaZero ) , <nl> - / * 2217 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 168 ) , U8 ( 0 ) , <nl> + / * 2217 E > * / B ( StaCurrentContextSlot ) , U8 ( 168 ) , <nl> / * 2231 S > * / B ( LdaZero ) , <nl> - / * 2231 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 169 ) , U8 ( 0 ) , <nl> + / * 2231 E > * / B ( StaCurrentContextSlot ) , U8 ( 169 ) , <nl> / * 2245 S > * / B ( LdaZero ) , <nl> - / * 2245 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 170 ) , U8 ( 0 ) , <nl> + / * 2245 E > * / B ( StaCurrentContextSlot ) , U8 ( 170 ) , <nl> / * 2259 S > * / B ( LdaZero ) , <nl> - / * 2259 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 171 ) , U8 ( 0 ) , <nl> + / * 2259 E > * / B ( StaCurrentContextSlot ) , U8 ( 171 ) , <nl> / * 2273 S > * / B ( LdaZero ) , <nl> - / * 2273 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 172 ) , U8 ( 0 ) , <nl> + / * 2273 E > * / B ( StaCurrentContextSlot ) , U8 ( 172 ) , <nl> / * 2287 S > * / B ( LdaZero ) , <nl> - / * 2287 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 173 ) , U8 ( 0 ) , <nl> + / * 2287 E > * / B ( StaCurrentContextSlot ) , U8 ( 173 ) , <nl> / * 2301 S > * / B ( LdaZero ) , <nl> - / * 2301 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 174 ) , U8 ( 0 ) , <nl> + / * 2301 E > * / B ( StaCurrentContextSlot ) , U8 ( 174 ) , <nl> / * 2315 S > * / B ( LdaZero ) , <nl> - / * 2315 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 175 ) , U8 ( 0 ) , <nl> + / * 2315 E > * / B ( StaCurrentContextSlot ) , U8 ( 175 ) , <nl> / * 2329 S > * / B ( LdaZero ) , <nl> - / * 2329 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 176 ) , U8 ( 0 ) , <nl> + / * 2329 E > * / B ( StaCurrentContextSlot ) , U8 ( 176 ) , <nl> / * 2343 S > * / B ( LdaZero ) , <nl> - / * 2343 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 177 ) , U8 ( 0 ) , <nl> + / * 2343 E > * / B ( StaCurrentContextSlot ) , U8 ( 177 ) , <nl> / * 2357 S > * / B ( LdaZero ) , <nl> - / * 2357 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 178 ) , U8 ( 0 ) , <nl> + / * 2357 E > * / B ( StaCurrentContextSlot ) , U8 ( 178 ) , <nl> / * 2371 S > * / B ( LdaZero ) , <nl> - / * 2371 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 179 ) , U8 ( 0 ) , <nl> + / * 2371 E > * / B ( StaCurrentContextSlot ) , U8 ( 179 ) , <nl> / * 2385 S > * / B ( LdaZero ) , <nl> - / * 2385 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 180 ) , U8 ( 0 ) , <nl> + / * 2385 E > * / B ( StaCurrentContextSlot ) , U8 ( 180 ) , <nl> / * 2399 S > * / B ( LdaZero ) , <nl> - / * 2399 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 181 ) , U8 ( 0 ) , <nl> + / * 2399 E > * / B ( StaCurrentContextSlot ) , U8 ( 181 ) , <nl> / * 2413 S > * / B ( LdaZero ) , <nl> - / * 2413 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 182 ) , U8 ( 0 ) , <nl> + / * 2413 E > * / B ( StaCurrentContextSlot ) , U8 ( 182 ) , <nl> / * 2427 S > * / B ( LdaZero ) , <nl> - / * 2427 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 183 ) , U8 ( 0 ) , <nl> + / * 2427 E > * / B ( StaCurrentContextSlot ) , U8 ( 183 ) , <nl> / * 2441 S > * / B ( LdaZero ) , <nl> - / * 2441 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 184 ) , U8 ( 0 ) , <nl> + / * 2441 E > * / B ( StaCurrentContextSlot ) , U8 ( 184 ) , <nl> / * 2455 S > * / B ( LdaZero ) , <nl> - / * 2455 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 185 ) , U8 ( 0 ) , <nl> + / * 2455 E > * / B ( StaCurrentContextSlot ) , U8 ( 185 ) , <nl> / * 2469 S > * / B ( LdaZero ) , <nl> - / * 2469 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 186 ) , U8 ( 0 ) , <nl> + / * 2469 E > * / B ( StaCurrentContextSlot ) , U8 ( 186 ) , <nl> / * 2483 S > * / B ( LdaZero ) , <nl> - / * 2483 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 187 ) , U8 ( 0 ) , <nl> + / * 2483 E > * / B ( StaCurrentContextSlot ) , U8 ( 187 ) , <nl> / * 2497 S > * / B ( LdaZero ) , <nl> - / * 2497 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 188 ) , U8 ( 0 ) , <nl> + / * 2497 E > * / B ( StaCurrentContextSlot ) , U8 ( 188 ) , <nl> / * 2511 S > * / B ( LdaZero ) , <nl> - / * 2511 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 189 ) , U8 ( 0 ) , <nl> + / * 2511 E > * / B ( StaCurrentContextSlot ) , U8 ( 189 ) , <nl> / * 2525 S > * / B ( LdaZero ) , <nl> - / * 2525 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 190 ) , U8 ( 0 ) , <nl> + / * 2525 E > * / B ( StaCurrentContextSlot ) , U8 ( 190 ) , <nl> / * 2539 S > * / B ( LdaZero ) , <nl> - / * 2539 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 191 ) , U8 ( 0 ) , <nl> + / * 2539 E > * / B ( StaCurrentContextSlot ) , U8 ( 191 ) , <nl> / * 2553 S > * / B ( LdaZero ) , <nl> - / * 2553 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 192 ) , U8 ( 0 ) , <nl> + / * 2553 E > * / B ( StaCurrentContextSlot ) , U8 ( 192 ) , <nl> / * 2567 S > * / B ( LdaZero ) , <nl> - / * 2567 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 193 ) , U8 ( 0 ) , <nl> + / * 2567 E > * / B ( StaCurrentContextSlot ) , U8 ( 193 ) , <nl> / * 2581 S > * / B ( LdaZero ) , <nl> - / * 2581 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 194 ) , U8 ( 0 ) , <nl> + / * 2581 E > * / B ( StaCurrentContextSlot ) , U8 ( 194 ) , <nl> / * 2595 S > * / B ( LdaZero ) , <nl> - / * 2595 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 195 ) , U8 ( 0 ) , <nl> + / * 2595 E > * / B ( StaCurrentContextSlot ) , U8 ( 195 ) , <nl> / * 2609 S > * / B ( LdaZero ) , <nl> - / * 2609 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 196 ) , U8 ( 0 ) , <nl> + / * 2609 E > * / B ( StaCurrentContextSlot ) , U8 ( 196 ) , <nl> / * 2623 S > * / B ( LdaZero ) , <nl> - / * 2623 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 197 ) , U8 ( 0 ) , <nl> + / * 2623 E > * / B ( StaCurrentContextSlot ) , U8 ( 197 ) , <nl> / * 2637 S > * / B ( LdaZero ) , <nl> - / * 2637 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 198 ) , U8 ( 0 ) , <nl> + / * 2637 E > * / B ( StaCurrentContextSlot ) , U8 ( 198 ) , <nl> / * 2651 S > * / B ( LdaZero ) , <nl> - / * 2651 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 199 ) , U8 ( 0 ) , <nl> + / * 2651 E > * / B ( StaCurrentContextSlot ) , U8 ( 199 ) , <nl> / * 2665 S > * / B ( LdaZero ) , <nl> - / * 2665 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 200 ) , U8 ( 0 ) , <nl> + / * 2665 E > * / B ( StaCurrentContextSlot ) , U8 ( 200 ) , <nl> / * 2679 S > * / B ( LdaZero ) , <nl> - / * 2679 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 201 ) , U8 ( 0 ) , <nl> + / * 2679 E > * / B ( StaCurrentContextSlot ) , U8 ( 201 ) , <nl> / * 2693 S > * / B ( LdaZero ) , <nl> - / * 2693 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 202 ) , U8 ( 0 ) , <nl> + / * 2693 E > * / B ( StaCurrentContextSlot ) , U8 ( 202 ) , <nl> / * 2707 S > * / B ( LdaZero ) , <nl> - / * 2707 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 203 ) , U8 ( 0 ) , <nl> + / * 2707 E > * / B ( StaCurrentContextSlot ) , U8 ( 203 ) , <nl> / * 2721 S > * / B ( LdaZero ) , <nl> - / * 2721 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 204 ) , U8 ( 0 ) , <nl> + / * 2721 E > * / B ( StaCurrentContextSlot ) , U8 ( 204 ) , <nl> / * 2735 S > * / B ( LdaZero ) , <nl> - / * 2735 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 205 ) , U8 ( 0 ) , <nl> + / * 2735 E > * / B ( StaCurrentContextSlot ) , U8 ( 205 ) , <nl> / * 2749 S > * / B ( LdaZero ) , <nl> - / * 2749 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 206 ) , U8 ( 0 ) , <nl> + / * 2749 E > * / B ( StaCurrentContextSlot ) , U8 ( 206 ) , <nl> / * 2763 S > * / B ( LdaZero ) , <nl> - / * 2763 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 207 ) , U8 ( 0 ) , <nl> + / * 2763 E > * / B ( StaCurrentContextSlot ) , U8 ( 207 ) , <nl> / * 2777 S > * / B ( LdaZero ) , <nl> - / * 2777 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 208 ) , U8 ( 0 ) , <nl> + / * 2777 E > * / B ( StaCurrentContextSlot ) , U8 ( 208 ) , <nl> / * 2791 S > * / B ( LdaZero ) , <nl> - / * 2791 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 209 ) , U8 ( 0 ) , <nl> + / * 2791 E > * / B ( StaCurrentContextSlot ) , U8 ( 209 ) , <nl> / * 2805 S > * / B ( LdaZero ) , <nl> - / * 2805 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 210 ) , U8 ( 0 ) , <nl> + / * 2805 E > * / B ( StaCurrentContextSlot ) , U8 ( 210 ) , <nl> / * 2819 S > * / B ( LdaZero ) , <nl> - / * 2819 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 211 ) , U8 ( 0 ) , <nl> + / * 2819 E > * / B ( StaCurrentContextSlot ) , U8 ( 211 ) , <nl> / * 2833 S > * / B ( LdaZero ) , <nl> - / * 2833 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 212 ) , U8 ( 0 ) , <nl> + / * 2833 E > * / B ( StaCurrentContextSlot ) , U8 ( 212 ) , <nl> / * 2847 S > * / B ( LdaZero ) , <nl> - / * 2847 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 213 ) , U8 ( 0 ) , <nl> + / * 2847 E > * / B ( StaCurrentContextSlot ) , U8 ( 213 ) , <nl> / * 2861 S > * / B ( LdaZero ) , <nl> - / * 2861 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 214 ) , U8 ( 0 ) , <nl> + / * 2861 E > * / B ( StaCurrentContextSlot ) , U8 ( 214 ) , <nl> / * 2875 S > * / B ( LdaZero ) , <nl> - / * 2875 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 215 ) , U8 ( 0 ) , <nl> + / * 2875 E > * / B ( StaCurrentContextSlot ) , U8 ( 215 ) , <nl> / * 2889 S > * / B ( LdaZero ) , <nl> - / * 2889 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 216 ) , U8 ( 0 ) , <nl> + / * 2889 E > * / B ( StaCurrentContextSlot ) , U8 ( 216 ) , <nl> / * 2903 S > * / B ( LdaZero ) , <nl> - / * 2903 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 217 ) , U8 ( 0 ) , <nl> + / * 2903 E > * / B ( StaCurrentContextSlot ) , U8 ( 217 ) , <nl> / * 2917 S > * / B ( LdaZero ) , <nl> - / * 2917 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 218 ) , U8 ( 0 ) , <nl> + / * 2917 E > * / B ( StaCurrentContextSlot ) , U8 ( 218 ) , <nl> / * 2931 S > * / B ( LdaZero ) , <nl> - / * 2931 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 219 ) , U8 ( 0 ) , <nl> + / * 2931 E > * / B ( StaCurrentContextSlot ) , U8 ( 219 ) , <nl> / * 2945 S > * / B ( LdaZero ) , <nl> - / * 2945 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 220 ) , U8 ( 0 ) , <nl> + / * 2945 E > * / B ( StaCurrentContextSlot ) , U8 ( 220 ) , <nl> / * 2959 S > * / B ( LdaZero ) , <nl> - / * 2959 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 221 ) , U8 ( 0 ) , <nl> + / * 2959 E > * / B ( StaCurrentContextSlot ) , U8 ( 221 ) , <nl> / * 2973 S > * / B ( LdaZero ) , <nl> - / * 2973 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 222 ) , U8 ( 0 ) , <nl> + / * 2973 E > * / B ( StaCurrentContextSlot ) , U8 ( 222 ) , <nl> / * 2987 S > * / B ( LdaZero ) , <nl> - / * 2987 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 223 ) , U8 ( 0 ) , <nl> + / * 2987 E > * / B ( StaCurrentContextSlot ) , U8 ( 223 ) , <nl> / * 3001 S > * / B ( LdaZero ) , <nl> - / * 3001 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 224 ) , U8 ( 0 ) , <nl> + / * 3001 E > * / B ( StaCurrentContextSlot ) , U8 ( 224 ) , <nl> / * 3015 S > * / B ( LdaZero ) , <nl> - / * 3015 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 225 ) , U8 ( 0 ) , <nl> + / * 3015 E > * / B ( StaCurrentContextSlot ) , U8 ( 225 ) , <nl> / * 3029 S > * / B ( LdaZero ) , <nl> - / * 3029 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 226 ) , U8 ( 0 ) , <nl> + / * 3029 E > * / B ( StaCurrentContextSlot ) , U8 ( 226 ) , <nl> / * 3043 S > * / B ( LdaZero ) , <nl> - / * 3043 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 227 ) , U8 ( 0 ) , <nl> + / * 3043 E > * / B ( StaCurrentContextSlot ) , U8 ( 227 ) , <nl> / * 3057 S > * / B ( LdaZero ) , <nl> - / * 3057 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 228 ) , U8 ( 0 ) , <nl> + / * 3057 E > * / B ( StaCurrentContextSlot ) , U8 ( 228 ) , <nl> / * 3071 S > * / B ( LdaZero ) , <nl> - / * 3071 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 229 ) , U8 ( 0 ) , <nl> + / * 3071 E > * / B ( StaCurrentContextSlot ) , U8 ( 229 ) , <nl> / * 3085 S > * / B ( LdaZero ) , <nl> - / * 3085 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 230 ) , U8 ( 0 ) , <nl> + / * 3085 E > * / B ( StaCurrentContextSlot ) , U8 ( 230 ) , <nl> / * 3099 S > * / B ( LdaZero ) , <nl> - / * 3099 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 231 ) , U8 ( 0 ) , <nl> + / * 3099 E > * / B ( StaCurrentContextSlot ) , U8 ( 231 ) , <nl> / * 3113 S > * / B ( LdaZero ) , <nl> - / * 3113 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 232 ) , U8 ( 0 ) , <nl> + / * 3113 E > * / B ( StaCurrentContextSlot ) , U8 ( 232 ) , <nl> / * 3127 S > * / B ( LdaZero ) , <nl> - / * 3127 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 233 ) , U8 ( 0 ) , <nl> + / * 3127 E > * / B ( StaCurrentContextSlot ) , U8 ( 233 ) , <nl> / * 3141 S > * / B ( LdaZero ) , <nl> - / * 3141 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 234 ) , U8 ( 0 ) , <nl> + / * 3141 E > * / B ( StaCurrentContextSlot ) , U8 ( 234 ) , <nl> / * 3155 S > * / B ( LdaZero ) , <nl> - / * 3155 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 235 ) , U8 ( 0 ) , <nl> + / * 3155 E > * / B ( StaCurrentContextSlot ) , U8 ( 235 ) , <nl> / * 3169 S > * / B ( LdaZero ) , <nl> - / * 3169 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 236 ) , U8 ( 0 ) , <nl> + / * 3169 E > * / B ( StaCurrentContextSlot ) , U8 ( 236 ) , <nl> / * 3183 S > * / B ( LdaZero ) , <nl> - / * 3183 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 237 ) , U8 ( 0 ) , <nl> + / * 3183 E > * / B ( StaCurrentContextSlot ) , U8 ( 237 ) , <nl> / * 3197 S > * / B ( LdaZero ) , <nl> - / * 3197 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 238 ) , U8 ( 0 ) , <nl> + / * 3197 E > * / B ( StaCurrentContextSlot ) , U8 ( 238 ) , <nl> / * 3211 S > * / B ( LdaZero ) , <nl> - / * 3211 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 239 ) , U8 ( 0 ) , <nl> + / * 3211 E > * / B ( StaCurrentContextSlot ) , U8 ( 239 ) , <nl> / * 3225 S > * / B ( LdaZero ) , <nl> - / * 3225 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 240 ) , U8 ( 0 ) , <nl> + / * 3225 E > * / B ( StaCurrentContextSlot ) , U8 ( 240 ) , <nl> / * 3239 S > * / B ( LdaZero ) , <nl> - / * 3239 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 241 ) , U8 ( 0 ) , <nl> + / * 3239 E > * / B ( StaCurrentContextSlot ) , U8 ( 241 ) , <nl> / * 3253 S > * / B ( LdaZero ) , <nl> - / * 3253 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 242 ) , U8 ( 0 ) , <nl> + / * 3253 E > * / B ( StaCurrentContextSlot ) , U8 ( 242 ) , <nl> / * 3267 S > * / B ( LdaZero ) , <nl> - / * 3267 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 243 ) , U8 ( 0 ) , <nl> + / * 3267 E > * / B ( StaCurrentContextSlot ) , U8 ( 243 ) , <nl> / * 3281 S > * / B ( LdaZero ) , <nl> - / * 3281 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 244 ) , U8 ( 0 ) , <nl> + / * 3281 E > * / B ( StaCurrentContextSlot ) , U8 ( 244 ) , <nl> / * 3295 S > * / B ( LdaZero ) , <nl> - / * 3295 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 245 ) , U8 ( 0 ) , <nl> + / * 3295 E > * / B ( StaCurrentContextSlot ) , U8 ( 245 ) , <nl> / * 3309 S > * / B ( LdaZero ) , <nl> - / * 3309 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 246 ) , U8 ( 0 ) , <nl> + / * 3309 E > * / B ( StaCurrentContextSlot ) , U8 ( 246 ) , <nl> / * 3323 S > * / B ( LdaZero ) , <nl> - / * 3323 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 247 ) , U8 ( 0 ) , <nl> + / * 3323 E > * / B ( StaCurrentContextSlot ) , U8 ( 247 ) , <nl> / * 3337 S > * / B ( LdaZero ) , <nl> - / * 3337 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 248 ) , U8 ( 0 ) , <nl> + / * 3337 E > * / B ( StaCurrentContextSlot ) , U8 ( 248 ) , <nl> / * 3351 S > * / B ( LdaZero ) , <nl> - / * 3351 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 249 ) , U8 ( 0 ) , <nl> + / * 3351 E > * / B ( StaCurrentContextSlot ) , U8 ( 249 ) , <nl> / * 3365 S > * / B ( LdaZero ) , <nl> - / * 3365 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 250 ) , U8 ( 0 ) , <nl> + / * 3365 E > * / B ( StaCurrentContextSlot ) , U8 ( 250 ) , <nl> / * 3379 S > * / B ( LdaZero ) , <nl> - / * 3379 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 251 ) , U8 ( 0 ) , <nl> + / * 3379 E > * / B ( StaCurrentContextSlot ) , U8 ( 251 ) , <nl> / * 3393 S > * / B ( LdaZero ) , <nl> - / * 3393 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 252 ) , U8 ( 0 ) , <nl> + / * 3393 E > * / B ( StaCurrentContextSlot ) , U8 ( 252 ) , <nl> / * 3407 S > * / B ( LdaZero ) , <nl> - / * 3407 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 253 ) , U8 ( 0 ) , <nl> + / * 3407 E > * / B ( StaCurrentContextSlot ) , U8 ( 253 ) , <nl> / * 3421 S > * / B ( LdaZero ) , <nl> - / * 3421 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 254 ) , U8 ( 0 ) , <nl> + / * 3421 E > * / B ( StaCurrentContextSlot ) , U8 ( 254 ) , <nl> / * 3435 S > * / B ( LdaZero ) , <nl> - / * 3435 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 255 ) , U8 ( 0 ) , <nl> + / * 3435 E > * / B ( StaCurrentContextSlot ) , U8 ( 255 ) , <nl> / * 3438 S > * / B ( LdrUndefined ) , R ( 2 ) , <nl> / * 3438 E > * / B ( LdrGlobal ) , U8 ( 4 ) , R ( 1 ) , <nl> / * 3438 E > * / B ( Call ) , R ( 1 ) , R ( 2 ) , U8 ( 1 ) , U8 ( 2 ) , <nl> / * 3454 S > * / B ( LdaSmi ) , U8 ( 100 ) , <nl> - / * 3454 E > * / B ( Wide ) , B ( StaContextSlot ) , R16 ( context ) , U16 ( 256 ) , U16 ( 0 ) , <nl> - / * 3459 S > * / B ( Wide ) , B ( LdaContextSlot ) , R16 ( context ) , U16 ( 256 ) , U16 ( 0 ) , <nl> + / * 3454 E > * / B ( Wide ) , B ( StaCurrentContextSlot ) , U16 ( 256 ) , <nl> + / * 3459 S > * / B ( Wide ) , B ( LdaCurrentContextSlot ) , U16 ( 256 ) , <nl> / * 3468 S > * / B ( Return ) , <nl> ] <nl> constant pool : [ <nl> mmm a / test / cctest / interpreter / bytecode_expectations / CountOperators . golden <nl> ppp b / test / cctest / interpreter / bytecode_expectations / CountOperators . golden <nl> snippet : " <nl> " <nl> frame size : 2 <nl> parameter count : 1 <nl> - bytecode array length : 27 <nl> + bytecode array length : 21 <nl> bytecodes : [ <nl> B ( CreateFunctionContext ) , U8 ( 1 ) , <nl> B ( PushContext ) , R ( 1 ) , <nl> / * 30 E > * / B ( StackCheck ) , <nl> / * 42 S > * / B ( LdaSmi ) , U8 ( 1 ) , <nl> - / * 42 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + / * 42 E > * / B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> / * 53 S > * / B ( CreateClosure ) , U8 ( 0 ) , U8 ( 2 ) , <nl> B ( Star ) , R ( 0 ) , <nl> - / * 78 S > * / B ( LdaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + / * 78 S > * / B ( LdaCurrentContextSlot ) , U8 ( 4 ) , <nl> B ( Inc ) , U8 ( 2 ) , <nl> - / * 87 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + / * 87 E > * / B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> / * 90 S > * / B ( Return ) , <nl> ] <nl> constant pool : [ <nl> snippet : " <nl> " <nl> frame size : 3 <nl> parameter count : 1 <nl> - bytecode array length : 31 <nl> + bytecode array length : 25 <nl> bytecodes : [ <nl> B ( CreateFunctionContext ) , U8 ( 1 ) , <nl> B ( PushContext ) , R ( 1 ) , <nl> / * 30 E > * / B ( StackCheck ) , <nl> / * 42 S > * / B ( LdaSmi ) , U8 ( 1 ) , <nl> - / * 42 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + / * 42 E > * / B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> / * 53 S > * / B ( CreateClosure ) , U8 ( 0 ) , U8 ( 2 ) , <nl> B ( Star ) , R ( 0 ) , <nl> - / * 78 S > * / B ( LdaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + / * 78 S > * / B ( LdaCurrentContextSlot ) , U8 ( 4 ) , <nl> B ( ToNumber ) , R ( 2 ) , <nl> B ( Dec ) , U8 ( 2 ) , <nl> - / * 86 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + / * 86 E > * / B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> B ( Ldar ) , R ( 2 ) , <nl> / * 90 S > * / B ( Return ) , <nl> ] <nl> mmm a / test / cctest / interpreter / bytecode_expectations / CreateArguments . golden <nl> ppp b / test / cctest / interpreter / bytecode_expectations / CreateArguments . golden <nl> snippet : " <nl> " <nl> frame size : 2 <nl> parameter count : 2 <nl> - bytecode array length : 19 <nl> + bytecode array length : 17 <nl> bytecodes : [ <nl> B ( CreateFunctionContext ) , U8 ( 1 ) , <nl> B ( PushContext ) , R ( 1 ) , <nl> B ( Ldar ) , R ( arg0 ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> B ( CreateMappedArguments ) , <nl> B ( Star ) , R ( 0 ) , <nl> / * 10 E > * / B ( StackCheck ) , <nl> snippet : " <nl> " <nl> frame size : 2 <nl> parameter count : 4 <nl> - bytecode array length : 28 <nl> + bytecode array length : 22 <nl> bytecodes : [ <nl> B ( CreateFunctionContext ) , U8 ( 3 ) , <nl> B ( PushContext ) , R ( 1 ) , <nl> B ( Ldar ) , R ( arg0 ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 6 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 6 ) , <nl> B ( Ldar ) , R ( arg1 ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 5 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 5 ) , <nl> B ( Ldar ) , R ( arg2 ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> B ( CreateMappedArguments ) , <nl> B ( Star ) , R ( 0 ) , <nl> / * 10 E > * / B ( StackCheck ) , <nl> mmm a / test / cctest / interpreter / bytecode_expectations / Delete . golden <nl> ppp b / test / cctest / interpreter / bytecode_expectations / Delete . golden <nl> snippet : " <nl> " <nl> frame size : 2 <nl> parameter count : 1 <nl> - bytecode array length : 29 <nl> + bytecode array length : 25 <nl> bytecodes : [ <nl> B ( CreateFunctionContext ) , U8 ( 1 ) , <nl> B ( PushContext ) , R ( 0 ) , <nl> / * 30 E > * / B ( StackCheck ) , <nl> / * 56 S > * / B ( CreateObjectLiteral ) , U8 ( 0 ) , U8 ( 0 ) , U8 ( 1 ) , R ( 1 ) , <nl> B ( Ldar ) , R ( 1 ) , <nl> - / * 56 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + / * 56 E > * / B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> / * 64 S > * / B ( CreateClosure ) , U8 ( 1 ) , U8 ( 2 ) , <nl> - / * 93 S > * / B ( LdrContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , R ( 1 ) , <nl> + / * 93 S > * / B ( LdrCurrentContextSlot ) , U8 ( 4 ) , R ( 1 ) , <nl> B ( LdaSmi ) , U8 ( 1 ) , <nl> B ( DeletePropertyStrict ) , R ( 1 ) , <nl> / * 113 S > * / B ( Return ) , <nl> mmm a / test / cctest / interpreter / bytecode_expectations / Eval . golden <nl> ppp b / test / cctest / interpreter / bytecode_expectations / Eval . golden <nl> snippet : " <nl> " <nl> frame size : 10 <nl> parameter count : 1 <nl> - bytecode array length : 69 <nl> + bytecode array length : 63 <nl> bytecodes : [ <nl> B ( CreateFunctionContext ) , U8 ( 3 ) , <nl> B ( PushContext ) , R ( 0 ) , <nl> B ( Ldar ) , R ( this ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> B ( CreateMappedArguments ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 6 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 6 ) , <nl> B ( Ldar ) , R ( new_target ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 5 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 5 ) , <nl> / * 30 E > * / B ( StackCheck ) , <nl> / * 34 S > * / B ( LdaConstant ) , U8 ( 0 ) , <nl> B ( Star ) , R ( 4 ) , <nl> mmm a / test / cctest / interpreter / bytecode_expectations / ForOf . golden <nl> ppp b / test / cctest / interpreter / bytecode_expectations / ForOf . golden <nl> snippet : " <nl> " <nl> frame size : 15 <nl> parameter count : 1 <nl> - bytecode array length : 279 <nl> + bytecode array length : 277 <nl> bytecodes : [ <nl> / * 30 E > * / B ( StackCheck ) , <nl> B ( LdaZero ) , <nl> bytecodes : [ <nl> B ( LdaZero ) , <nl> B ( Star ) , R ( 4 ) , <nl> B ( JumpLoop ) , U8 ( - 49 ) , U8 ( 0 ) , <nl> - B ( Jump ) , U8 ( 37 ) , <nl> + B ( Jump ) , U8 ( 35 ) , <nl> B ( Star ) , R ( 13 ) , <nl> B ( Ldar ) , R ( closure ) , <nl> B ( CreateCatchContext ) , R ( 13 ) , U8 ( 5 ) , U8 ( 6 ) , <nl> bytecodes : [ <nl> B ( JumpIfFalse ) , U8 ( 6 ) , <nl> B ( LdaSmi ) , U8 ( 1 ) , <nl> B ( Star ) , R ( 4 ) , <nl> - B ( LdrContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , R ( 13 ) , <nl> + B ( LdrCurrentContextSlot ) , U8 ( 4 ) , R ( 13 ) , <nl> B ( CallRuntime ) , U16 ( Runtime : : kReThrow ) , R ( 13 ) , U8 ( 1 ) , <nl> B ( PopContext ) , R ( 8 ) , <nl> B ( LdaSmi ) , U8 ( - 1 ) , <nl> constant pool : [ <nl> FIXED_ARRAY_TYPE , <nl> ] <nl> handlers : [ <nl> - [ 7 , 118 , 124 ] , <nl> + [ 7 , 116 , 122 ] , <nl> [ 10 , 81 , 83 ] , <nl> - [ 201 , 211 , 213 ] , <nl> + [ 199 , 209 , 211 ] , <nl> ] <nl> <nl> mmm <nl> snippet : " <nl> " <nl> frame size : 16 <nl> parameter count : 1 <nl> - bytecode array length : 290 <nl> + bytecode array length : 288 <nl> bytecodes : [ <nl> / * 30 E > * / B ( StackCheck ) , <nl> / * 42 S > * / B ( LdaConstant ) , U8 ( 0 ) , <nl> bytecodes : [ <nl> / * 73 S > * / B ( LdaZero ) , <nl> B ( Star ) , R ( 10 ) , <nl> B ( Mov ) , R ( 1 ) , R ( 11 ) , <nl> - B ( Jump ) , U8 ( 51 ) , <nl> - B ( Jump ) , U8 ( 37 ) , <nl> + B ( Jump ) , U8 ( 49 ) , <nl> + B ( Jump ) , U8 ( 35 ) , <nl> B ( Star ) , R ( 14 ) , <nl> B ( Ldar ) , R ( closure ) , <nl> B ( CreateCatchContext ) , R ( 14 ) , U8 ( 5 ) , U8 ( 6 ) , <nl> bytecodes : [ <nl> B ( JumpIfFalse ) , U8 ( 6 ) , <nl> B ( LdaSmi ) , U8 ( 1 ) , <nl> B ( Star ) , R ( 5 ) , <nl> - B ( LdrContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , R ( 14 ) , <nl> + B ( LdrCurrentContextSlot ) , U8 ( 4 ) , R ( 14 ) , <nl> B ( CallRuntime ) , U16 ( Runtime : : kReThrow ) , R ( 14 ) , U8 ( 1 ) , <nl> B ( PopContext ) , R ( 9 ) , <nl> B ( LdaSmi ) , U8 ( - 1 ) , <nl> constant pool : [ <nl> FIXED_ARRAY_TYPE , <nl> ] <nl> handlers : [ <nl> - [ 11 , 118 , 124 ] , <nl> + [ 11 , 116 , 122 ] , <nl> [ 14 , 81 , 83 ] , <nl> - [ 202 , 212 , 214 ] , <nl> + [ 200 , 210 , 212 ] , <nl> ] <nl> <nl> mmm <nl> snippet : " <nl> " <nl> frame size : 15 <nl> parameter count : 1 <nl> - bytecode array length : 297 <nl> + bytecode array length : 295 <nl> bytecodes : [ <nl> / * 30 E > * / B ( StackCheck ) , <nl> B ( LdaZero ) , <nl> bytecodes : [ <nl> B ( LdaZero ) , <nl> B ( Star ) , R ( 4 ) , <nl> B ( JumpLoop ) , U8 ( - 67 ) , U8 ( 0 ) , <nl> - B ( Jump ) , U8 ( 37 ) , <nl> + B ( Jump ) , U8 ( 35 ) , <nl> B ( Star ) , R ( 13 ) , <nl> B ( Ldar ) , R ( closure ) , <nl> B ( CreateCatchContext ) , R ( 13 ) , U8 ( 5 ) , U8 ( 6 ) , <nl> bytecodes : [ <nl> B ( JumpIfFalse ) , U8 ( 6 ) , <nl> B ( LdaSmi ) , U8 ( 1 ) , <nl> B ( Star ) , R ( 4 ) , <nl> - B ( LdrContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , R ( 13 ) , <nl> + B ( LdrCurrentContextSlot ) , U8 ( 4 ) , R ( 13 ) , <nl> B ( CallRuntime ) , U16 ( Runtime : : kReThrow ) , R ( 13 ) , U8 ( 1 ) , <nl> B ( PopContext ) , R ( 8 ) , <nl> B ( LdaSmi ) , U8 ( - 1 ) , <nl> constant pool : [ <nl> FIXED_ARRAY_TYPE , <nl> ] <nl> handlers : [ <nl> - [ 7 , 136 , 142 ] , <nl> + [ 7 , 134 , 140 ] , <nl> [ 10 , 99 , 101 ] , <nl> - [ 219 , 229 , 231 ] , <nl> + [ 217 , 227 , 229 ] , <nl> ] <nl> <nl> mmm <nl> snippet : " <nl> " <nl> frame size : 14 <nl> parameter count : 1 <nl> - bytecode array length : 303 <nl> + bytecode array length : 301 <nl> bytecodes : [ <nl> / * 30 E > * / B ( StackCheck ) , <nl> / * 42 S > * / B ( CreateObjectLiteral ) , U8 ( 0 ) , U8 ( 0 ) , U8 ( 1 ) , R ( 8 ) , <nl> bytecodes : [ <nl> / * 96 E > * / B ( LdrNamedProperty ) , R ( 0 ) , U8 ( 6 ) , U8 ( 16 ) , R ( 9 ) , <nl> B ( LdaZero ) , <nl> B ( Star ) , R ( 8 ) , <nl> - B ( Jump ) , U8 ( 51 ) , <nl> - B ( Jump ) , U8 ( 37 ) , <nl> + B ( Jump ) , U8 ( 49 ) , <nl> + B ( Jump ) , U8 ( 35 ) , <nl> B ( Star ) , R ( 12 ) , <nl> B ( Ldar ) , R ( closure ) , <nl> B ( CreateCatchContext ) , R ( 12 ) , U8 ( 7 ) , U8 ( 8 ) , <nl> bytecodes : [ <nl> B ( JumpIfFalse ) , U8 ( 6 ) , <nl> B ( LdaSmi ) , U8 ( 1 ) , <nl> B ( Star ) , R ( 3 ) , <nl> - B ( LdrContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , R ( 12 ) , <nl> + B ( LdrCurrentContextSlot ) , U8 ( 4 ) , R ( 12 ) , <nl> B ( CallRuntime ) , U16 ( Runtime : : kReThrow ) , R ( 12 ) , U8 ( 1 ) , <nl> B ( PopContext ) , R ( 7 ) , <nl> B ( LdaSmi ) , U8 ( - 1 ) , <nl> constant pool : [ <nl> FIXED_ARRAY_TYPE , <nl> ] <nl> handlers : [ <nl> - [ 15 , 131 , 137 ] , <nl> + [ 15 , 129 , 135 ] , <nl> [ 18 , 94 , 96 ] , <nl> - [ 215 , 225 , 227 ] , <nl> + [ 213 , 223 , 225 ] , <nl> ] <nl> <nl> mmm a / test / cctest / interpreter / bytecode_expectations / Generators . golden <nl> ppp b / test / cctest / interpreter / bytecode_expectations / Generators . golden <nl> snippet : " <nl> " <nl> frame size : 11 <nl> parameter count : 1 <nl> - bytecode array length : 212 <nl> + bytecode array length : 202 <nl> bytecodes : [ <nl> B ( Ldar ) , R ( new_target ) , <nl> B ( JumpIfUndefined ) , U8 ( 21 ) , <nl> bytecodes : [ <nl> B ( Star ) , R ( 1 ) , <nl> B ( LdaZero ) , <nl> B ( TestEqualStrict ) , R ( 1 ) , U8 ( 0 ) , <nl> - B ( JumpIfTrue ) , U8 ( 61 ) , <nl> + B ( JumpIfTrue ) , U8 ( 53 ) , <nl> B ( LdaSmi ) , U8 ( 76 ) , <nl> B ( Star ) , R ( 2 ) , <nl> B ( CallRuntime ) , U16 ( Runtime : : kAbort ) , R ( 2 ) , U8 ( 1 ) , <nl> bytecodes : [ <nl> B ( CreateFunctionContext ) , U8 ( 2 ) , <nl> B ( PushContext ) , R ( 0 ) , <nl> B ( Ldar ) , R ( this ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> / * 11 E > * / B ( StackCheck ) , <nl> B ( Mov ) , R ( context ) , R ( 4 ) , <nl> - / * 11 E > * / B ( LdrContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , R ( 6 ) , <nl> + / * 11 E > * / B ( LdrCurrentContextSlot ) , U8 ( 4 ) , R ( 6 ) , <nl> B ( Ldar ) , R ( 6 ) , <nl> B ( Mov ) , R ( closure ) , R ( 5 ) , <nl> B ( CallRuntime ) , U16 ( Runtime : : kCreateJSGeneratorObject ) , R ( 5 ) , U8 ( 2 ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 5 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 5 ) , <nl> B ( Star ) , R ( 5 ) , <nl> - B ( LdrContextSlot ) , R ( context ) , U8 ( 5 ) , U8 ( 0 ) , R ( 6 ) , <nl> + B ( LdrCurrentContextSlot ) , U8 ( 5 ) , R ( 6 ) , <nl> B ( LdaZero ) , <nl> B ( SuspendGenerator ) , R ( 6 ) , <nl> B ( Ldar ) , R ( 5 ) , <nl> bytecodes : [ <nl> B ( Star ) , R ( 2 ) , <nl> B ( CallRuntime ) , U16 ( Runtime : : kInterpreterClearPendingMessage ) , R ( 0 ) , U8 ( 0 ) , <nl> B ( Star ) , R ( 4 ) , <nl> - B ( LdrContextSlot ) , R ( context ) , U8 ( 5 ) , U8 ( 0 ) , R ( 5 ) , <nl> + B ( LdrCurrentContextSlot ) , U8 ( 5 ) , R ( 5 ) , <nl> B ( CallRuntime ) , U16 ( Runtime : : k_GeneratorClose ) , R ( 5 ) , U8 ( 1 ) , <nl> B ( CallRuntime ) , U16 ( Runtime : : kInterpreterSetPendingMessage ) , R ( 4 ) , U8 ( 1 ) , <nl> B ( LdaZero ) , <nl> bytecodes : [ <nl> constant pool : [ <nl> ] <nl> handlers : [ <nl> - [ 41 , 145 , 151 ] , <nl> + [ 39 , 137 , 143 ] , <nl> ] <nl> <nl> mmm <nl> snippet : " <nl> " <nl> frame size : 11 <nl> parameter count : 1 <nl> - bytecode array length : 310 <nl> + bytecode array length : 298 <nl> bytecodes : [ <nl> B ( Ldar ) , R ( new_target ) , <nl> B ( JumpIfUndefined ) , U8 ( 28 ) , <nl> bytecodes : [ <nl> B ( Star ) , R ( 1 ) , <nl> B ( LdaZero ) , <nl> B ( TestEqualStrict ) , R ( 1 ) , U8 ( 0 ) , <nl> - B ( JumpIfTrue ) , U8 ( 68 ) , <nl> + B ( JumpIfTrue ) , U8 ( 60 ) , <nl> B ( LdaSmi ) , U8 ( 1 ) , <nl> B ( TestEqualStrict ) , R ( 1 ) , U8 ( 0 ) , <nl> B ( JumpIfTrueConstant ) , U8 ( 0 ) , <nl> bytecodes : [ <nl> B ( CreateFunctionContext ) , U8 ( 2 ) , <nl> B ( PushContext ) , R ( 0 ) , <nl> B ( Ldar ) , R ( this ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> / * 11 E > * / B ( StackCheck ) , <nl> B ( Mov ) , R ( context ) , R ( 4 ) , <nl> - / * 11 E > * / B ( LdrContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , R ( 6 ) , <nl> + / * 11 E > * / B ( LdrCurrentContextSlot ) , U8 ( 4 ) , R ( 6 ) , <nl> B ( Ldar ) , R ( 6 ) , <nl> B ( Mov ) , R ( closure ) , R ( 5 ) , <nl> B ( CallRuntime ) , U16 ( Runtime : : kCreateJSGeneratorObject ) , R ( 5 ) , U8 ( 2 ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 5 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 5 ) , <nl> B ( Star ) , R ( 5 ) , <nl> - B ( LdrContextSlot ) , R ( context ) , U8 ( 5 ) , U8 ( 0 ) , R ( 6 ) , <nl> + B ( LdrCurrentContextSlot ) , U8 ( 5 ) , R ( 6 ) , <nl> B ( LdaZero ) , <nl> B ( SuspendGenerator ) , R ( 6 ) , <nl> B ( Ldar ) , R ( 5 ) , <nl> bytecodes : [ <nl> B ( Star ) , R ( 3 ) , <nl> B ( LdaZero ) , <nl> B ( Star ) , R ( 2 ) , <nl> - B ( Jump ) , U8 ( 116 ) , <nl> + B ( Jump ) , U8 ( 114 ) , <nl> B ( Ldar ) , R ( 7 ) , <nl> / * 11 E > * / B ( Throw ) , <nl> / * 16 S > * / B ( LdaSmi ) , U8 ( 42 ) , <nl> bytecodes : [ <nl> B ( Star ) , R ( 6 ) , <nl> B ( CallRuntime ) , U16 ( Runtime : : k_CreateIterResultObject ) , R ( 5 ) , U8 ( 2 ) , <nl> B ( Star ) , R ( 5 ) , <nl> - B ( LdrContextSlot ) , R ( context ) , U8 ( 5 ) , U8 ( 0 ) , R ( 6 ) , <nl> + B ( LdrCurrentContextSlot ) , U8 ( 5 ) , R ( 6 ) , <nl> B ( LdaSmi ) , U8 ( 1 ) , <nl> B ( SuspendGenerator ) , R ( 6 ) , <nl> B ( Ldar ) , R ( 5 ) , <nl> bytecodes : [ <nl> B ( Star ) , R ( 2 ) , <nl> B ( CallRuntime ) , U16 ( Runtime : : kInterpreterClearPendingMessage ) , R ( 0 ) , U8 ( 0 ) , <nl> B ( Star ) , R ( 4 ) , <nl> - B ( LdrContextSlot ) , R ( context ) , U8 ( 5 ) , U8 ( 0 ) , R ( 5 ) , <nl> + B ( LdrCurrentContextSlot ) , U8 ( 5 ) , R ( 5 ) , <nl> B ( CallRuntime ) , U16 ( Runtime : : k_GeneratorClose ) , R ( 5 ) , U8 ( 1 ) , <nl> B ( CallRuntime ) , U16 ( Runtime : : kInterpreterSetPendingMessage ) , R ( 4 ) , U8 ( 1 ) , <nl> B ( LdaZero ) , <nl> bytecodes : [ <nl> / * 25 S > * / B ( Return ) , <nl> ] <nl> constant pool : [ <nl> - Smi [ 141 ] , <nl> + Smi [ 131 ] , <nl> ] <nl> handlers : [ <nl> - [ 48 , 233 , 239 ] , <nl> + [ 46 , 223 , 229 ] , <nl> ] <nl> <nl> mmm <nl> snippet : " <nl> " <nl> frame size : 18 <nl> parameter count : 1 <nl> - bytecode array length : 793 <nl> + bytecode array length : 773 <nl> bytecodes : [ <nl> B ( Ldar ) , R ( new_target ) , <nl> B ( JumpIfUndefined ) , U8 ( 28 ) , <nl> bytecodes : [ <nl> B ( Star ) , R ( 4 ) , <nl> B ( LdaZero ) , <nl> B ( TestEqualStrict ) , R ( 4 ) , U8 ( 0 ) , <nl> - B ( JumpIfTrue ) , U8 ( 68 ) , <nl> + B ( JumpIfTrue ) , U8 ( 60 ) , <nl> B ( LdaSmi ) , U8 ( 1 ) , <nl> B ( TestEqualStrict ) , R ( 4 ) , U8 ( 0 ) , <nl> B ( JumpIfTrueConstant ) , U8 ( 3 ) , <nl> bytecodes : [ <nl> B ( CreateFunctionContext ) , U8 ( 9 ) , <nl> B ( PushContext ) , R ( 0 ) , <nl> B ( Ldar ) , R ( this ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> / * 11 E > * / B ( StackCheck ) , <nl> B ( Mov ) , R ( context ) , R ( 7 ) , <nl> - / * 11 E > * / B ( LdrContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , R ( 9 ) , <nl> + / * 11 E > * / B ( LdrCurrentContextSlot ) , U8 ( 4 ) , R ( 9 ) , <nl> B ( Ldar ) , R ( 9 ) , <nl> B ( Mov ) , R ( closure ) , R ( 8 ) , <nl> B ( CallRuntime ) , U16 ( Runtime : : kCreateJSGeneratorObject ) , R ( 8 ) , U8 ( 2 ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 5 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 5 ) , <nl> B ( Star ) , R ( 8 ) , <nl> - B ( LdrContextSlot ) , R ( context ) , U8 ( 5 ) , U8 ( 0 ) , R ( 9 ) , <nl> + B ( LdrCurrentContextSlot ) , U8 ( 5 ) , R ( 9 ) , <nl> B ( LdaZero ) , <nl> B ( SuspendGenerator ) , R ( 9 ) , <nl> B ( Ldar ) , R ( 8 ) , <nl> bytecodes : [ <nl> B ( Star ) , R ( 6 ) , <nl> B ( LdaZero ) , <nl> B ( Star ) , R ( 5 ) , <nl> - B ( JumpConstant ) , U8 ( 18 ) , <nl> + B ( JumpConstant ) , U8 ( 19 ) , <nl> B ( Ldar ) , R ( 10 ) , <nl> / * 11 E > * / B ( Throw ) , <nl> B ( Ldar ) , R ( closure ) , <nl> B ( CreateBlockContext ) , U8 ( 0 ) , <nl> B ( PushContext ) , R ( 1 ) , <nl> B ( LdaTheHole ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> B ( LdaZero ) , <nl> B ( StaContextSlot ) , R ( 1 ) , U8 ( 9 ) , U8 ( 0 ) , <nl> B ( Mov ) , R ( context ) , R ( 10 ) , <nl> bytecodes : [ <nl> B ( CreateBlockContext ) , U8 ( 7 ) , <nl> B ( PushContext ) , R ( 2 ) , <nl> B ( LdaTheHole ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> B ( LdaContextSlot ) , R ( 1 ) , U8 ( 6 ) , U8 ( 0 ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> - / * 36 S > * / B ( LdrContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , R ( 12 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> + / * 36 S > * / B ( LdrCurrentContextSlot ) , U8 ( 4 ) , R ( 12 ) , <nl> B ( LdaFalse ) , <nl> B ( Star ) , R ( 13 ) , <nl> B ( CallRuntime ) , U16 ( Runtime : : k_CreateIterResultObject ) , R ( 12 ) , U8 ( 2 ) , <nl> bytecodes : [ <nl> B ( Star ) , R ( 9 ) , <nl> B ( LdaZero ) , <nl> B ( Star ) , R ( 8 ) , <nl> - B ( Jump ) , U8 ( 74 ) , <nl> + B ( Jump ) , U8 ( 72 ) , <nl> B ( Ldar ) , R ( 14 ) , <nl> / * 36 E > * / B ( Throw ) , <nl> B ( PopContext ) , R ( 2 ) , <nl> B ( LdaZero ) , <nl> B ( StaContextSlot ) , R ( 1 ) , U8 ( 9 ) , U8 ( 0 ) , <nl> - B ( Wide ) , B ( JumpLoop ) , U16 ( - 220 ) , U16 ( 0 ) , <nl> - B ( Jump ) , U8 ( 44 ) , <nl> + B ( Wide ) , B ( JumpLoop ) , U16 ( - 214 ) , U16 ( 0 ) , <nl> + B ( Jump ) , U8 ( 42 ) , <nl> B ( Star ) , R ( 12 ) , <nl> B ( Ldar ) , R ( closure ) , <nl> B ( CreateCatchContext ) , R ( 12 ) , U8 ( 10 ) , U8 ( 11 ) , <nl> bytecodes : [ <nl> B ( JumpIfFalse ) , U8 ( 8 ) , <nl> B ( LdaSmi ) , U8 ( 1 ) , <nl> B ( StaContextSlot ) , R ( 0 ) , U8 ( 9 ) , U8 ( 0 ) , <nl> - B ( LdrContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , R ( 12 ) , <nl> + B ( LdrCurrentContextSlot ) , U8 ( 4 ) , R ( 12 ) , <nl> B ( CallRuntime ) , U16 ( Runtime : : kReThrow ) , R ( 12 ) , U8 ( 1 ) , <nl> B ( PopContext ) , R ( 2 ) , <nl> B ( LdaSmi ) , U8 ( - 1 ) , <nl> bytecodes : [ <nl> B ( LdrContextSlot ) , R ( 1 ) , U8 ( 7 ) , U8 ( 0 ) , R ( 11 ) , <nl> B ( LdaUndefined ) , <nl> B ( TestEqualStrict ) , R ( 11 ) , U8 ( 16 ) , <nl> - B ( JumpIfTrueConstant ) , U8 ( 9 ) , <nl> + B ( JumpIfTrueConstant ) , U8 ( 18 ) , <nl> B ( LdrContextSlot ) , R ( 1 ) , U8 ( 7 ) , U8 ( 0 ) , R ( 11 ) , <nl> B ( LdaNamedProperty ) , R ( 11 ) , U8 ( 12 ) , U8 ( 17 ) , <nl> B ( StaContextSlot ) , R ( 1 ) , U8 ( 11 ) , U8 ( 0 ) , <nl> bytecodes : [ <nl> B ( Star ) , R ( 5 ) , <nl> B ( CallRuntime ) , U16 ( Runtime : : kInterpreterClearPendingMessage ) , R ( 0 ) , U8 ( 0 ) , <nl> B ( Star ) , R ( 7 ) , <nl> - B ( LdrContextSlot ) , R ( context ) , U8 ( 5 ) , U8 ( 0 ) , R ( 8 ) , <nl> + B ( LdrCurrentContextSlot ) , U8 ( 5 ) , R ( 8 ) , <nl> B ( CallRuntime ) , U16 ( Runtime : : k_GeneratorClose ) , R ( 8 ) , U8 ( 1 ) , <nl> B ( CallRuntime ) , U16 ( Runtime : : kInterpreterSetPendingMessage ) , R ( 7 ) , U8 ( 1 ) , <nl> B ( LdaZero ) , <nl> constant pool : [ <nl> FIXED_ARRAY_TYPE , <nl> FIXED_ARRAY_TYPE , <nl> SYMBOL_TYPE , <nl> - Smi [ 158 ] , <nl> + Smi [ 148 ] , <nl> ONE_BYTE_INTERNALIZED_STRING_TYPE [ " next " ] , <nl> ONE_BYTE_INTERNALIZED_STRING_TYPE [ " done " ] , <nl> ONE_BYTE_INTERNALIZED_STRING_TYPE [ " value " ] , <nl> FIXED_ARRAY_TYPE , <nl> - Smi [ 134 ] , <nl> - Smi [ 155 ] , <nl> + Smi [ 128 ] , <nl> + Smi [ 149 ] , <nl> ONE_BYTE_INTERNALIZED_STRING_TYPE [ " . catch " ] , <nl> FIXED_ARRAY_TYPE , <nl> ONE_BYTE_INTERNALIZED_STRING_TYPE [ " return " ] , <nl> constant pool : [ <nl> FIXED_ARRAY_TYPE , <nl> Smi [ 129 ] , <nl> Smi [ 166 ] , <nl> - Smi [ 589 ] , <nl> + Smi [ 155 ] , <nl> + Smi [ 579 ] , <nl> ] <nl> handlers : [ <nl> - [ 48 , 706 , 712 ] , <nl> - [ 153 , 446 , 452 ] , <nl> - [ 156 , 402 , 404 ] , <nl> - [ 560 , 574 , 576 ] , <nl> + [ 46 , 688 , 694 ] , <nl> + [ 143 , 428 , 434 ] , <nl> + [ 146 , 386 , 388 ] , <nl> + [ 542 , 556 , 558 ] , <nl> ] <nl> <nl> mmm a / test / cctest / interpreter / bytecode_expectations / GlobalDelete . golden <nl> ppp b / test / cctest / interpreter / bytecode_expectations / GlobalDelete . golden <nl> snippet : " <nl> " <nl> frame size : 2 <nl> parameter count : 1 <nl> - bytecode array length : 16 <nl> + bytecode array length : 14 <nl> bytecodes : [ <nl> / * 32 E > * / B ( StackCheck ) , <nl> - / * 39 S > * / B ( LdrContextSlot ) , R ( context ) , U8 ( 3 ) , U8 ( 0 ) , R ( 0 ) , <nl> + / * 39 S > * / B ( LdrCurrentContextSlot ) , U8 ( 3 ) , R ( 0 ) , <nl> B ( LdrContextSlot ) , R ( 0 ) , U8 ( 2 ) , U8 ( 0 ) , R ( 1 ) , <nl> B ( LdaConstant ) , U8 ( 0 ) , <nl> B ( DeletePropertySloppy ) , R ( 1 ) , <nl> snippet : " <nl> " <nl> frame size : 2 <nl> parameter count : 1 <nl> - bytecode array length : 16 <nl> + bytecode array length : 14 <nl> bytecodes : [ <nl> / * 18 E > * / B ( StackCheck ) , <nl> - / * 25 S > * / B ( LdrContextSlot ) , R ( context ) , U8 ( 3 ) , U8 ( 0 ) , R ( 0 ) , <nl> + / * 25 S > * / B ( LdrCurrentContextSlot ) , U8 ( 3 ) , R ( 0 ) , <nl> B ( LdrContextSlot ) , R ( 0 ) , U8 ( 2 ) , U8 ( 0 ) , R ( 1 ) , <nl> B ( LdaConstant ) , U8 ( 0 ) , <nl> B ( DeletePropertySloppy ) , R ( 1 ) , <nl> mmm a / test / cctest / interpreter / bytecode_expectations / LetVariableContextSlot . golden <nl> ppp b / test / cctest / interpreter / bytecode_expectations / LetVariableContextSlot . golden <nl> snippet : " <nl> " <nl> frame size : 2 <nl> parameter count : 1 <nl> - bytecode array length : 23 <nl> + bytecode array length : 19 <nl> bytecodes : [ <nl> B ( CreateFunctionContext ) , U8 ( 1 ) , <nl> B ( PushContext ) , R ( 1 ) , <nl> B ( LdaTheHole ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> B ( CreateClosure ) , U8 ( 0 ) , U8 ( 2 ) , <nl> B ( Star ) , R ( 0 ) , <nl> / * 30 E > * / B ( StackCheck ) , <nl> / * 42 S > * / B ( LdaSmi ) , U8 ( 10 ) , <nl> - / * 42 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + / * 42 E > * / B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> B ( LdaUndefined ) , <nl> / * 72 S > * / B ( Return ) , <nl> ] <nl> snippet : " <nl> " <nl> frame size : 2 <nl> parameter count : 1 <nl> - bytecode array length : 26 <nl> + bytecode array length : 20 <nl> bytecodes : [ <nl> B ( CreateFunctionContext ) , U8 ( 1 ) , <nl> B ( PushContext ) , R ( 1 ) , <nl> B ( LdaTheHole ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> B ( CreateClosure ) , U8 ( 0 ) , U8 ( 2 ) , <nl> B ( Star ) , R ( 0 ) , <nl> / * 30 E > * / B ( StackCheck ) , <nl> / * 42 S > * / B ( LdaSmi ) , U8 ( 10 ) , <nl> - / * 42 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> - / * 72 S > * / B ( LdaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + / * 42 E > * / B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> + / * 72 S > * / B ( LdaCurrentContextSlot ) , U8 ( 4 ) , <nl> / * 82 S > * / B ( Return ) , <nl> ] <nl> constant pool : [ <nl> snippet : " <nl> " <nl> frame size : 4 <nl> parameter count : 1 <nl> - bytecode array length : 46 <nl> + bytecode array length : 38 <nl> bytecodes : [ <nl> B ( CreateFunctionContext ) , U8 ( 1 ) , <nl> B ( PushContext ) , R ( 1 ) , <nl> B ( LdaTheHole ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> B ( CreateClosure ) , U8 ( 0 ) , U8 ( 2 ) , <nl> B ( Star ) , R ( 0 ) , <nl> / * 30 E > * / B ( StackCheck ) , <nl> / * 45 S > * / B ( LdaSmi ) , U8 ( 20 ) , <nl> B ( Star ) , R ( 2 ) , <nl> - / * 45 E > * / B ( LdaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + / * 45 E > * / B ( LdaCurrentContextSlot ) , U8 ( 4 ) , <nl> B ( JumpIfNotHole ) , U8 ( 11 ) , <nl> B ( LdaConstant ) , U8 ( 1 ) , <nl> B ( Star ) , R ( 3 ) , <nl> B ( CallRuntime ) , U16 ( Runtime : : kThrowReferenceError ) , R ( 3 ) , U8 ( 1 ) , <nl> B ( Ldar ) , R ( 2 ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> - / * 45 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> + / * 45 E > * / B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> B ( LdaUndefined ) , <nl> / * 78 S > * / B ( Return ) , <nl> ] <nl> snippet : " <nl> " <nl> frame size : 2 <nl> parameter count : 1 <nl> - bytecode array length : 29 <nl> + bytecode array length : 23 <nl> bytecodes : [ <nl> B ( CreateFunctionContext ) , U8 ( 1 ) , <nl> B ( PushContext ) , R ( 1 ) , <nl> B ( LdaTheHole ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> B ( CreateClosure ) , U8 ( 0 ) , U8 ( 2 ) , <nl> B ( Star ) , R ( 0 ) , <nl> / * 30 E > * / B ( StackCheck ) , <nl> / * 42 S > * / B ( LdaSmi ) , U8 ( 10 ) , <nl> - / * 42 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + / * 42 E > * / B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> / * 46 S > * / B ( LdaSmi ) , U8 ( 20 ) , <nl> - / * 48 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + / * 48 E > * / B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> B ( LdaUndefined ) , <nl> / * 80 S > * / B ( Return ) , <nl> ] <nl> mmm a / test / cctest / interpreter / bytecode_expectations / LookupSlot . golden <nl> ppp b / test / cctest / interpreter / bytecode_expectations / LookupSlot . golden <nl> snippet : " <nl> " <nl> frame size : 10 <nl> parameter count : 1 <nl> - bytecode array length : 73 <nl> + bytecode array length : 67 <nl> bytecodes : [ <nl> B ( CreateFunctionContext ) , U8 ( 3 ) , <nl> B ( PushContext ) , R ( 0 ) , <nl> B ( Ldar ) , R ( this ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> B ( CreateMappedArguments ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 6 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 6 ) , <nl> B ( Ldar ) , R ( new_target ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 5 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 5 ) , <nl> / * 10 E > * / B ( StackCheck ) , <nl> / * 14 S > * / B ( LdaConstant ) , U8 ( 0 ) , <nl> B ( Star ) , R ( 4 ) , <nl> snippet : " <nl> " <nl> frame size : 10 <nl> parameter count : 1 <nl> - bytecode array length : 74 <nl> + bytecode array length : 68 <nl> bytecodes : [ <nl> B ( CreateFunctionContext ) , U8 ( 3 ) , <nl> B ( PushContext ) , R ( 0 ) , <nl> B ( Ldar ) , R ( this ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> B ( CreateMappedArguments ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 6 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 6 ) , <nl> B ( Ldar ) , R ( new_target ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 5 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 5 ) , <nl> / * 10 E > * / B ( StackCheck ) , <nl> / * 14 S > * / B ( LdaConstant ) , U8 ( 0 ) , <nl> B ( Star ) , R ( 4 ) , <nl> snippet : " <nl> " <nl> frame size : 10 <nl> parameter count : 1 <nl> - bytecode array length : 73 <nl> + bytecode array length : 67 <nl> bytecodes : [ <nl> B ( CreateFunctionContext ) , U8 ( 3 ) , <nl> B ( PushContext ) , R ( 0 ) , <nl> B ( Ldar ) , R ( this ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> B ( CreateMappedArguments ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 6 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 6 ) , <nl> B ( Ldar ) , R ( new_target ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 5 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 5 ) , <nl> / * 10 E > * / B ( StackCheck ) , <nl> / * 14 S > * / B ( LdaSmi ) , U8 ( 20 ) , <nl> / * 16 E > * / B ( StaLookupSlotSloppy ) , U8 ( 0 ) , <nl> snippet : " <nl> " <nl> frame size : 10 <nl> parameter count : 1 <nl> - bytecode array length : 73 <nl> + bytecode array length : 67 <nl> bytecodes : [ <nl> B ( CreateFunctionContext ) , U8 ( 3 ) , <nl> B ( PushContext ) , R ( 0 ) , <nl> B ( Ldar ) , R ( this ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> B ( CreateMappedArguments ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 6 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 6 ) , <nl> B ( Ldar ) , R ( new_target ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 5 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 5 ) , <nl> / * 38 E > * / B ( StackCheck ) , <nl> / * 44 S > * / B ( LdaConstant ) , U8 ( 0 ) , <nl> B ( Star ) , R ( 4 ) , <nl> snippet : " <nl> " <nl> frame size : 10 <nl> parameter count : 1 <nl> - bytecode array length : 73 <nl> + bytecode array length : 67 <nl> bytecodes : [ <nl> B ( CreateFunctionContext ) , U8 ( 3 ) , <nl> B ( PushContext ) , R ( 0 ) , <nl> B ( Ldar ) , R ( this ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> B ( CreateMappedArguments ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 6 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 6 ) , <nl> B ( Ldar ) , R ( new_target ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 5 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 5 ) , <nl> / * 34 E > * / B ( StackCheck ) , <nl> / * 40 S > * / B ( LdaConstant ) , U8 ( 0 ) , <nl> B ( Star ) , R ( 4 ) , <nl> mmm a / test / cctest / interpreter / bytecode_expectations / Modules . golden <nl> ppp b / test / cctest / interpreter / bytecode_expectations / Modules . golden <nl> snippet : " <nl> " <nl> frame size : 8 <nl> parameter count : 2 <nl> - bytecode array length : 133 <nl> + bytecode array length : 125 <nl> bytecodes : [ <nl> B ( Ldar ) , R ( new_target ) , <nl> B ( JumpIfUndefined ) , U8 ( 21 ) , <nl> bytecodes : [ <nl> B ( Star ) , R ( 1 ) , <nl> B ( LdaZero ) , <nl> B ( TestEqualStrict ) , R ( 1 ) , U8 ( 0 ) , <nl> - B ( JumpIfTrue ) , U8 ( 71 ) , <nl> + B ( JumpIfTrue ) , U8 ( 63 ) , <nl> B ( LdaSmi ) , U8 ( 76 ) , <nl> B ( Star ) , R ( 2 ) , <nl> B ( CallRuntime ) , U16 ( Runtime : : kAbort ) , R ( 2 ) , U8 ( 1 ) , <nl> bytecodes : [ <nl> B ( CallRuntime ) , U16 ( Runtime : : kPushModuleContext ) , R ( 2 ) , U8 ( 3 ) , <nl> B ( PushContext ) , R ( 0 ) , <nl> B ( Ldar ) , R ( this ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> / * 0 E > * / B ( StackCheck ) , <nl> - / * 0 E > * / B ( LdrContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , R ( 3 ) , <nl> + / * 0 E > * / B ( LdrCurrentContextSlot ) , U8 ( 4 ) , R ( 3 ) , <nl> B ( Ldar ) , R ( 3 ) , <nl> B ( Mov ) , R ( closure ) , R ( 2 ) , <nl> B ( CallRuntime ) , U16 ( Runtime : : kCreateJSGeneratorObject ) , R ( 2 ) , U8 ( 2 ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 5 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 5 ) , <nl> B ( Star ) , R ( 2 ) , <nl> - B ( LdrContextSlot ) , R ( context ) , U8 ( 5 ) , U8 ( 0 ) , R ( 3 ) , <nl> + B ( LdrCurrentContextSlot ) , U8 ( 5 ) , R ( 3 ) , <nl> B ( LdaZero ) , <nl> B ( SuspendGenerator ) , R ( 3 ) , <nl> B ( Ldar ) , R ( 2 ) , <nl> snippet : " <nl> " <nl> frame size : 8 <nl> parameter count : 2 <nl> - bytecode array length : 133 <nl> + bytecode array length : 125 <nl> bytecodes : [ <nl> B ( Ldar ) , R ( new_target ) , <nl> B ( JumpIfUndefined ) , U8 ( 21 ) , <nl> bytecodes : [ <nl> B ( Star ) , R ( 1 ) , <nl> B ( LdaZero ) , <nl> B ( TestEqualStrict ) , R ( 1 ) , U8 ( 0 ) , <nl> - B ( JumpIfTrue ) , U8 ( 71 ) , <nl> + B ( JumpIfTrue ) , U8 ( 63 ) , <nl> B ( LdaSmi ) , U8 ( 76 ) , <nl> B ( Star ) , R ( 2 ) , <nl> B ( CallRuntime ) , U16 ( Runtime : : kAbort ) , R ( 2 ) , U8 ( 1 ) , <nl> bytecodes : [ <nl> B ( CallRuntime ) , U16 ( Runtime : : kPushModuleContext ) , R ( 2 ) , U8 ( 3 ) , <nl> B ( PushContext ) , R ( 0 ) , <nl> B ( Ldar ) , R ( this ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> / * 0 E > * / B ( StackCheck ) , <nl> - / * 0 E > * / B ( LdrContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , R ( 3 ) , <nl> + / * 0 E > * / B ( LdrCurrentContextSlot ) , U8 ( 4 ) , R ( 3 ) , <nl> B ( Ldar ) , R ( 3 ) , <nl> B ( Mov ) , R ( closure ) , R ( 2 ) , <nl> B ( CallRuntime ) , U16 ( Runtime : : kCreateJSGeneratorObject ) , R ( 2 ) , U8 ( 2 ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 5 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 5 ) , <nl> B ( Star ) , R ( 2 ) , <nl> - B ( LdrContextSlot ) , R ( context ) , U8 ( 5 ) , U8 ( 0 ) , R ( 3 ) , <nl> + B ( LdrCurrentContextSlot ) , U8 ( 5 ) , R ( 3 ) , <nl> B ( LdaZero ) , <nl> B ( SuspendGenerator ) , R ( 3 ) , <nl> B ( Ldar ) , R ( 2 ) , <nl> snippet : " <nl> " <nl> frame size : 9 <nl> parameter count : 2 <nl> - bytecode array length : 223 <nl> + bytecode array length : 211 <nl> bytecodes : [ <nl> B ( Ldar ) , R ( new_target ) , <nl> B ( JumpIfUndefined ) , U8 ( 21 ) , <nl> bytecodes : [ <nl> B ( Star ) , R ( 2 ) , <nl> B ( LdaZero ) , <nl> B ( TestEqualStrict ) , R ( 2 ) , U8 ( 0 ) , <nl> - B ( JumpIfTrue ) , U8 ( 71 ) , <nl> + B ( JumpIfTrue ) , U8 ( 63 ) , <nl> B ( LdaSmi ) , U8 ( 76 ) , <nl> B ( Star ) , R ( 3 ) , <nl> B ( CallRuntime ) , U16 ( Runtime : : kAbort ) , R ( 3 ) , U8 ( 1 ) , <nl> bytecodes : [ <nl> B ( CallRuntime ) , U16 ( Runtime : : kPushModuleContext ) , R ( 3 ) , U8 ( 3 ) , <nl> B ( PushContext ) , R ( 0 ) , <nl> B ( Ldar ) , R ( this ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> / * 0 E > * / B ( StackCheck ) , <nl> - / * 0 E > * / B ( LdrContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , R ( 4 ) , <nl> + / * 0 E > * / B ( LdrCurrentContextSlot ) , U8 ( 4 ) , R ( 4 ) , <nl> B ( Ldar ) , R ( 4 ) , <nl> B ( Mov ) , R ( closure ) , R ( 3 ) , <nl> B ( CallRuntime ) , U16 ( Runtime : : kCreateJSGeneratorObject ) , R ( 3 ) , U8 ( 2 ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 5 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 5 ) , <nl> B ( Star ) , R ( 3 ) , <nl> - B ( LdrContextSlot ) , R ( context ) , U8 ( 5 ) , U8 ( 0 ) , R ( 4 ) , <nl> + B ( LdrCurrentContextSlot ) , U8 ( 5 ) , R ( 4 ) , <nl> B ( LdaZero ) , <nl> B ( SuspendGenerator ) , R ( 4 ) , <nl> B ( Ldar ) , R ( 3 ) , <nl> bytecodes : [ <nl> B ( CreateBlockContext ) , U8 ( 3 ) , <nl> B ( PushContext ) , R ( 1 ) , <nl> B ( LdaTheHole ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> / * 47 S > * / B ( LdaUndefined ) , <nl> - / * 47 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + / * 47 E > * / B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> / * 52 S > * / B ( LdrUndefined ) , R ( 4 ) , <nl> B ( LdaConstant ) , U8 ( 1 ) , <nl> B ( Star ) , R ( 6 ) , <nl> snippet : " <nl> " <nl> frame size : 9 <nl> parameter count : 2 <nl> - bytecode array length : 208 <nl> + bytecode array length : 196 <nl> bytecodes : [ <nl> B ( Ldar ) , R ( new_target ) , <nl> B ( JumpIfUndefined ) , U8 ( 21 ) , <nl> bytecodes : [ <nl> B ( Star ) , R ( 2 ) , <nl> B ( LdaZero ) , <nl> B ( TestEqualStrict ) , R ( 2 ) , U8 ( 0 ) , <nl> - B ( JumpIfTrue ) , U8 ( 71 ) , <nl> + B ( JumpIfTrue ) , U8 ( 63 ) , <nl> B ( LdaSmi ) , U8 ( 76 ) , <nl> B ( Star ) , R ( 3 ) , <nl> B ( CallRuntime ) , U16 ( Runtime : : kAbort ) , R ( 3 ) , U8 ( 1 ) , <nl> bytecodes : [ <nl> B ( CallRuntime ) , U16 ( Runtime : : kPushModuleContext ) , R ( 3 ) , U8 ( 3 ) , <nl> B ( PushContext ) , R ( 0 ) , <nl> B ( Ldar ) , R ( this ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> / * 0 E > * / B ( StackCheck ) , <nl> - / * 0 E > * / B ( LdrContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , R ( 4 ) , <nl> + / * 0 E > * / B ( LdrCurrentContextSlot ) , U8 ( 4 ) , R ( 4 ) , <nl> B ( Ldar ) , R ( 4 ) , <nl> B ( Mov ) , R ( closure ) , R ( 3 ) , <nl> B ( CallRuntime ) , U16 ( Runtime : : kCreateJSGeneratorObject ) , R ( 3 ) , U8 ( 2 ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 5 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 5 ) , <nl> B ( Star ) , R ( 3 ) , <nl> - B ( LdrContextSlot ) , R ( context ) , U8 ( 5 ) , U8 ( 0 ) , R ( 4 ) , <nl> + B ( LdrCurrentContextSlot ) , U8 ( 5 ) , R ( 4 ) , <nl> B ( LdaZero ) , <nl> B ( SuspendGenerator ) , R ( 4 ) , <nl> B ( Ldar ) , R ( 3 ) , <nl> bytecodes : [ <nl> B ( CreateBlockContext ) , U8 ( 2 ) , <nl> B ( PushContext ) , R ( 1 ) , <nl> B ( LdaTheHole ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> / * 34 S > * / B ( LdaUndefined ) , <nl> - / * 34 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + / * 34 E > * / B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> / * 39 S > * / B ( LdaConstant ) , U8 ( 1 ) , <nl> B ( Star ) , R ( 3 ) , <nl> B ( CallRuntime ) , U16 ( Runtime : : kLoadModuleExport ) , R ( 3 ) , U8 ( 1 ) , <nl> snippet : " <nl> " <nl> frame size : 9 <nl> parameter count : 2 <nl> - bytecode array length : 220 <nl> + bytecode array length : 208 <nl> bytecodes : [ <nl> B ( Ldar ) , R ( new_target ) , <nl> B ( JumpIfUndefined ) , U8 ( 21 ) , <nl> bytecodes : [ <nl> B ( Star ) , R ( 2 ) , <nl> B ( LdaZero ) , <nl> B ( TestEqualStrict ) , R ( 2 ) , U8 ( 0 ) , <nl> - B ( JumpIfTrue ) , U8 ( 83 ) , <nl> + B ( JumpIfTrue ) , U8 ( 75 ) , <nl> B ( LdaSmi ) , U8 ( 76 ) , <nl> B ( Star ) , R ( 3 ) , <nl> B ( CallRuntime ) , U16 ( Runtime : : kAbort ) , R ( 3 ) , U8 ( 1 ) , <nl> bytecodes : [ <nl> B ( CallRuntime ) , U16 ( Runtime : : kPushModuleContext ) , R ( 3 ) , U8 ( 3 ) , <nl> B ( PushContext ) , R ( 0 ) , <nl> B ( Ldar ) , R ( this ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> B ( LdaTheHole ) , <nl> B ( Star ) , R ( 4 ) , <nl> B ( LdaConstant ) , U8 ( 1 ) , <nl> B ( Star ) , R ( 3 ) , <nl> B ( CallRuntime ) , U16 ( Runtime : : kStoreModuleExport ) , R ( 3 ) , U8 ( 2 ) , <nl> / * 0 E > * / B ( StackCheck ) , <nl> - / * 0 E > * / B ( LdrContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , R ( 4 ) , <nl> + / * 0 E > * / B ( LdrCurrentContextSlot ) , U8 ( 4 ) , R ( 4 ) , <nl> B ( Ldar ) , R ( 4 ) , <nl> B ( Mov ) , R ( closure ) , R ( 3 ) , <nl> B ( CallRuntime ) , U16 ( Runtime : : kCreateJSGeneratorObject ) , R ( 3 ) , U8 ( 2 ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 5 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 5 ) , <nl> B ( Star ) , R ( 3 ) , <nl> - B ( LdrContextSlot ) , R ( context ) , U8 ( 5 ) , U8 ( 0 ) , R ( 4 ) , <nl> + B ( LdrCurrentContextSlot ) , U8 ( 5 ) , R ( 4 ) , <nl> B ( LdaZero ) , <nl> B ( SuspendGenerator ) , R ( 4 ) , <nl> B ( Ldar ) , R ( 3 ) , <nl> bytecodes : [ <nl> B ( CreateBlockContext ) , U8 ( 2 ) , <nl> B ( PushContext ) , R ( 1 ) , <nl> B ( LdaTheHole ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> / * 34 S > * / B ( LdaUndefined ) , <nl> - / * 34 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + / * 34 E > * / B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> / * 39 S > * / B ( LdaConstant ) , U8 ( 1 ) , <nl> B ( Star ) , R ( 3 ) , <nl> B ( CallRuntime ) , U16 ( Runtime : : kLoadModuleExport ) , R ( 3 ) , U8 ( 1 ) , <nl> snippet : " <nl> " <nl> frame size : 9 <nl> parameter count : 2 <nl> - bytecode array length : 208 <nl> + bytecode array length : 196 <nl> bytecodes : [ <nl> B ( Ldar ) , R ( new_target ) , <nl> B ( JumpIfUndefined ) , U8 ( 21 ) , <nl> bytecodes : [ <nl> B ( Star ) , R ( 2 ) , <nl> B ( LdaZero ) , <nl> B ( TestEqualStrict ) , R ( 2 ) , U8 ( 0 ) , <nl> - B ( JumpIfTrue ) , U8 ( 83 ) , <nl> + B ( JumpIfTrue ) , U8 ( 75 ) , <nl> B ( LdaSmi ) , U8 ( 76 ) , <nl> B ( Star ) , R ( 3 ) , <nl> B ( CallRuntime ) , U16 ( Runtime : : kAbort ) , R ( 3 ) , U8 ( 1 ) , <nl> bytecodes : [ <nl> B ( CallRuntime ) , U16 ( Runtime : : kPushModuleContext ) , R ( 3 ) , U8 ( 3 ) , <nl> B ( PushContext ) , R ( 0 ) , <nl> B ( Ldar ) , R ( this ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> B ( LdaTheHole ) , <nl> B ( Star ) , R ( 4 ) , <nl> B ( LdaConstant ) , U8 ( 1 ) , <nl> B ( Star ) , R ( 3 ) , <nl> B ( CallRuntime ) , U16 ( Runtime : : kStoreModuleExport ) , R ( 3 ) , U8 ( 2 ) , <nl> / * 0 E > * / B ( StackCheck ) , <nl> - / * 0 E > * / B ( LdrContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , R ( 4 ) , <nl> + / * 0 E > * / B ( LdrCurrentContextSlot ) , U8 ( 4 ) , R ( 4 ) , <nl> B ( Ldar ) , R ( 4 ) , <nl> B ( Mov ) , R ( closure ) , R ( 3 ) , <nl> B ( CallRuntime ) , U16 ( Runtime : : kCreateJSGeneratorObject ) , R ( 3 ) , U8 ( 2 ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 5 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 5 ) , <nl> B ( Star ) , R ( 3 ) , <nl> - B ( LdrContextSlot ) , R ( context ) , U8 ( 5 ) , U8 ( 0 ) , R ( 4 ) , <nl> + B ( LdrCurrentContextSlot ) , U8 ( 5 ) , R ( 4 ) , <nl> B ( LdaZero ) , <nl> B ( SuspendGenerator ) , R ( 4 ) , <nl> B ( Ldar ) , R ( 3 ) , <nl> bytecodes : [ <nl> B ( CreateBlockContext ) , U8 ( 2 ) , <nl> B ( PushContext ) , R ( 1 ) , <nl> B ( LdaTheHole ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> / * 36 S > * / B ( LdaUndefined ) , <nl> - / * 36 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + / * 36 E > * / B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> / * 41 S > * / B ( LdaConstant ) , U8 ( 1 ) , <nl> B ( Star ) , R ( 3 ) , <nl> B ( CallRuntime ) , U16 ( Runtime : : kLoadModuleExport ) , R ( 3 ) , U8 ( 1 ) , <nl> snippet : " <nl> " <nl> frame size : 8 <nl> parameter count : 2 <nl> - bytecode array length : 159 <nl> + bytecode array length : 151 <nl> bytecodes : [ <nl> B ( Ldar ) , R ( new_target ) , <nl> B ( JumpIfUndefined ) , U8 ( 21 ) , <nl> bytecodes : [ <nl> B ( Star ) , R ( 1 ) , <nl> B ( LdaZero ) , <nl> B ( TestEqualStrict ) , R ( 1 ) , U8 ( 0 ) , <nl> - B ( JumpIfTrue ) , U8 ( 83 ) , <nl> + B ( JumpIfTrue ) , U8 ( 75 ) , <nl> B ( LdaSmi ) , U8 ( 76 ) , <nl> B ( Star ) , R ( 2 ) , <nl> B ( CallRuntime ) , U16 ( Runtime : : kAbort ) , R ( 2 ) , U8 ( 1 ) , <nl> bytecodes : [ <nl> B ( CallRuntime ) , U16 ( Runtime : : kPushModuleContext ) , R ( 2 ) , U8 ( 3 ) , <nl> B ( PushContext ) , R ( 0 ) , <nl> B ( Ldar ) , R ( this ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> B ( LdaTheHole ) , <nl> B ( Star ) , R ( 3 ) , <nl> B ( LdaConstant ) , U8 ( 1 ) , <nl> B ( Star ) , R ( 2 ) , <nl> B ( CallRuntime ) , U16 ( Runtime : : kStoreModuleExport ) , R ( 2 ) , U8 ( 2 ) , <nl> / * 0 E > * / B ( StackCheck ) , <nl> - / * 0 E > * / B ( LdrContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , R ( 3 ) , <nl> + / * 0 E > * / B ( LdrCurrentContextSlot ) , U8 ( 4 ) , R ( 3 ) , <nl> B ( Ldar ) , R ( 3 ) , <nl> B ( Mov ) , R ( closure ) , R ( 2 ) , <nl> B ( CallRuntime ) , U16 ( Runtime : : kCreateJSGeneratorObject ) , R ( 2 ) , U8 ( 2 ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 5 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 5 ) , <nl> B ( Star ) , R ( 2 ) , <nl> - B ( LdrContextSlot ) , R ( context ) , U8 ( 5 ) , U8 ( 0 ) , R ( 3 ) , <nl> + B ( LdrCurrentContextSlot ) , U8 ( 5 ) , R ( 3 ) , <nl> B ( LdaZero ) , <nl> B ( SuspendGenerator ) , R ( 3 ) , <nl> B ( Ldar ) , R ( 2 ) , <nl> snippet : " <nl> " <nl> frame size : 8 <nl> parameter count : 2 <nl> - bytecode array length : 196 <nl> + bytecode array length : 184 <nl> bytecodes : [ <nl> B ( Ldar ) , R ( new_target ) , <nl> B ( JumpIfUndefined ) , U8 ( 21 ) , <nl> bytecodes : [ <nl> B ( Star ) , R ( 1 ) , <nl> B ( LdaZero ) , <nl> B ( TestEqualStrict ) , R ( 1 ) , U8 ( 0 ) , <nl> - B ( JumpIfTrue ) , U8 ( 83 ) , <nl> + B ( JumpIfTrue ) , U8 ( 75 ) , <nl> B ( LdaSmi ) , U8 ( 76 ) , <nl> B ( Star ) , R ( 2 ) , <nl> B ( CallRuntime ) , U16 ( Runtime : : kAbort ) , R ( 2 ) , U8 ( 1 ) , <nl> bytecodes : [ <nl> B ( CallRuntime ) , U16 ( Runtime : : kPushModuleContext ) , R ( 2 ) , U8 ( 3 ) , <nl> B ( PushContext ) , R ( 0 ) , <nl> B ( Ldar ) , R ( this ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> B ( LdaTheHole ) , <nl> B ( Star ) , R ( 3 ) , <nl> B ( LdaConstant ) , U8 ( 1 ) , <nl> B ( Star ) , R ( 2 ) , <nl> B ( CallRuntime ) , U16 ( Runtime : : kStoreModuleExport ) , R ( 2 ) , U8 ( 2 ) , <nl> / * 0 E > * / B ( StackCheck ) , <nl> - / * 0 E > * / B ( LdrContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , R ( 3 ) , <nl> + / * 0 E > * / B ( LdrCurrentContextSlot ) , U8 ( 4 ) , R ( 3 ) , <nl> B ( Ldar ) , R ( 3 ) , <nl> B ( Mov ) , R ( closure ) , R ( 2 ) , <nl> B ( CallRuntime ) , U16 ( Runtime : : kCreateJSGeneratorObject ) , R ( 2 ) , U8 ( 2 ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 5 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 5 ) , <nl> B ( Star ) , R ( 2 ) , <nl> - B ( LdrContextSlot ) , R ( context ) , U8 ( 5 ) , U8 ( 0 ) , R ( 3 ) , <nl> + B ( LdrCurrentContextSlot ) , U8 ( 5 ) , R ( 3 ) , <nl> B ( LdaZero ) , <nl> B ( SuspendGenerator ) , R ( 3 ) , <nl> B ( Ldar ) , R ( 2 ) , <nl> bytecodes : [ <nl> B ( Star ) , R ( 2 ) , <nl> B ( LdrNamedProperty ) , R ( 2 ) , U8 ( 3 ) , U8 ( 2 ) , R ( 3 ) , <nl> B ( CallRuntime ) , U16 ( Runtime : : kToFastProperties ) , R ( 2 ) , U8 ( 1 ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 6 ) , U8 ( 0 ) , <nl> - / * 16 E > * / B ( LdrContextSlot ) , R ( context ) , U8 ( 6 ) , U8 ( 0 ) , R ( 3 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 6 ) , <nl> + / * 16 E > * / B ( LdrCurrentContextSlot ) , U8 ( 6 ) , R ( 3 ) , <nl> B ( LdaConstant ) , U8 ( 1 ) , <nl> B ( Star ) , R ( 2 ) , <nl> B ( CallRuntime ) , U16 ( Runtime : : kStoreModuleExport ) , R ( 2 ) , U8 ( 2 ) , <nl> snippet : " <nl> " <nl> frame size : 8 <nl> parameter count : 2 <nl> - bytecode array length : 133 <nl> + bytecode array length : 125 <nl> bytecodes : [ <nl> B ( Ldar ) , R ( new_target ) , <nl> B ( JumpIfUndefined ) , U8 ( 21 ) , <nl> bytecodes : [ <nl> B ( Star ) , R ( 1 ) , <nl> B ( LdaZero ) , <nl> B ( TestEqualStrict ) , R ( 1 ) , U8 ( 0 ) , <nl> - B ( JumpIfTrue ) , U8 ( 71 ) , <nl> + B ( JumpIfTrue ) , U8 ( 63 ) , <nl> B ( LdaSmi ) , U8 ( 76 ) , <nl> B ( Star ) , R ( 2 ) , <nl> B ( CallRuntime ) , U16 ( Runtime : : kAbort ) , R ( 2 ) , U8 ( 1 ) , <nl> bytecodes : [ <nl> B ( CallRuntime ) , U16 ( Runtime : : kPushModuleContext ) , R ( 2 ) , U8 ( 3 ) , <nl> B ( PushContext ) , R ( 0 ) , <nl> B ( Ldar ) , R ( this ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> / * 0 E > * / B ( StackCheck ) , <nl> - / * 0 E > * / B ( LdrContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , R ( 3 ) , <nl> + / * 0 E > * / B ( LdrCurrentContextSlot ) , U8 ( 4 ) , R ( 3 ) , <nl> B ( Ldar ) , R ( 3 ) , <nl> B ( Mov ) , R ( closure ) , R ( 2 ) , <nl> B ( CallRuntime ) , U16 ( Runtime : : kCreateJSGeneratorObject ) , R ( 2 ) , U8 ( 2 ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 5 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 5 ) , <nl> B ( Star ) , R ( 2 ) , <nl> - B ( LdrContextSlot ) , R ( context ) , U8 ( 5 ) , U8 ( 0 ) , R ( 3 ) , <nl> + B ( LdrCurrentContextSlot ) , U8 ( 5 ) , R ( 3 ) , <nl> B ( LdaZero ) , <nl> B ( SuspendGenerator ) , R ( 3 ) , <nl> B ( Ldar ) , R ( 2 ) , <nl> snippet : " <nl> " <nl> frame size : 8 <nl> parameter count : 2 <nl> - bytecode array length : 133 <nl> + bytecode array length : 125 <nl> bytecodes : [ <nl> B ( Ldar ) , R ( new_target ) , <nl> B ( JumpIfUndefined ) , U8 ( 21 ) , <nl> bytecodes : [ <nl> B ( Star ) , R ( 1 ) , <nl> B ( LdaZero ) , <nl> B ( TestEqualStrict ) , R ( 1 ) , U8 ( 0 ) , <nl> - B ( JumpIfTrue ) , U8 ( 71 ) , <nl> + B ( JumpIfTrue ) , U8 ( 63 ) , <nl> B ( LdaSmi ) , U8 ( 76 ) , <nl> B ( Star ) , R ( 2 ) , <nl> B ( CallRuntime ) , U16 ( Runtime : : kAbort ) , R ( 2 ) , U8 ( 1 ) , <nl> bytecodes : [ <nl> B ( CallRuntime ) , U16 ( Runtime : : kPushModuleContext ) , R ( 2 ) , U8 ( 3 ) , <nl> B ( PushContext ) , R ( 0 ) , <nl> B ( Ldar ) , R ( this ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 4 ) , <nl> / * 0 E > * / B ( StackCheck ) , <nl> - / * 0 E > * / B ( LdrContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , R ( 3 ) , <nl> + / * 0 E > * / B ( LdrCurrentContextSlot ) , U8 ( 4 ) , R ( 3 ) , <nl> B ( Ldar ) , R ( 3 ) , <nl> B ( Mov ) , R ( closure ) , R ( 2 ) , <nl> B ( CallRuntime ) , U16 ( Runtime : : kCreateJSGeneratorObject ) , R ( 2 ) , U8 ( 2 ) , <nl> - B ( StaContextSlot ) , R ( context ) , U8 ( 5 ) , U8 ( 0 ) , <nl> + B ( StaCurrentContextSlot ) , U8 ( 5 ) , <nl> B ( Star ) , R ( 2 ) , <nl> - B ( LdrContextSlot ) , R ( context ) , U8 ( 5 ) , U8 ( 0 ) , R ( 3 ) , <nl> + B ( LdrCurrentContextSlot ) , U8 ( 5 ) , R ( 3 ) , <nl> B ( LdaZero ) , <nl> B ( SuspendGenerator ) , R ( 3 ) , <nl> B ( Ldar ) , R ( 2 ) , <nl> mmm a / test / cctest / interpreter / bytecode_expectations / OuterContextVariables . golden <nl> ppp b / test / cctest / interpreter / bytecode_expectations / OuterContextVariables . golden <nl> snippet : " <nl> " <nl> frame size : 1 <nl> parameter count : 1 <nl> - bytecode array length : 14 <nl> + bytecode array length : 12 <nl> bytecodes : [ <nl> / * 97 E > * / B ( StackCheck ) , <nl> / * 102 S > * / B ( LdrContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 1 ) , R ( 0 ) , <nl> - / * 120 E > * / B ( LdaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + / * 120 E > * / B ( LdaCurrentContextSlot ) , U8 ( 4 ) , <nl> B ( Mul ) , R ( 0 ) , U8 ( 2 ) , <nl> / * 130 S > * / B ( Return ) , <nl> ] <nl> snippet : " <nl> " <nl> frame size : 0 <nl> parameter count : 1 <nl> - bytecode array length : 11 <nl> + bytecode array length : 9 <nl> bytecodes : [ <nl> / * 97 E > * / B ( StackCheck ) , <nl> - / * 102 S > * / B ( LdaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 0 ) , <nl> + / * 102 S > * / B ( LdaCurrentContextSlot ) , U8 ( 4 ) , <nl> / * 111 E > * / B ( StaContextSlot ) , R ( context ) , U8 ( 4 ) , U8 ( 1 ) , <nl> B ( LdaUndefined ) , <nl> / * 123 S > * / B ( Return ) , <nl> mmm a / test / unittests / interpreter / bytecode - array - builder - unittest . cc <nl> ppp b / test / unittests / interpreter / bytecode - array - builder - unittest . cc <nl> TEST_F ( BytecodeArrayBuilderTest , AllBytecodesGenerated ) { <nl> . LoadContextSlot ( reg , 1 , 0 ) <nl> . StoreContextSlot ( reg , 1 , 0 ) ; <nl> <nl> + / / Emit context operations which operate on the local context . <nl> + builder . LoadContextSlot ( Register : : current_context ( ) , 1 , 0 ) <nl> + . StoreContextSlot ( Register : : current_context ( ) , 1 , 0 ) ; <nl> + <nl> / / Emit load / store property operations . <nl> builder . LoadNamedProperty ( reg , name , 0 ) <nl> . LoadKeyedProperty ( reg , 0 ) <nl> TEST_F ( BytecodeArrayBuilderTest , AllBytecodesGenerated ) { <nl> . StoreAccumulatorInRegister ( reg ) <nl> . LoadContextSlot ( reg , 1 , 0 ) <nl> . StoreAccumulatorInRegister ( reg ) <nl> + . LoadContextSlot ( Register : : current_context ( ) , 1 , 0 ) <nl> + . StoreAccumulatorInRegister ( reg ) <nl> . LoadGlobal ( 0 , TypeofMode : : NOT_INSIDE_TYPEOF ) <nl> . StoreAccumulatorInRegister ( reg ) <nl> . LoadUndefined ( ) <nl> TEST_F ( BytecodeArrayBuilderTest , AllBytecodesGenerated ) { <nl> scorecard [ Bytecodes : : ToByte ( Bytecode : : kLdrKeyedProperty ) ] = 1 ; <nl> scorecard [ Bytecodes : : ToByte ( Bytecode : : kLdrGlobal ) ] = 1 ; <nl> scorecard [ Bytecodes : : ToByte ( Bytecode : : kLdrContextSlot ) ] = 1 ; <nl> + scorecard [ Bytecodes : : ToByte ( Bytecode : : kLdrCurrentContextSlot ) ] = 1 ; <nl> scorecard [ Bytecodes : : ToByte ( Bytecode : : kLdrUndefined ) ] = 1 ; <nl> scorecard [ Bytecodes : : ToByte ( Bytecode : : kLogicalNot ) ] = 1 ; <nl> scorecard [ Bytecodes : : ToByte ( Bytecode : : kJump ) ] = 1 ; <nl> | [ ignition ] Add bytecodes for loads / stores in the current context | v8/v8 | d2caa302a7bc8cd54dbfaf4e4cfbb3fb81ada378 | 2016-10-28T10:11:06Z |
mmm a / etc / distributed_correctness . yml <nl> ppp b / etc / distributed_correctness . yml <nl> functions : <nl> # create all resources and instances <nl> . / setup - cluster . sh <nl> echo " EC2 Cluster CREATED . " <nl> + touch terraform . tfstate . backup <nl> tar - czvf cluster_config . tgz ips . sh terraform . tfstate . backup terraform . tfstate <nl> - command : s3 . put <nl> params : <nl> functions : <nl> set - v <nl> cd . / clusters / $ { cluster } <nl> cat ips . sh <nl> - cat run - $ { test } . json <nl> . / update_run_config . sh <nl> - cat run - $ { test } . json <nl> rm - rf . / reports <nl> rm - f . . / . . / reports . tgz <nl> echo " Run test for $ { test } with setup $ { setup } " <nl> tasks : <nl> set - v <nl> $ { scons | scons } $ { compile_flags | } core <nl> mkdir - p mongodb / bin <nl> + strip mongo <nl> + strip mongod <nl> + strip mongos <nl> mv mongo mongodb / bin <nl> mv mongod mongodb / bin <nl> mv mongos mongodb / bin <nl> buildvariants : <nl> expansions : <nl> compile_flags : - j $ ( grep - c ^ processor / proc / cpuinfo ) CC = / opt / mongodbtoolchain / bin / gcc CXX = / opt / mongodbtoolchain / bin / g + + - - release <nl> setup : standalone <nl> - cluster : single <nl> + cluster : single - correctness <nl> numShard : 0 <nl> run_on : <nl> - " linux - 64 - amzn - perf - standalone " <nl> | SERVER - 21261 distributed correctness : use the correct cluster | mongodb/mongo | b097fd8b0740e903ef4bbb54ea1a8078be449c36 | 2015-11-18T20:03:26Z |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.