Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 147 for convenient (0.21 sec)

  1. pkg/controlplane/apiserver/server.go

    		// This label indiciates the identity of the lease object.
    		lease.Labels[IdentityLeaseComponentLabelKey] = identity
    
    		hostname, err := os.Hostname()
    		if err != nil {
    			return err
    		}
    
    		// convenience label to easily map a lease object to a specific apiserver
    		lease.Labels[apiv1.LabelHostname] = hostname
    
    		// Include apiserver network location <ip_port> used by peers to proxy requests between kube-apiservers
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 19:24:41 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverRequest.java

                this.pathTypeFilter = pathTypeFilter;
                return this;
            }
    
            /**
             * Specifies the type of paths to include in the result. This is a convenience method for
             * {@link #pathTypeFilter(Predicate)} using {@link Collection#contains(Object)} as the filter.
             *
             * @param desiredTypes the type of paths to include in the result
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  3. pkg/apis/core/validation/validation.go

    		allErrs = append(allErrs, validateContainerCommon(c, volumes, podClaimNames, idxPath, opts, podRestartPolicy, hostUsers)...)
    		// Ephemeral containers don't need looser constraints for pod templates, so it's convenient to apply both validations
    		// here where we've already converted EphemeralContainerCommon to Container.
    		allErrs = append(allErrs, validateContainerOnlyForPod(c, idxPath)...)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 349.5K bytes
    - Viewed (0)
  4. src/expvar/expvar.go

    	slices.Sort(vars.keys)
    }
    
    // Get retrieves a named exported variable. It returns nil if the name has
    // not been registered.
    func Get(name string) Var {
    	return vars.Get(name)
    }
    
    // Convenience functions for creating new exported variables.
    
    func NewInt(name string) *Int {
    	v := new(Int)
    	Publish(name, v)
    	return v
    }
    
    func NewFloat(name string) *Float {
    	v := new(Float)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 21:32:11 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Sets.java

       * using a {@code LinkedHashSet} instead, at the cost of increased memory footprint, to get
       * deterministic iteration behavior.
       *
       * <p>This method is just a small convenience, either for {@code newHashSet(}{@link Arrays#asList
       * asList}{@code (...))}, or for creating an empty set then calling {@link Collections#addAll}.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 77.3K bytes
    - Viewed (0)
  6. src/net/http/h2_bundle.go

    	cc := rl.cc
    	// Locking both mu and wmu here allows frame encoding to read settings with only wmu held.
    	// Acquiring wmu when f.IsAck() is unnecessary, but convenient and mostly harmless.
    	cc.wmu.Lock()
    	defer cc.wmu.Unlock()
    
    	if err := rl.processSettingsNoWrite(f); err != nil {
    		return err
    	}
    	if !f.IsAck() {
    		cc.fr.WriteSettingsAck()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 364.1K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/custom-response.md

    !!! note "Technical Details"
        You could also use `from starlette.responses import HTMLResponse`.
    
        **FastAPI** provides the same `starlette.responses` as `fastapi.responses` just as a convenience for you, the developer. But most of the available responses come directly from Starlette.
    
    ### `Response`
    
    The main `Response` class, all the other responses inherit from it.
    
    You can return it directly.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  8. src/encoding/hex/hex.go

    // EncodedLen returns the length of an encoding of n source bytes.
    // Specifically, it returns n * 2.
    func EncodedLen(n int) int { return n * 2 }
    
    // Encode encodes src into [EncodedLen](len(src))
    // bytes of dst. As a convenience, it returns the number
    // of bytes written to dst, but this value is always [EncodedLen](len(src)).
    // Encode implements hexadecimal encoding.
    func Encode(dst, src []byte) int {
    	j := 0
    	for _, v := range src {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:30:23 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  9. src/net/smtp/smtp.go

    		return err
    	}
    	if c.didHello {
    		return errors.New("smtp: Hello called after other methods")
    	}
    	c.localName = localName
    	return c.hello()
    }
    
    // cmd is a convenience function that sends a command and returns the response
    func (c *Client) cmd(expectCode int, format string, args ...any) (int, string, error) {
    	id, err := c.Text.Cmd(format, args...)
    	if err != nil {
    		return 0, "", err
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/cmd/token.go

    			the "init" and "join" commands.
    
    			You don't have to use this command in order to generate a token. You can do so
    			yourself as long as it is in the format "[a-z0-9]{6}.[a-z0-9]{16}". This
    			command is provided for convenience to generate tokens in the given format.
    
    			You can also use "kubeadm init" without specifying a token and it will
    			generate and print one for you.
    		`),
    		RunE: func(cmd *cobra.Command, args []string) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 05:47:48 UTC 2024
    - 15.9K bytes
    - Viewed (0)
Back to top