Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 92 for isPath (0.13 sec)

  1. src/go/doc/comment/parse.go

    		1<<',' |
    		1<<':' |
    		1<<';' |
    		1<<'?' |
    		1<<'!'
    
    	return ((uint64(1)<<c)&(mask&(1<<64-1)) |
    		(uint64(1)<<(c-64))&(mask>>64)) != 0
    }
    
    // isPath reports whether c is a (non-punctuation) path byte.
    func isPath(c byte) bool {
    	// mask is a 128-bit bitmap with 1s for allowed bytes,
    	// so that the byte c can be tested with a shift and an and.
    	// If c > 128, then 1<<c and 1<<(c-64) will both be zero,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 33.5K bytes
    - Viewed (0)
  2. pkg/kubelet/stats/cri_stats_provider_windows.go

    	}
    	criNetwork := criPodStat.Windows.Network
    	iStats := statsapi.NetworkStats{
    		Time:           metav1.NewTime(time.Unix(0, criNetwork.Timestamp)),
    		InterfaceStats: criInterfaceToWinSummary(criNetwork.DefaultInterface),
    		Interfaces:     make([]statsapi.InterfaceStats, 0, len(criNetwork.Interfaces)),
    	}
    	for _, iface := range criNetwork.Interfaces {
    		iStats.Interfaces = append(iStats.Interfaces, criInterfaceToWinSummary(iface))
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Feb 18 07:03:11 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  3. pkg/kubelet/stats/cadvisor_stats_provider.go

    	}
    	cstat, found := latestContainerStats(info)
    	if !found {
    		return true
    	}
    	if cstat.Network != nil {
    		iStats := cadvisorInfoToNetworkStats(info)
    		if iStats != nil {
    			for _, iStat := range iStats.Interfaces {
    				if *iStat.RxErrors != 0 || *iStat.TxErrors != 0 || *iStat.RxBytes != 0 || *iStat.TxBytes != 0 {
    					return false
    				}
    			}
    		}
    	}
    	if cstat.CpuInst == nil || cstat.Memory == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 16 13:34:22 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  4. src/vendor/golang.org/x/crypto/sha3/keccakf_amd64.s

    	MOVQ rCa, rDu;         \
    	XORQ rCi, rDo;         \
    	ROLQ $1, rDu;          \
    	                       \
    	/* Result b */         \
    	MOVQ _ba(iState), rBa; \
    	MOVQ _ge(iState), rBe; \
    	XORQ rCo, rDu;         \
    	MOVQ _ki(iState), rBi; \
    	MOVQ _mo(iState), rBo; \
    	MOVQ _su(iState), rBu; \
    	XORQ rDe, rBe;         \
    	ROLQ $44, rBe;         \
    	XORQ rDi, rBi;         \
    	XORQ rDa, rBa;         \
    	ROLQ $43, rBi;         \
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 10 16:37:53 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/pod_cache.go

    }
    
    func openNetnsInRoot(hostMountsPath string) func(nspath string) (NetnsCloser, error) {
    	return func(nspath string) (NetnsCloser, error) {
    		nspathInContainer := filepath.Join(hostMountsPath, nspath)
    		ns, err := OpenNetns(nspathInContainer)
    		if err != nil {
    			err = fmt.Errorf("failed to open netns: %w. Make sure that the netns host path %s is mounted in under %s in the container", err, nspath, hostMountsPath)
    			log.Error(err.Error())
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 17:18:11 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/complete.go

    	if v == nil {
    		return nil
    	}
    	if s == nil {
    		return field.ErrorList{field.Required(sPath, fmt.Sprintf("because it is defined in %s", vPath.String()))}
    	}
    
    	allErrs := field.ErrorList{}
    
    	allErrs = append(allErrs, validateNestedValueValidationCompleteness(v.Not, s, sPath, vPath.Child("not"), opts)...)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 18:20:00 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  7. operator/pkg/translate/translate_value.go

    		return "", nil
    	}
    	var deprecatedFields []string
    	for inPath := range t.GatewayKubernetesMapping.IngressMapping {
    		_, found, err := tpath.GetPathContext(valuesOverlay, util.ToYAMLPath(inPath), false)
    		if err != nil {
    			scope.Debug(err.Error())
    			continue
    		}
    		if found {
    			deprecatedFields = append(deprecatedFields, inPath)
    		}
    	}
    	for inPath := range t.GatewayKubernetesMapping.EgressMapping {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 08 03:52:24 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  8. src/strconv/ftoaryu_test.go

    func TestMulByLog2Log10(t *testing.T) {
    	for x := -1600; x <= +1600; x++ {
    		iMath := MulByLog2Log10(x)
    		fMath := int(math.Floor(float64(x) * math.Ln2 / math.Ln10))
    		if iMath != fMath {
    			t.Errorf("mulByLog2Log10(%d) failed: %d vs %d\n", x, iMath, fMath)
    		}
    	}
    }
    
    func TestMulByLog10Log2(t *testing.T) {
    	for x := -500; x <= +500; x++ {
    		iMath := MulByLog10Log2(x)
    		fMath := int(math.Floor(float64(x) * math.Ln10 / math.Ln2))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 15 08:44:21 UTC 2021
    - 759 bytes
    - Viewed (0)
  9. pkg/kubelet/stats/cri_stats_provider_linux.go

    		return
    	}
    	criNetwork := criPodStat.Linux.Network
    	iStats := statsapi.NetworkStats{
    		Time:           metav1.NewTime(time.Unix(0, criNetwork.Timestamp)),
    		InterfaceStats: criInterfaceToSummary(criNetwork.DefaultInterface),
    		Interfaces:     make([]statsapi.InterfaceStats, 0, len(criNetwork.Interfaces)),
    	}
    	for _, iface := range criNetwork.Interfaces {
    		iStats.Interfaces = append(iStats.Interfaces, criInterfaceToSummary(iface))
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 16 11:09:04 UTC 2023
    - 4K bytes
    - Viewed (0)
  10. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/msvcpp/DefaultVisualStudioLocator.java

        private VisualCppInstall buildVisualCppInstall(String name, File vsPath, File basePath, VersionNumber version, Compatibility compatibility) {
            switch (compatibility) {
                case LEGACY:
                    return buildLegacyVisualCppInstall(name, vsPath, basePath, version);
                case VS2017_OR_LATER:
                    return buildVisualCppInstall(name, vsPath, basePath, version);
                default:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 13.9K bytes
    - Viewed (0)
Back to top