Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 95 for ifdef (0.15 sec)

  1. src/cmd/asm/internal/lex/lex_test.go

    var badLexTests = []badLexTest{
    	{
    		"3 #define foo bar\n",
    		"'#' must be first item on line",
    	},
    	{
    		"#ifdef foo\nhello",
    		"unclosed #ifdef or #ifndef",
    	},
    	{
    		"#ifndef foo\nhello",
    		"unclosed #ifdef or #ifndef",
    	},
    	{
    		"#ifdef foo\nhello\n#else\nbye",
    		"unclosed #ifdef or #ifndef",
    	},
    	{
    		"#define A() A()\nA()",
    		"recursive macro invocation",
    	},
    	{
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_macros.h

    #ifndef TENSORFLOW_C_C_API_MACROS_H_
    #define TENSORFLOW_C_C_API_MACROS_H_
    
    #ifdef SWIG
    #define TF_CAPI_EXPORT
    #else
    #if defined(_WIN32)
    #ifdef TF_COMPILE_LIBRARY
    #define TF_CAPI_EXPORT __declspec(dllexport)
    #else
    #define TF_CAPI_EXPORT __declspec(dllimport)
    #endif  // TF_COMPILE_LIBRARY
    #else
    #ifdef TF_CAPI_WEAK
    #define TF_CAPI_EXPORT \
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sat May 13 04:44:45 GMT 2023
    - 1.6K bytes
    - Viewed (1)
  3. src/cmd/asm/internal/lex/input.go

    		switch in.Stack.Text() {
    		case "else", "endif", "ifdef", "ifndef", "line":
    			// Press on.
    		default:
    			return false
    		}
    	}
    	switch in.Stack.Text() {
    	case "define":
    		in.define()
    	case "else":
    		in.else_()
    	case "endif":
    		in.endif()
    	case "ifdef":
    		in.ifdef(true)
    	case "ifndef":
    		in.ifdef(false)
    	case "include":
    		in.include()
    	case "line":
    		in.line()
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api_experimental_reader.h

    limitations under the License.
    ==============================================================================*/
    
    #ifndef TENSORFLOW_C_EAGER_C_API_EXPERIMENTAL_READER_H_
    #define TENSORFLOW_C_EAGER_C_API_EXPERIMENTAL_READER_H_
    
    #include "tensorflow/c/eager/c_api.h"
    
    #ifdef __cplusplus
    extern "C" {
    #endif
    
    // Test only exports of the monitoring Cell Reader API which allows tests to
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Apr 20 03:14:47 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api_unified_experimental.h

    limitations under the License.
    ==============================================================================*/
    #ifndef TENSORFLOW_C_EAGER_C_API_UNIFIED_EXPERIMENTAL_H_
    #define TENSORFLOW_C_EAGER_C_API_UNIFIED_EXPERIMENTAL_H_
    
    #include "tensorflow/c/eager/c_api.h"
    #include "tensorflow/c/tf_datatype.h"
    #include "tensorflow/c/tf_status.h"
    
    #ifdef __cplusplus
    extern "C" {
    #endif
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sun Oct 24 11:27:00 GMT 2021
    - 7K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/next_pluggable_device/c_api.h

    // --------------------------------------------------------------------------
    // C API for device. The API is under active development and eventually
    // should allow registering a plugin device with TensorFlow.
    
    #ifdef __cplusplus
    extern "C" {
    #endif
    
    // TF_Device is a C wrapper to the C++ TF Device class. This is to be passed
    // through TF_OpKernelContext, and is opaque to plugin.
    typedef struct TF_Device TF_Device;
    
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Dec 20 20:01:06 GMT 2023
    - 7.2K bytes
    - Viewed (0)
  7. tensorflow/c/c_api_macros_internal.h

    See the License for the specific language governing permissions and
    limitations under the License.
    ==============================================================================*/
    
    #ifndef TENSORFLOW_C_C_API_MACROS_INTERNAL_H_
    #define TENSORFLOW_C_C_API_MACROS_INTERNAL_H_
    
    #ifdef __cplusplus
    #include "tensorflow/core/platform/status.h"
    
    // Macro to verify that the field `struct_size` of STRUCT_OBJ is initialized.
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Mar 13 17:40:56 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  8. src/cmd/asm/doc.go

    Input language:
    
    The assembler uses mostly the same syntax for all architectures,
    the main variation having to do with addressing modes. Input is
    run through a simplified C preprocessor that implements #include,
    #define, #ifdef/endif, but not #if or ##.
    
    For more information, see https://golang.org/doc/asm.
    */
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Aug 22 20:46:45 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  9. tensorflow/c/env.h

    // --------------------------------------------------------------------------
    // C API for tensorflow::Env.
    
    #ifdef __cplusplus
    extern "C" {
    #endif
    
    typedef struct TF_WritableFileHandle TF_WritableFileHandle;
    typedef struct TF_StringStream TF_StringStream;
    typedef struct TF_Thread TF_Thread;
    
    typedef struct TF_ThreadOptions {
      // Thread stack size to use (in bytes), zero implies that the system default
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sat Jan 09 02:53:27 GMT 2021
    - 9.6K bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/test/callback_windows.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package cgotest
    
    /*
    #include <windows.h>
    USHORT backtrace(ULONG FramesToCapture, PVOID *BackTrace) {
    #ifdef _AMD64_
    	CONTEXT context;
    	RtlCaptureContext(&context);
    	ULONG64 ControlPc;
    	ControlPc = context.Rip;
    	int i;
    	for (i = 0; i < FramesToCapture; i++) {
    		PRUNTIME_FUNCTION FunctionEntry;
    		ULONG64 ImageBase;
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Nov 29 16:01:37 GMT 2023
    - 2.6K bytes
    - Viewed (0)
Back to top