Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 300 for holding (0.04 seconds)

  1. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

      /**
       * Interrupts the running task. Because this internally calls {@link Thread#interrupt()} which can
       * in turn invoke arbitrary code it is not safe to call while holding a lock.
       */
      @SuppressWarnings("Interruption") // We are implementing a user-requested interrupt.
      final void interruptTask() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 10K bytes
    - Click Count (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java

            if (metadataFile.length() == 0) {
                if (!metadataFile.delete()) {
                    // sleep for 10ms just in case this is windows holding a file lock
                    try {
                        Thread.sleep(10);
                    } catch (InterruptedException e) {
                        // ignore
                    }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  3. guava/src/com/google/common/util/concurrent/AbstractExecutionThreadService.java

      protected void shutDown() throws Exception {}
    
      /**
       * Invoked to request the service to stop.
       *
       * <p>By default this method does nothing.
       *
       * <p>Currently, this method is invoked while holding a lock. If an implementation of this method
       * blocks, it can prevent this service from changing state. If you need to performing a blocking
       * operation in order to trigger shutdown, consider instead registering a listener and
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Jul 11 18:52:30 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt

          assertLockNotHeld()
    
          connection.updateConnectionFlowControl(read)
        }
    
        /**
         * Accept bytes on the connection's reader thread. This function avoids holding locks while it
         * performs blocking reads for the incoming bytes.
         */
        @Throws(IOException::class)
        internal fun receive(
          source: BufferedSource,
          byteCount: Long,
        ) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jul 07 18:57:05 GMT 2025
    - 22.4K bytes
    - Click Count (0)
  5. internal/lru/lru.go

    	ttl  time.Duration
    	done chan struct{}
    
    	// buckets for expiration
    	buckets []bucket[K, V]
    	// uint8 because it's number between 0 and numBuckets
    	nextCleanupBucket uint8
    }
    
    // bucket is a container for holding entries to be expired
    type bucket[K comparable, V any] struct {
    	entries     map[K]*Entry[K, V]
    	newestEntry time.Time
    }
    
    // noEvictionTTL - very long ttl to prevent eviction
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Fri Apr 25 08:22:26 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  6. guava/src/com/google/common/util/concurrent/Striped.java

     * itself is reclaimable. <i>Weak</i> means that locks/semaphores are created lazily, and they are
     * allowed to be reclaimed if nobody is holding on to them. This is useful, for example, if one
     * wants to create a {@code Striped<Lock>} of many locks, but worries that in most cases only a
     * small portion of these would be in use.
     *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 16 22:01:32 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  7. src/main/java/jcifs/SmbConstants.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs;
    
    /**
     * Utility class holding several protocol constrants
     *
     * @author mbechler
     *
     *
     * <p>This interface is intended for internal use.</p>
     */
    public interface SmbConstants {
    
        /**
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 24 00:49:49 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  8. docs/en/docs/advanced/advanced-dependencies.md

    Before FastAPI 0.118.0, if you used a dependency with `yield`, it would run the exit code after the *path operation function* returned but right before sending the response.
    
    The intention was to avoid holding resources for longer than necessary, waiting for the response to travel through the network.
    
    This change also meant that if you returned a `StreamingResponse`, the exit code of the dependency with `yield` would have been already run.
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Thu Nov 13 07:37:15 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  9. misc/cgo/gmp/gmp.go

    Garbage collection is the big problem.  It is fine for the Go world to
    have pointers into the C world and to free those pointers when they
    are no longer needed.  To help, the Go code can define Go objects
    holding the C pointers and use runtime.SetFinalizer on those Go objects.
    
    It is much more difficult for the C world to have pointers into the Go
    world, because the Go garbage collector is unaware of the memory
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 9.5K bytes
    - Click Count (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt

    @Suppress("NAME_SHADOWING")
    class Http2Connection internal constructor(
      builder: Builder,
    ) : Closeable,
      Lockable {
      // Internal state of this connection is guarded by 'lock'. No blocking operations may be
      // performed while holding this lock!
      //
      // Socket writes are guarded by frameWriter.
      //
      // Socket reads are unguarded but are only made by the reader thread.
      //
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Jul 31 04:18:40 GMT 2025
    - 31.8K bytes
    - Click Count (0)
Back to Top