Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 346 for getg (0.15 sec)

  1. src/path/filepath/match.go

    					}
    					name = t
    					continue Pattern
    				}
    				if err != nil {
    					return false, err
    				}
    			}
    		}
    		return false, nil
    	}
    	return len(name) == 0, nil
    }
    
    // scanChunk gets the next segment of pattern, which is a non-star string
    // possibly preceded by a star.
    func scanChunk(pattern string) (star bool, chunk, rest string) {
    	for len(pattern) > 0 && pattern[0] == '*' {
    		pattern = pattern[1:]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/cmd/upgrade/common.go

    		// API Server's version
    		realServerVersion, err := dryRunGetter.Client().Discovery().ServerVersion()
    		if err != nil {
    			return nil, errors.Wrap(err, "failed to get server version")
    		}
    
    		// Get the fake clientset
    		dryRunOpts := apiclient.GetDefaultDryRunClientOptions(dryRunGetter, os.Stdout)
    		// Print GET and LIST requests
    		dryRunOpts.PrintGETAndLIST = true
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 08:34:39 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  3. pkg/bootstrap/instance.go

    	if i == nil {
    		return "{}"
    	}
    
    	ba, err := json.Marshal(i)
    	if err != nil {
    		log.Warnf("Unable to marshal %v: %v", i, err)
    		return "{}"
    	}
    
    	return string(ba)
    }
    
    // GetEffectiveTemplatePath gets the template file that should be used for bootstrap
    func GetEffectiveTemplatePath(pc *model.NodeMetaProxyConfig) string {
    	var templateFilePath string
    	switch {
    	case pc.CustomConfigFile != "":
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 20:38:02 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/ztunnel/configdump/configdump.go

    	err := json.Unmarshal(b, rawDump)
    	if err != nil {
    		return fmt.Errorf("error unmarshalling config dump response from ztunnel: %v", err)
    	}
    	// ensure that data gets unmarshalled into the right data type
    	if err := unmarshalListOrMap(rawDump.Services, &zDump.Services); err != nil {
    		return err
    	}
    	if err := unmarshalListOrMap(rawDump.Workloads, &zDump.Workloads); err != nil {
    		return err
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 20:18:34 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. pkg/kubelet/util/swap/swap_util.go

    		}
    
    		return true
    	}
    
    	tmpfsNoswapOptionAvailabilityOnce.Do(func() {
    		tmpfsNoswapOptionSupported = isTmpfsNoswapOptionSupportedHelper()
    	})
    
    	return tmpfsNoswapOptionSupported
    }
    
    // gets /proc/swaps's content as an input, returns true if swap is enabled.
    func isSwapOnAccordingToProcSwaps(procSwapsContent []byte) bool {
    	procSwapsContent = bytes.TrimSpace(procSwapsContent) // extra trailing \n
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 10:07:06 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  6. security/pkg/nodeagent/cache/secretcache_test.go

    	if err == nil {
    		t.Fatalf("expected to get error")
    	}
    
    	if gotSecret != nil {
    		t.Fatalf("Expected to get nil secret but got %v", gotSecret)
    	}
    
    	rootResource := "file-root:" + rootCertPath
    	gotSecretRoot, err := sc.GenerateSecret(rootResource)
    
    	if err == nil {
    		t.Fatalf("Expected to get error, but did not get")
    	}
    	if !strings.Contains(err.Error(), "no such file or directory") {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

        public ArtifactRepository getLocalRepository() {
            return request.getLocalRepository();
        }
    
        public List<String> getGoals() {
            return request.getGoals();
        }
    
        /**
         * Gets the user properties to use for interpolation and profile activation. The user properties have been
         * configured directly by the user on his discretion, e.g. via the {@code -Dkey=value} parameter on the command
         * line.
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  8. pkg/test/framework/components/cluster/clusters.go

    	}, exclude(excluded...))
    }
    
    // IsExternalControlPlane indicates whether the clusters are set up in an enternal
    // control plane configuration. An external control plane is a primary cluster that
    // gets its Istio configuration from a different cluster.
    func (c Clusters) IsExternalControlPlane() bool {
    	for _, cc := range c {
    		if cc.IsExternalControlPlane() {
    			return true
    		}
    	}
    	return false
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/cluster_scoping_pass.cc

    // instead of overriding the old value.  In other words, appending scope B to
    // scope A creates the conjunction of the scopes A and B (i.e, A & B) and,
    // in effect, the node gets both the old and new scopes.  As a unique scope
    // disallows a node being merged with nodes in other scopes, the scope
    // conjunction preserves the semantic of the old scope (i.e., the node still
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  10. pkg/kubelet/kubelet_getters.go

    // specified pod. This directory may not exist if the pod does not exist.
    func (kl *Kubelet) GetPodDir(podUID types.UID) string {
    	return kl.getPodDir(podUID)
    }
    
    // ListPodsFromDisk gets a list of pods that have data directories.
    func (kl *Kubelet) ListPodsFromDisk() ([]types.UID, error) {
    	return kl.listPodsFromDisk()
    }
    
    // HandlerSupportsUserNamespaces checks whether the specified handler supports
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 00:48:07 UTC 2024
    - 17.9K bytes
    - Viewed (0)
Back to top