Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1171 - 1180 of 3,735 for Pull (0.02 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt

            .onRequestStart(CloseSocket())
            .build(),
        )
        val webSocket = newWebSocket()
        clientListener.assertFailure(
          101,
          null,
          ProtocolException::class.java,
          "Expected 'Connection' header value 'Upgrade' but was 'null'",
        )
        webSocket.cancel()
      }
    
      @Test
      @Throws(IOException::class)
      fun wrongConnectionHeader() {
        webServer.enqueue(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  2. compat/maven-builder-support/src/main/java/org/apache/maven/building/Problem.java

         * value is undefined.
         *
         * @return The location of the problem, never {@code null}.
         */
        String getLocation();
    
        /**
         * Gets the exception that caused this problem (if any).
         *
         * @return The exception that caused this problem or {@code null} if not applicable.
         */
        Exception getException();
    
        /**
         * Gets the message that describes this problem.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 15 18:51:29 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/AbstractVersionTransformation.java

            Metadata repoMetadata = metadata.getMetadata();
            String version = null;
            if (repoMetadata != null && repoMetadata.getVersioning() != null) {
                version = constructVersion(repoMetadata.getVersioning(), artifact.getBaseVersion());
            }
    
            if (version == null) {
                // use the local copy, or if it doesn't exist - go to the remote repo for it
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

        if (cacheCandidate != null && cacheResponse == null) {
          // The cache candidate wasn't applicable. Close it.
          cacheCandidate.body.closeQuietly()
        }
    
        // If we're forbidden from using the network and the cache is insufficient, fail.
        if (networkRequest == null && cacheResponse == null) {
          return Response
            .Builder()
            .request(chain.request())
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/opensearch/config/bsentity/BsThumbnailQueue.java

            if (createdBy != null) {
                addFieldToSource(sourceMap, "createdBy", createdBy);
            }
            if (createdTime != null) {
                addFieldToSource(sourceMap, "createdTime", createdTime);
            }
            if (generator != null) {
                addFieldToSource(sourceMap, "generator", generator);
            }
            if (path != null) {
                addFieldToSource(sourceMap, "path", path);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/ResponseBodyTest.kt

    import okio.ByteString.Companion.encodeUtf8
    import okio.IOException
    import okio.Source
    import okio.buffer
    
    class ResponseBodyTest {
      @Test
      fun sourceEmpty() {
        val mediaType = if (null == null) null else "any/thing; charset=${null}".toMediaType()
        val body = "".decodeHex().toResponseBody(mediaType)
        val source = body.source()
        assertThat(source.exhausted()).isTrue()
        assertThat(source.readUtf8()).isEqualTo("")
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/spnego/SpnegoExceptionTest.java

            SpnegoException ex = new SpnegoException();
    
            // Then
            assertNotNull(ex, "Exception should be created");
            assertNull(ex.getMessage(), "Default message should be null");
            assertNull(ex.getCause(), "Default cause should be null");
            assertTrue(ex instanceof CIFSException, "Should be a CIFSException");
            assertTrue(ex instanceof IOException, "Should be an IOException");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  8. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

          monitor.leave();
        }
      }
    
      /**
       * Returns the comparator used to order the elements in this queue, or {@code null} if this queue
       * uses the {@linkplain Comparable natural ordering} of its elements.
       *
       * @return the comparator used to order the elements in this queue, or {@code null} if this queue
       *     uses the natural ordering of its elements
       */
      @CanIgnoreReturnValue // pushed down from class to method
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/internal/RecordingOkAuthenticator.kt

      @Throws(IOException::class)
      override fun authenticate(
        route: Route?,
        response: Response,
      ): Request? {
        if (route == null) throw NullPointerException("route == null")
        responses += response
        routes += route
        if (!schemeMatches(response) || credential == null) return null
        val header =
          when (response.code) {
            407 -> "Proxy-Authorization"
            else -> "Authorization"
          }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/SmbBasicFileInfoTest.java

            Mockito.verifyNoMoreInteractions(mock);
        }
    
        // --- Invalid/null usage: calling a method on null should throw NPE ---
        @Test
        void nullReference_throwsNullPointerException() {
            // Arrange
            SmbBasicFileInfo info = null;
    
            // Act & Assert: attempting to call any method on null should throw NPE
            Assertions.assertThrows(NullPointerException.class, () -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
Back to top