Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 2,167 for latch (0.05 sec)

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

            if (!closed) {
              put(closeable, executor);
              return;
            }
          }
          closeQuietly(closeable, executor);
        }
    
        /**
         * Returns a latch that reaches zero when this objects' deferred closeables have been closed.
         */
        CountDownLatch whenClosedCountDown() {
          if (closed) {
            return new CountDownLatch(0);
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 08 19:36:35 UTC 2024
    - 98.5K bytes
    - Viewed (0)
  2. cmd/batch-expire.go

    			// standard metadata headers
    			// specified in the filter
    			var match bool
    			for k, v := range obj.UserDefined {
    				if !stringsHasPrefixFold(k, "x-amz-meta-") && !isStandardHeader(k) {
    					continue
    				}
    				// We only need to match x-amz-meta or standardHeaders
    				if kv.Match(BatchJobKV{Key: k, Value: v}) {
    					match = true
    				}
    			}
    			if !match {
    				return false
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  3. cmd/batch-rotate.go

    // flags:
    //   filter:
    //     newerThan: "7d" # match objects newer than this value (e.g. 7d10h31s)
    //     olderThan: "7d" # match objects older than this value (e.g. 7d10h31s)
    //     createdAfter: "date" # match objects created after "date"
    //     createdBefore: "date" # match objects created before "date"
    //     tags:
    //       - key: "name"
    //         value: "pick*" # match objects with tag 'name', with all values starting with 'pick'
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/ConnectionCoalescingTest.kt

        server.enqueue(MockResponse())
        dns["san.com"] = Dns.SYSTEM.lookup(server.hostName).subList(0, 1)
        val sanUrl = url.newBuilder().host("san.com").build()
        val latch1 = CountDownLatch(1)
        val latch2 = CountDownLatch(1)
        val latch3 = CountDownLatch(1)
        val latch4 = CountDownLatch(1)
        val listener1: EventListener =
          object : EventListener() {
            override fun connectStart(
              call: Call,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  5. cmd/batch-expire_test.go

          createdBefore: "2006-01-02T15:04:05.00Z" # match objects created before "date"
          tags:
            - key: name
              value: pick* # match objects with tag 'name', all values starting with 'pick'
          metadata:
            - key: content-type
              value: image/* # match objects with 'content-type', all values starting with 'image/'
          size:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. cmd/batch-replicate_test.go

      # - filtering criteria only applies for all source objects match the criteria
      # - configurable notification endpoints
      # - configurable retries for the job (each retry skips successfully previously replaced objects)
      flags:
        filter:
          newerThan: "7d10h31s" # match objects newer than this value (e.g. 7d10h31s)
          olderThan: "7d" # match objects older than this value (e.g. 7d10h31s)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  7. internal/store/batch.go

    	"sync"
    	"time"
    )
    
    // ErrBatchFull indicates that the batch is full
    var ErrBatchFull = errors.New("batch is full")
    
    const defaultCommitTimeout = 30 * time.Second
    
    // Batch represents an ordered batch
    type Batch[I any] struct {
    	items  []I
    	limit  uint32
    	store  Store[I]
    	quitCh chan struct{}
    
    	sync.Mutex
    }
    
    // BatchConfig represents the batch config
    type BatchConfig[I any] struct {
    	Limit         uint32
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. internal/config/batch/batch.go

    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package batch
    
    import (
    	"sync"
    	"time"
    
    	"github.com/minio/minio/internal/config"
    	"github.com/minio/pkg/v3/env"
    )
    
    // Batch job environment variables
    const (
    	ReplicationWorkersWait = "replication_workers_wait"
    	KeyRotationWorkersWait = "keyrotation_workers_wait"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  9. cmd/batch-handlers.go

    						continue
    					}
    
    					batch = append(batch, obj.Item)
    
    					if len(batch) < *r.Source.Snowball.Batch {
    						continue
    					}
    					writeFn(batch)
    					batch = batch[:0]
    				}
    				writeFn(batch)
    				xioutil.SafeClose(slowCh)
    			}()
    		} else {
    			slowCh = walkCh
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  10. ci/official/containers/linux_arm64/builder.devtoolset/rpm-patch.sh

    #
    # Given an RPM spec file $1, apply its patches.
    
    SPEC="$1"
    grep '%patch' "${SPEC}" |while read cmd ; do
      N=$(echo "${cmd}" |sed 's,%patch\([0-9]\+\).*,\1,')
      file=$(grep "Patch$N:" "${SPEC}" |sed 's,.*: ,,')
      parg=$(echo "${cmd}" |sed 's,.*\(-p[0-9]\).*,\1,')
      if [[ ! "${file}" =~ doxygen && "${cmd}" != \#* ]]; then
        echo "patch ${parg} -s < ${file}"
        patch ${parg} -s < "${file}"
      fi
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Sep 18 14:52:45 UTC 2023
    - 1.1K bytes
    - Viewed (0)
Back to top