Search Options

Results per page
Sort
Preferred Languages
Advance

Results 891 - 900 of 2,167 for Watch (0.06 sec)

  1. samples/crawler/src/main/java/okhttp3/sample/Crawler.java

        ExecutorService executor = Executors.newFixedThreadPool(threadCount);
        for (int i = 0; i < threadCount; i++) {
          executor.execute(() -> {
            try {
              drainQueue();
            } catch (Exception e) {
              e.printStackTrace();
            }
          });
        }
        executor.shutdown();
      }
    
      private void drainQueue() throws Exception {
        for (HttpUrl url; (url = queue.take()) != null; ) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Aug 12 07:26:27 UTC 2021
    - 4.6K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/http/CallServerInterceptor.kt

              }
            }
          } else {
            exchange.noRequestBody()
          }
    
          if (requestBody == null || !requestBody.isDuplex()) {
            exchange.finishRequest()
          }
        } catch (e: IOException) {
          if (e is ConnectionShutdownException) {
            throw e // No request was sent so there's no response to read.
          }
          if (!exchange.hasFailure) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/MapMergeTester.java

          fail("Expected NullPointerException or UnsupportedOperationException");
        } catch (NullPointerException | UnsupportedOperationException expected) {
        }
      }
    
      public void testMergeNullFunction() {
        try {
          getMap().merge(k0(), v3(), null);
          fail("Expected NullPointerException or UnsupportedOperationException");
        } catch (NullPointerException | UnsupportedOperationException expected) {
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelResolver.java

                ArtifactRequest request = new ArtifactRequest(pomArtifact, repositories, context);
                request.setTrace(trace);
                pomArtifact = resolver.resolveArtifact(session, request).getArtifact();
            } catch (ArtifactResolutionException e) {
                throw new UnresolvableModelException(e.getMessage(), groupId, artifactId, version, e);
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_sql_databases/test_tutorial002.py

            assert response.json() == snapshot(
                [{"name": "Spider-Boy", "age": 18, "id": IsInt()}]
            )
    
            # Update a hero
            response = client.patch(
                f"/heroes/{hero_id}", json={"name": "Dog Pond", "age": None}
            )
            assert response.status_code == 200, response.text
            assert response.json() == snapshot(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  6. ci/official/containers/linux_arm64/builder.packages.txt

    libreadline-dev
    libsqlite3-dev
    libssl-dev
    libxml2-dev
    libxmlsec1-dev
    llvm
    make
    openssl
    tk-dev
    wget
    xz-utils
    zlib1g-dev
    git
    
    # Packages needed to build devtoolset
    file
    flex
    g++
    make
    patch
    rpm2cpio
    unar
    wget
    xz-utils
    cpio
    gawk
    texinfo
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Sep 29 00:26:34 UTC 2023
    - 430 bytes
    - Viewed (0)
  7. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockWebServer.kt

        }
    
      init {
        delegate.dispatcher = dispatcher.wrap()
      }
    
      private var started: Boolean = false
    
      @Synchronized override fun before() {
        if (started) return
        try {
          start()
        } catch (e: IOException) {
          throw RuntimeException(e)
        }
      }
    
      @JvmName("-deprecated_port")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "port"),
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPluginXmlFactory.java

                    }
                } else {
                    try (InputStream is = url.openStream()) {
                        return xml.read(is, request.isStrict());
                    }
                }
            } catch (Exception e) {
                throw new XmlReaderException("Unable to read plugin: " + getMessage(e), getLocation(e), e);
            }
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XmlUtil.java

                } catch (final Exception e) {
                    if (logger.isDebugEnabled()) {
                        logger.debug("Failed to set a property.", e);
                    }
                }
                // parse a content
                parser.parse(is, handler);
    
                return handler.getDataMap();
            } catch (final Exception e) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  10. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/BasicDerAdapter.kt

     */
    internal data class BasicDerAdapter<T>(
      private val name: String,
      /** The tag class this adapter expects, or -1 to match any tag class. */
      val tagClass: Int,
      /** The tag this adapter expects, or -1 to match any tag. */
      val tag: Long,
      /** Encode and decode the value once tags are handled. */
      private val codec: Codec<T>,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top