Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 260 for typeDefs (0.12 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/StronglyTypedConfigurationAttributesResolveIntegrationTest.groovy

            given:
            createDirs("a", "b")
            file('settings.gradle') << "include 'a', 'b'"
            buildFile << """
                $typeDefs
    
                project(':a') {
                    configurations {
                        _compileFreeDebug.attributes { $freeDebug }
                        _compileFreeRelease.attributes { $freeRelease }
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 48.1K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/AbstractConfigurationAttributesResolveIntegrationTest.groovy

            given:
            createDirs("a", "b")
            file('settings.gradle') << "include 'a', 'b'"
            buildFile << """
                $typeDefs
    
                project(':a') {
                    configurations {
                        _compileFreeDebug.attributes { $freeDebug }
                        _compileFreeRelease.attributes { $freeRelease }
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 17:30:11 UTC 2024
    - 64K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/test/issue26430.go

    // Copyright 2018 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build cgo
    
    // Issue 26430: incomplete typedef leads to inconsistent typedefs error.
    // No runtime test; just make sure it compiles.
    
    package cgotest
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 359 bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/test/issue26743.go

    // Copyright 2018 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build cgo
    
    // Issue 26743: typedef of uint leads to inconsistent typedefs error.
    // No runtime test; just make sure it compiles.
    
    package cgotest
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 356 bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/test/issue27340/a.go

    // license that can be found in the LICENSE file.
    
    // Failed to resolve typedefs consistently.
    // No runtime test; just make sure it compiles.
    // In separate directory to isolate #pragma GCC diagnostic.
    
    package issue27340
    
    // We use the #pragma to avoid a compiler warning about incompatible
    // pointer types, because we generate code passing a struct ptr rather
    // than using the typedef. This warning is expected and does not break
    // a normal build.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/test/issue27340.go

    // Copyright 2018 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build cgo
    
    // Failed to resolve typedefs consistently.
    // No runtime test; just make sure it compiles.
    
    package cgotest
    
    import "cmd/cgo/internal/test/issue27340"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 377 bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types/universe.go

    	{"uint32", TUINT32},
    	{"uint64", TUINT64},
    	{"float32", TFLOAT32},
    	{"float64", TFLOAT64},
    	{"complex64", TCOMPLEX64},
    	{"complex128", TCOMPLEX128},
    	{"bool", TBOOL},
    	{"string", TSTRING},
    }
    
    var typedefs = [...]struct {
    	name     string
    	etype    Kind
    	sameas32 Kind
    	sameas64 Kind
    }{
    	{"int", TINT, TINT32, TINT64},
    	{"uint", TUINT, TUINT32, TUINT64},
    	{"uintptr", TUINTPTR, TUINT32, TUINT64},
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 26 21:56:49 UTC 2023
    - 4K bytes
    - Viewed (0)
  8. src/debug/dwarf/type.go

    		zeroArray(t)
    	}
    }
    
    // readType reads a type from r at off of name. It adds types to the
    // type cache, appends new typedef types to typedefs, and computes the
    // sizes of types. Callers should pass nil for typedefs; this is used
    // for internal recursion.
    func (d *Data) readType(name string, r typeReader, off Offset, typeCache map[Offset]Type, fixups *typeFixer) (Type, error) {
    	if t, ok := typeCache[off]; ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 21.9K bytes
    - Viewed (0)
  9. src/cmd/cgo/gcc.go

    	p.loadDefines(f)
    	p.typedefs = map[string]bool{}
    	p.typedefList = nil
    	numTypedefs := -1
    	for len(p.typedefs) > numTypedefs {
    		numTypedefs = len(p.typedefs)
    		// Also ask about any typedefs we've seen so far.
    		for _, info := range p.typedefList {
    			if f.Name[info.typedef] != nil {
    				continue
    			}
    			n := &Name{
    				Go: info.typedef,
    				C:  info.typedef,
    			}
    			f.Name[info.typedef] = n
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  10. src/cmd/cgo/godefs.go

    			n := refName[&s.Type]
    			if n != nil && n.Mangle != "" {
    				override[n.Mangle] = s.Name.Name
    			}
    		}
    	}
    
    	// Extend overrides using typedefs:
    	// If we know that C.xxx should format as T
    	// and xxx is a typedef for yyy, make C.yyy format as T.
    	for typ, def := range typedef {
    		if new := override[typ]; new != "" {
    			if id, ok := def.Go.(*ast.Ident); ok {
    				override[id.Name] = new
    			}
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top