Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 162 for pname (0.09 sec)

  1. src/archive/tar/common.go

    // Passing an instance of this to [FileInfoHeader] permits the caller
    // to avoid a system-dependent name lookup by specifying the Uname and Gname directly.
    type FileInfoNames interface {
    	fs.FileInfo
    	// Uname should give a user name.
    	Uname() (string, error)
    	// Gname should give a group name.
    	Gname() (string, error)
    }
    
    // isHeaderOnlyType checks if the given type flag is of the type that has no
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 16:01:50 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  2. src/net/cgo_unix_syscall.go

    }
    
    func _C_res_ninit(state *_C_struct___res_state) error {
    	unix.ResNinit(state)
    	return nil
    }
    
    func _C_res_nsearch(state *_C_struct___res_state, dname *_C_char, class, typ int, ans *_C_char, anslen int) int {
    	x, _ := unix.ResNsearch(state, dname, class, typ, ans, anslen)
    	return x
    }
    
    func _C_res_nclose(state *_C_struct___res_state) {
    	unix.ResNclose(state)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 07 23:50:56 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. src/os/user/cgo_lookup_unix.go

    		Username: _C_GoString(_C_pw_name(pwd)),
    		Name:     _C_GoString(_C_pw_gecos(pwd)),
    		HomeDir:  _C_GoString(_C_pw_dir(pwd)),
    	}
    	// The pw_gecos field isn't quite standardized. Some docs
    	// say: "It is expected to be a comma separated list of
    	// personal data where the first item is the full name of the
    	// user."
    	u.Name, _, _ = strings.Cut(u.Name, ",")
    	return u
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:08:14 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. src/net/lookup_plan9.go

    	}
    	return 0, &DNSError{Err: "unknown port", Name: errNetwork + "/" + service, IsNotFound: true}
    }
    
    func (r *Resolver) lookupCNAME(ctx context.Context, name string) (cname string, err error) {
    	if order, conf := systemConf().hostLookupOrder(r, name); order != hostLookupCgo {
    		return r.goLookupCNAME(ctx, name, order, conf)
    	}
    
    	lines, err := queryDNS(ctx, name, "cname")
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:08:38 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/node_container_manager_linux.go

    		}
    	}
    
    	cgroupConfig := &CgroupConfig{
    		Name:               cName,
    		ResourceParameters: rp,
    	}
    	klog.V(4).InfoS("Enforcing limits on cgroup", "cgroupName", cName, "cpuShares", cgroupConfig.ResourceParameters.CPUShares, "memory", cgroupConfig.ResourceParameters.Memory, "pidsLimit", cgroupConfig.ResourceParameters.PidsLimit)
    	if err := cgroupManager.Validate(cgroupConfig.Name); err != nil {
    		return err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/compile.go

    	f.dumpFileSeq++
    	fname := fmt.Sprintf("%s_%02d__%s.dump", f.Name, int(f.dumpFileSeq), phaseName)
    	fname = strings.Replace(fname, " ", "_", -1)
    	fname = strings.Replace(fname, "/", "_", -1)
    	fname = strings.Replace(fname, ":", "_", -1)
    
    	if ssaDir := os.Getenv("GOSSADIR"); ssaDir != "" {
    		fname = filepath.Join(ssaDir, fname)
    	}
    
    	fi, err := os.Create(fname)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:55:18 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/aot/compile.cc

      }
    
      return CompileXla(client, computation, aot_opts, compile_result);
    }
    
    static Status ReadProtoFile(const string& fname, protobuf::Message* proto) {
      if (absl::EndsWith(fname, ".pbtxt")) {
        return ReadTextProto(Env::Default(), fname, proto);
      } else {
        return ReadBinaryProto(Env::Default(), fname, proto);
      }
    }
    
    static absl::once_flag targets_init;
    
    static void InitializeTargets() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 08:28:57 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  8. pkg/config/analysis/analyzers/virtualservice/conflictingmeshgatewayhosts.go

    	_, h := sh.GetScopeAndFqdn()
    	vss := make([]*resource.Instance, 0)
    	for sf, resources := range meshGatewayHosts {
    		mghScope, mgh := sf.GetScopeAndFqdn()
    		hName := host.Name(h)
    		mghName := host.Name(mgh)
    		if mghScope != util.ExportToAllNamespaces || !hName.Matches(mghName) {
    			continue
    		}
    		vss = append(vss, resources...)
    	}
    	return vss
    }
    
    func combineResourceEntryNames(rList []*resource.Instance) string {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun May 05 03:44:57 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  9. pkg/config/analysis/analyzers/webhook/webhook.go

    	if a.SkipServiceCheck {
    		return
    	}
    	for name, whs := range webhooks {
    		for _, wh := range whs {
    			if wh.ClientConfig.Service == nil {
    				// it is an url, skip it
    				continue
    			}
    			fname := resource.NewFullName(
    				resource.Namespace(wh.ClientConfig.Service.Namespace),
    				resource.LocalName(wh.ClientConfig.Service.Name))
    			if !context.Exists(gvk.Service, fname) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun May 05 03:44:57 UTC 2024
    - 6K bytes
    - Viewed (0)
  10. src/archive/tar/writer_test.go

    	for _, test := range []struct {
    		name string
    		h    *Header
    	}{{
    		name: "name too long",
    		h:    &Header{Name: strings.Repeat("a", maxSpecialFileSize)},
    	}, {
    		name: "linkname too long",
    		h:    &Header{Linkname: strings.Repeat("a", maxSpecialFileSize)},
    	}, {
    		name: "uname too long",
    		h:    &Header{Uname: strings.Repeat("a", maxSpecialFileSize)},
    	}, {
    		name: "gname too long",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 38.7K bytes
    - Viewed (0)
Back to top