Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 371 - 380 of 1,206 for While (0.02 seconds)

  1. android/guava/src/com/google/common/collect/PeekingIterator.java

    import com.google.errorprone.annotations.DoNotMock;
    import java.util.Iterator;
    import java.util.NoSuchElementException;
    import org.jspecify.annotations.Nullable;
    
    /**
     * An iterator that supports a one-element lookahead while iterating.
     *
     * <p>See the Guava User Guide article on <a href=
     * "https://github.com/google/guava/wiki/CollectionHelpersExplained#peekingiterator">{@code
     * PeekingIterator}</a>.
     *
     * @author Mick Killianey
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/DefaultArtifactResolverTest.java

            // we want to see all top-level thread groups
            ThreadGroup tg = Thread.currentThread().getThreadGroup();
            while (tg.getParent() == null) {
                tg = tg.getParent();
            }
    
            ThreadGroup[] tgList = new ThreadGroup[tg.activeGroupCount()];
            tg.enumerate(tgList);
    
            boolean seen = false;
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t08/ProjectInheritanceTest.java

            assertNotNull(set, "No artifacts");
            assertFalse(set.isEmpty(), "No Artifacts");
            Iterator iter = set.iterator();
            assertTrue(set.size() == 4, "Set size should be 4, is " + set.size());
    
            while (iter.hasNext()) {
                Artifact artifact = (Artifact) iter.next();
                System.out.println("Artifact: " + artifact.getDependencyConflictId() + " " + artifact.getVersion()
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/MultilineMessageHelper.java

                        sb.setLength(0);
                    }
                    if (!sb.isEmpty()) {
                        sb.append(' ');
                    }
                    sb.append(word);
                }
    
                while (sb.length() < remainder) {
                    sb.append(' ');
                }
                result.add(BOX_CHAR + " " + sb + " " + BOX_CHAR);
            }
            // last line
            sb.setLength(0);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/collect/AbstractRangeSetTest.java

        // test that the RangeSet's span is the span of all the ranges
        Iterator<Range<C>> itr = rangeSet.asRanges().iterator();
        Range<C> expectedSpan = null;
        if (itr.hasNext()) {
          expectedSpan = itr.next();
          while (itr.hasNext()) {
            expectedSpan = expectedSpan.span(itr.next());
          }
        }
    
        try {
          Range<C> span = rangeSet.span();
          assertEquals(expectedSpan, span);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

        var request = chain.request
        val call = realChain.call
        var followUpCount = 0
        var priorResponse: Response? = null
        var newRoutePlanner = true
        var recoveredFailures = listOf<IOException>()
        while (true) {
          call.enterNetworkInterceptorExchange(request, newRoutePlanner, chain)
    
          var response: Response
          var closeActiveExchange = true
          try {
            if (call.isCanceled()) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue May 27 14:58:02 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/helper/ProtocolHelper.java

            final ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
            try {
                final Enumeration<java.net.URL> resources = classLoader.getResources(path);
    
                while (resources.hasMoreElements()) {
                    final java.net.URL resource = resources.nextElement();
                    logger.debug("Loading resource: url={}", resource);
                    final URI resourceUri;
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Dec 12 13:58:40 GMT 2025
    - 12.4K bytes
    - Click Count (1)
  8. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java

            br.addElement("Boundary size is limited by Framework.");
            br.addElement("Too long boundary is treated as 404 because it's thought of as attack.");
            br.addElement("");
            br.addElement("While, you can override the boundary limit size");
            br.addElement(" in " + getClass().getSimpleName() + ".");
            br.addItem("Content Type");
            br.addElement(contentType);
            br.addItem("Boundary Size");
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 18.6K bytes
    - Click Count (1)
  9. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

        <code>FILE_SHARE_WRITE</code>, and <code>FILE_SHARE_DELETE</code> may be
        combined with the bitwise OR '|' to specify that other peocesses may read,
        write, and/or delete the file while the jCIFS user has the file open.
         *
         * @param url An smb URL representing the file to write to
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 11K bytes
    - Click Count (0)
  10. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReader.java

                            String problemPredicate = problem + ((problems.size() == 1) ? " was" : " were");
                            StringBuilder message = new StringBuilder(String.format(
                                    "%s %s encountered while building the effective model for %s during %s\n",
                                    problems.size(),
                                    problemPredicate,
                                    request.getArtifact(),
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 17.1K bytes
    - Click Count (0)
Back to Top