Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 518 for Scaled (0.06 sec)

  1. android/guava/src/com/google/common/io/ByteSink.java

     *
     * <p>{@code ByteSink} provides two kinds of methods:
     *
     * <ul>
     *   <li><b>Methods that return a stream:</b> These methods should return a <i>new</i>, independent
     *       instance each time they are called. The caller is responsible for ensuring that the
     *       returned stream is closed.
     *   <li><b>Convenience methods:</b> These are implementations of common operations that are
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/io/ByteSink.java

     *
     * <p>{@code ByteSink} provides two kinds of methods:
     *
     * <ul>
     *   <li><b>Methods that return a stream:</b> These methods should return a <i>new</i>, independent
     *       instance each time they are called. The caller is responsible for ensuring that the
     *       returned stream is closed.
     *   <li><b>Convenience methods:</b> These are implementations of common operations that are
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/SmbTreeTest.java

         * Verifies that close can be called successfully.
         */
        @Test
        void testClose() {
            doNothing().when(smbTree).close();
    
            smbTree.close();
    
            verify(smbTree).close();
        }
    
        /**
         * Test for close() method called multiple times.
         * Verifies that close can be called multiple times safely.
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrOpenDomainTest.java

            assertEquals(expectedFlags, msrpcSamrOpenDomain.getFlags(), "flags should be initialized to DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG");
    
            // Since SamrOpenDomain's constructor is called, we implicitly test that the arguments
            // are passed up. Mockito cannot directly verify super() calls without PowerMock,
            // which is not ideal for simple constructor tests.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/job/PurgeLogJobTest.java

            // Execute
            String result = purgeLogJob.execute();
    
            // Assert crawling info and status update were called
            assertTrue(deleteCrawlingInfoCalled[0]);
            assertTrue(updateJobLogStatusCalled[0]);
    
            // Assert other services were not called
            assertFalse(deleteSearchLogCalled[0]);
            assertFalse(deleteJobLogCalled[0]);
            assertFalse(deleteUserInfoCalled[0]);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/netbios/NbtAddressTest.java

        }
    
        // Tests for methods that call checkData(CIFSContext tc)
        @Test
        void testIsGroupAddress_CheckDataCalled() throws UnknownHostException {
            // Test isGroupAddress when checkData is called (hostName is unknown)
            when(mockContext.getNameServiceClient()).thenReturn(mockNameServiceClient);
            mockName = new Name(mockConfig, "0.0.0.0", 0, null);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

            assertEquals("first", e1.getName());
            assertEquals(acceptedName, e2.getName(), "Should return the first name accepted by filter");
    
            // Verify filter interactions: not called for '.' and '..', called for others
            verify(nameFilter, never()).accept(parent, ".");
            verify(nameFilter, never()).accept(parent, "..");
            ArgumentCaptor<String> nameCaptor = ArgumentCaptor.forClass(String.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/ndr/NdrLongTest.java

            // Configure the mock to return a specific value when dec_ndr_long is called
            when(mockNdrBuffer.dec_ndr_long()).thenReturn(decodedValue);
    
            NdrLong ndrLong = new NdrLong(0); // Initialize with a dummy value
    
            // Call the decode method
            ndrLong.decode(mockNdrBuffer);
    
            // Verify that dec_ndr_long was called exactly once
            verify(mockNdrBuffer, times(1)).dec_ndr_long();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/MsrpcEnumerateAliasesInDomainTest.java

            // The super constructor is called with (domainHandle, 0, acct_flags, null, 0)
            // We can't directly assert these values on the superclass fields without reflection or a testable superclass.
            // For 100% coverage, we'd need to ensure the superclass constructor is indeed called with these values.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java

        static class TestSigningDigest extends SigningDigest {
            boolean called;
            int lastLength;
    
            TestSigningDigest() throws SmbException {
                super(new byte[16], false);
            }
    
            @Override
            void sign(byte[] data, int offset, int length, ServerMessageBlock request, ServerMessageBlock response) {
                called = true;
                lastLength = length;
            }
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
Back to top