Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 304 for completed (0.04 sec)

  1. src/main/java/jcifs/internal/smb2/rdma/RdmaWorkRequest.java

            return memoryRegion;
        }
    
        /**
         * Check if request is completed
         *
         * @return true if completed, false otherwise
         */
        public boolean isCompleted() {
            return completed;
        }
    
        /**
         * Mark request as completed
         */
        public void markCompleted() {
            this.completed = true;
        }
    
        /**
         * Mark request as failed with error
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  2. 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 Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Nov 05 18:28:35 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  3. samples/guide/src/main/java/okhttp3/recipes/kt/UploadProgress.kt

                if (!completed) {
                  completed = true
                  progressListener.update(totalBytesWritten, contentLength(), completed)
                }
              }
            }
    
          val bufferedSink = forwardingSink.buffer()
          delegate.writeTo(bufferedSink)
          bufferedSink.flush()
        }
      }
    
      fun interface ProgressListener {
        fun update(
          bytesWritten: Long,
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  4. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:07:52 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  5. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:07:52 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  6. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  7. 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 Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 4.2K bytes
    - Viewed (1)
  8. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

     *       be "done" as soon as <i>that</i> {@code Future} completes in any way. Notably, a {@code
     *       Future} is "completed" even if it is cancelled while its underlying work continues on a
     *       thread, an RPC, etc. The {@code Future} is also "completed" if it fails "early" -- for
     *       example, if the deadline expires on a {@code Future} returned from {@link
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 01:35:55 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  10. 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 Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 47.8K bytes
    - Viewed (0)
Back to top