Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for __attribute__ (0.15 sec)

  1. ci/official/containers/linux_arm64/builder.devtoolset/gcc9-fixups.patch

     # define strong_alias(name, aliasname) _strong_alias(name, aliasname)
     # define _strong_alias(name, aliasname) \
    -  extern __typeof (name) aliasname __attribute__ ((alias (#name)));
    +  extern __typeof (name) aliasname __attribute__ ((alias (#name))) \
    +    __attribute_copy__ (name);
     
     /* This comes between the return type and function name in
        a function definition to make that definition weak.  */
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Sep 18 14:52:45 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_macros.h

    #else
    #define TF_CAPI_EXPORT __declspec(dllimport)
    #endif  // TF_COMPILE_LIBRARY
    #else
    #ifdef TF_CAPI_WEAK
    #define TF_CAPI_EXPORT \
      __attribute__((visibility("default"))) __attribute((weak))
    #else
    #define TF_CAPI_EXPORT __attribute__((visibility("default")))
    #endif  // TF_CAPI_WEAK
    #endif  // _WIN32
    #endif  // SWIG
    
    // TF_Bool is the C API typedef for unsigned char, while TF_BOOL is
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat May 13 04:44:45 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  3. ci/official/containers/ml_build/builder.devtoolset/glibc2.17-inline.patch

    +#if (!defined __cplusplus || __GNUC_PREREQ (4,3) || defined __clang__) && defined __GNUC__
     # if defined __GNUC_STDC_INLINE__ || defined __cplusplus
     #  define __extern_inline extern __inline __attribute__ ((__gnu_inline__))
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Sep 24 20:45:58 UTC 2024
    - 663 bytes
    - Viewed (0)
  4. ci/official/containers/linux_arm64/builder.devtoolset/stringop_trunc.patch

    +/* Describes a char array whose address can safely be passed as the first
    +   argument to strncpy and strncat, as the char array is not necessarily
    +   a NUL-terminated string.  */
    +# define __attribute_nonstring__ __attribute__ ((__nonstring__))
    +#else
    +# define __attribute_nonstring__
    +#endif
    +
     #if defined __LONG_DOUBLE_MATH_OPTIONAL && defined __NO_LONG_DOUBLE_MATH
     # define __LDBL_COMPAT 1
     # ifdef __REDIRECT
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Sep 18 14:52:45 UTC 2023
    - 42.9K bytes
    - Viewed (0)
  5. src/cmd/cgo/doc.go

    file compiled by gcc, the file x.cgo2.c:
    
    	void
    	_cgo_be59f0f25121_Cfunc_puts(void *v)
    	{
    		struct {
    			char* p0;
    			int r;
    			char __pad12[4];
    		} __attribute__((__packed__, __gcc_struct__)) *a = v;
    		a->r = puts((void*)a->p0);
    	}
    
    It extracts the arguments from the pointer to _Cfunc_puts's argument
    frame, invokes the system C function (in this case, puts), stores the
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Oct 01 22:52:54 UTC 2024
    - 44K bytes
    - Viewed (0)
  6. src/cmd/cgo/gcc.go

    				break
    			}
    
    			t = c.Type(ptr, pos)
    			if t == nil {
    				return nil
    			}
    
    			// For a struct/union/class, remember the C spelling,
    			// in case it has __attribute__((unavailable)).
    			// See issue 2888.
    			if isStructUnionClass(t.Go) {
    				t.Typedef = dt.Name
    			}
    		}
    	}
    	return t
    }
    
    // FuncType returns the Go type analogous to dtype.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 18 15:07:34 UTC 2024
    - 97.1K bytes
    - Viewed (0)
Back to top