Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 73 for capture (0.04 sec)

  1. guava/src/com/google/common/reflect/TypeResolver.java

       * {@code ArrayList<?>::set}.
       *
       * <p>Instead, {@code <?>} will be resolved to a capture in the form of a type variable {@code
       * <capture-of-? extends Object>}, effectively preventing {@code set} from accepting any type.
       */
      static TypeResolver invariantly(Type contextType) {
        Type invariantContext = WildcardCapturer.INSTANCE.capture(contextType);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/reflect/TypeResolver.java

       * {@code ArrayList<?>::set}.
       *
       * <p>Instead, {@code <?>} will be resolved to a capture in the form of a type variable {@code
       * <capture-of-? extends Object>}, effectively preventing {@code set} from accepting any type.
       */
      static TypeResolver invariantly(Type contextType) {
        Type invariantContext = WildcardCapturer.INSTANCE.capture(contextType);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/SMBSigningDigestTest.java

            verify(signingDigest).sign(dataCaptor.capture(), offsetCaptor.capture(), lengthCaptor.capture(), eq(request), eq(response));
    
            assertArrayEquals(testData, dataCaptor.getValue());
            assertEquals(offset, offsetCaptor.getValue());
            assertEquals(length, lengthCaptor.getValue());
        }
    
        @Test
        @DisplayName("Test verify method invocation with argument capture")
        void testVerifyMethodArgumentCapture() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbTransportInternalTest.java

            ArgumentCaptor<Integer> rnCap = ArgumentCaptor.forClass(Integer.class);
    
            verify(transport).getDfsReferrals(eq(ctx), nameCap.capture(), hostCap.capture(), domCap.capture(), rnCap.capture());
            assertEquals(name, nameCap.getValue());
            assertEquals(host, hostCap.getValue());
            assertEquals(domain, domCap.getValue());
            assertEquals(rn, rnCap.getValue());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbFileInputStreamTest.java

                    fail("Expected IOException due to short-circuit");
                } catch (IOException expected) {
                    // expected
                }
    
                // Assert captured request parameters
                verify(mockTree).send(cap.capture(), any(jcifs.internal.CommonServerMessageBlockResponse.class), any(RequestParam.class));
                jcifs.internal.smb1.com.SmbComReadAndX req = cap.getValue();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/auth/chain/CommandChain.java

         * Thread that reads input stream data and buffers it for later retrieval.
         * Captures output from command execution with configurable line buffering.
         */
        protected static class InputStreamThread extends Thread {
    
            /** Buffered reader for input stream. */
            private BufferedReader br;
    
            /** List to store captured output lines. */
            private final List<String> list = new LinkedList<>();
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbWatchHandleImplTest.java

            ArgumentCaptor<CommonServerMessageBlockRequest> reqCap = ArgumentCaptor.forClass(CommonServerMessageBlockRequest.class);
            verify(tree).send(reqCap.capture(), any(), any(), any());
            assertTrue(reqCap.getValue() instanceof Smb2ChangeNotifyRequest, "SMB2 request must be used");
            verify(tree, times(1)).close(); // try-with-resources must close
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SIDTest.java

                // Assert: resolver.resolveSids called with this SID
                ArgumentCaptor<jcifs.SID[]> captor = ArgumentCaptor.forClass(jcifs.SID[].class);
                verify(mockResolver, times(1)).resolveSids(same(mockCtx), eq("server.example"), captor.capture());
                assertSame(sid, captor.getValue()[0]);
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SIDCacheImplTest.java

            // Verify resolveSids0 called exactly once with the two SIDs needing resolution
            ArgumentCaptor<SID[]> captor = ArgumentCaptor.forClass(SID[].class);
            verify(cache, times(1)).resolveSids0(isNull(), same(ctx), captor.capture());
            SID[] resolvedFirst = captor.getValue();
            assertEquals(2, resolvedFirst.length);
            assertEquals("user1", ((SID) resolvedFirst[0]).acctName);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbFileHandleImplTest.java

            ArgumentCaptor<SmbComBlankResponse> respCap = ArgumentCaptor.forClass(SmbComBlankResponse.class);
            verify(tree, times(1)).send(reqCap.capture(), respCap.capture(), eq(RequestParam.NO_RETRY));
            assertTrue(reqCap.getValue() instanceof SmbComClose, "Expected SmbComClose request");
            assertNotNull(respCap.getValue(), "Expected SmbComBlankResponse");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
Back to top