Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 505 for replaced (0.19 sec)

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

            // don't compareAndSet a zero
            if (map.replace(key, atomic, new AtomicLong(newValue))) {
              return 0L;
            }
            // atomic replaced
            continue;
          }
    
          return oldValue;
        }
      }
    
      /**
       * If {@code (key, expectedOldValue)} is currently in the map, this method replaces {@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  2. common/config/.golangci-format.yml

      # Can use regexp here: `generated.*`, regexp is applied on full path,
      # including the path prefix if one is set.
      # Default dirs are skipped independently of this option's value (see exclude-dirs-use-default).
      # "/" will be replaced by current OS file path separator to properly work on Windows.
      # Default: []
      exclude-dirs:
        - genfiles$
        - vendor$
      # Which files to exclude: they will be analyzed, but issues from them won't be reported.
    Others
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Apr 05 03:02:37 GMT 2024
    - 2K bytes
    - Viewed (0)
  3. cmd/storage-interface.go

    	GetDiskID() (string, error)
    
    	// Set a unique 'uuid' for this disk, only used when
    	// disk is replaced and formatted.
    	SetDiskID(id string)
    
    	// Returns healing information for a newly replaced disk,
    	// returns 'nil' once healing is complete or if the disk
    	// has never been replaced.
    	Healing() *healingTracker
    	DiskInfo(ctx context.Context, opts DiskInfoOptions) (info DiskInfo, err error)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

        }
      }
    
      // Returned from removeAt() to iterator.remove()
      static class MoveDesc<E> {
        final E toTrickle;
        final E replaced;
    
        MoveDesc(E toTrickle, E replaced) {
          this.toTrickle = toTrickle;
          this.replaced = replaced;
        }
      }
    
      /** Removes and returns the value at {@code index}. */
      private E removeAndGet(int index) {
        E value = elementData(index);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 34K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ConcurrentHashMultiset.java

                  || countMap.replace(element, existingCounter, newCounter);
            }
          } else {
            if (existingCounter.compareAndSet(oldValue, newCount)) {
              if (newCount == 0) {
                // Just CASed to 0; remove the entry to clean up the map. If the removal fails,
                // another thread has already replaced it with a new counter, which is fine.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  6. cmd/xl-storage-meta-inline.go

    	return int(sz)
    }
    
    // replace will add or replace a key/value pair.
    func (x *xlMetaInlineData) replace(key string, value []byte) {
    	in := x.afterVersion()
    	sz, buf, _ := msgp.ReadMapHeaderBytes(in)
    	keys := make([][]byte, 0, sz+1)
    	vals := make([][]byte, 0, sz+1)
    
    	// Version plus header...
    	plSize := 1 + msgp.MapHeaderSize
    	replaced := false
    	for i := uint32(0); i < sz; i++ {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  7. common/scripts/metallb-native.yaml

    # Downloaded from https://github.com/metallb/metallb/raw/v0.13.12/config/manifests/metallb-native.yaml
    # With quay.io hub replaced with gcr.io/istio-testing
    # And probes tuned to startup faster
    apiVersion: v1
    kind: Namespace
    metadata:
      labels:
        pod-security.kubernetes.io/audit: privileged
        pod-security.kubernetes.io/enforce: privileged
        pod-security.kubernetes.io/warn: privileged
      name: metallb-system
    ---
    apiVersion: apiextensions.k8s.io/v1
    Others
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Feb 23 23:56:31 GMT 2024
    - 63.9K bytes
    - Viewed (0)
  8. internal/grid/grid.go

    	},
    }
    
    var internal32KByteBuffer = sync.Pool{
    	New: func() any {
    		m := make([]byte, 0, biggerBufMin)
    		return &m
    	},
    }
    
    // GetByteBuffer can be replaced with a function that returns a small
    // byte buffer.
    // When replacing PutByteBuffer should also be replaced
    // There is no minimum size.
    var GetByteBuffer = func() []byte {
    	b := *internalByteBuffer.Get().(*[]byte)
    	return b[:0]
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Apr 02 15:56:18 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

                  || countMap.replace(element, existingCounter, newCounter);
            }
          } else {
            if (existingCounter.compareAndSet(oldValue, newCount)) {
              if (newCount == 0) {
                // Just CASed to 0; remove the entry to clean up the map. If the removal fails,
                // another thread has already replaced it with a new counter, which is fine.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  10. .cm/plugins/filters/byCodeowner/ignore/index.js

            // >   begin with a literal "!", for example, `"\!important!.txt"`.
            .replace(REGEX_REPLACE_LEADING_EXCAPED_EXCLAMATION, '!')
            // > Put a backslash ("\") in front of the first hash for patterns that
            // >   begin with a hash.
            .replace(REGEX_REPLACE_LEADING_EXCAPED_HASH, '#')
    
        const regex = makeRegex(pattern, ignoreCase)
    
        return new IgnoreRule(
    JavaScript
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 17.5K bytes
    - Viewed (0)
Back to top