- Sort Score
- Result 10 results
- Languages All
Results 461 - 470 of 2,710 for setA (0.49 sec)
-
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java
} } return null; } public @Nullable E ceiling(E e) { ImmutableSortedSet<E> set = tailSet(e, true); return !set.isEmpty() ? set.first() : null; } public @Nullable E floor(E e) { ImmutableSortedSet<E> set = headSet(e, true); return !set.isEmpty() ? set.last() : null; } public ImmutableSortedSet<E> headSet(E toElement, boolean inclusive) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 15.5K bytes - Viewed (0) -
internal/logger/logger.go
errorFmtFunc = f } // uniq swaps away duplicate elements in data, returning the size of the // unique set. data is expected to be pre-sorted, and the resulting set in // the range [0:size] will remain in sorted order. Uniq, following a // sort.Sort call, can be used to prepare arbitrary inputs for use as sets. func uniq(data sort.Interface) (size int) { p, l := 0, data.Len() if l <= 1 { return l }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 12.4K bytes - Viewed (0) -
src/archive/zip/struct.go
// the system's local character encoding happens to be. // // This flag should only be set if the user intends to encode a non-portable // ZIP file for a specific localized region. Otherwise, the Writer // automatically sets the ZIP format's UTF-8 flag for valid UTF-8 strings. NonUTF8 bool CreatorVersion uint16 ReaderVersion uint16 Flags uint16
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Tue May 28 21:41:09 UTC 2024 - 12.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/EnumMultisetTest.java
} public void testEntrySet() { Multiset<Color> ms = EnumMultiset.create(Color.class); ms.add(Color.BLUE, 3); ms.add(Color.YELLOW, 1); ms.add(Color.RED, 2); Set<Object> uniqueEntries = Sets.newIdentityHashSet(); uniqueEntries.addAll(ms.entrySet()); assertEquals(3, uniqueEntries.size()); } // Wrapper of EnumMultiset factory methods, because we need to skip create(Class).
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java
} /** * Sets the maximum size of the delete document cache. * * @param maxDeleteDocumentCacheSize the maximum cache size before batch deletion is triggered */ public void setMaxDeleteDocumentCacheSize(final int maxDeleteDocumentCacheSize) { this.maxDeleteDocumentCacheSize = maxDeleteDocumentCacheSize; } /**Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 29.7K bytes - Viewed (3) -
android/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 Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 28K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Synchronized.java
} @VisibleForTesting static <E extends @Nullable Object> Set<E> set(Set<E> set, @Nullable Object mutex) { return new SynchronizedSet<>(set, mutex); } static class SynchronizedSet<E extends @Nullable Object> extends SynchronizedCollection<E> implements Set<E> { SynchronizedSet(Set<E> delegate, @Nullable Object mutex) { super(delegate, mutex); } @Override
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Aug 08 15:11:10 UTC 2025 - 53K bytes - Viewed (0) -
guava/src/com/google/common/collect/Synchronized.java
} @VisibleForTesting static <E extends @Nullable Object> Set<E> set(Set<E> set, @Nullable Object mutex) { return new SynchronizedSet<>(set, mutex); } static class SynchronizedSet<E extends @Nullable Object> extends SynchronizedCollection<E> implements Set<E> { SynchronizedSet(Set<E> delegate, @Nullable Object mutex) { super(delegate, mutex); } @Override
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Aug 08 15:11:10 UTC 2025 - 56.9K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java
// Act + Assert assertThrows(PACDecodingException.class, () -> new KerberosApRequest(notASequence, null)); } @Test @DisplayName("seq ctor: valid minimal sequence sets apOptions and leaves ticket null") void sequenceConstructor_minimal_valid_setsApOptions_noTicket() throws Exception { // Arrange byte ap = (byte) 0x7A; ASN1Sequence seq = buildMinimalApReqSeq(ap);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractMapBasedMultimap.java
} int oldSize = size(); // calls refreshIfEmpty // Guava issue 1013: AbstractSet and most JDK set implementations are // susceptible to quadratic removeAll performance on lists; // use a slightly smarter implementation here boolean changed = Sets.removeAllImpl((Set<V>) delegate, c); if (changed) { int newSize = delegate.size(); totalSize += newSize - oldSize;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Nov 17 22:50:48 UTC 2025 - 48.4K bytes - Viewed (0)