Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 88 for macro (0.15 sec)

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

    }
    
    // invokeMacro pushes onto the input Stack a Slice that holds the macro definition with the actual
    // parameters substituted for the formals.
    // Invoking a macro does not touch the PC/line history.
    func (in *Input) invokeMacro(macro *Macro) {
    	// If the macro has no arguments, just substitute the text.
    	if macro.args == nil {
    		in.Push(NewSlice(in.Base(), in.Line(), macro.tokens))
    		return
    	}
    	tok := in.Stack.Next()
    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)
  2. tensorflow/c/c_api_macros_internal.h

    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.
    // `struct_size` is used for struct member compatibility check between core TF
    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)
  3. src/cmd/asm/internal/lex/lex_test.go

    	{
    		"define without value",
    		"#define A",
    		"",
    	},
    	{
    		"macro without arguments",
    		"#define A() 1234\n" + "A()\n",
    		"1234.\n",
    	},
    	{
    		"macro with just parens as body",
    		"#define A () \n" + "A\n",
    		"(.).\n",
    	},
    	{
    		"macro with parens but no arguments",
    		"#define A (x) \n" + "A\n",
    		"(.x.).\n",
    	},
    	{
    		"macro with arguments",
    		"#define A(x, y, z) x+z+y\n" + "A(1, 2, 3)\n",
    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)
  4. src/cmd/asm/internal/lex/lex.go

    	return Token{ScanToken: token, text: text}
    }
    
    func (l Token) String() string {
    	return l.text
    }
    
    // A Macro represents the definition of a #defined macro.
    type Macro struct {
    	name   string   // The #define name.
    	args   []string // Formal arguments.
    	tokens []Token  // Body of macro.
    }
    
    // Tokenize turns a string into a list of Tokens; used to parse the -D flag and in tests.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Aug 29 18:31:05 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/lex/slice.go

    }
    
    func (s *Slice) Line() int {
    	return s.line
    }
    
    func (s *Slice) Col() int {
    	// TODO: Col is only called when defining a macro and all it cares about is increasing
    	// position to discover whether there is a blank before the parenthesis.
    	// We only get here if defining a macro inside a macro.
    	// This imperfect implementation means we cannot tell the difference between
    	//	#define A #define B(x) x
    	// and
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Jun 29 22:49:50 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  6. tensorflow/c/c_api_macros.h

    #ifndef TF_Bool
    #define TF_Bool unsigned char
    #endif  // TF_Bool
    
    // Macro used to calculate struct size for maintaining ABI stability across
    // different struct implementations.
    #ifndef TF_OFFSET_OF_END
    #define TF_OFFSET_OF_END(TYPE, MEMBER) \
      (offsetof(TYPE, MEMBER) + sizeof(((TYPE *)0)->MEMBER))
    #endif  // TF_OFFSET_OF_END
    
    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)
  7. .gitattributes

    *.htm           text diff=html
    *.html          text diff=html
    *.java          text diff=java
    *.sh            text eol=lf
    
    
    # These files are binary and should be left untouched
    # (binary is a macro for -text -diff)
    *.a             binary
    *.lib           binary
    *.icns          binary
    *.png           binary
    *.jpg           binary
    *.jpeg          binary
    *.gif           binary
    *.ico           binary
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Wed Sep 02 12:15:16 GMT 2020
    - 1.1K bytes
    - Viewed (0)
  8. WORKSPACE

    # The cascade of load() statements and tf_workspace?() calls works around the
    # restriction that load() statements need to be at the top of .bzl files.
    # E.g. we can not retrieve a new repository with http_archive and then load()
    # a macro from that repository in the same file.
    load("@//tensorflow:workspace3.bzl", "tf_workspace3")
    
    tf_workspace3()
    
    load("@//tensorflow:workspace2.bzl", "tf_workspace2")
    
    tf_workspace2()
    
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Apr 05 22:27:48 GMT 2024
    - 3K bytes
    - Viewed (2)
  9. build-logic/dependency-modules/src/main/kotlin/gradlebuild.dependency-modules.gradle.kts

            withLibraryDependencies<DependencyRemovalByNameRule>(
                "org.spockframework:spock-core",
                setOf("groovy-groovysh", "groovy-json", "groovy-macro", "groovy-nio", "groovy-sql", "groovy-templates", "groovy-test", "groovy-xml")
            )
            withLibraryDependencies<DependencyRemovalByNameRule>("cglib:cglib", setOf("ant"))
    
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Wed Aug 24 23:27:45 GMT 2022
    - 9.1K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/asm/testdata/mips.s

    	//	{
    	//		outcode(int($1), &$2, int($4), &$6);
    	//	}
    	SLL	$4, R1, R2
    
    	//	LSHW imm ',' rreg
    	//	{
    	//		outcode(int($1), &$2, 0, &$4);
    	//	}
    	SLL	$4, R1
    
    	//
    	// move immediate: macro for lui+or, addi, addis, and other combinations
    	//
    	//	LMOVW imm ',' rreg
    	//	{
    	//		outcode(int($1), &$2, 0, &$4);
    	//	}
    	MOVW	$1, R1
    	MOVW	$1, R1
    
    	//	LMOVW ximm ',' rreg
    	//	{
    Others
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Aug 08 12:17:12 GMT 2023
    - 6.7K bytes
    - Viewed (0)
Back to top