Search Options

Results per page
Sort
Preferred Languages
Advance

Results 691 - 700 of 1,909 for size0 (0.03 sec)

  1. guava-tests/test/com/google/common/collect/SynchronizedQueueTest.java

          // 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();
        }
    
        @Override
        public boolean removeAll(Collection<?> collection) {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.removeAll(collection);
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 19 20:50:58 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Splitter.java

       * {@code Iterables.size(split(input))} does not equal {@code IntMath.divide(input.length(),
       * length, CEILING)}. To avoid this behavior, use {@code omitEmptyStrings}.
       *
       * @param length the desired length of pieces after splitting, a positive integer
       * @return a splitter, with default settings, that can split into fixed sized pieces
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 21:14:05 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  3. cmd/erasure-metadata.go

    	for i, part := range fi.Parts {
    		partIndex = i
    		// Offset is smaller than size we have reached the proper part offset.
    		if partOffset < part.Size {
    			return partIndex, partOffset, nil
    		}
    		// Continue to towards the next part.
    		partOffset -= part.Size
    	}
    	internalLogIf(ctx, InvalidRange{})
    	// Offset beyond the size of the object return InvalidRange.
    	return 0, 0, InvalidRange{}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java

                    .getSampleElements(getSubjectGenerator().getCollectionSize().getNumElements()));
        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. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

            }
          }
    
          @Override
          public Iterator<Entry<K, V>> iterator() {
            return delegate().iterator();
          }
    
          @Override
          public int size() {
            return delegate().size();
          }
    
          @Override
          public boolean remove(Object o) {
            return delegate().remove(o);
          }
    
          @Override
          public void clear() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java

            i += 12;
            if (len != 0) {
                len--;
                int size = len * 2;
                try {
                    if (size < 0 || size > 0xFFFF) throw new NdrException( NdrException.INVALID_CONFORMANCE );
                    val = new String(buf, i, size, "UTF-16LE");
                    i += size + 2;
                } catch( UnsupportedEncodingException uee ) {
                }
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 6.1K bytes
    - Viewed (0)
  7. internal/config/crypto.go

    	const (
    		MaxMetadataSize = 1 << 20 // max. size of the metadata
    		Version         = 1
    	)
    
    	var header [5]byte
    	if _, err := io.ReadFull(ciphertext, header[:]); err != nil {
    		return nil, err
    	}
    	if header[0] != Version {
    		return nil, fmt.Errorf("config: unknown ciphertext version %d", header[0])
    	}
    	size := binary.LittleEndian.Uint32(header[1:])
    	if size > MaxMetadataSize {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

        String data = "Test Using Larger Than Block-Size Key - Hash Key First";
    
        checkSha1("aa4ae5e15272d00e95705637ce8a3b55ed402112", key, data);
      }
    
      public void testRfc2202_hmacSha1_case7() {
        byte[] key = fillByteArray(80, 0xaa);
        String data = "Test Using Larger Than Block-Size Key and Larger Than One Block-Size Data";
    
        checkSha1("e8e99d0f45237d786d6bbaa7965c7808bbff1a91", key, data);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/math/LongMath.java

                + Long.numberOfLeadingZeros(~b);
        if (leadingZeros > Long.SIZE + 1) {
          return a * b;
        }
        // the return value if we will overflow (which we calculate by overflowing a long :) )
        long limit = Long.MAX_VALUE + ((a ^ b) >>> (Long.SIZE - 1));
        if (leadingZeros < Long.SIZE | (a < 0 & b == Long.MIN_VALUE)) {
          // overflow
          return limit;
        }
        long result = a * b;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 09 16:39:37 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/DirectedGraphConnections.java

        this.predecessorCount = checkNonNegative(predecessorCount);
        this.successorCount = checkNonNegative(successorCount);
        checkState(
            predecessorCount <= adjacentNodeValues.size()
                && successorCount <= adjacentNodeValues.size());
      }
    
      static <N, V> DirectedGraphConnections<N, V> of(ElementOrder<N> incidentEdgeOrder) {
        // We store predecessors and successors in the same map, so double the initial capacity.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 18K bytes
    - Viewed (0)
Back to top