Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 259 for poolId (0.05 seconds)

  1. src/test/java/jcifs/context/BaseContextTest.java

            }
        }
    
        @Test
        @DisplayName("getTransportPool should return initialized transport pool")
        void testGetTransportPool() {
            // When
            SmbTransportPool transportPool = context.getTransportPool();
    
            // Then
            assertNotNull(transportPool, "Transport pool should not be null");
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

        connections.add(connection)
    //    connection.queueEvent { connectionListener.connectEnd(connection) }
        scheduleCloser()
      }
    
      /**
       * Notify this pool that [connection] has become idle. Returns true if the connection has been
       * removed from the pool and should be closed.
       */
      fun connectionBecameIdle(connection: RealConnection): Boolean {
        connection.assertLockHeld()
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Oct 08 03:50:05 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  3. src/main/java/jcifs/SmbTransportPool.java

                boolean exclusive, boolean forceSigning);
    
        /**
         * Removes a transport from the pool.
         *
         * @param trans the transport to remove
         */
        void removeTransport(SmbTransport trans);
    
        /**
         * Closes the pool and all connections in it
         *
         * @return whether any transport was still in use
         *
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/Iterators.java

        };
      }
    
      /**
       * Combines two iterators into a single iterator. The returned iterator iterates across the
       * elements in {@code a}, followed by the elements in {@code b}. The source iterators are not
       * polled until necessary.
       *
       * <p>The returned iterator supports {@code remove()} when the corresponding input iterator
       * supports it.
       */
      public static <T extends @Nullable Object> Iterator<T> concat(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 16 12:42:11 GMT 2025
    - 51.4K bytes
    - Click Count (0)
  5. src/archive/zip/register.go

    // simultaneously, but each returned reader will be used only by
    // one goroutine at a time.
    type Decompressor func(r io.Reader) io.ReadCloser
    
    var flateWriterPool sync.Pool
    
    func newFlateWriter(w io.Writer) io.WriteCloser {
    	fw, ok := flateWriterPool.Get().(*flate.Writer)
    	if ok {
    		fw.Reset(w)
    	} else {
    		fw, _ = flate.NewWriter(w, 5)
    	}
    	return &pooledFlateWriter{fw: fw}
    }
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 3.7K bytes
    - Click Count (0)
  6. src/main/java/jcifs/audit/SecurityAuditLogger.java

            if (!checkRateLimit(type)) {
                return;
            }
    
            try {
                // Update statistics
                eventCounters.get(type).incrementAndGet();
    
                // Get pooled objects
                AuditEntry entry = getAuditEntry();
                entry.timestamp = Instant.now();
                entry.eventType = type;
                entry.severity = severity;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 26.6K bytes
    - Click Count (0)
  7. cmd/naughty-disk_test.go

    	defer d.mu.Unlock()
    	d.callNR++
    	if err, ok := d.errors[d.callNR]; ok {
    		return err
    	}
    	if d.defaultErr != nil {
    		return d.defaultErr
    	}
    	return nil
    }
    
    func (d *naughtyDisk) GetDiskLoc() (poolIdx, setIdx, diskIdx int) {
    	return -1, -1, -1
    }
    
    func (d *naughtyDisk) GetDiskID() (string, error) {
    	return d.disk.GetDiskID()
    }
    
    func (d *naughtyDisk) SetDiskID(id string) {
    	d.disk.SetDiskID(id)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Apr 25 05:41:04 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt

      /**
       * If true, no new exchanges can be created on this connection. It is necessary to set this to
       * true when removing a connection from the pool; otherwise a racing caller might get it from the
       * pool when it shouldn't. Symmetrically, this must always be checked before returning a
       * connection from the pool.
       *
       * Once true this is always true. Guarded by this.
       */
      var noNewExchanges = false
    
      /**
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Oct 07 21:55:03 GMT 2025
    - 14.6K bytes
    - Click Count (0)
  9. cmd/xl-storage.go

    	return time.Time{}
    }
    
    func (s *xlStorage) IsLocal() bool {
    	return true
    }
    
    // Retrieve location indexes.
    func (s *xlStorage) GetDiskLoc() (poolIdx, setIdx, diskIdx int) {
    	return s.endpoint.PoolIdx, s.endpoint.SetIdx, s.endpoint.DiskIdx
    }
    
    func (s *xlStorage) Healing() *healingTracker {
    	healingFile := pathJoin(s.drivePath, minioMetaBucket,
    		bucketMetaPrefix, healingTrackerFilename)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 91.7K bytes
    - Click Count (0)
  10. cmd/storage-interface.go

    	WriteAll(ctx context.Context, volume string, path string, b []byte) (err error)
    
    	// Read all.
    	ReadAll(ctx context.Context, volume string, path string) (buf []byte, err error)
    	GetDiskLoc() (poolIdx, setIdx, diskIdx int) // Retrieve location indexes.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Apr 25 05:41:04 GMT 2025
    - 5.3K bytes
    - Click Count (0)
Back to Top