Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for synchronize (0.06 sec)

  1. android/guava/src/com/google/common/collect/Sets.java

       * @return a synchronized view of the specified navigable set.
       * @since 13.0
       */
      @GwtIncompatible // NavigableSet
      @J2ktIncompatible // Synchronized
      public static <E extends @Nullable Object> NavigableSet<E> synchronizedNavigableSet(
          NavigableSet<E> navigableSet) {
        return Synchronized.navigableSet(navigableSet);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 81.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbTransportImpl.java

            final byte[] buffer = this.getContext().getBufferCache().getBuffer();
            try {
                // synchronize around encode and write so that the ordering for SMB1 signing can be maintained
                synchronized (this.outLock) {
                    final int n = smb.encode(buffer, 4);
                    Encdec.enc_uint32be(n & 0xFFFF, buffer, 0); /* 4 byte session message header */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Multimaps.java

       * Multimap#replaceValues} methods return collections that aren't synchronized.
       *
       * <p>The returned multimap will be serializable if the specified multimap is serializable.
       *
       * @param multimap the multimap to be wrapped in a synchronized view
       * @return a synchronized view of the specified multimap
       */
      @J2ktIncompatible // Synchronized
      public static <K extends @Nullable Object, V extends @Nullable Object>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 86.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Multimaps.java

       * Multimap#replaceValues} methods return collections that aren't synchronized.
       *
       * <p>The returned multimap will be serializable if the specified multimap is serializable.
       *
       * @param multimap the multimap to be wrapped in a synchronized view
       * @return a synchronized view of the specified multimap
       */
      @J2ktIncompatible // Synchronized
      public static <K extends @Nullable Object, V extends @Nullable Object>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 86.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbSessionImpl.java

                    log.debug("Usage dropped to zero, release connection " + this.transport);
                }
                // Ensure atomic cleanup of all resources
                synchronized (this) {
                    // Double-check usage count within synchronized block
                    if (this.usageCount.get() != 0) {
                        return; // Another thread acquired the session
                    }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt

      private class RecordingPushObserver :
        PushObserver,
        Lockable {
        val events = mutableListOf<Any>()
    
        @Synchronized fun takeEvent(): Any {
          while (events.isEmpty()) {
            wait()
          }
          return events.removeAt(0)
        }
    
        @Synchronized override fun onRequest(
          streamId: Int,
          requestHeaders: List<Header>,
        ): Boolean {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 75.5K bytes
    - Viewed (0)
  7. docs/bucket/notifications/README.md

    Install [Elasticsearch](https://www.elastic.co/downloads/elasticsearch) server.
    
    This notification target supports two formats: _namespace_ and _access_.
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 84.2K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt

      }
    
      private fun createNewCacheWithSize(maxSize: Int) {
        cache =
          DiskLruCache(filesystem, cacheDir, appVersion, 2, maxSize.toLong(), taskRunner).also {
            toClose.add(it)
          }
        synchronized(cache) { cache.initialize() }
      }
    
      fun setUp(
        baseFilesystem: FileSystem,
        windows: Boolean,
      ) {
        this.cacheDir =
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 75.7K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

        private val responseDequeuedLatches: List<CountDownLatch>,
        private val requestCanceledLatches: List<CountDownLatch>,
      ) : QueueDispatcher() {
        private var responseIndex = 0
    
        @Synchronized
        override fun dispatch(request: RecordedRequest): MockResponse {
          // This guarantees a deterministic sequence when handling the canceled request:
          // 1. Server reads request and dequeues first response
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 73.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

         * read operations anyway:
         *
         * - All (unsynchronized) read operations must first read the "count" field, and should not
         * look at table entries if it is 0.
         *
         * - All (synchronized) write operations should write to the "count" field after structurally
         * changing any bin. The operations must not take any action that could even momentarily
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 90K bytes
    - Viewed (0)
Back to top