- Sort Score
- Result 10 results
- Languages All
Results 451 - 460 of 1,345 for single (0.05 sec)
-
android/guava/src/com/google/common/primitives/Longs.java
* @throws IllegalArgumentException if {@code min > max} * @since 21.0 */ public static long constrainToRange(long value, long min, long max) { checkArgument(min <= max, "min (%s) must be less than or equal to max (%s)", min, max); return Math.min(Math.max(value, min), max); } /** * Returns the values from each provided array combined into a single array. For example, {@code
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 18:05:56 UTC 2024 - 29.3K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Longs.java
* @throws IllegalArgumentException if {@code min > max} * @since 21.0 */ public static long constrainToRange(long value, long min, long max) { checkArgument(min <= max, "min (%s) must be less than or equal to max (%s)", min, max); return Math.min(Math.max(value, min), max); } /** * Returns the values from each provided array combined into a single array. For example, {@code
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 15:52:18 UTC 2024 - 29K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java
else if (recommendedVersion != null) { // Use the original recommended version since it exists version = recommendedVersion; } else if (restriction.recommendedVersion != null) { // Use the recommended version from the specified VersionRange since there is no // original recommended version version = restriction.recommendedVersion; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 19K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactHashSet.java
// See CompactHashMap for a detailed description of how the following fields work. That // description talks about `keys`, `values`, and `entries`; here the `keys` and `values` arrays // are replaced by a single `elements` array but everything else works similarly. /** * The hashtable object. This can be either: * * <ul> * <li>a byte[], short[], or int[], with size a power of two, created by
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 20:24:49 UTC 2024 - 24K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/ImmutableLongArray.java
} return builder().addAll(values).build(); } /** * Returns an immutable array containing all the values from {@code stream}, in order. * * @since NEXT (but since 22.0 in the JRE flavor) */ @SuppressWarnings("Java7ApiChecker") @IgnoreJRERequirement // Users will use this only if they're already using streams. public static ImmutableLongArray copyOf(LongStream stream) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 18:05:56 UTC 2024 - 22.3K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java
final Monitor monitor = this.monitor; monitor.enter(); try { return items.length - count; } finally { monitor.leave(); } } /** * Removes a single instance of the specified element from this queue, if it is present. More * formally, removes an element {@code e} such that {@code o.equals(e)}, if this queue contains
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Apr 19 19:24:36 UTC 2023 - 22.5K bytes - Viewed (0) -
guava/src/com/google/common/primitives/ImmutableIntArray.java
* * @since 22.0 (but only since 33.4.0 in the Android flavor) */ public void forEach(IntConsumer consumer) { checkNotNull(consumer); for (int i = start; i < end; i++) { consumer.accept(array[i]); } } /** * Returns a stream over the values in this array, in order. * * @since 22.0 (but only since 33.4.0 in the Android flavor) */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 18:05:56 UTC 2024 - 21.4K bytes - Viewed (0) -
cmd/metacache-stream.go
return err } return w.mw.Flush() } return nil } return &w } // write one or more objects to the stream in order. // It is favorable to send as many objects as possible in a single write, // but no more than math.MaxUint32 func (w *metacacheWriter) write(objs ...metaCacheEntry) error { if w == nil { return errors.New("metacacheWriter: nil writer") } if len(objs) == 0 { return nil
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Apr 04 12:04:40 UTC 2024 - 19.5K bytes - Viewed (0) -
common-protos/k8s.io/api/resource/v1alpha2/generated.proto
// // Setting this field is optional. It has a maximum size of 32 entries. // If null (or empty), it is assumed this allocation will be processed by a // single kubelet plugin with no ResourceHandle data attached. The name of // the kubelet plugin invoked will match the DriverName set in the // ResourceClaimStatus this AllocationResult is embedded in. // // +listType=atomic
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 14.4K bytes - Viewed (0) -
istioctl/pkg/precheck/precheck.go
Example: ` # Verify that Istio can be installed or upgraded istioctl x precheck # Check only a single namespace istioctl x precheck --namespace default # Check for behavioral changes since a specific version istioctl x precheck --from-version 1.10`, RunE: func(cmd *cobra.Command, args []string) (err error) { msgs := diag.Messages{} if !skipControlPlane {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 24 02:31:32 UTC 2024 - 15.3K bytes - Viewed (0)