Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 87 for Invocation (0.09 sec)

  1. src/test/java/jcifs/internal/smb2/rdma/RdmaBufferManagerTest.java

            // Set up mock provider to return TCP memory regions
            when(mockProvider.registerMemory(any(ByteBuffer.class), any())).thenAnswer(invocation -> {
                ByteBuffer buffer = invocation.getArgument(0);
                EnumSet<RdmaAccess> access = invocation.getArgument(1);
                return new TcpMemoryRegion(buffer, access);
            });
    
            bufferManager = new RdmaBufferManager(mockProvider);
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  2. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java

            when(mockClearScrollBuilder.addScrollId(any(String.class))).thenReturn(mockClearScrollBuilder);
            doAnswer(invocation -> {
                ActionListener<ClearScrollResponse> listener = invocation.getArgument(0);
                listener.onResponse(mock(ClearScrollResponse.class));
                return null;
            }).when(mockClearScrollBuilder).execute(any(ActionListener.class));
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:44:44 UTC 2025
    - 17K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/SmbTreeTest.java

            // Mock transport.connect() to succeed
            doNothing().when(transport).connect();
    
            // Setup response for tree connect
            doAnswer(invocation -> {
                ServerMessageBlock request = invocation.getArgument(0);
                ServerMessageBlock response = invocation.getArgument(1);
                if (request instanceof SmbComTreeConnectAndX && response instanceof SmbComTreeConnectAndXResponse) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/AbstractStreamingHasher.java

      private final int bufferSize;
    
      /** Number of bytes processed per process() invocation. */
      private final int chunkSize;
    
      /**
       * Constructor for use by subclasses. This hasher instance will process chunks of the specified
       * size.
       *
       * @param chunkSize the number of bytes available per {@link #process(ByteBuffer)} invocation;
       *     must be at least 4
       */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java

            if (lmCompatibility == 3 || lmCompatibility == 4 || lmCompatibility == 5) {
                // For LM compatibility 3-5, only 16 bytes are used
                doAnswer(invocation -> {
                    byte[] dest = invocation.getArgument(2);
                    int offset = invocation.getArgument(3);
                    System.arraycopy(new byte[16], 0, dest, offset, 16);
                    return null;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/SmbSessionTest.java

            // Only mark the sessionSetup response as received, not the actual request/response
            doAnswer(invocation -> {
                ServerMessageBlock request = invocation.getArgument(0);
                ServerMessageBlock response = invocation.getArgument(1);
                // Only mark session setup responses as received, not our test request
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/http/NtlmServletTest.java

            lenient().when(servletConfig.getInitParameterNames()).thenReturn(Collections.enumeration(initParams.keySet()));
            lenient().when(servletConfig.getInitParameter(anyString())).thenAnswer(invocation -> initParams.get(invocation.getArgument(0)));
    
            // Mock HTTP method for request - this is required for HttpServlet.service()
            lenient().when(request.getMethod()).thenReturn("GET");
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/util/HMACT64Test.java

                when(mockMd5.digest()).thenReturn(innerDigest);
                when(mockMd5.digest(buffer, 0, expectedOutput.length)).thenAnswer(invocation -> {
                    byte[] b = invocation.getArgument(0);
                    int off = invocation.getArgument(1);
                    int l = invocation.getArgument(2);
                    System.arraycopy(expectedOutput, 0, b, off, l);
                    return l;
                });
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/AbstractService.java

      protected AbstractService() {}
    
      /**
       * This method is called by {@link #startAsync} to initiate service startup. The invocation of
       * this method should cause a call to {@link #notifyStarted()}, either during this method's run,
       * or after it has returned. If startup fails, the invocation should cause a call to {@link
       * #notifyFailed(Throwable)} instead.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/AbstractService.java

      protected AbstractService() {}
    
      /**
       * This method is called by {@link #startAsync} to initiate service startup. The invocation of
       * this method should cause a call to {@link #notifyStarted()}, either during this method's run,
       * or after it has returned. If startup fails, the invocation should cause a call to {@link
       * #notifyFailed(Throwable)} instead.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 20.7K bytes
    - Viewed (0)
Back to top