Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 623 for failure (0.14 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

        assertThat(suppressed[0]).hasCauseThat().hasMessageThat().isEqualTo("run failure");
    
        assertThat(suppressed[1]).hasCauseThat().isInstanceOf(IllegalStateException.class);
        assertThat(suppressed[1]).hasCauseThat().hasMessageThat().isEqualTo("start failure");
        LogRecord record = Iterables.getOnlyElement(logHandler.getStoredLogRecords());
        // We log failures that occur after startup
        assertThat(record.getMessage())
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 25.5K bytes
    - Viewed (0)
  2. src/archive/tar/strconv_test.go

    		var p parser
    		got := p.parseNumeric([]byte(v.in))
    		ok := (p.err == nil)
    		if ok != v.ok {
    			if v.ok {
    				t.Errorf("parseNumeric(%q): got parsing failure, want success", v.in)
    			} else {
    				t.Errorf("parseNumeric(%q): got parsing success, want failure", v.in)
    			}
    		}
    		if ok && got != v.want {
    			t.Errorf("parseNumeric(%q): got %d, want %d", v.in, got, v.want)
    		}
    	}
    }
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Sep 08 17:08:20 UTC 2025
    - 15K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/multichannel/ChannelFailover.java

                t.setDaemon(true);
                return t;
            });
            this.failoverStates = new ConcurrentHashMap<>();
        }
    
        /**
         * Handle channel failure
         *
         * @param failedChannel failed channel
         * @param error error that caused failure
         */
        public void handleFailure(ChannelInfo failedChannel, Exception error) {
            log.warn("Channel {} failed: {}", failedChannel.getChannelId(), error.getMessage());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/AutobahnTester.kt

            }
    
            override fun onFailure(
              webSocket: WebSocket,
              t: Throwable,
              response: Response?,
            ) {
              failureRef.set(t)
              latch.countDown()
            }
          },
        )
    
        check(latch.await(10, TimeUnit.SECONDS)) { "Timed out waiting for count." }
    
        val failure = failureRef.get()
        if (failure != null) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  5. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceRecorder.kt

        get().log("[ES] onClosed", Platform.INFO, null)
        events.add(Closed)
        drainCancelQueue(eventSource)
      }
    
      override fun onFailure(
        eventSource: EventSource,
        t: Throwable?,
        response: Response?,
      ) {
        get().log("[ES] onFailure", Platform.INFO, t)
        events.add(Failure(t, response, t?.message ?: response?.body?.string()))
        drainCancelQueue(eventSource)
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:32:52 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/netbios/NameServiceClientImplTest.java

            // Verify the exception message indicates name resolution failure
            assertTrue(exception.getMessage().contains("NONEXISTENT") || exception.getMessage().contains("unknown")
                    || exception.getMessage().contains("not found"), "Exception message should indicate name resolution failure");
        }
    
        @Test
        @DisplayName("Should handle NetBIOS name with type and scope with timeout")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/Service.java

         *
         * @param from The previous state that is being transitioned from. Failure can occur in any
         *     state with the exception of {@linkplain State#NEW NEW} or {@linkplain State#TERMINATED
         *     TERMINATED}.
         * @param failure The exception that caused the failure.
         */
        public void failed(State from, Throwable failure) {}
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SMBSignatureValidationException.java

        }
    
        /**
         * Constructs an SMB signature validation exception with message and cause.
         *
         * @param msg the detail message describing the validation failure
         * @param rootCause the underlying cause of the validation failure
         */
        public SMBSignatureValidationException(final String msg, final Throwable rootCause) {
            super(msg, rootCause);
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  9. mockwebserver/src/main/kotlin/mockwebserver3/internal/RecordedRequestFactory.kt

        target = requestLine.target,
        version = requestLine.version,
        url = requestUrl,
        headers = headers,
        body = body,
        bodySize = bodySize,
        chunkSizes = chunkSizes,
        failure = failure,
      )
    }
    
    internal fun decodeRequestLine(requestLine: String?): RequestLine {
      val parts =
        when {
          requestLine != null -> requestLine.split(' ', limit = 3)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 12:43:16 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  10. futures/failureaccess/src/com/google/common/util/concurrent/internal/InternalFutureFailureAccess.java

      /** Constructor for use by subclasses. */
      protected InternalFutureFailureAccess() {}
    
      /**
       * Usually returns {@code null} but, if this {@code Future} has failed, may <i>optionally</i>
       * return the cause of the failure. "Failure" means specifically "completed with an exception"; it
       * does not include "was cancelled." To be explicit: If this method returns a non-null value,
       * then:
       *
       * <ul>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 2.3K bytes
    - Viewed (0)
Back to top