Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for Point (8.39 sec)

  1. cmd/net.go

    	addr = u.Host
    	scheme = u.Scheme
    
    	// Use the given parameter again if url.Parse()
    	// didn't return any useful result.
    	if addr == "" {
    		addr = hostAddr
    		scheme = "http"
    	}
    
    	// At this point, addr can be one of the following form:
    	//	":9000"
    	//	"localhost:9000"
    	//	"localhost" <- in this case, we check for scheme
    
    	host, port, err := net.SplitHostPort(addr)
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 26 15:00:38 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  2. internal/mountinfo/mountinfo_linux.go

    		// This is to avoid a situation where prefix is '/tmp/fsmount'
    		// and mount path is /tmp/fs. In such a scenario we need to check for
    		// `/tmp/fs/` to be a common prefix amount other mounts.
    		mpath := strings.TrimSuffix(mount.Path, "/") + "/"
    		ppath := strings.TrimSuffix(path, "/") + "/"
    		if strings.HasPrefix(mpath, ppath) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 4.7K bytes
    - Viewed (0)
  3. istioctl/cmd/options.go

    		// (Currently the only global options we show are help options)
    		rootCmd.PersistentFlags().VisitAll(func(flag *pflag.Flag) {
    			if _, ok := helpFlags[flag.Name]; ok {
    				// Currently every flag.Shorthand is "", so there is no point in showing shorthands
    				shorthand := "   "
    				if flag.Shorthand != "" {
    					shorthand = "-" + flag.Shorthand + ","
    				}
    				c.Printf("  %s --%s: %s\n", shorthand, flag.Name, flag.Usage)
    			}
    		})
    	})
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  4. internal/kms/policy-manager.go

    )
    
    // PolicyManager is the generic interface that handles KMS policy] operations
    type PolicyManager interface {
    	// DescribePolicy describes a policy by returning its metadata.
    	// e.g. who created the policy at which point in time.
    	DescribePolicy(ctx context.Context, policy string) (*kes.PolicyInfo, error)
    
    	// GetPolicy gets a policy from KMS.
    	GetPolicy(ctx context.Context, policy string) (*kes.Policy, error)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  5. internal/mountinfo/mountinfo_windows.go

    	case windows.DRIVE_FIXED, windows.DRIVE_REMOVABLE, windows.DRIVE_REMOTE, windows.DRIVE_RAMDISK:
    		// Recognize "fixed", "removable", "remote" and "ramdisk" drives as proper drives
    		// which can be treated as an actual mount-point, rest can be ignored.
    		// https://docs.microsoft.com/en-us/windows/desktop/api/fileapi/nf-fileapi-getdrivetypew
    		mountPointCache.Store(path, true)
    		return true
    	}
    	mountPointCache.Store(path, false)
    	return false
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Aug 19 01:35:22 GMT 2021
    - 2K bytes
    - Viewed (0)
  6. cmd/speedtest.go

    					throughputHighestGet = totalGet
    				}
    				sendResult()
    				break
    			}
    
    			// We break if we did not see 2.5% growth rate in total GET
    			// requests, we have reached our peak at this point.
    			doBreak := float64(totalGet-throughputHighestGet)/float64(totalGet) < 0.025
    
    			throughputHighestGet = totalGet
    			throughputHighestResults = results
    			throughputHighestPut = totalPut
    
    			if doBreak {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 28 18:04:17 GMT 2024
    - 9K bytes
    - Viewed (0)
  7. internal/config/identity/ldap/config.go

    	l.LDAP.GroupSearchFilter = getCfgVal(GroupSearchFilter)
    	l.LDAP.GroupSearchBaseDistName = getCfgVal(GroupSearchBaseDN)
    
    	// If enable flag was not explicitly set, we treat it as implicitly set at
    	// this point as necessary configuration is available.
    	if !isEnableFlagExplicitlySet && !l.LDAP.Enabled {
    		l.LDAP.Enabled = true
    	}
    	// Validate and test configuration.
    	valResult := l.LDAP.Validate()
    	if !valResult.IsOk() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 7.9K bytes
    - Viewed (2)
  8. cni/pkg/nodeagent/informers.go

    			// the CNI plugin chain, and have a PodIP.
    			//
    			// If PodIPs exists, it is preferred, otherwise fallback to PodIP.
    			//
    			// If we get to this point and have a pod that really and truly has no IP in either of those,
    			// it's not routable at this point and something is wrong/we should discard this event.
    			podIPs := util.GetPodIPsIfPresent(pod)
    			if len(podIPs) == 0 {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  9. cmd/os_windows.go

    		if name == "" || name == "." || name == ".." { // Useless names
    			continue
    		}
    
    		var typ os.FileMode // regular file
    		switch {
    		case data.FileAttributes&syscall.FILE_ATTRIBUTE_REPARSE_POINT != 0:
    			// Reparse point is a symlink
    			fi, err := os.Stat(pathJoin(dirPath, name))
    			if err != nil {
    				// It got deleted in the meantime, not found
    				// or returns too many symlinks ignore this
    				// file/directory.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Oct 18 18:08:15 GMT 2023
    - 5.1K bytes
    - Viewed (0)
  10. cni/test/install_k8s_test.go

    			cniConfDirOrderedFiles: []string{
    				"noname_calico.conflist",
    				"noplugins_calico.conflist",
    				"calico.conflist", "minikube_cni.conf",
    			},
    		},
    		{
    			name:                   "confFile env var point to missing .conf with valid .conflist file",
    			chainedCNIPlugin:       true,
    			preConfFile:            "00-calico.conf",
    			resultFileName:         "00-calico.conflist",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Jul 27 18:01:48 GMT 2022
    - 8K bytes
    - Viewed (0)
Back to top