Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 344 for macho4 (0.22 sec)

  1. src/debug/dwarf/testdata/typedef.macho4

    Joe Sylve <******@****.***> 1630609755 +0000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 02 19:56:24 UTC 2021
    - 6.1K bytes
    - Viewed (0)
  2. src/debug/dwarf/testdata/typedef.c

    // license that can be found in the LICENSE file.
    
    /*
    Linux ELF:
    gcc -gdwarf-2 -m64 -c typedef.c && gcc -gdwarf-2 -m64 -o typedef.elf typedef.o
    
    OS X Mach-O:
    gcc -gdwarf-2 -m64 -c typedef.c -o typedef.macho
    gcc -gdwarf-4 -m64 -c typedef.c -o typedef.macho4
    */
    #include <complex.h>
    
    typedef volatile int* t_ptr_volatile_int;
    typedef const char *t_ptr_const_char;
    typedef long t_long;
    typedef unsigned short t_ushort;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 02 19:56:24 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  3. src/debug/dwarf/type_test.go

    	testBitOffsets(t, elfData(t, f), f, expectedBitOffsets2)
    }
    
    func TestBitOffsetsMachO(t *testing.T) {
    	f := "testdata/typedef.macho"
    	testBitOffsets(t, machoData(t, f), f, expectedBitOffsets2)
    }
    
    func TestBitOffsetsMachO4(t *testing.T) {
    	f := "testdata/typedef.macho4"
    	testBitOffsets(t, machoData(t, f), f, expectedBitOffsets1)
    }
    
    func TestBitOffsetsELFDwarf4(t *testing.T) {
    	f := "testdata/typedef.elf4"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 19 15:49:05 UTC 2022
    - 8.8K bytes
    - Viewed (0)
  4. platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/incremental/sourceparser/IncludeDirectivesSerializerTest.groovy

            def macro8 = new UnresolvableMacro("EIGHT")
            def directives = DefaultIncludeDirectives.of(ImmutableList.of(), ImmutableList.copyOf([macro1, macro2, macro3, macro4, macro5, macro6, macro7, macro8]), ImmutableList.of())
    
            expect:
            serialize(directives, IncludeDirectivesSerializer.INSTANCE) == directives
        }
    
        def "serializes macro function directives"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  5. src/cmd/internal/objfile/macho.go

    	sect := f.macho.Section("__text")
    	if sect == nil {
    		return 0, nil, fmt.Errorf("text section not found")
    	}
    	textStart = sect.Addr
    	text, err = sect.Data()
    	return
    }
    
    func (f *machoFile) goarch() string {
    	switch f.macho.Cpu {
    	case macho.Cpu386:
    		return "386"
    	case macho.CpuAmd64:
    		return "amd64"
    	case macho.CpuArm:
    		return "arm"
    	case macho.CpuArm64:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 03 16:07:59 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  6. src/debug/macho/macho.go

    // For cloned PDF see:
    // https://github.com/aidansteele/osx-abi-macho-file-format-reference
    
    package macho
    
    import "strconv"
    
    // A FileHeader represents a Mach-O file header.
    type FileHeader struct {
    	Magic  uint32
    	Cpu    Cpu
    	SubCpu uint32
    	Type   Type
    	Ncmd   uint32
    	Cmdsz  uint32
    	Flags  uint32
    }
    
    const (
    	fileHeaderSize32 = 7 * 4
    	fileHeaderSize64 = 8 * 4
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 14 00:56:52 UTC 2021
    - 7.6K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/macho.go

    	sr := io.NewSectionReader(f, h.off, h.length)
    	m, err := macho.NewFile(sr)
    	if err != nil {
    		// Not a valid Mach-O file.
    		return nil, nil
    	}
    	return peekMachoPlatform(m)
    }
    
    // peekMachoPlatform returns the first LC_VERSION_MIN_* or LC_BUILD_VERSION
    // load command found in the Mach-O file, if any.
    func peekMachoPlatform(m *macho.File) (*MachoPlatformLoad, error) {
    	for _, cmd := range m.Loads {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 43.9K bytes
    - Viewed (0)
  8. platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/incremental/sourceparser/RegexBackedCSourceParserTest.groovy

    #include <system3> /*
       A comment here
    */
    #include MACRO1  // A comment here
    #include MACRO2 /*
       A comment here
    */
    #include MACRO1()  // A comment here
    #include MACRO2() /*
       A comment here
    */
    """
            then:
            includes == ['"test1"', '"test2"', '"test3"', '<system1>', '<system2>', '<system3>', 'MACRO1', 'MACRO2', 'MACRO1()', 'MACRO2()'].collect { include(it) }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 34.3K bytes
    - Viewed (0)
  9. platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/incremental/sourceparser/DefaultSourceIncludesTest.groovy

            sourceIncludes.macroIncludes.collect { it.value } == [ "macro1", "macro2" ]
        }
    
        def "order of includes is preserved" () {
            expect:
            sourceIncludes.all.collect { it.value } == ["quoted1", "system1", "quoted2", "macro1", "system2", "macro2" ]
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  10. src/debug/dwarf/testdata/typedef.macho

    Russ Cox <******@****.***> 1410149331 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 4.9K bytes
    - Viewed (0)
Back to top