- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 209 for accordion (0.11 sec)
-
guava-testlib/src/com/google/common/collect/testing/TestEnumSetGenerator.java
} protected abstract Set<AnEnum> create(AnEnum[] elements); @Override public AnEnum[] createArray(int length) { return new AnEnum[length]; } /** Sorts the enums according to their natural ordering. */ @Override public List<AnEnum> order(List<AnEnum> insertionOrder) { sort(insertionOrder); return insertionOrder; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 1.7K bytes - Viewed (0) -
internal/s3select/sql/stringfuncs.go
r := []rune(text) if len(r) == 0 { return "", false } return string(r[1:]), true } func evalSQLSubstring(s string, startIdx, length int) (res string, err error) { rs := []rune(s) // According to s3 document, if startIdx < 1, it is set to 1. if startIdx < 1 { startIdx = 1 } if startIdx > len(rs) { startIdx = len(rs) + 1 } // StartIdx is 1-based in the input startIdx--
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 4.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ExplicitOrdering.java
package com.google.common.collect; import com.google.common.annotations.GwtCompatible; import java.io.Serializable; import java.util.List; import javax.annotation.CheckForNull; /** An ordering that compares objects according to a given order. */ @GwtCompatible(serializable = true) @ElementTypesAreNonnullByDefault final class ExplicitOrdering<T> extends Ordering<T> implements Serializable { final ImmutableMap<T, Integer> rankMap;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sun Jun 20 14:22:42 UTC 2021 - 2K bytes - Viewed (0) -
guava/src/com/google/common/collect/ExplicitOrdering.java
package com.google.common.collect; import com.google.common.annotations.GwtCompatible; import java.io.Serializable; import java.util.List; import javax.annotation.CheckForNull; /** An ordering that compares objects according to a given order. */ @GwtCompatible(serializable = true) @ElementTypesAreNonnullByDefault final class ExplicitOrdering<T> extends Ordering<T> implements Serializable { final ImmutableMap<T, Integer> rankMap;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sun Jun 20 14:22:42 UTC 2021 - 2K bytes - Viewed (0) -
guava/src/com/google/common/base/Objects.java
* * <ul> * <li>{@code true} if {@code a} and {@code b} are both null. * <li>{@code true} if {@code a} and {@code b} are both non-null and they are equal according to * {@link Object#equals(Object)}. * <li>{@code false} in all other situations. * </ul> * * <p>This assumes that any non-null objects passed to this function conform to the {@code
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jul 22 19:03:12 UTC 2024 - 3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-HostnamesCommon.kt
address[b++] = value.toByte() } // Check for too few groups. We wanted exactly four. return b == addressOffset + 4 } /** Encodes an IPv6 address in canonical form according to RFC 5952. */ internal fun inet6AddressToAscii(address: ByteArray): String { // Go through the address looking for the longest run of 0s. Each group is 2-bytes. // A run must be longer than one group (section 4.2.2).
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 11.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSetMultimap.java
builder.put(k1, v1); return builder.build(); } /** * Returns an immutable multimap containing the given entries, in order. Repeated occurrences of * an entry (according to {@link Object#equals}) after the first are ignored. */ public static <K, V> ImmutableSetMultimap<K, V> of(K k1, V v1, K k2, V v2) { ImmutableSetMultimap.Builder<K, V> builder = ImmutableSetMultimap.builder();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 25.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/LinkedHashMultiset.java
import java.util.LinkedHashMap; import org.checkerframework.checker.nullness.qual.Nullable; /** * A {@code Multiset} implementation with predictable iteration order. Its iterator orders elements * according to when the first occurrence of the element was added. When the multiset contains * multiple instances of an element, those instances are consecutive in the iteration order. If all
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 4K bytes - Viewed (0) -
internal/bucket/bandwidth/reader.go
tokens = b } } else { // all tokens go towards payload need = int(math.Min(float64(b), float64(need))) tokens = need } // reduce tokens requested according to availability av := int(r.throttle.Tokens()) if av < tokens && av > 0 { tokens = av need = int(math.Min(float64(tokens), float64(need))) } err = r.throttle.WaitN(r.ctx, tokens) if err != nil { return
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jul 12 14:57:31 UTC 2024 - 3.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeMultiset.java
import java.util.NoSuchElementException; import javax.annotation.CheckForNull; import org.checkerframework.checker.nullness.qual.Nullable; /** * A multiset which maintains the ordering of its elements, according to either their natural order * or an explicit {@link Comparator}. In all cases, this implementation uses {@link * Comparable#compareTo} or {@link Comparator#compare} instead of {@link Object#equals} to determine
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 20:24:49 UTC 2024 - 34.1K bytes - Viewed (0)