Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 769 for unnamed (0.29 sec)

  1. src/go/types/lookup.go

    			}
    			return Typ[Invalid], true
    		}
    		return p.base, true
    	}
    	return typ, false
    }
    
    // derefStructPtr dereferences typ if it is a (named or unnamed) pointer to a
    // (named or unnamed) struct and returns its base. Otherwise it returns typ.
    func derefStructPtr(typ Type) Type {
    	if p, _ := under(typ).(*Pointer); p != nil {
    		if _, ok := under(p.base).(*Struct); ok {
    			return p.base
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  2. src/internal/types/testdata/spec/conversions.go

    func _[X Foo, T Far](x X) T {
    	return T(x /* ERROR "cannot convert x (variable of type X constrained by Foo) to type T: cannot convert Foo (in X) to type Far (in T)" */)
    }
    
    // "x's type and T are unnamed pointer types and their pointer base types
    // have identical underlying types if tags are ignored"
    
    func _[X ~*Foo, T ~*Bar](x X) T         { return T(x) }
    func _[X ~*Foo | ~*Bar, T ~*Bar](x X) T { return T(x) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  3. src/go/types/conversions.go

    	// "V and T have identical underlying types if tags are ignored
    	// and V and T are not type parameters"
    	if IdenticalIgnoreTags(Vu, Tu) && Vp == nil && Tp == nil {
    		return true
    	}
    
    	// "V and T are unnamed pointer types and their pointer base types
    	// have identical underlying types if tags are ignored
    	// and their pointer base types are not type parameters"
    	if V, ok := V.(*Pointer); ok {
    		if T, ok := T.(*Pointer); ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:51:00 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  4. src/go/types/call.go

    		var params []*Var
    		if sig.params != nil {
    			params = sig.params.vars
    		}
    		// Be consistent about named/unnamed parameters. This is not needed
    		// for type-checking, but the newly constructed signature may appear
    		// in an error message and then have mixed named/unnamed parameters.
    		// (An alternative would be to not print parameter names in errors,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/asmdecl/asmdecl.go

    						fn = nil
    						fnName = ""
    						abi = ""
    						continue
    					}
    				}
    				// Trim off optional ABI selector.
    				fnName, abi = trimABI(fnName)
    				flag := m[3]
    				fn = knownFunc[fnName][arch]
    				if fn != nil {
    					size, _ := strconv.Atoi(m[5])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  6. src/internal/coverage/cformat/format.go

    			return err
    		}
    	}
    
    	return nil
    }
    
    // EmitFuncs writes out a function-level summary to the writer 'w'. A
    // note on handling function literals: although we collect coverage
    // data for unnamed literals, it probably does not make sense to
    // include them in the function summary since there isn't any good way
    // to name them (this is also consistent with the legacy cmd/cover
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/conversions.go

    	// "V and T have identical underlying types if tags are ignored
    	// and V and T are not type parameters"
    	if IdenticalIgnoreTags(Vu, Tu) && Vp == nil && Tp == nil {
    		return true
    	}
    
    	// "V and T are unnamed pointer types and their pointer base types
    	// have identical underlying types if tags are ignored
    	// and their pointer base types are not type parameters"
    	if V, ok := V.(*Pointer); ok {
    		if T, ok := T.(*Pointer); ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:51:00 UTC 2024
    - 9K bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/test/testx.go

    #include <stdint.h>
    
    // use ugly atomic variable sync since that doesn't require calling back into
    // Go code or OS dependencies
    void issue7978c(uint32_t *sync);
    
    // issue 8331 part 2 - part 1 in test.go
    // A typedef of an unnamed struct is the same struct when
    // #include'd twice.  No runtime test; just make sure it compiles.
    #include "issue8331.h"
    
    // issue 8945
    
    typedef void (*PFunc8945)();
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 17 21:53:11 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/jvm/java_library_plugin.adoc

    ----
    include::{snippetsPath}/java-library/module/kotlin/src/main/java/module-info.java[]
    ----
    
    While a real module cannot directly depend on the unnamed module (only by adding command line flags), automatic modules can also see the unnamed module.
    Thus, if you cannot avoid to rely on a library without module information, you can wrap that library in an automatic module as part of your project.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 19:52:38 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/typecheck/subr.go

    	// fields or methods. Our goal here is to find the shortest path to
    	// a field or method named s in the subtree rooted at t. To accomplish
    	// that, we iteratively perform depth-first searches of increasing depth
    	// until we either find the named field/method or exhaust the tree.
    	for d := 0; ; d++ {
    		if d > len(dotlist) {
    			dotlist = append(dotlist, dlist{})
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 19:45:58 UTC 2023
    - 20.2K bytes
    - Viewed (0)
Back to top