Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 612 for Completed (0.05 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/Exchange.kt

          }
          try {
            super.close()
            complete(null)
          } catch (e: IOException) {
            throw complete(e)!!
          }
        }
    
        /** If [e] is non-null, this will return a non-null value. */
        private fun complete(e: IOException?): IOException? {
          if (completed) return e
          completed = true
          return bodyComplete(
            bytesRead = bytesReceived,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 22:04:11 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

       * Clears fields that are no longer needed after this future has completed -- or at least all its
       * inputs have completed (more precisely, after {@link #handleAllCompleted()} has been called).
       * Often called multiple times (that is, both when the inputs complete and when the output
       * completes).
       *
       * <p>This is similar to our proposed {@code afterCommit} method but not quite the same. See the
       * description of CL 265462958.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

        assertSame(defaultThread.getThreadGroup(), thread.getThreadGroup());
        assertSame(defaultThread.getUncaughtExceptionHandler(), thread.getUncaughtExceptionHandler());
    
        assertFalse(completed);
        thread.start();
        thread.join();
        assertTrue(completed);
    
        // Creating a new thread from the same ThreadFactory will have the same
        // pool ID but a thread ID of 2.
        Thread thread2 = threadFactory.newThread(monitoredRunnable);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

          assertTrue(queue.offer("blocksPutCallsUntilRemoved"));
          this.completed = new Completion(countdownInMillis);
          scheduleEnableWrites(this.queue, countdownInMillis);
        }
    
        /** Perform a {@code put} and assert that operation completed in the expected timeframe. */
        void putSuccessfully() {
          putUninterruptibly(queue, "");
          completed.assertCompletionExpected();
          assertEquals("", queue.peek());
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 31.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SpnegoContext.java

            if (!this.completed) {
                throw new CIFSException("Context is not established");
            }
            this.mechContext.verifyMIC(data, mic);
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.smb.SSPContext#isMICAvailable()
         */
        @Override
        public boolean isMICAvailable() {
            if (!this.completed) {
                return false;
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/NtStatus.java

         * block is automatically generated from the ntstatus package.
         */
    
        /** The operation completed successfully */
        int NT_STATUS_SUCCESS = 0x00000000;
        /** The request is pending */
        int NT_STATUS_PENDING = 0x00000103;
        /** A notify change request is being completed and information is being returned */
        int NT_STATUS_NOTIFY_ENUM_DIR = 0x0000010C;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  7. docs/recipes.md

                    if (!completed) {
                      completed = true
                      progressListener.update(totalBytesWritten, contentLength(), completed)
                    }
                  }
                }
    
                val bufferedSink = forwardingSink.buffer()
                delegate.writeTo(bufferedSink)
                bufferedSink.flush()
              }
            }
    
            fun interface ProgressListener {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 47.8K bytes
    - Viewed (0)
  8. samples/guide/src/main/java/okhttp3/recipes/UploadProgress.java

              super.close();
              if (!completed) {
                completed = true;
                progressListener.update(totalBytesWritten, contentLength(), completed);
              }
            }
          };
        }
      }
    
      interface ProgressListener {
        void update(long bytesWritten, long contentLength, boolean done);
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 4.2K bytes
    - Viewed (1)
  9. guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

      }
    
      public void testListeningDecorator_scheduleSuccess() throws Exception {
        CountDownLatch completed = new CountDownLatch(1);
        ScheduledThreadPoolExecutor delegate =
            new ScheduledThreadPoolExecutor(1) {
              @Override
              protected void afterExecute(Runnable r, Throwable t) {
                completed.countDown();
              }
            };
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 28K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/WinErrorTest.java

        }
    
        // Producer for code->message pairs covering all known constants (happy path)
        static Stream<Arguments> knownCodeMessagePairs() {
            return Stream.of(Arguments.of(WinError.ERROR_SUCCESS, "The operation completed successfully."),
                    Arguments.of(WinError.ERROR_ACCESS_DENIED, "Access is denied."),
                    Arguments.of(WinError.ERROR_REQ_NOT_ACCEP,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.4K bytes
    - Viewed (0)
Back to top