Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 285 for pkpath (6.72 sec)

  1. pkg/kubelet/eviction/memory_threshold_notifier.go

    	if err != nil {
    		return nil, err
    	}
    	cgpath, found := cgroups.MountPoints["memory"]
    	if !found || len(cgpath) == 0 {
    		return nil, fmt.Errorf("memory cgroup mount point not found")
    	}
    	if isAllocatableEvictionThreshold(threshold) {
    		// for allocatable thresholds, point the cgroup notifier at the allocatable cgroup
    		cgpath += cgroupRoot
    	}
    	return &memoryThresholdNotifier{
    		threshold:  threshold,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Feb 21 00:36:14 UTC 2021
    - 4.7K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/main.go

    			arg := flag.Arg(i)
    			parts := strings.SplitN(arg, "=", 2)
    			var pkgpath, file string
    			if len(parts) == 1 {
    				pkgpath, file = "main", arg
    			} else {
    				pkgpath, file = parts[0], parts[1]
    			}
    			pkglistfornote = append(pkglistfornote, pkgpath...)
    			pkglistfornote = append(pkglistfornote, '\n')
    			addlibpath(ctxt, "command line", "command line", file, pkgpath, "", zerofp)
    		}
    	case BuildModePlugin:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:59:50 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  3. src/runtime/iface.go

    		iname := name.Name()
    		ipkg := pkgPath(name)
    		if ipkg == "" {
    			ipkg = inter.PkgPath.Name()
    		}
    		for ; j < nt; j++ {
    			t := &xmhdr[j]
    			rtyp := toRType(typ)
    			tname := rtyp.nameOff(t.Name)
    			if rtyp.typeOff(t.Mtyp) == itype && tname.Name() == iname {
    				pkgPath := pkgPath(tname)
    				if pkgPath == "" {
    					pkgPath = rtyp.nameOff(x.PkgPath).Name()
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  4. src/go/internal/gcimporter/iimport.go

    	for i := range pkgList {
    		pkgPathOff := r.uint64()
    		pkgPath := p.stringAt(pkgPathOff)
    		pkgName := p.stringAt(r.uint64())
    		_ = r.uint64() // package height; unused by go/types
    
    		if pkgPath == "" {
    			pkgPath = path
    		}
    		pkg := imports[pkgPath]
    		if pkg == nil {
    			pkg = types.NewPackage(pkgPath, pkgName)
    			imports[pkgPath] = pkg
    		} else if pkg.Name() != pkgName {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  5. src/internal/coverage/cfile/emit.go

    		}
    		ecg := coverage.CounterGranularity(entry.CounterGranularity)
    		if granClash(ecg) {
    			return nil, fmt.Errorf("coverage counter granularity clash: package %s uses gran=%d, but package %s uses gran=%s\n", ml[0].PkgPath, cgran, entry.PkgPath, ecg)
    		}
    	}
    
    	// Hash mode and granularity as well.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  6. src/runtime/heapdump.go

    	dumpint(uint64(t.Size_))
    	rt := toRType(t)
    	if x := t.Uncommon(); x == nil || rt.nameOff(x.PkgPath).Name() == "" {
    		dumpstr(rt.string())
    	} else {
    		pkgpath := rt.nameOff(x.PkgPath).Name()
    		name := rt.name()
    		dumpint(uint64(uintptr(len(pkgpath)) + 1 + uintptr(len(name))))
    		dwrite(unsafe.Pointer(unsafe.StringData(pkgpath)), uintptr(len(pkgpath)))
    		dwritebyte('.')
    		dwrite(unsafe.Pointer(unsafe.StringData(name)), uintptr(len(name)))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  7. src/cmd/internal/objabi/path.go

    // symbol table. All control characters, space, '%' and '"', as well as
    // non-7-bit clean bytes turn into %xx. The period needs escaping only in the
    // last segment of the path, and it makes for happier users if we escape that as
    // little as possible.
    func PathToPrefix(s string) string {
    	slash := strings.LastIndex(s, "/")
    	// check for chars that need escaping
    	n := 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 13:56:25 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  8. src/os/path.go

    // If there is an error, it will be of type [*PathError].
    func RemoveAll(path string) error {
    	return removeAll(path)
    }
    
    // endsWithDot reports whether the final component of path is ".".
    func endsWithDot(path string) bool {
    	if path == "." {
    		return true
    	}
    	if len(path) >= 2 && path[len(path)-1] == '.' && IsPathSeparator(path[len(path)-2]) {
    		return true
    	}
    	return false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 30 15:38:09 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. src/path/path.go

    // If the path is empty, Base returns ".".
    // If the path consists entirely of slashes, Base returns "/".
    func Base(path string) string {
    	if path == "" {
    		return "."
    	}
    	// Strip trailing slashes.
    	for len(path) > 0 && path[len(path)-1] == '/' {
    		path = path[0 : len(path)-1]
    	}
    	// Find the last element
    	if i := bytealg.LastIndexByteString(path, '/'); i >= 0 {
    		path = path[i+1:]
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 23 17:33:57 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/authorization/path/path.go

    limitations under the License.
    */
    
    package path
    
    import (
    	"context"
    	"fmt"
    	"strings"
    
    	"k8s.io/apimachinery/pkg/util/sets"
    	"k8s.io/apiserver/pkg/authorization/authorizer"
    )
    
    // NewAuthorizer returns an authorizer which accepts a given set of paths.
    // Each path is either a fully matching path or it ends in * in case a prefix match is done. A leading / is optional.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 09 13:47:19 UTC 2021
    - 1.9K bytes
    - Viewed (0)
Back to top