- Sort Score
- Num 10 results
- Language All
Results 491 - 500 of 818 for max (0.14 seconds)
-
android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
int randomInt = random.nextInt(); mmHeap.offer(randomInt); insertIntoReplica(replica, randomInt); currentHeapSize++; } else { /* remove either min or max */ if (random.nextBoolean()) { removeMinFromReplica(replica, mmHeap.poll()); } else { removeMaxFromReplica(replica, mmHeap.pollLast()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 13:11:08 GMT 2026 - 36.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/Utf8Test.java
* @param start the starting bytes encoded as a long as big-endian * @param lim the limit of bytes to process encoded as a long as big-endian, or -1 to mean the max * limit for numBytes */ @GwtIncompatible // java.nio.charset.Charset private static void testBytes(int numBytes, long expectedCount, long start, long lim) { byte[] bytes = new byte[numBytes];
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 12.9K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java
assertEquals(0, Encdec.dec_uint32le(buffer, 4)); // Offset assertEquals(testString.length() + 1, Encdec.dec_uint32le(buffer, 8)); // Max count ndrBuffer.setIndex(0); String decodedString = ndrBuffer.dec_ndr_string(); assertEquals(testString, decodedString); assertEquals(expectedLength, ndrBuffer.getIndex());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.3K bytes - Click Count (0) -
cmd/metacache-server-pool.go
if o.Marker != "" && o.Prefix != "" { // Marker not common with prefix is not implemented. Send an empty response if !HasPrefix(o.Marker, o.Prefix) { return entries, io.EOF } } // With max keys of zero we have reached eof, return right here. if o.Limit == 0 { return entries, io.EOF } // For delimiter and prefix as '/' we do not list anything at allCreated: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 12.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/CompactHashSet.java
import static com.google.common.collect.CollectPreconditions.checkRemove; import static com.google.common.collect.CompactHashing.UNSET; import static com.google.common.collect.Hashing.smearedHash; import static java.lang.Math.max; import static java.lang.Math.min; import static java.util.Objects.requireNonNull; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 23.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java
import static com.google.common.collect.CollectPreconditions.checkPositive; import static com.google.common.collect.Lists.newArrayListWithExpectedSize; import static com.google.common.collect.Maps.safeGet; import static java.lang.Math.max; import static java.util.Objects.requireNonNull; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import com.google.common.primitives.Ints;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 22.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java
setConverter(response, 0); setNumEntries(response, 1); // Create a 13-character share name (maximum) String shareName = "SHARE12345678"; // 13 characters String remark = "Max length name"; byte[] buffer = new byte[200]; int bufferIndex = 0; // Write share name (exactly 13 bytes) byte[] nameBytes = shareName.getBytes(StandardCharsets.US_ASCII);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java
// Set maximum values SMBUtil.writeInt4(Integer.MAX_VALUE, buffer, 0); // nextEntryOffset SMBUtil.writeInt4(Integer.MAX_VALUE, buffer, 4); // fileIndex // For time values, use a reasonable max time that won't overflow long maxTime = System.currentTimeMillis() + 1000000000000L; SMBUtil.writeTime(maxTime, buffer, 8); // creationTime SMBUtil.writeTime(maxTime, buffer, 16); // lastAccessTimeCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java
assertEquals((byte) 0xFF, dst[1]); assertEquals((byte) 0xFF, dst[2]); assertEquals((byte) 0xFF, dst[3]); } @Test @DisplayName("Test writeUTime with max time") void testWriteUTimeWithMaxTime() { byte[] dst = new byte[4]; SMB1SigningDigest.writeUTime(mockConfig, 0xFFFFFFFFFFFFFFFFL, dst, 0); assertEquals((byte) 0xFF, dst[0]);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/CacheEvictionTest.java
// Should we pepper more of these calls throughout the above? Where? CacheTesting.checkValidState(cache); } /** * Tests that when a single entry exceeds the segment's max weight, the new entry is immediately * evicted and nothing else. */ public void testEviction_maxWeight_entryTooBig() { CountingRemovalListener<Integer, Integer> removalListener = countingRemovalListener();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 15K bytes - Click Count (0)