Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for findTypes (0.74 sec)

  1. src/cmd/doc/pkg.go

    	for _, fun := range pkg.doc.Funcs {
    		if match(symbol, fun.Name) {
    			funcs = append(funcs, fun)
    		}
    	}
    	return
    }
    
    // findTypes finds the doc.Types that describes the symbol.
    // If symbol is empty, it finds all exported types.
    func (pkg *Package) findTypes(symbol string) (types []*doc.Type) {
    	for _, typ := range pkg.doc.Types {
    		if symbol == "" && isExported(typ.Name) || match(symbol, typ.Name) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 08 20:15:52 UTC 2024
    - 32K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/dwarf_test.go

    		"internal/abi.StructType":    true,
    		"internal/abi.InterfaceType": true,
    		"internal/abi.ITab":          true,
    	}
    
    	found := findTypes(t, dwarf, want)
    	if len(found) != len(want) {
    		t.Errorf("found %v, want %v", found, want)
    	}
    }
    
    func findTypes(t *testing.T, dw *dwarf.Data, want map[string]bool) (found map[string]bool) {
    	found = make(map[string]bool)
    	rdr := dw.Reader()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 08 01:38:11 UTC 2024
    - 48.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/cel/types.go

    		tpType, found := tp.FindType(name)
    		expT, err := declType.ExprType()
    		if err != nil {
    			return nil, fmt.Errorf("fail to get cel type: %s", err)
    		}
    		if found && !proto.Equal(tpType, expT) {
    			return nil, fmt.Errorf(
    				"type %s definition differs between CEL environment and type provider", name)
    		}
    	}
    	return rtWithTypes, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 08 15:52:31 UTC 2023
    - 18K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/windows/zsyscall_windows.go

    	return
    }
    
    func CertFindCertificateInStore(store Handle, certEncodingType uint32, findFlags uint32, findType uint32, findPara unsafe.Pointer, prevCertContext *CertContext) (cert *CertContext, err error) {
    	r0, _, e1 := syscall.Syscall6(procCertFindCertificateInStore.Addr(), 6, uintptr(store), uintptr(certEncodingType), uintptr(findFlags), uintptr(findType), uintptr(findPara), uintptr(unsafe.Pointer(prevCertContext)))
    	cert = (*CertContext)(unsafe.Pointer(r0))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 195.8K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/windows/syscall_windows.go

    //sys   CertFindCertificateInStore(store Handle, certEncodingType uint32, findFlags uint32, findType uint32, findPara unsafe.Pointer, prevCertContext *CertContext) (cert *CertContext, err error) [failretval==nil] = crypt32.CertFindCertificateInStore
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 22:18:42 UTC 2024
    - 82.8K bytes
    - Viewed (0)
Back to top