Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 308 for retval (0.03 sec)

  1. okhttp-tls/README.md

    a fake `HostnameVerifier` or `X509TrustManager`.
    
    Certificate Authorities
    -----------------------
    
    The above example uses a self-signed certificate. This is convenient for testing but not
    representative of real-world HTTPS deployment. To get closer to that we can use `HeldCertificate`
    to generate a trusted root certificate, an intermediate certificate, and a server certificate.
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Oct 30 21:39:59 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareEnumTest.java

                fail("Failed to access servername field: " + e.getMessage());
            }
        }
    
        @Test
        void testGetEntriesWithMultipleShares() throws Exception {
            // Create real ShareInfo1 objects instead of mocks
            srvsvc.ShareInfo1 shareInfo1 = new srvsvc.ShareInfo1();
            shareInfo1.netname = "Share1";
            shareInfo1.type = 0;
            shareInfo1.remark = "Remark for Share1";
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/multichannel/MultiChannelIntegrationTest.java

    import jcifs.smb.SmbSessionInternal;
    import jcifs.smb.SmbTransportInternal;
    
    /**
     * Unit tests for SMB3 Multi-Channel functionality
     *
     * These tests verify the multi-channel implementation without requiring a real SMB server.
     */
    @ExtendWith(MockitoExtension.class)
    @MockitoSettings(strictness = Strictness.LENIENT)
    class MultiChannelIntegrationTest {
    
        @Mock
        private SmbTransportInternal mockTransport;
    
        @Mock
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java

        // ISO 8859-1 only has 0-255 (ubyte) representation so throws away UTF-8 characters
        // greater than 127 (ie with their top bit set).
        // Don't attempt to do this in real code.
        assertEquals(
            fingerprint(stringA.getBytes(ISO_8859_1)), fingerprint(stringB.getBytes(ISO_8859_1)));
      }
    
      public void testPutNonChars() {
        Hasher hasher = HASH_FN.newHasher();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

        }
    
        @Override
        public void removeTransport(final SmbTransport trans) {
            if (log.isDebugEnabled()) {
                log.debug("Scheduling transport connection for removal " + trans + " (" + System.identityHashCode(trans) + ")");
            }
            this.toRemove.add((SmbTransportImpl) trans);
        }
    
        private void cleanup() {
            SmbTransportImpl trans;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/fscc/FileInformationTest.java

         */
        @Test
        @DisplayName("Test FileInformation implementation with spy")
        void testFileInformationWithSpy() throws SMBProtocolDecodingException {
            // Create spy on real object
            FileEndOfFileInformation realObject = new FileEndOfFileInformation(4096L);
            FileEndOfFileInformation spy = Mockito.spy(realObject);
    
            // Call methods
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategy.java

            Element parentElement = root.child(PARENT).orElse(null);
            if (parentElement == null) {
                return false;
            }
    
            // Apply limited inference (child groupId/version removal only)
            return trimParentElementLimited(context, root, parentElement);
        }
    
        /**
         * Applies full parent-related inference optimizations for Maven 4.1.0+ models.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/CacheBuilder.java

       *
       * @return the cache builder reference that should be used instead of {@code this} for any
       *     remaining configuration and cache building
       * @throws IllegalStateException if a removal listener was already set
       */
      public <K1 extends K, V1 extends V> CacheBuilder<K1, V1> removalListener(
          RemovalListener<? super K1, ? super V1> listener) {
        checkState(this.removalListener == null);
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 08 18:55:33 UTC 2025
    - 51.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/util/HMACT64Test.java

            }
        }
    
        // Integration test with actual MD5 to verify HMAC calculation logic
        @Test
        void testHMACT64WithActualMD5() throws NoSuchAlgorithmException {
            // This test uses a real MD5 instance to verify the HMAC calculation logic
            // HMACT64 is a modified HMAC-MD5 where the key is truncated at 64 bytes
            // instead of being hashed when it exceeds the block size.
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/net/protocol/gcs/HandlerTest.java

            Handler handler = new Handler();
            Handler.GcsURLConnection conn = (Handler.GcsURLConnection) handler.openConnection(url);
    
            // Ensure environment variables are not set (in real scenario)
            // In this test, we expect IOException when project ID is blank
            try {
                conn.connect();
                fail("Should throw IOException when project ID is not set");
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 14.1K bytes
    - Viewed (0)
Back to top