Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 80 for unexpectedly (0.2 sec)

  1. android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

      static final String ERROR_REUSE_EDGE = "it cannot be reused to connect";
      static final String ERROR_MODIFIABLE_COLLECTION =
          "Collection returned is unexpectedly modifiable";
      static final String ERROR_SELF_LOOP = "self-loops are not allowed";
      static final String ERROR_EDGE_NOT_IN_GRAPH =
          "Should not be allowed to pass an edge that is not an element of the graph.";
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/PreconditionsTest.java

         *
         * - _can_ be null without causing a runtime failure (because we don't want the interesting
         *   details of precondition failure to be hidden by an exception we throw about an unexpectedly
         *   null _failure message_)
         *
         * That combination upsets NullPointerTester, which wants any call that passes null for a
         * non-@Nullable parameter to trigger a NullPointerException.
         *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/base/PreconditionsTest.java

         *
         * - _can_ be null without causing a runtime failure (because we don't want the interesting
         *   details of precondition failure to be hidden by an exception we throw about an unexpectedly
         *   null _failure message_)
         *
         * That combination upsets NullPointerTester, which wants any call that passes null for a
         * non-@Nullable parameter to trigger a NullPointerException.
         *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

                service,
                from);
            checkState(
                servicesByState.put(to, service),
                "Service %s in the state map unexpectedly at %s",
                service,
                to);
            // Update the timer
            Stopwatch stopwatch = startupTimers.get(service);
            if (stopwatch == null) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  5. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

        if (alreadyStartedAddress != null) {
          check(socketAddress.address == alreadyStartedAddress.address) {
            "unexpected address"
          }
          check(socketAddress.port == 0 || socketAddress.port == alreadyStartedAddress.port) {
            "unexpected port"
          }
          return // Already started.
        }
    
        var boundSocketAddress = socketAddress
        try {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 02 20:36:00 UTC 2025
    - 40.3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/ProcessHelperTest.java

                // Wait a bit for the process to complete
                Thread.sleep(100);
    
                // Clean up
                processHelper.destroyProcess(sessionId);
            } catch (Exception e) {
                fail("Unexpected exception: " + e.getMessage());
            }
        }
    
        public void test_startProcess_withBufferSizeAndCallback() {
            String sessionId = "test_session_buffer";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  7. docs/recipes.md

                .url("https://publicobject.com/helloworld.txt")
                .build()
    
            client.newCall(request).execute().use { response ->
              if (!response.isSuccessful) throw IOException("Unexpected code $response")
    
              for ((name, value) in response.headers) {
                println("$name: $value")
              }
    
              println(response.body!!.string())
            }
          }
        ```
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 47.8K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketReader.kt

                if (!perMessageDeflate) throw ProtocolException("Unexpected rsv1 flag")
                true
              } else {
                false
              }
          }
          else -> {
            if (reservedFlag1) throw ProtocolException("Unexpected rsv1 flag")
          }
        }
    
        val reservedFlag2 = b0 and B0_FLAG_RSV2 != 0
        if (reservedFlag2) throw ProtocolException("Unexpected rsv2 flag")
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 22:04:11 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

        } catch (e: EOFException) {
          // Provide more context if the server ends the stream before sending a response.
          val address =
            carrier.route.address.url
              .redact()
          throw IOException("unexpected end of stream on $address", e)
        }
      }
    
      private fun newChunkedSink(): Sink {
        check(state == STATE_OPEN_REQUEST_BODY) { "state: $state" }
        state = STATE_WRITING_REQUEST_BODY
        return ChunkedSink()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  10. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt

        }
      }
    
      fun readBoolean(): Boolean {
        if (bytesLeft != 1L) throw ProtocolException("unexpected length: $bytesLeft at $this")
        return source.readByte().toInt() != 0
      }
    
      fun readBigInteger(): BigInteger {
        if (bytesLeft == 0L) throw ProtocolException("unexpected length: $bytesLeft at $this")
        val byteArray = source.readByteArray(bytesLeft)
        return BigInteger(byteArray)
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.5K bytes
    - Viewed (0)
Back to top