Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 181 for Verification (0.13 seconds)

  1. src/test/java/org/codelibs/fess/query/MatchAllQueryCommandTest.java

            // Execute and ensure no exceptions are thrown
            QueryBuilder result = matchAllQueryCommand.execute(context, query, boost);
    
            assertNotNull(result);
    
            // Note: Actual log output verification would require a log appender mock
            // but we can at least ensure the method executes without errors
            logger.info("Execute method called with query: {} and boost: {}", query, boost);
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/curl/io/IOIntegrationTest.java

            assertTrue(receivedException.get() instanceof CurlException);
            assertTrue(receivedException.get().getMessage().contains("Failed to access"));
        }
    
        // --- Compression and request headers verification tests ---
    
        /**
         * Mock HttpURLConnection that records headers set on the connection.
         */
        class HeaderRecordingMockHttpURLConnection extends HttpURLConnection {
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 12:00:34 GMT 2026
    - 44.1K bytes
    - Click Count (0)
  3. cmd/storage-rest-server.go

    	if c.done != nil {
    		xioutil.SafeClose(c.done)
    		c.done = nil
    	}
    	return c.rc.Close()
    }
    
    // keepHTTPReqResponseAlive can be used to avoid timeouts with long storage
    // operations, such as bitrot verification or data usage scanning.
    // Every 10 seconds a space character is sent.
    // keepHTTPReqResponseAlive will wait for the returned body to be read before starting the ticker.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue May 27 15:19:03 GMT 2025
    - 45.7K bytes
    - Click Count (0)
  4. internal/jwt/parser.go

    				jwtgo.ValidationErrorClaimsInvalid)
    		}
    	}
    
    	// Lookup key from claims, claims may not be valid and may return
    	// invalid key which is okay as the signature verification will fail.
    	key, err := fn(claims)
    	if err != nil {
    		return err
    	}
    	borrow := signer.HashBorrower()
    	hasher := hmac.New(borrow.Borrow, key)
    	hasher.Write([]byte(tokenStr[:i]))
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionCoalescingTest.kt

        assertFailsWith<SSLPeerUnverifiedException> {
          execute(url)
        }
      }
    
      /**
       * Skips coalescing when hostname verifier is overridden since the intention of the hostname
       * verification is a black box.
       */
      @Test
      fun skipsWhenHostnameVerifierUsed() {
        val verifier = HostnameVerifier { name: String?, session: SSLSession? -> true }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Jun 19 11:44:16 GMT 2025
    - 19.1K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

        @Test
        @DisplayName("Should write proper wire format structure")
        void testWireFormatStructure() throws Exception {
            // Given
            String simplePath = "\\\\S\\s"; // Simple path for easier verification
            Smb2TreeConnectRequest req = new Smb2TreeConnectRequest(mockConfig, simplePath);
            byte[] buffer = new byte[256];
    
            // When
            req.encode(buffer, 0);
    
            // Then
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

         * @see jcifs.util.transport.Response#verifySignature(byte[], int, int)
         */
        @Override
        public boolean verifySignature(final byte[] buffer, final int i, final int size) {
            /*
             * Verification fails (w/ W2K3 server at least) if status is not 0. This
             * suggests MS doesn't compute the signature (correctly) for error responses
             * (perhaps for DOS reasons).
             */
            /*
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 38.9K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java

            concreteResponse.error();
            assertTrue(concreteResponse.isError());
            assertEquals(0xC0000001, concreteResponse.getErrorCode());
    
            // Test signature verification
            assertTrue(concreteResponse.verifySignature(new byte[100], 0, 50));
            assertFalse(concreteResponse.isVerifyFailed());
    
            // Test exception handling
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.3K bytes
    - Click Count (0)
  9. src/test/java/jcifs/http/NetworkExplorerTest.java

            networkExplorer = new NetworkExplorer() {
                @Override
                public void init(ServletConfig config) throws ServletException {
                    // Read the parameters to trigger verification
                    config.getInitParameter("jcifs.smb.client.domain");
                    config.getInitParameter("jcifs.http.enableBasic");
    
                    // Set required fields
                    try {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 21.2K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/sso/entraid/EntraIdAuthenticatorTest.java

        }
    
        @Test
        public void test_setUseV2Endpoint() {
            EntraIdAuthenticator authenticator = new EntraIdAuthenticator();
    
            // Test parameter accepts final boolean (compile-time verification)
            authenticator.setUseV2Endpoint(true);
            authenticator.setUseV2Endpoint(false);
    
            // Verify method signature is correct
            assertTrue(true);
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 19.3K bytes
    - Click Count (0)
Back to Top