Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 742 for calloc (0.04 sec)

  1. src/test/java/jcifs/netbios/NbtAddressTest.java

            assertEquals("TESTHOST<00>/192.168.1.1", nbtAddress.toString());
        }
    
        // 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);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. src/main/java/jcifs/Address.java

         */
        InetAddress toInetAddress() throws UnknownHostException;
    
        /**
         * Guess called name to try for session establishment. These
         * methods are used by the smb package.
         *
         * @return guessed name
         */
        String firstCalledName();
    
        /**
         * Guess next called name to try for session establishment. These
         * methods are used by the smb package.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  6. 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)
  7. android/guava/src/com/google/common/base/Suppliers.java

       * form does not contain the cached value, which will be recalculated when {@code get()} is called
       * on the deserialized instance.
       *
       * <p>When the underlying delegate throws an exception then this memoizing supplier will keep
       * delegating calls until it returns valid data.
       *
       * <p>If {@code delegate} is an instance created by an earlier call to {@code memoize}, it is
       * returned directly.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/AccessTimeoutTarget.java

     * It also uses an AtomicBoolean to track whether the thread is running.
     * </p>
     *
     * <p>
     * The expired method is called when a timeout occurs.
     * It interrupts the running thread up to a maximum number of times.
     * The stop method is called to stop the timeout target.
     * </p>
     */
    public class AccessTimeoutTarget implements TimeoutTarget {
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

         */
        public void healthy() {}
    
        /**
         * Called when the all of the component services have reached a terminal state, either
         * {@linkplain State#TERMINATED terminated} or {@linkplain State#FAILED failed}.
         */
        public void stopped() {}
    
        /**
         * Called when a component service has {@linkplain State#FAILED failed}.
         *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 33.2K bytes
    - Viewed (1)
  10. src/test/java/jcifs/dcerpc/msrpc/SamrPolicyHandleTest.java

            }).when(mockHandle).sendrecv(any(MsrpcSamrConnect4.class));
            // Subsequent call for MsrpcSamrConnect2 should succeed
            doNothing().when(mockHandle).sendrecv(any(MsrpcSamrConnect2.class));
    
            try (SamrPolicyHandle handle = new SamrPolicyHandle(mockHandle, server, access)) {
                assertNotNull(handle);
                // Verify that sendrecv was called with MsrpcSamrConnect4 and then MsrpcSamrConnect2
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.4K bytes
    - Viewed (0)
Back to top