Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 341 - 350 of 677 for Failure (0.05 seconds)

  1. src/test/java/jcifs/util/SecureCredentialStorageTest.java

            byte[] encrypted = storage.encryptCredentials(plaintext);
    
            // Tamper with the encrypted data
            encrypted[encrypted.length - 1] ^= 0xFF;
    
            // Should throw exception due to authentication tag failure
            assertThrows(GeneralSecurityException.class, () -> {
                storage.decryptCredentials(encrypted);
            }, "Should throw GeneralSecurityException when decrypting tampered data");
    
            // Clean up
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/SpnegoContextTest.java

            assertEquals("Invalid token", ex.getMessage());
    
            // Ensure mechContext was not engaged due to early failure
            verify(this.mechContext, never()).initSecContext(any(), anyInt(), anyInt());
        }
    
        @Test
        @DisplayName("initSecContext with null buffer and non-zero len throws NPE")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/web/api/admin/searchlist/ApiAdminSearchlistAction.java

        }
    
        /**
         * Deletes a document by ID from the search index.
         *
         * @param id the document ID to delete
         * @return JSON response indicating success or failure
         */
        // DELETE /api/admin/searchlist/doc/{doc_id}
        @Execute
        public JsonResponse<ApiResult> delete$doc(final String id) {
            try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 12.2K bytes
    - Click Count (0)
  4. src/test/java/jcifs/util/AuthenticationRateLimiterTest.java

                                // Only record failure/success if the attempt was allowed
                                if (j % 2 == 0) {
                                    concurrentLimiter.recordFailure("user" + threadId, "192.168.2." + threadId);
                                    localFailures++;
                                    // Prevent lockout by resetting after 3 failures
                                    if (localFailures >= 3) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  5. tensorflow/c/eager/c_api_distributed_test.cc

                       tensorflow::FunctionLibraryDefinition* flib_def,
                       std::vector<std::string>* control_ret_node_names,
                       bool* control_rets_updated) override {
        // Inject failure to function instantiation if finding a node that contains
        // the given node name (error_node_) and requested device (error_device_).
        for (const auto node : graph->get()->nodes()) {
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 12 05:11:17 GMT 2024
    - 23.4K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt

     *     try (ResponseBody responseBody = response.body()) {
     *     ... // Use the response.
     *     }
     *   }
     *
     *   public void onFailure(Call call, IOException e) {
     *   ... // Handle the failure.
     *   }
     * });
     * ```
     *
     * These examples will not work if you're consuming the response body on another thread. In such
     * cases the consuming thread must call [close] when it has finished reading the response
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue May 27 14:51:25 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

                  ? (isBoolean(method) ? Outcome.FAILURE : Outcome.HANG)
                  : Outcome.SUCCESS);
          addTests(
              suite,
              method,
              Scenario.UNSATISFIED_AND_UNOCCUPIED_BEFORE_ENTERING,
              TimeoutsToUse.INFINITE,
              isGuarded(method)
                  ? (isTryEnter(method) || isEnterIf(method) ? Outcome.FAILURE : Outcome.HANG)
                  : Outcome.SUCCESS);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 26.7K bytes
    - Click Count (0)
  8. cmd/metrics-v3-api.go

    	apiTrafficRecvBytes MetricName = "traffic_received_bytes"
    )
    
    var (
    	apiRejectedAuthTotalMD = NewCounterMD(apiRejectedAuthTotal,
    		"Total number of requests rejected for auth failure", "type")
    	apiRejectedHeaderTotalMD = NewCounterMD(apiRejectedHeaderTotal,
    		"Total number of requests rejected for invalid header", "type")
    	apiRejectedTimestampTotalMD = NewCounterMD(apiRejectedTimestampTotal,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Sep 24 17:13:00 GMT 2024
    - 9.4K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/crawler/serializer/DataSerializer.java

        }
    
        /**
         * Safely registers a class with Kryo, logging any registration failures at WARN level.
         * <p>
         * This method catches exceptions for individual class registrations to ensure
         * that a failure to register one class doesn't prevent other classes from being registered.
         * Registration failures are logged at WARN level since they may cause serialization errors later.
         * </p>
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Jan 10 01:54:09 GMT 2026
    - 10.5K bytes
    - Click Count (3)
  10. src/main/resources/fess_message.properties

    # Application Exception
    # ---------------------
    # /- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    # five framework-embedded messages (don't change key names)
    # - - - - - - - - - -/
    errors.login.failure = Login failed.
    errors.app.illegal.transition = Illegal transition. Please try again.
    errors.app.db.already.deleted = It may have been deleted by another process. Please try again.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 12.4K bytes
    - Click Count (0)
Back to Top