Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 389 for Resets (0.12 sec)

  1. android/guava/src/com/google/common/cache/LongAdder.java

        }
        return sum;
      }
    
      /**
       * Resets variables maintaining the sum to zero. This method may be a useful alternative to
       * creating a new adder, but is only effective if there are no concurrent updates. Because this
       * method is intrinsically racy, it should only be used when it is known that no threads are
       * concurrently updating.
       */
      public void reset() {
        internalReset(0L);
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 5.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/LongAdder.java

        }
        return sum;
      }
    
      /**
       * Resets variables maintaining the sum to zero. This method may be a useful alternative to
       * creating a new adder, but is only effective if there are no concurrent updates. Because this
       * method is intrinsically racy, it should only be used when it is known that no threads are
       * concurrently updating.
       */
      public void reset() {
        internalReset(0L);
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 5.5K bytes
    - Viewed (0)
  3. pkg/kubelet/cm/topologymanager/bitmask/bitmask.go

    }
    
    // Or performs or operation on all bits in masks
    func (s *bitMask) Or(masks ...BitMask) {
    	for _, m := range masks {
    		*s |= *m.(*bitMask)
    	}
    }
    
    // Clear resets all bits in mask to zero
    func (s *bitMask) Clear() {
    	*s = 0
    }
    
    // Fill sets all bits in mask to one
    func (s *bitMask) Fill() {
    	*s = bitMask(^uint64(0))
    }
    
    // IsEmpty checks mask to see if all bits are zero
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 03 09:45:09 UTC 2022
    - 5.1K bytes
    - Viewed (0)
  4. pkg/kubelet/config/common.go

    }
    
    func applyDefaults(pod *api.Pod, source string, isFile bool, nodeName types.NodeName) error {
    	if len(pod.UID) == 0 {
    		hasher := md5.New()
    		hash.DeepHashObject(hasher, pod)
    		// DeepHashObject resets the hash, so we should write the pod source
    		// information AFTER it.
    		if isFile {
    			fmt.Fprintf(hasher, "host:%s", nodeName)
    			fmt.Fprintf(hasher, "file:%s", source)
    		} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:48 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  5. src/vendor/golang.org/x/crypto/sha3/shake.go

    	c.initBlock = append(c.initBlock, leftEncode(uint64(len(S)*8))...)
    	c.initBlock = append(c.initBlock, S...)
    	c.Write(bytepad(c.initBlock, c.rate))
    	return &c
    }
    
    // Reset resets the hash to initial state.
    func (c *cshakeState) Reset() {
    	c.state.Reset()
    	c.Write(bytepad(c.initBlock, c.rate))
    }
    
    // Clone returns copy of a cSHAKE context within its current state.
    func (c *cshakeState) Clone() ShakeHash {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/block.go

    		b.AddControl(c)
    	}
    }
    
    // Reset sets the block to the provided kind and clears all the blocks control
    // and auxiliary values. Other properties of the block, such as its successors,
    // predecessors and values are left unmodified.
    func (b *Block) Reset(kind BlockKind) {
    	b.Kind = kind
    	b.ResetControls()
    	b.Aux = nil
    	b.AuxInt = 0
    }
    
    // resetWithControl resets b and adds control v.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/text/unicode/norm/composition.go

    }
    
    // flush appends the normalized segment to out and resets rb.
    func (rb *reorderBuffer) flush(out []byte) []byte {
    	for i := 0; i < rb.nrune; i++ {
    		start := rb.rune[i].pos
    		end := start + rb.rune[i].size
    		out = append(out, rb.byte[start:end]...)
    	}
    	rb.reset()
    	return out
    }
    
    // flushCopy copies the normalized segment to buf and resets rb.
    // It returns the number of bytes written to buf.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java

        Collections.sort(values, navigableSet.comparator());
    
        // some tests assume SEVERAL == 3
        if (values.size() >= 1) {
          a = values.get(0);
          if (values.size() >= 3) {
            b = values.get(1);
            c = values.get(2);
          }
        }
      }
    
      /** Resets the contents of navigableSet to have elements a, c, for the navigation tests. */
      protected void resetWithHole() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableMapNavigationTester.java

        // some tests assume SEVERAL == 3
        if (entries.size() >= 1) {
          a = entries.get(0);
          if (entries.size() >= 3) {
            b = entries.get(1);
            c = entries.get(2);
          }
        }
      }
    
      /** Resets the contents of navigableMap to have entries a, c, for the navigation tests. */
      @SuppressWarnings("unchecked") // Needed to stop Eclipse whining
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java

        Collections.sort(values, navigableSet.comparator());
    
        // some tests assume SEVERAL == 3
        if (values.size() >= 1) {
          a = values.get(0);
          if (values.size() >= 3) {
            b = values.get(1);
            c = values.get(2);
          }
        }
      }
    
      /** Resets the contents of navigableSet to have elements a, c, for the navigation tests. */
      protected void resetWithHole() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 8.3K bytes
    - Viewed (0)
Back to top