- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 511 for __size (0.04 sec)
-
src/test/java/jcifs/tests/persistent/DurableHandleContextTest.java
assertEquals("DHnQ", new String(request.getName())); assertTrue(request.size() > 0); // Test encoding byte[] buffer = new byte[request.size()]; int encoded = request.encode(buffer, 0); assertEquals(request.size(), encoded); } @Test public void testDurableHandleV2Request() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 4.6K bytes - Viewed (0) -
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: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 15.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/fileauth/CreateForm.java
@Required @Size(max = 100) public String username; /** The password for file authentication (maximum 100 characters). */ @Size(max = 100) public String password; /** Additional parameters for file authentication (maximum 1000 characters). */ @Size(max = 1000) public String parameters;Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/SortedMapInterfaceTest.java
assertEquals(map.size(), oldSize - 1); assertFalse(map.containsKey(key)); assertEquals(subMap.size(), oldSize - 2); } public void testTailMapClearThrough() { SortedMap<K, V> map; try { map = makePopulatedMap(); } catch (UnsupportedOperationException e) { return; } int oldSize = map.size(); if (map.size() < 2 || !supportsClear) { return;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Oct 17 20:00:30 UTC 2024 - 3.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/SortedMapInterfaceTest.java
assertEquals(map.size(), oldSize - 1); assertFalse(map.containsKey(key)); assertEquals(subMap.size(), oldSize - 2); } public void testTailMapClearThrough() { SortedMap<K, V> map; try { map = makePopulatedMap(); } catch (UnsupportedOperationException e) { return; } int oldSize = map.size(); if (map.size() < 2 || !supportsClear) { return;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Oct 17 20:00:30 UTC 2024 - 3.9K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java
USING_DECODER_WITH_SIZE_HINT { @Override String read(ByteSource byteSource, Charset cs) throws IOException { Optional<Long> size = byteSource.sizeIfKnown(); // if we know the size and it fits in an int if (size.isPresent() && size.get().longValue() == size.get().intValue()) { // otherwise try to presize a StringBuilderRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 5.2K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java
// Write structure size (4) at offset SMBUtil.writeInt2(4, buffer, offset); SMBUtil.writeInt2(0, buffer, offset + 2); // Reserved field // When int bytesRead = response.readBytesWireFormat(buffer, offset); // Then assertEquals(4, bytesRead); } @DisplayName("Should throw exception for invalid structure size") @ParameterizedTestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/BufferCacheImplTest.java
@Mock Configuration cfg; // Verifies constructor that accepts Configuration reads the expected values and uses them @Test @DisplayName("Constructor(Configuration) uses cache size and maximum buffer size from config") void constructorUsesConfigurationAndAllocatesWithConfiguredSize() { when(cfg.getBufferCacheSize()).thenReturn(2); when(cfg.getMaximumBufferSize()).thenReturn(5);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.5K bytes - Viewed (0)