Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 299 for deltas (0.08 sec)

  1. android/guava-tests/test/com/google/common/primitives/CharsTest.java

      }
    
      public void testToArray_threadSafe() {
        for (int delta : new int[] {+1, 0, -1}) {
          for (int i = 0; i < VALUES.length; i++) {
            List<Character> list = Chars.asList(VALUES).subList(0, i);
            Collection<Character> misleadingSize = Helpers.misleadingSizeCollection(delta);
            misleadingSize.addAll(list);
            char[] arr = Chars.toArray(misleadingSize);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  2. cmd/peer-s3-client.go

    		if poolErr != nil && !errors.Is(poolErr, errVolumeNotFound) {
    			if !opts.NoRecreate {
    				// re-create successful deletes, since we are return an error.
    				sys.MakeBucket(ctx, bucket, MakeBucketOptions{})
    			}
    			return toObjectErr(poolErr, bucket)
    		}
    	}
    	return nil
    }
    
    // DeleteBucket deletes bucket on a peer
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:26:05 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  3. ci/official/utilities/rename_and_verify_wheels.sh

    #
    # Usage: rename_and_verify_wheels.sh
    # This script is aware of TFCI_ variables, so it doesn't need any arguments.
    # Puts new wheel through auditwheel to rename and verify it, deletes the old
    # one, checks the filesize, and then ensures the new wheel is installable.
    set -euxo pipefail
    
    cd "$TFCI_OUTPUT_DIR"
    
    # Move extra wheel files somewhere out of the way. This script
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 02 21:18:17 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. internal/bucket/replication/rule.go

    		return errDeleteMarkerReplicationMissing
    	}
    	if d.Status != Disabled && d.Status != Enabled {
    		return errInvalidDeleteMarkerReplicationStatus
    	}
    	return nil
    }
    
    // DeleteReplication - whether versioned deletes are replicated - this is a MinIO only
    // extension.
    type DeleteReplication struct {
    	Status Status `xml:"Status"` // should be set to "Disabled" by default
    }
    
    // IsEmpty returns true if DeleteReplication is not set
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jan 24 23:22:20 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

      }
    
      public void testToArray_threadSafe() {
        for (int delta : new int[] {+1, 0, -1}) {
          for (int i = 0; i < VALUES.length; i++) {
            List<Double> list = Doubles.asList(VALUES).subList(0, i);
            Collection<Double> misleadingSize = Helpers.misleadingSizeCollection(delta);
            misleadingSize.addAll(list);
            double[] arr = Doubles.toArray(misleadingSize);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Charsets.java

       * part of the set required to be supported by all Java platform implementations! Any Charsets
       * initialized here may cause unexpected delays when this class is loaded. See the Charset
       * Javadocs for the list of built-in character encodings.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jul 25 23:55:36 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/math/LongMath.java

          // http://graphics.stanford.edu/~seander/bithacks.html#IntegerMinOrMax
    
          long delta = a - b; // can't overflow, since a and b are nonnegative
    
          long minDeltaOrZero = delta & (delta >> (Long.SIZE - 1));
          // equivalent to Math.min(delta, 0)
    
          a = delta - minDeltaOrZero - minDeltaOrZero; // sets a to Math.abs(a - b)
          // a is now nonnegative and even
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 09 16:39:37 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ImmutableListTest.java

      }
    
      public void testCopyOf_concurrentlyMutating() {
        List<String> sample = Lists.newArrayList("a", "b", "c");
        for (int delta : new int[] {-1, 0, 1}) {
          for (int i = 0; i < sample.size(); i++) {
            Collection<String> misleading = misleadingSizeCollection(delta);
            List<String> expected = sample.subList(0, i);
            misleading.addAll(expected);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/primitives/BytesTest.java

      }
    
      public void testToArray_threadSafe() {
        for (int delta : new int[] {+1, 0, -1}) {
          for (int i = 0; i < VALUES.length; i++) {
            List<Byte> list = Bytes.asList(VALUES).subList(0, i);
            Collection<Byte> misleadingSize = Helpers.misleadingSizeCollection(delta);
            misleadingSize.addAll(list);
            byte[] arr = Bytes.toArray(misleadingSize);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  10. cmd/storage-rest-client.go

    	}))
    	if err != nil {
    		return vol, toStorageErr(err)
    	}
    	vol = *v
    	// Performs shallow copy, so we can reuse.
    	storageStatVolRPC.PutResponse(v)
    	return vol, nil
    }
    
    // DeleteVol - Deletes a volume over the network.
    func (client *storageRESTClient) DeleteVol(ctx context.Context, volume string, forceDelete bool) (err error) {
    	return errInvalidArgument
    }
    
    // AppendFile - append to a file.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Oct 13 13:07:21 UTC 2024
    - 30.2K bytes
    - Viewed (0)
Back to top