- Sort Score
- Num 10 results
- Language All
Results 161 - 170 of 410 for Max (0.01 seconds)
-
guava-testlib/src/com/google/common/testing/GcFinalization.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.testing; import static java.lang.Math.max; import static java.util.concurrent.TimeUnit.SECONDS; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import com.google.errorprone.annotations.DoNotMock;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 11.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/TreeMultiset.java
successor(this, right, succ()); height = max(2, height); distinctElements++; totalCount += count; return this; } @CanIgnoreReturnValue private AvlNode<E> addLeftChild(@ParametricNullness E e, int count) { left = new AvlNode<>(e, count); successor(pred(), left, this); height = max(2, height); distinctElements++; totalCount += count;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Dec 09 15:58:48 GMT 2025 - 33.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/TopKSelector.java
import static com.google.common.base.Preconditions.checkArgument; import static com.google.common.base.Preconditions.checkNotNull; import static com.google.common.collect.NullnessCasts.uncheckedCastNullableTToT; import static java.lang.Math.max; import static java.util.Arrays.asList; import static java.util.Arrays.sort; import static java.util.Collections.unmodifiableList; import com.google.common.annotations.GwtCompatible; import com.google.common.math.IntMath;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Aug 31 13:15:26 GMT 2025 - 11.3K bytes - Click Count (0) -
cmd/metacache.go
const ( scanStateNone scanStatus = iota scanStateStarted scanStateSuccess scanStateError // Time in which the initiator of a scan must have reported back. metacacheMaxRunningAge = time.Minute // Max time between client calls before dropping an async cache listing. metacacheMaxClientWait = 3 * time.Minute // metacacheBlockSize is the number of file/directory entries to have in each block. metacacheBlockSize = 5000
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Jul 12 16:23:16 GMT 2024 - 6K bytes - Click Count (0) -
cmd/dynamic-timeouts_test.go
} } func testDynamicTimeoutAdjust(t *testing.T, timeout *dynamicTimeout, f func() float64) { const successTimeout = 20 * time.Second for range dynamicTimeoutLogSize { rnd := f() duration := max(time.Duration(float64(successTimeout)*rnd), 100*time.Millisecond) if duration >= time.Minute { timeout.LogFailure() } else { timeout.LogSuccess(duration) } } }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 5.2K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/MethodMap.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 14.2K bytes - Click Count (0) -
.teamcity/src/main/kotlin/common/CommonExtensions.kt
listOf( // We pass the 'maxParallelForks' setting as 'workers.max' to limit the maximum number of executers even // if multiple test tasks run in parallel. We also pass it to the Gradle build as a maximum (maxParallelForks) // for each test task, such that we are independent of whatever default value is defined in the build itself. "-Dorg.gradle.workers.max=$maxParallelForks", "-PmaxParallelForks=$maxParallelForks",
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Mon Dec 22 07:15:16 GMT 2025 - 15.6K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/Helpers.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.collect.testing; import static java.lang.Math.max; import static java.util.Arrays.asList; import static java.util.Collections.singletonMap; import static java.util.Collections.sort; import static junit.framework.Assert.assertEquals;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Oct 10 23:13:45 GMT 2025 - 17.2K bytes - Click Count (0) -
guava/src/com/google/common/hash/AbstractNonStreamingHashFunction.java
if (buffer.remaining() >= needed) { return; } int currentCapacity = buffer.capacity(); int requiredCapacity = buffer.position() + needed; int newCapacity = Math.max(currentCapacity * 2, requiredCapacity); ByteBuffer newBuffer = ByteBuffer.allocate(newCapacity).order(ByteOrder.LITTLE_ENDIAN); // We must switch the old buffer to read mode to extract data
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 04 15:39:10 GMT 2025 - 4.8K bytes - Click Count (0) -
cmd/untar.go
"github.com/klauspost/compress/s2" "github.com/klauspost/compress/zstd" gzip "github.com/klauspost/pgzip" xioutil "github.com/minio/minio/internal/ioutil" "github.com/pierrec/lz4/v4" ) // Max bzip2 concurrency across calls. 50% of GOMAXPROCS. var bz2Limiter = pbzip2.CreateConcurrencyPool((runtime.GOMAXPROCS(0) + 1) / 2) func detect(r *bufio.Reader) format { z, err := r.Peek(4) if err != nil {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 6K bytes - Click Count (2)