- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 2,308 for _size (0.02 sec)
-
src/test/java/org/codelibs/fess/suggest/analysis/SuggestAnalyzerTest.java
List<AnalyzeToken> tokensTitle = analyzer.analyze(text, "title", lang); assertNotNull(tokensTitle); assertEquals(2, tokensTitle.size()); // Test with null field List<AnalyzeToken> tokensNull = analyzer.analyze(text, null, lang); assertNotNull(tokensNull); assertEquals(2, tokensNull.size()); } @TestRegistered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 15.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java
// Negative values will be cast to unsigned when encoded assertEquals(4 + 2 * path.length(), buffer.size()); } } @Nested @DisplayName("Size Calculation Tests") class SizeTests { @ParameterizedTest @DisplayName("Should calculate correct size for various path lengths")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.5K bytes - Viewed (0) -
cmd/bitrot.go
return bw.Sum(nil) } return nil } // Returns the size of the file with bitrot protection func bitrotShardFileSize(size int64, shardSize int64, algo BitrotAlgorithm) int64 { if algo != HighwayHash256S { return size } return ceilFrac(size, shardSize)*int64(algo.New().Size()) + size } // bitrotVerify a single stream of data.
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 7.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AbstractMapBasedMultiset.java
} } @Override final int distinctElements() { return backingMap.size(); } @Override public final Iterator<E> iterator() { return Multisets.iteratorImpl(this); } @Override public final int size() { return Ints.saturatedCast(size); } /**
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 05 23:15:58 UTC 2025 - 7.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeHandleInternal.java
/** * Gets the send buffer size of the underlying SMB connection * @return the send buffer size of the underlying connection * @throws CIFSException if an error occurs retrieving the buffer size */ int getSendBufferSize() throws CIFSException; /** * Gets the receive buffer size of the underlying SMB connection * @return the receive buffer size of the underlying connectionRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java
Smb2TreeDisconnectRequest request = new Smb2TreeDisconnectRequest(mockConfig); // When int size = request.size(); // Then // Verify size includes SMB2_HEADER_LENGTH assertTrue(size >= Smb2Constants.SMB2_HEADER_LENGTH); // The actual calculation: (SMB2_HEADER_LENGTH + 4 + 7) & ~7
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java
} @Test @DisplayName("Test size method returns 8") void testSize() { assertEquals(8, fileInfo.size()); // Test with different instance FileEndOfFileInformation info = new FileEndOfFileInformation(999L); assertEquals(8, info.size()); } @Test @DisplayName("Test encode method with valid buffer")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/SmbBasicFileInfoTest.java
private final long lastAccessTime; private final long size; TestInfo(int attributes, long createTime, long lastWriteTime, long lastAccessTime, long size) { this.attributes = attributes; this.createTime = createTime; this.lastWriteTime = lastWriteTime; this.lastAccessTime = lastAccessTime; this.size = size; } @OverrideRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractIndexedListIterator.java
* size} * @throws IllegalArgumentException if {@code size} is negative */ protected AbstractIndexedListIterator(int size, int position) { checkPositionIndex(position, size); this.size = size; this.position = position; } @Override public final boolean hasNext() { return position < size; } @Override @ParametricNullnessRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AtomicLongMapTest.java
} assertEquals(ITERATIONS, map.size()); map.clear(); assertEquals(0, map.size()); assertTrue(map.isEmpty()); } public void testSum() { AtomicLongMap<Object> map = AtomicLongMap.create(); long sum = 0; for (int i = 0; i < ITERATIONS; i++) { map.put(new Object(), i); sum += i; } assertEquals(ITERATIONS, map.size()); assertEquals(sum, map.sum());Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 17.5K bytes - Viewed (0)