Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 344 for lock2 (0.03 sec)

  1. misc/linkcheck/linkcheck.go

    	}
    	return
    }
    
    // url may contain a #fragment, and the fragment is then noted as needing to exist.
    func crawl(url string, sourceURL string) {
    	if strings.Contains(url, "/devel/release") {
    		return
    	}
    	mu.Lock()
    	defer mu.Unlock()
    	if u, frag, ok := strings.Cut(url, "#"); ok {
    		url = u
    		if frag != "" {
    			uf := urlFrag{url, frag}
    			neededFrags[uf] = append(neededFrags[uf], sourceURL)
    		}
    	}
    	if crawled[url] {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 06 15:53:04 UTC 2021
    - 3.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/SynchronizedQueueTest.java

        }
    
        @Override
        public E element() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.element();
        }
    
        @Override
        public Iterator<E> iterator() {
          // We explicitly don't lock for iterator()
          assertFalse(Thread.holdsLock(mutex));
          return delegate.iterator();
        }
    
        @Override
        public int size() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.size();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 19 20:50:58 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/SynchronizedQueueTest.java

        }
    
        @Override
        public E element() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.element();
        }
    
        @Override
        public Iterator<E> iterator() {
          // We explicitly don't lock for iterator()
          assertFalse(Thread.holdsLock(mutex));
          return delegate.iterator();
        }
    
        @Override
        public int size() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.size();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 19 20:50:58 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. docs/site-replication/README.md

    - Creation of STS credentials
    - Creation and deletion of service accounts (except those owned by the root user)
    - Changes to Bucket features such as:
      - Bucket Policies
      - Bucket Tags
      - Bucket Object-Lock configurations (including retention and legal hold configuration)
      - Bucket Encryption configuration
    
    > NOTE: Bucket versioning is automatically enabled for all new and existing buckets on all replicated sites.
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Feb 26 21:30:28 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. internal/config/batch/batch.go

    		KeyRotationWorkersWait: opts.KeyRotationWorkersWait,
    		ExpirationWorkersWait:  opts.ExpirationWorkersWait,
    	}
    }
    
    // Update updates opts with nopts
    func (opts *Config) Update(nopts Config) {
    	configMu.Lock()
    	defer configMu.Unlock()
    
    	opts.ReplicationWorkersWait = nopts.ReplicationWorkersWait
    	opts.KeyRotationWorkersWait = nopts.KeyRotationWorkersWait
    	opts.ExpirationWorkersWait = nopts.ExpirationWorkersWait
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java

                            if (file.exists()) {
                                if (!file.delete()) {
                                    // sleep for 10ms just in case this is windows holding a file lock
                                    try {
                                        Thread.sleep(10);
                                    } catch (InterruptedException ie) {
                                        // ignore
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  7. internal/logger/audit.go

    		entry.API.HeaderBytes = headerBytes
    		entry.API.TimeToResponse = strconv.FormatInt(timeToResponse.Nanoseconds(), 10) + "ns"
    		entry.API.TimeToResponseInNS = strconv.FormatInt(timeToResponse.Nanoseconds(), 10)
    		// We hold the lock, so we cannot call reqInfo.GetTagsMap().
    		tags := make(map[string]interface{}, len(reqInfo.tags))
    		for _, t := range reqInfo.tags {
    			tags[t.Key] = t.Val
    		}
    		entry.Tags = tags
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  8. src/packaging/rpm/init.d/fess

    export FESS_CONF_PATH
    export FESS_VAR_PATH
    export FESS_DICTIONARY_PATH
    export FESS_HEAP_SIZE
    export SEARCH_ENGINE_HOME
    export SEARCH_ENGINE_HTTP_URL
    export FESS_JAVA_OPTS
    export JAVA_HOME
    
    lockfile=/var/lock/subsys/$prog
    
    # backwards compatibility for old config sysconfig files, pre 0.90.1
    if [ -n $USER ] && [ -z $FESS_USER ] ; then 
       FESS_USER=$USER
    fi
    
    checkJava() {
        if [ -x "$JAVA_HOME/bin/java" ]; then
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Jan 15 06:32:15 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  9. buildscripts/rewrite-old-new.sh

    	if ! ps -p ${pid} 1>&2 >/dev/null; then
    		echo "server1 log:"
    		cat "${WORK_DIR}/server1.log"
    		echo "FAILED"
    		purge "$WORK_DIR"
    		exit 1
    	fi
    
    	"${WORK_DIR}/mc" mb minio/healing-rewrite-bucket --quiet --with-lock
    	"${WORK_DIR}/mc" cp \
    		buildscripts/verify-build.sh \
    		minio/healing-rewrite-bucket/ \
    		--disable-multipart --quiet
    
    	"${WORK_DIR}/mc" cp \
    		buildscripts/verify-build.sh \
    		minio/healing-rewrite-bucket/ \
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. cmd/bucket-lifecycle.go

    		return nil
    	}
    	workers := *w
    	return workers[h%uint64(len(workers))]
    }
    
    func (es *expiryState) ResizeWorkers(n int) {
    	if n == 0 {
    		n = 100
    	}
    
    	// Lock to avoid multiple resizes to happen at the same time.
    	es.mu.Lock()
    	defer es.mu.Unlock()
    	var workers []chan expiryOp
    	if v := es.workers.Load(); v != nil {
    		// Copy to new array.
    		workers = append(workers, *v...)
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 23 15:35:37 UTC 2024
    - 33.7K bytes
    - Viewed (0)
Back to top