Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 1,257 for While (0.02 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingEvent.java

         *
         * @return The model building request being processed, never {@code null}.
         */
        ModelBuildingRequest getRequest();
    
        /**
         * Gets the container used to collect problems that were encountered while processing the event.
         *
         * @return The container used to collect problems that were encountered, never {@code null}.
         */
        ModelProblemCollector getProblems();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/PeekingIterator.java

    import java.util.Iterator;
    import java.util.NoSuchElementException;
    import org.checkerframework.checker.nullness.qual.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
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 24 17:47:51 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/root/RootLocator.java

                throw new IllegalStateException(getNoRootMessage());
            }
            return rootDirectory;
        }
    
        @Nullable
        default Path findRoot(Path basedir) {
            Path rootDirectory = basedir;
            while (rootDirectory != null && !isRootDirectory(rootDirectory)) {
                rootDirectory = rootDirectory.getParent();
            }
            return rootDirectory;
        }
    
        @Nonnull
        default String getNoRootMessage() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t06/ProjectInheritanceTest.java

            assertNotNull(set, "No artifacts");
            assertTrue(set.size() > 0, "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()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsBuildingException.java

            PrintWriter writer = new PrintWriter(buffer);
    
            writer.print(problems.size());
            writer.print((problems.size() == 1) ? " problem was " : " problems were ");
            writer.print("encountered while building the effective settings");
            writer.println();
    
            for (SettingsProblem problem : problems) {
                writer.print("[");
                writer.print(problem.getSeverity());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapKeySetTester.java

      @CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE)
      public void testKeySetIteratorRemove() {
        int key0Count = multimap().get(k0()).size();
        Iterator<K> keyItr = multimap().keySet().iterator();
        while (keyItr.hasNext()) {
          if (keyItr.next().equals(k0())) {
            keyItr.remove();
          }
        }
        assertEquals(getNumElements() - key0Count, multimap().size());
        assertGet(k0());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. docs_src/websockets/tutorial002_an_py310.py

    async def websocket_endpoint(
        *,
        websocket: WebSocket,
        item_id: str,
        q: int | None = None,
        cookie_or_token: Annotated[str, Depends(get_cookie_or_token)],
    ):
        await websocket.accept()
        while True:
            data = await websocket.receive_text()
            await websocket.send_text(
                f"Session cookie or query token value is: {cookie_or_token}"
            )
            if q is not None:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  8. docs_src/websockets/tutorial002_py310.py

    async def websocket_endpoint(
        websocket: WebSocket,
        item_id: str,
        q: int | None = None,
        cookie_or_token: str = Depends(get_cookie_or_token),
    ):
        await websocket.accept()
        while True:
            data = await websocket.receive_text()
            await websocket.send_text(
                f"Session cookie or query token value is: {cookie_or_token}"
            )
            if q is not None:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/io/BaseEncoding.java

          int bitsProcessed = 0;
          while (bitsProcessed < len * 8) {
            int charIndex = (int) (bitBuffer >>> (bitOffset - bitsProcessed)) & alphabet.mask;
            target.append(alphabet.encode(charIndex));
            bitsProcessed += alphabet.bitsPerChar;
          }
          if (paddingChar != null) {
            while (bitsProcessed < alphabet.bytesPerChunk * 8) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/http/CancelTest.kt

        val response = call.execute()
        cancelLater(call, 500)
        val responseBody = response.body.byteStream()
        val buffer = ByteArray(1024)
        assertFailsWith<IOException> {
          while (responseBody.read(buffer) != -1) {
          }
        }.also { expected ->
          assertEquals(cancelMode == INTERRUPT, Thread.interrupted())
        }
        responseBody.close()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 9.9K bytes
    - Viewed (0)
Back to top