Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 1,378 for while (0.02 sec)

  1. 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)
  2. 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)
  3. src/main/java/org/codelibs/fess/helper/DataIndexHelper.java

                dataCrawlingThreadList.add(dataCrawlingThread);
                dataCrawlingThreadStatusList.add(Constants.READY);
    
            }
    
            int startedCrawlerNum = 0;
            int activeCrawlerNum = 0;
            while (startedCrawlerNum < dataCrawlingThreadList.size()) {
                // Force to stop crawl
                if (systemHelper.isForceStop()) {
                    for (final DataCrawlingThread crawlerThread : dataCrawlingThreadList) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12K bytes
    - Viewed (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/RecordingEventListener.kt

       * and returns it.
       */
      fun <T : CallEvent> removeUpToEvent(eventClass: Class<T>): T {
        val fullEventSequence = eventSequence.toList()
        try {
          while (true) {
            val event = takeEvent()
            if (eventClass.isInstance(event)) {
              return eventClass.cast(event)
            }
          }
        } catch (e: NoSuchElementException) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9K bytes
    - Viewed (0)
  5. docs_src/websockets/tutorial003_py39.py

    @app.get("/")
    async def get():
        return HTMLResponse(html)
    
    
    @app.websocket("/ws/{client_id}")
    async def websocket_endpoint(websocket: WebSocket, client_id: int):
        await manager.connect(websocket)
        try:
            while True:
                data = await websocket.receive_text()
                await manager.send_personal_message(f"You wrote: {data}", websocket)
                await manager.broadcast(f"Client #{client_id} says: {data}")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/AbstractSortedKeySortedSetMultimap.java

    /**
     * Basic implementation of a {@link SortedSetMultimap} with a sorted key set.
     *
     * <p>This superclass allows {@code TreeMultimap} to override methods to return navigable set and
     * map types in non-GWT only, while GWT code will inherit the SortedMap/SortedSet overrides.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    abstract class AbstractSortedKeySortedSetMultimap<
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 1.8K bytes
    - Viewed (0)
  7. docs/throttle/README.md

    Example: Limit a MinIO cluster to accept at max 1600 simultaneous S3 API requests across all nodes of the cluster.
    
    ```sh
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 16 08:43:49 UTC 2024
    - 1.5K bytes
    - Viewed (1)
  8. compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilderTest.java

            try {
                toolchainBuilder.build(request);
            } catch (ToolchainsBuildingException e) {
                assertEquals(
                        "1 problem was encountered while building the effective toolchains" + LS
                                + "[FATAL] Non-parseable toolchains (memory): MESSAGE @ line 4, column 2" + LS,
                        e.getMessage());
            }
        }
    
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

       */
      @CanIgnoreReturnValue
      public static Set<Feature<?>> addImpliedFeatures(Set<Feature<?>> features) {
        Queue<Feature<?>> queue = new ArrayDeque<>(features);
        while (!queue.isEmpty()) {
          Feature<?> feature = queue.remove();
          for (Feature<?> implied : feature.getImpliedFeatures()) {
            if (features.add(implied)) {
              queue.add(implied);
            }
          }
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 05 22:05:05 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

      private val readyQueues = mutableListOf<TaskQueue>()
    
      private val runnable: Runnable =
        object : Runnable {
          override fun run() {
            var incrementedRunCallCount = false
            while (true) {
              val task =
                ******@****.***ck {
                  if (!incrementedRunCallCount) {
                    incrementedRunCallCount = true
                    runCallCount++
                  }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 29 00:33:04 UTC 2024
    - 10.6K bytes
    - Viewed (0)
Back to top