Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 2,237 for setI (0.03 sec)

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

        Set<String> keys = bimap.keySet();
        assertEquals(newHashSet("one", "two", "three", "four"), keys);
        assertThat(keys).containsExactly("one", "two", "three", "four").inOrder();
      }
    
      public void testValues() {
        ImmutableBiMap<String, Integer> bimap =
            ImmutableBiMap.copyOf(ImmutableMap.of("one", 1, "two", 2, "three", 3, "four", 4));
        Set<Integer> values = bimap.values();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  2. internal/bucket/lifecycle/lifecycle.go

    			if rule.Expiration.DeleteMarker.val {
    				// Indicates whether MinIO will remove a delete marker with no noncurrent versions.
    				// Only latest marker is removed. If set to true, the delete marker will be expired;
    				// if set to false the policy takes no action. This cannot be specified with Days or
    				// Date in a Lifecycle Expiration Policy.
    				events = append(events, Event{
    					Action: DeleteVersionAction,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  3. src/bufio/scan.go

    		s.err = err
    	}
    }
    
    // Buffer sets the initial buffer to use when scanning
    // and the maximum size of buffer that may be allocated during scanning.
    // The maximum token size must be less than the larger of max and cap(buf).
    // If max <= cap(buf), [Scanner.Scan] will use this buffer only and do no allocation.
    //
    // By default, [Scanner.Scan] uses an internal buffer and sets the
    // maximum token size to [MaxScanTokenSize].
    //
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Oct 23 09:06:30 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Range.java

        }
    
        // this optimizes testing equality of two range-backed sets
        if (values instanceof SortedSet) {
          SortedSet<? extends C> set = (SortedSet<? extends C>) values;
          Comparator<?> comparator = set.comparator();
          if (Ordering.natural().equals(comparator) || comparator == null) {
            return contains(set.first()) && contains(set.last());
          }
        }
    
        for (C value : values) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Synchronized.java

      }
    
      @VisibleForTesting
      static <E extends @Nullable Object> Set<E> set(Set<E> set, @CheckForNull Object mutex) {
        return new SynchronizedSet<>(set, mutex);
      }
    
      static class SynchronizedSet<E extends @Nullable Object> extends SynchronizedCollection<E>
          implements Set<E> {
    
        SynchronizedSet(Set<E> delegate, @CheckForNull Object mutex) {
          super(delegate, mutex);
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Synchronized.java

      }
    
      @VisibleForTesting
      static <E extends @Nullable Object> Set<E> set(Set<E> set, @CheckForNull Object mutex) {
        return new SynchronizedSet<>(set, mutex);
      }
    
      static class SynchronizedSet<E extends @Nullable Object> extends SynchronizedCollection<E>
          implements Set<E> {
    
        SynchronizedSet(Set<E> delegate, @CheckForNull Object mutex) {
          super(delegate, mutex);
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 57.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/graph/ValueGraph.java

    import com.google.common.annotations.Beta;
    import java.util.Optional;
    import java.util.Set;
    import javax.annotation.CheckForNull;
    
    /**
     * An interface for <a
     * href="https://en.wikipedia.org/wiki/Graph_(discrete_mathematics)">graph</a>-structured data,
     * whose edges have associated non-unique values.
     *
     * <p>A graph is composed of a set of nodes and a set of edges connecting pairs of nodes.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 16K bytes
    - Viewed (0)
  8. internal/ringbuffer/ring_buffer.go

    		size: size,
    	}
    }
    
    // NewBuffer returns a new RingBuffer whose buffer is provided.
    func NewBuffer(b []byte) *RingBuffer {
    	return &RingBuffer{
    		buf:  b,
    		size: len(b),
    	}
    }
    
    // SetBlocking sets the blocking mode of the ring buffer.
    // If block is true, Read and Write will block when there is no data to read or no space to write.
    // If block is false, Read and Write will return ErrIsEmpty or ErrIsFull immediately.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/RegularContiguousSet.java

          }
        }
        return super.equals(object);
      }
    
      // copied to make sure not to use the GWT-emulated version
      @Override
      public int hashCode() {
        return Sets.hashCodeImpl(this);
      }
    
      @GwtIncompatible // serialization
      @J2ktIncompatible
      private static final class SerializedForm<C extends Comparable> implements Serializable {
        final Range<C> range;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/CompactHashing.java

        } else if (table instanceof short[]) {
          return ((short[]) table)[index] & SHORT_MASK; // unsigned read
        } else {
          return ((int[]) table)[index];
        }
      }
    
      /**
       * Sets {@code table[index]} to {@code entry}, where {@code table} is actually a {@code byte[]},
       * {@code short[]}, or {@code int[]}. The value of {@code entry} should fit in the size of the
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 15:34:52 UTC 2024
    - 7.1K bytes
    - Viewed (0)
Back to top