Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 68 for pname (0.23 sec)

  1. pkg/dns/client/dns_test.go

    		},
    		{
    			name:     "success: alt host - name",
    			host:     "svc-with-alt.",
    			expected: a("svc-with-alt.", []netip.Addr{netip.MustParseAddr("15.15.15.15")}),
    		},
    		{
    			name:     "success: alt host - name.namespace",
    			host:     "svc-with-alt.ns1.",
    			expected: a("svc-with-alt.ns1.", []netip.Addr{netip.MustParseAddr("15.15.15.15")}),
    		},
    		{
    			name:     "success: alt host - name.namespace.svc",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 29 16:17:34 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  2. src/net/lookup_windows.go

    		}
    		if p.Type != dnstype {
    			continue
    		}
    		if !syscall.DnsNameCompare(cname, p.Name) {
    			continue
    		}
    		rec = append(rec, p)
    	}
    	return rec
    }
    
    // returns the last CNAME in chain.
    func resolveCNAME(name *uint16, r *syscall.DNSRecord) *uint16 {
    	// limit cname resolving to 10 in case of an infinite CNAME loop
    Cname:
    	for cnameloop := 0; cnameloop < 10; cnameloop++ {
    		for p := r; p != nil; p = p.Next {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  3. pkg/dns/client/dns.go

    	// Odds are, the first query will always be an expanded hostname
    	// (productpage.ns1.svc.cluster.local.ns1.svc.cluster.local)
    	// So lookup the cname table first
    	for _, cn := range table.cname[hostname] {
    		// this was a cname match
    		copied := dns.Copy(cn).(*dns.CNAME)
    		copied.Header().Name = question
    		cnAnswers = append(cnAnswers, copied)
    		hostname = copied.Target
    	}
    
    	switch qtype {
    	case dns.TypeA:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 29 16:17:34 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  4. pkg/test/kube/dump.go

    						c.Name(), pod.Namespace, pod.Name, container.Name, restarts, prow.ArtifactsURL(fname))
    				}
    				l, err := c.PodLogs(context.TODO(), pod.Name, pod.Namespace, container.Name, true /* previousLog */)
    				if err != nil {
    					scopes.Framework.Warnf("Unable to get previous logs for cluster/pod/container: %s/%s/%s/%s: %v",
    						c.Name(), pod.Namespace, pod.Name, container.Name, err)
    				}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/test/pgo_inl_test.go

    			curPkg = splits[0]
    			continue
    		}
    		if m := haveInlined.FindStringSubmatch(line); m != nil {
    			fname := m[1]
    			delete(notInlinedReason, curPkg+"."+fname)
    			continue
    		}
    		if m := canInline.FindStringSubmatch(line); m != nil {
    			fname := m[1]
    			fullname := curPkg + "." + fname
    			// If function must be inlined somewhere, being inlinable is not enough
    			if _, ok := must[fullname]; !ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  6. src/net/lookup_test.go

    					}
    				}
    				t.Errorf("%s: got %s; want %s", mode, name, name[:len(name)-1])
    			} else if strings.Contains(name, ".") && !strings.HasSuffix(name, ".") { // "localhost.localdomain." not "localhost.localdomain"
    				t.Errorf("%s: got %s; want name ending with trailing dot", mode, name)
    			}
    		}
    	}
    }
    
    func TestLookupDotsWithRemoteSource(t *testing.T) {
    	if runtime.GOOS == "darwin" || runtime.GOOS == "ios" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  7. src/cmd/vendor/github.com/google/pprof/internal/report/source.go

    		}
    	}
    	for column < n {
    		column++
    		str.WriteRune(' ')
    	}
    	return str.String()
    }
    
    func canonicalizeFileName(fname string) string {
    	fname = strings.TrimPrefix(fname, "/proc/self/cwd/")
    	fname = strings.TrimPrefix(fname, "./")
    	return filepath.Clean(fname)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 31.3K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top