Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 4,338 for returns_ (0.1 sec)

  1. src/cmd/vendor/golang.org/x/text/internal/language/parse.go

    	s.scan()
    	for ; len(s.token) >= min; s.scan() {
    		end = s.end
    	}
    	return end
    }
    
    // Parse parses the given BCP 47 string and returns a valid Tag. If parsing
    // failed it returns an error and any part of the tag that could be parsed.
    // If parsing succeeded but an unknown value was found, it returns
    // ValueError. The Tag returned in this case is just stripped of the unknown
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Range.java

      /** Returns {@code true} if this range has an upper endpoint. */
      public boolean hasUpperBound() {
        return upperBound != Cut.aboveAll();
      }
    
      /**
       * Returns the upper endpoint of this range.
       *
       * @throws IllegalStateException if this range is unbounded above (that is, {@link
       *     #hasUpperBound()} returns {@code false})
       */
      public C upperEndpoint() {
        return upperBound.endpoint();
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util.h

    std::string GetDeviceAliasForHostOfLogicalCore(int core_index);
    
    // Returns true if cluster contains model parallelism based on
    // `num_cores_per_replica_attribute`. Otherwise returns false.
    bool HasModelParallelism(mlir::tf_device::ClusterOp cluster);
    
    // Returns true if the devices list contain any TPU devices
    bool HasTPUDevice(const mlir::TF::RuntimeDevices& devices);
    
    // Returns the host device used for outside compilation in generic pipeline.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableMultimap.java

        implements Serializable {
    
      /**
       * Returns an empty multimap.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
      public static <K, V> ImmutableMultimap<K, V> of() {
        return ImmutableListMultimap.of();
      }
    
      /** Returns an immutable multimap containing a single entry. */
      public static <K, V> ImmutableMultimap<K, V> of(K k1, V v1) {
        return ImmutableListMultimap.of(k1, v1);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  5. src/text/template/doc.go

    There is also a set of binary comparison operators defined as
    functions:
    
    	eq
    		Returns the boolean truth of arg1 == arg2
    	ne
    		Returns the boolean truth of arg1 != arg2
    	lt
    		Returns the boolean truth of arg1 < arg2
    	le
    		Returns the boolean truth of arg1 <= arg2
    	gt
    		Returns the boolean truth of arg1 > arg2
    	ge
    		Returns the boolean truth of arg1 >= arg2
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go

    	if q.d.Dec != nil {
    		return q.d.AsCanonicalBytes(out)
    	}
    	return q.i.AsCanonicalBytes(out)
    }
    
    // IsZero returns true if the quantity is equal to zero.
    func (q *Quantity) IsZero() bool {
    	if q.d.Dec != nil {
    		return q.d.Dec.Sign() == 0
    	}
    	return q.i.value == 0
    }
    
    // Sign returns 0 if the quantity is zero, -1 if the quantity is less than zero, or 1 if the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/reflect/Invokable.java

      }
    
      /** Returns true if the element is package-private. */
      public final boolean isPackagePrivate() {
        return !isPrivate() && !isPublic() && !isProtected();
      }
    
      /** Returns true if the element is private. */
      public final boolean isPrivate() {
        return Modifier.isPrivate(getModifiers());
      }
    
      /** Returns true if the element is static. */
      public final boolean isStatic() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 18.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/hash/Hashing.java

      }
    
      /** Returns a hash function implementing the SHA-512 algorithm (512 hash bits). */
      public static HashFunction sha512() {
        return Sha512Holder.SHA_512;
      }
    
      private static class Sha512Holder {
        static final HashFunction SHA_512 =
            new MessageDigestHashFunction("SHA-512", "Hashing.sha512()");
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 09 00:37:15 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/phases/certs/renewal/manager.go

    	if err != nil {
    		return nil, err
    	}
    
    	// returns the certificate expiration info
    	return newExpirationInfo(name, cert, externallyManaged), nil
    }
    
    // CAExists returns true if a certificate authority exists.
    func (rm *Manager) CAExists(name string) (bool, error) {
    	handler, ok := rm.cas[name]
    	if !ok {
    		return false, errors.Errorf("%s is not a known certificate", name)
    	}
    
    	return handler.readwriter.Exists()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 15K bytes
    - Viewed (0)
  10. src/runtime/tracestack.go

    				break outer
    			}
    			lastFuncID = sf.funcID
    		}
    	}
    	return n
    }
    
    // startPCForTrace returns the start PC of a goroutine for tracing purposes.
    // If pc is a wrapper, it returns the PC of the wrapped function. Otherwise it
    // returns pc.
    func startPCForTrace(pc uintptr) uintptr {
    	f := findfunc(pc)
    	if !f.valid() {
    		return pc // may happen for locked g in extra M since its pc is 0.
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 14:38:56 UTC 2024
    - 11K bytes
    - Viewed (0)
Back to top