Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 162 for pname (0.08 sec)

  1. src/go/types/resolver.go

    			if imp == nil {
    				// create a new fake package
    				// come up with a sensible package name (heuristic)
    				name := path
    				if i := len(name); i > 0 && name[i-1] == '/' {
    					name = name[:i-1]
    				}
    				if i := strings.LastIndex(name, "/"); i >= 0 {
    					name = name[i+1:]
    				}
    				imp = NewPackage(path, name)
    			}
    			// continue to use the package as best as we can
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:22:59 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  2. cmd/site-replication.go

    		}
    
    		for pname := range allPolicies {
    			if _, ok := policyStats[pname]; !ok {
    				policyStats[pname] = make([]srPolicy, numSites)
    			}
    
    			// if pname is not present in the map, the zero value
    			// will be returned.
    			pi := sri.Policies[pname]
    			policyStats[pname][i] = srPolicy{SRIAMPolicy: pi, DeploymentID: sri.DeploymentID}
    		}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 184.3K bytes
    - Viewed (0)
  3. src/cmd/cgo/out.go

    	}
    
    	// Wrapper calls into gcc, passing a pointer to the argument frame.
    	fmt.Fprintf(fgo2, "//go:cgo_import_static %s\n", cname)
    	fmt.Fprintf(fgo2, "//go:linkname __cgofn_%s %s\n", cname, cname)
    	fmt.Fprintf(fgo2, "var __cgofn_%s byte\n", cname)
    	fmt.Fprintf(fgo2, "var %s = unsafe.Pointer(&__cgofn_%s)\n", cname, cname)
    
    	nret := 0
    	if !void {
    		d.Type.Results.List[0].Names = []*ast.Ident{ast.NewIdent("r1")}
    		nret = 1
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:10 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  4. src/reflect/type.go

    func (t *interfaceType) Method(i int) (m Method) {
    	if i < 0 || i >= len(t.Methods) {
    		return
    	}
    	p := &t.Methods[i]
    	pname := t.nameOff(p.Name)
    	m.Name = pname.Name()
    	if !pname.IsExported() {
    		m.PkgPath = pkgPath(pname)
    		if m.PkgPath == "" {
    			m.PkgPath = t.PkgPath.Name()
    		}
    	}
    	m.Type = toType(t.typeOff(p.Typ))
    	m.Index = i
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
  5. cmd/iam.go

    		if errors.Is(err, errNoSuchPolicy) {
    			for _, pname := range policies {
    				_, err := sys.store.GetPolicy(pname)
    				if errors.Is(err, errNoSuchPolicy) {
    					// all policies presented in the claim should exist
    					iamLogIf(GlobalContext, fmt.Errorf("expected policy (%s) missing from the JWT claim %s, rejecting the request", pname, iamPolicyClaimNameOpenID()))
    					return false
    				}
    			}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  6. operator/pkg/name/name.go

    	s := string(n)
    	return ComponentName(strings.ToUpper(s[0:1]) + s[1:])
    }
    
    // UserFacingComponentName returns the name of the given component that should be displayed to the user in high
    // level CLIs (like progress log).
    func UserFacingComponentName(name ComponentName) string {
    	ret, ok := userFacingComponentNames[name]
    	if !ok {
    		return "Unknown"
    	}
    	return ret
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 19:23:44 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/telemetry/internal/counter/stackcounter.go

    		name = name[:maxNameLen-len(bad)] + bad
    	}
    	return name
    }
    
    // DecodeStack expands the (compressed) stack encoded in the counter name.
    func DecodeStack(ename string) string {
    	if !strings.Contains(ename, "\n") {
    		return ename // not a stack counter
    	}
    	lines := strings.Split(ename, "\n")
    	var lastPath string // empty or ends with .
    	for i, line := range lines {
    		path, rest := cutLastDot(line)
    		if len(path) == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:10:54 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. src/cmd/fix/main_test.go

    					out, out2)
    				tdiff(t, "first", out, "second", out2)
    			}
    		})
    	}
    }
    
    func tdiff(t *testing.T, aname, a, bname, b string) {
    	t.Errorf("%s", diff.Diff(aname, []byte(a), bname, []byte(b)))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 05:31:47 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. internal/event/name.go

    			res[i] = Name(i + 1)
    		}
    		return res
    	default:
    		return []Name{name}
    	}
    }
    
    // Mask returns the type as mask.
    // Compound "All" types are expanded.
    func (name Name) Mask() uint64 {
    	if name < objectSingleTypesEnd {
    		return 1 << (name - 1)
    	}
    	var mask uint64
    	for _, n := range name.Expand() {
    		mask |= 1 << (n - 1)
    	}
    	return mask
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 01 01:11:10 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  10. src/crypto/tls/tls_test.go

    			aName, bName := CipherSuiteName(a), CipherSuiteName(b)
    			// * < RC4
    			if !strings.Contains(aName, "RC4") && strings.Contains(bName, "RC4") {
    				return -1
    			} else if strings.Contains(aName, "RC4") && !strings.Contains(bName, "RC4") {
    				return +1
    			}
    			// * < CBC_SHA256
    			if !strings.Contains(aName, "CBC_SHA256") && strings.Contains(bName, "CBC_SHA256") {
    				return -1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 60.5K bytes
    - Viewed (0)
Back to top