Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 112 for succeeded (0.05 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

        try {
          collection.add(sampleElement);
          fail("add succeeded on unmodifiable collection");
        } catch (UnsupportedOperationException expected) {
        }
    
        assertCollectionsAreEquivalent(copy, collection);
    
        try {
          collection.addAll(siblingCollection);
          fail("addAll succeeded on unmodifiable collection");
        } catch (UnsupportedOperationException expected) {
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 14.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/audit/SecurityAuditLogger.java

                context.put("userId", userId);
            }
        }
    
        /**
         * Log an authentication event with optimized performance
         *
         * @param success whether authentication succeeded
         * @param username the username (will be masked if configured)
         * @param authMethod authentication method used (domain or method)
         * @param remoteAddress remote address
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  3. docs/recipes.md

                .readTimeout(500, TimeUnit.MILLISECONDS)
                .build()
            try {
              client1.newCall(request).execute().use { response ->
                println("Response 1 succeeded: $response")
              }
            } catch (e: IOException) {
              println("Response 1 failed: $e")
            }
    
            // Copy to customize OkHttp for this request.
            val client2 = client.newBuilder()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 47.8K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolverTest.java

            assertThrows(
                    ArtifactNotFoundException.class,
                    () -> artifactResolver.resolve(k, remoteRepositories(), localRepository()),
                    "Resolution succeeded when it should have failed");
        }
    
        @Test
        void testResolutionOfAnArtifactWhereOneRemoteRepositoryIsBadButOneIsGood() throws Exception {
            Artifact l = createRemoteArtifact("l", "1.0-SNAPSHOT");
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Mar 26 10:49:22 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

                        } catch (ChecksumFailedException e) {
                            // if we catch a ChecksumFailedException, it means the transfer/read succeeded, but the
                            // checksum doesn't match. This could be a problem with the server (ibiblio HTTP-200 error
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 29.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java

                if (!MessageDigest.isEqual(sig, cmp)) {
                    return false; // Signature verification failed
                }
                return true; // Signature verification succeeded
            } finally {
                this.signingLock.unlock();
            }
        }
    
        /**
         * Securely wipe signing key from memory
         */
        public void secureWipeKey() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  7. cmd/postpolicyform_test.go

    			if testCase.success && err != nil {
    				t.Errorf("Expected success but failed with %s", err)
    			}
    			if !testCase.success && err == nil {
    				t.Errorf("Expected failed but succeeded")
    			}
    		})
    	}
    }
    
    type formValues struct {
    	http.Header
    }
    
    func newFormValues() formValues {
    	return formValues{make(http.Header)}
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/rdma/RdmaErrorHandler.java

            }
        }
    
        /**
         * Attempt to recover from a recoverable RDMA error
         *
         * @param connection RDMA connection to recover
         * @param error the original error
         * @return true if recovery succeeded, false otherwise
         */
        private boolean attemptRecovery(RdmaConnection connection, Exception error) {
            int retryCount = 0;
    
            while (retryCount < maxRetries) {
                retryCount++;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  9. cmd/bucket-handlers_test.go

    	// Call the ServeHTTP to execute the handler.
    	apiRouter.ServeHTTP(rec, req)
    	switch rec.Code {
    	case http.StatusOK, http.StatusCreated, http.StatusAccepted, http.StatusNoContent:
    		t.Fatalf("Test %v: expected failure, but succeeded with %v", instanceType, rec.Code)
    	}
    
    	// Verify response of the V2 signed HTTP request.
    	// initialize HTTP NewRecorder, this records any mutations to response writer inside the handler.
    	recV2 := httptest.NewRecorder()
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 39.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbTransportPoolImplTest.java

            assertSame(trans1, result);
    
            // Verify fail count incremented for addr2 (was 1, now 2)
            assertEquals(2, poolSpy.failCounts.get("10.0.0.2"));
            // addr1's count should remain unchanged since it succeeded
            assertEquals(5, poolSpy.failCounts.get("10.0.0.1"));
        }
    
        @Test
        @DisplayName("Should throw UnknownHostException for empty address list")
        void testUnknownHostException() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 19.2K bytes
    - Viewed (0)
Back to top