Search Options

Results per page
Sort
Preferred Languages
Advance

Results 541 - 550 of 1,378 for while (0.04 sec)

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

        try {
          queue.dispatch();
        } finally {
          logger.removeHandler(logHandler);
        }
    
        assertEquals(1, logHandler.getStoredLogRecords().size());
        assertEquals(
            "Exception while executing callback: MyListener custom-label",
            logHandler.getStoredLogRecords().get(0).getMessage());
      }
    
      public void testEnqueueAndDispatch_multithreaded() throws InterruptedException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 09 22:57:07 UTC 2022
    - 8.2K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/-CacheControlCommon.kt

            // Might specify additional cache-control params. We invalidate just in case.
            canUseHeaderValue = false
          }
          else -> {
            continue@loop
          }
        }
    
        var pos = 0
        while (pos < value.length) {
          val tokenStart = pos
          pos = value.indexOfElement("=,;", pos)
          val directive = value.substring(tokenStart, pos).trim()
          val parameter: String?
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/Authenticator.kt

     * attempts to the current point use this function.
     *
     * ```java
     * private int responseCount(Response response) {
     *   int result = 1;
     *   while ((response = response.priorResponse()) != null) {
     *     result++;
     *   }
     *   return result;
     * }
     * ```
     *
     * [1]: https://tools.ietf.org/html/rfc2817
     */
    fun interface Authenticator {
      /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. guava-tests/benchmark/com/google/common/collect/ImmutableSetHashFloodingDetectionBenchmark.java

            // When knownRunEnd exceeds hashTable.length, it "wraps", detecting runs around the end
            // of the table.
            int knownRunStart = 0;
            int knownRunEnd = 0;
    
            outerLoop:
            while (knownRunStart < hashTable.length) {
              if (knownRunStart == knownRunEnd && hashTable[knownRunStart] == null) {
                if (hashTable[(knownRunStart + maxRunBeforeFallback - 1) & mask] == null) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 03 20:16:35 UTC 2021
    - 6.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/http/NtlmServlet.java

            Config.setProperty( "jcifs.smb1.netbios.cachePolicy", "600" );
    
            Enumeration e = config.getInitParameterNames();
            String name;
            while (e.hasMoreElements()) {
                name = (String) e.nextElement();
                if (name.startsWith("jcifs.smb1.")) {
                    Config.setProperty(name, config.getInitParameter(name));
                }
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 6.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/ntlmssp/Type1Message.java

         *
         * @param material
         *            The raw Type-1 material used to construct this message.
         * @throws IOException
         *             If an error occurs while parsing the material.
         */
        public Type1Message ( byte[] material ) throws IOException {
            parse(material);
        }
    
    
        /**
         * Returns the default flags for a generic Type-1 message in the
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Sep 02 12:55:08 UTC 2018
    - 7.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java

            supportedFields = settings.array().get(SuggestSettings.DefaultKeys.SUPPORTED_FIELDS);
            totalDocNum = getTotal();
        }
    
        @Override
        public synchronized Map<String, Object> read() {
            while (!isFinished.get() && queue.isEmpty()) {
                addDocumentToQueue();
            }
    
            return queue.poll();
        }
    
        @Override
        public void close() {
            isFinished.set(true);
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  8. api/maven-api-model/src/main/mdo/maven.mdo

              <description>
                Indicates the dependency is optional for use of this library. While the
                version of the dependency will be taken into account for dependency calculation if the
                library is used elsewhere, it will not be passed on transitively. Note: While the type
                of this field is {@code String} for technical reasons, the semantic type is actually
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Oct 09 11:07:31 UTC 2024
    - 115.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/net/InternetDomainName.java

       * validation against <a href="http://www.ietf.org/rfc/rfc3490.txt">RFC 3490</a>
       * ("Internationalizing Domain Names in Applications") is skipped, while validation against <a
       * href="http://www.ietf.org/rfc/rfc1035.txt">RFC 1035</a> is relaxed in the following ways:
       *
       * <ul>
       *   <li>Any part containing non-ASCII characters is considered valid.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 05 20:47:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.java

            });
            indexUpdater.start();
    
            int startedCrawlerNum = 0;
            int activeCrawlerNum = 0;
            try {
                while (startedCrawlerNum < crawlerList.size()) {
                    // Force to stop crawl
                    if (systemHelper.isForceStop()) {
                        for (final Crawler crawler : crawlerList) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 22.6K bytes
    - Viewed (0)
Back to top