Search Options

Results per page
Sort
Preferred Languages
Advance

Results 411 - 420 of 1,013 for whistle (0.1 sec)

  1. src/main/java/org/codelibs/curl/io/ContentCache.java

         * Otherwise, a ByteArrayInputStream is returned to read the data from memory.
         *
         * @return an InputStream to read the cached content
         * @throws IOException if an I/O error occurs while creating the InputStream
         */
        public InputStream getInputStream() throws IOException {
            if (file != null) {
                return new FileInputStream(file);
            }
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilJvm.kt

        // Write each byte into a new buffer, then clone it so that the segments are shared.
        // Shared segments cannot be compacted so we'll get a long chain of short segments.
        val result = Buffer()
        while (!buffer.exhausted()) {
          val box = Buffer()
          box.write(buffer, 1)
          result.write(box.copy(), 1)
        }
        return result
      }
    
      tailrec fun File.isDescendentOf(directory: File): Boolean {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/ExchangeCodec.kt

        fun trackFailure(
          call: RealCall,
          e: IOException?,
        )
    
        fun noNewExchanges()
    
        fun cancel()
      }
    
      companion object {
        /**
         * The timeout to use while discarding a stream of input data. Since this is used for connection
         * reuse, this timeout should be significantly less than the time it takes to establish a new
         * connection.
         */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 21:11:09 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/reflect/TypeVisitor.java

     * default, no recursion is done for type arguments or type bounds. But subclasses can opt to do
     * recursion by calling {@link #visit} for any {@code Type} while visitation is in progress. For
     * example, this can be used to reject wildcards or type variables contained in a type as in:
     *
     * {@snippet :
     * new TypeVisitor() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  5. guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java

        // To start, fill up the cache.
        // Each miss both increments the counter and causes the map to grow by one,
        // so until evictions begin, the size of the map is the greatest return
        // value seen so far
        while (cache.getUnchecked(nextRandomKey()) < maximumSize) {}
    
        requests.set(0);
        misses.set(0);
      }
    
      @Benchmark
      int time(int reps) {
        int dummy = 0;
        for (int i = 0; i < reps; i++) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponse.java

                final int nextEntryOffset = cur.getNextEntryOffset();
                if (nextEntryOffset <= 0) {
                    break;
                }
                bufferIndex += nextEntryOffset;
            } while (bufferIndex < bufferOffset + bufferLength);
            this.results = infos.toArray(new FileEntry[infos.size()]);
            return bufferIndex - start;
        }
    
        private FileBothDirectoryInfo createFileInfo() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddTester.java

      }
    
      /**
       * Returns the {@link Method} instance for {@link #testAdd_unsupportedNotPresent()} so that tests
       * can suppress it with {@code FeatureSpecificTestSuiteBuilder.suppressing()} while we figure out
       * what to do with <a
       * href="https://github.com/openjdk/jdk/blob/c25c4896ad9ef031e3cddec493aef66ff87c48a7/src/java.base/share/classes/java/util/concurrent/ConcurrentHashMap.java#L4830">{@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java

              }
    
              // Inefficient implementation that defines all letters as escapable.
              @Override
              protected int nextEscapeIndex(CharSequence csq, int index, int end) {
                while (index < end && !Character.isLetter(csq.charAt(index))) {
                  index++;
                }
                return index;
              }
            };
        assertThat(e.escape("\0HeLLo \uD800\uDC00 WorlD!\n"))
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddTester.java

      }
    
      /**
       * Returns the {@link Method} instance for {@link #testAdd_unsupportedNotPresent()} so that tests
       * can suppress it with {@code FeatureSpecificTestSuiteBuilder.suppressing()} while we figure out
       * what to do with <a
       * href="https://github.com/openjdk/jdk/blob/c25c4896ad9ef031e3cddec493aef66ff87c48a7/src/java.base/share/classes/java/util/concurrent/ConcurrentHashMap.java#L4830">{@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java

              }
    
              // Inefficient implementation that defines all letters as escapable.
              @Override
              protected int nextEscapeIndex(CharSequence csq, int index, int end) {
                while (index < end && !Character.isLetter(csq.charAt(index))) {
                  index++;
                }
                return index;
              }
            };
        assertThat(e.escape("\0HeLLo \uD800\uDC00 WorlD!\n"))
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6K bytes
    - Viewed (0)
Back to top