Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 1,257 for real (0.01 sec)

  1. android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

             * This avoids out-of-control memory consumption, and it keeps the cache from growing so
             * large that doing the lookup is noticeably slower than redoing the work would be.
             *
             * Ideally we'd have a real eviction policy, but until we see a problem in practice, I hope
             * that this will suffice. I have not even benchmarked with different size limits.
             */
            if (validClasses.size() > 1000) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/util/SearchEngineUtilTest.java

            }
        }
    
        public void test_scroll_callbackHandling() {
            // This test verifies the scroll method exists and handles callbacks properly
            // Note: In a real test environment, this would require proper SearchEngineClient setup
            // For now, we test that the method signature is correct and can be called
    
            AtomicInteger callbackCount = new AtomicInteger(0);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java

            Smb2CloseRequest request = new Smb2CloseRequest(mockConfig, emptyFileId);
    
            // When
            request.setFileId(testFileId);
    
            // Then - verify through internal state (would need getter or reflection in real scenario)
            // Since we can't directly verify the internal state, we create a new request to test
            Smb2CloseRequest newRequest = new Smb2CloseRequest(mockConfig, testFileId);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SecurityBlobTest.java

            // Act
            spyBlob.set(payload);
    
            // Assert
            verify(spyBlob, times(1)).set(payload);
            assertSame(payload, spyBlob.get(), "Spy should behave like real object exposing same array");
            assertEquals(2, spyBlob.length(), "length() should reflect the set payload length");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/AllocInfoTest.java

                // Then - values should be preserved even at boundaries
                assertEquals(Long.MAX_VALUE, capacity);
                assertEquals(Long.MAX_VALUE, free);
    
                // Note: In real implementation, free > capacity might be invalid,
                // but interface doesn't enforce this constraint
            }
    
            @Test
            @DisplayName("Should handle typical file system sizes")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/netbios/NbtAddress.java

                        return null;
                    }
                    if (this.isDataFromNodeStatus) {
                        /*
                         * 'this' has been updated and should now
                         * have a real NetBIOS name
                         */
                        this.calledName = null;
                        return getHostName();
                    }
                } catch (final UnknownHostException uhe) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java

            assertEquals(0, response.getSecurityMode(), "Initial security mode should be 0");
            assertEquals(0, response.getDialect(), "Initial dialect should be 0");
        }
    
        @Test
        @DisplayName("Test decode with real-world SMB3 values")
        void testDecodeWithRealWorldValues() throws SMBProtocolDecodingException {
            // Prepare test data with realistic SMB3 values
            byte[] buffer = new byte[50];
            int bufferIndex = 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java

        @Mock
        private Configuration mockConfig;
    
        private NetShareEnumResponse response;
    
        @BeforeEach
        void setUp() throws Exception {
            MockitoAnnotations.openMocks(this);
            // Use real configuration for most tests
            mockConfig = new BaseConfiguration(false);
            response = new NetShareEnumResponse(mockConfig);
        }
    
        @Test
        @DisplayName("Test constructor with configuration")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java

                assertEquals(8192, response.getChunkBytesWritten());
                assertEquals(40960, response.getTotalBytesWritten());
            }
    
            @Test
            @DisplayName("Should work with real-world values")
            void testRealWorldValues() throws SMBProtocolDecodingException {
                // Typical server response after copying chunks
                byte[] buffer = createValidCopyChunkResponse(16, // 16 chunks written
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.8K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

       *     the size method
       */
      public static <T extends @Nullable Object> Collection<T> misleadingSizeCollection(int delta) {
        // It would be nice to be able to return a real concurrent
        // collection like ConcurrentLinkedQueue, so that e.g. concurrent
        // iteration would work, but that would not be GWT-compatible.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 17.2K bytes
    - Viewed (0)
Back to top