Search Options

Results per page
Sort
Preferred Languages
Advance

Results 591 - 600 of 785 for While (0.03 sec)

  1. src/main/java/jcifs/util/SecureCredentialStorage.java

                return null;
            }
    
            // Decode UTF-8
            char[] chars = new char[bytes.length]; // Max size
            int charIndex = 0;
            int i = 0;
    
            while (i < bytes.length) {
                byte b = bytes[i];
                if ((b & 0x80) == 0) {
                    // Single byte character
                    chars[charIndex++] = (char) b;
                    i++;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt

     */
    inline fun binarySearch(
      position: Int,
      limit: Int,
      compare: (Int) -> Int,
    ): Int {
      // Do the binary searching bit.
      var low = position
      var high = limit - 1
      while (low <= high) {
        val mid = (low + high) / 2
        val compareResult = compare(mid)
        when {
          compareResult < 0 -> high = mid - 1
          compareResult > 0 -> low = mid + 1
          else -> return mid // Match!
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 9K bytes
    - Viewed (0)
  3. README.md

           implementation("com.squareup.okhttp3:logging-interceptor")
        }
    ```
    
    Maven and JVM Projects
    ----------------------
    
    OkHttp is published as a Kotlin Multiplatform project. While Gradle handles this automatically,
    Maven projects must select between `okhttp-jvm` and `okhttp-android`. The `okhttp` artifact will be empty in
    Maven projects.
    
    ```xml
    <dependencyManagement>
      <dependencies>
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Oct 30 21:39:59 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/ntlmssp/Type2Message.java

        }
    
        /**
         * Creates a Type-2 message using the given raw Type-2 material.
         *
         * @param material The raw Type-2 material used to construct this message.
         * @throws IOException If an error occurs while parsing the material.
         */
        public Type2Message(final byte[] material) throws IOException {
            parse(material);
        }
    
        /**
         * Returns the challenge for this message.
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 13K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsFile.java

            try (BufferedReader reader = new BufferedReader(new InputStreamReader(in, Constants.UTF_8))) {
                long id = 0;
                String line = null;
                while ((line = reader.readLine()) != null) {
                    if (line.length() == 0 || line.charAt(0) == '#') {
                        if (updater != null) {
                            updater.write(line);
                        }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 07:09:00 UTC 2025
    - 13K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java

         * @return the number of bytes added for alignment
         */
        public int align(final int boundary, final byte value) {
            final int n = align(boundary);
            int i = n;
            while (i > 0) {
                buf[index - i] = value;
                i--;
            }
            return n;
        }
    
        /**
         * Writes an octet array to the buffer.
         *
         * @param b the byte array to write
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Writer.kt

          sink.close()
        }
      }
    
      @Throws(IOException::class)
      private fun writeContinuationFrames(
        streamId: Int,
        byteCount: Long,
      ) {
        var byteCount = byteCount
        while (byteCount > 0L) {
          val length = minOf(maxFrameSize.toLong(), byteCount)
          byteCount -= length
          frameHeader(
            streamId = streamId,
            length = length.toInt(),
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 11K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ForwardingMap.java

       * that approach would not lead to an infinite loop.
       *
       * @since 7.0
       */
      protected @Nullable V standardRemove(@Nullable Object key) {
        Iterator<Entry<K, V>> entryIterator = entrySet().iterator();
        while (entryIterator.hasNext()) {
          Entry<K, V> entry = entryIterator.next();
          if (Objects.equals(entry.getKey(), key)) {
            V value = entry.getValue();
            entryIterator.remove();
            return value;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 17:32:30 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/QueuesTest.java

        Queues.drainUninterruptibly(q, new ArrayList<>(), 1, 10, MILLISECONDS);
        assertThat(timer.elapsed(MILLISECONDS)).isAtLeast(10L);
        // wait for interrupted status and clear it
        while (!Thread.interrupted()) {
          Thread.yield();
        }
      }
    
      private static class Producer implements Callable<@Nullable Void> {
        final BlockingQueue<Object> q;
        final int elements;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Nov 04 17:24:58 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ObjectArrays.java

       * array is "safe" in that no references to it are maintained by the collection. The caller is
       * thus free to modify the returned array.
       *
       * <p>This method assumes that the collection size doesn't change while the method is running.
       *
       * <p>TODO(kevinb): support concurrently modified collections?
       *
       * @param c the collection for which to return an array of elements
       */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Dec 09 15:48:28 UTC 2025
    - 8.9K bytes
    - Viewed (0)
Back to top