Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 778 for While (1.12 sec)

  1. android/guava/src/com/google/thirdparty/publicsuffix/TrieParser.java

        ImmutableMap.Builder<String, PublicSuffixType> builder = ImmutableMap.builder();
        int encodedLen = encoded.length();
        int idx = 0;
    
        while (idx < encodedLen) {
          idx += doParseTrieToBuilder(new ArrayDeque<>(), encoded, idx, builder);
        }
    
        return builder.buildOrThrow();
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        assertIntact(q);
        q.remove(9);
        q.remove(11);
        q.remove(10);
        // Now we're in the critical state: [1, 15, 13, 8, 14]
        // Removing 8 while iterating caused duplicates in iteration result.
        List<Integer> result = Lists.newArrayListWithCapacity(initial.size());
        for (Iterator<Integer> iter = q.iterator(); iter.hasNext(); ) {
          Integer value = iter.next();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/CartesianList.java

          return -1;
        }
        List<?> list = (List<?>) o;
        if (list.size() != axes.size()) {
          return -1;
        }
        ListIterator<?> itr = list.listIterator();
        int computedIndex = 0;
        while (itr.hasNext()) {
          int axisIndex = itr.nextIndex();
          int elemIndex = axes.get(axisIndex).indexOf(itr.next());
          if (elemIndex == -1) {
            return -1;
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/metadata/ArtifactMetadataSource.java

         * @return {@link List} $lt; {@link ArtifactVersion} &gt;
         * @throws ArtifactMetadataRetrievalException
         *          in case of error while retrieving repository metadata from the repository.
         */
        List<ArtifactVersion> retrieveAvailableVersions(
                Artifact artifact, ArtifactRepository localRepository, List<ArtifactRepository> remoteRepositories)
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/Dfs.java

                    do {
                        final String domain = dr.server.toLowerCase();
                        entry.map.put(domain, new HashMap());
                        dr = dr.next;
                    } while (dr != start);
    
                    _domains = entry;
                    return _domains.map;
                }
            } catch (final IOException ioe) {
                if (LogStream.level >= 3) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/TreeTraverser.java

       * That is, each node's subtrees are traversed after the node itself is returned.
       *
       * <p>No guarantees are made about the behavior of the traversal when nodes change while iteration
       * is in progress or when the iterators generated by {@link #children} are advanced.
       *
       * @deprecated Use {@link com.google.common.graph.Traverser#depthFirstPreOrder} instead, which has
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/TransactNamedPipeInputStream.java

            lock = new Object();
        }
    
        @Override
        public int read() throws IOException {
            int result = -1;
    
            synchronized (lock) {
                try {
                    while (used == 0) {
                        lock.wait();
                    }
                } catch (final InterruptedException ie) {
                    throw new IOException(ie.getMessage());
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/ByteSource.java

        long count = 0;
        long skipped;
        while ((skipped = skipUpTo(in, Integer.MAX_VALUE)) > 0) {
          count += skipped;
        }
        return count;
      }
    
      /**
       * Copies the contents of this byte source to the given {@code OutputStream}. Does not close
       * {@code output}.
       *
       * @return the number of bytes copied
       * @throws IOException if an I/O error occurs while reading from this source or writing to {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Mar 20 20:55:20 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/CharSequenceReaderTest.java

        assertFullyRead(reader);
    
        // read in chunks to fixed array
        reader = new CharSequenceReader(charSequence);
        buf = new char[5];
        StringBuilder builder = new StringBuilder();
        int read;
        while ((read = reader.read(buf, 0, buf.length)) != -1) {
          builder.append(buf, 0, read);
        }
        assertEquals(expected, builder.toString());
        assertFullyRead(reader);
    
        // read all to one CharBuffer
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbTransportImpl.java

            final int maxSize = getContext().getConfig().getMaximumBufferSize();
    
            while (curHead != null) {
                CommonServerMessageBlockRequest nextHead = null;
                int totalSize = 0;
                int n = 0;
                CommonServerMessageBlockRequest last = null;
                CommonServerMessageBlockRequest chain = curHead;
                while (chain != null) {
                    n++;
                    final int size = chain.size();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
Back to top