- Sort Score
- Result 10 results
- Languages All
Results 441 - 450 of 615 for sata (0.02 sec)
-
FarmHashFingerprint64Test.java
real code. L78: assertEquals( L79: fingerprint(stringA.getBytes(ISO_8859_1)), fingerprint(stringB.getBytes(ISO_8859_1))); L80: } L81: L82: public void testPutNonChars() { L83: Hasher hasher = HASH_FN.newHasher(); L84: // Expected data is 0x0100010100000000 L85: hasher L86: .putBoolean(true) L87: .putBoolean(true) L88: .putBoolean(false) L89: .putBoolean(true) L90: .putBoolean(false) L91: .putBoolean(false) L92: .putBoolean(false)...github.com/google/guava/guava-tests/test/com/go...Tue Jul 23 14:22:54 UTC 2024 6.2K bytes -
SparseImmutableTable.java
com.google.common.annotations.J2ktIncompatible; L22:import com.google.errorprone.annotations.Immutable; L23:import java.util.LinkedHashMap; L24:import java.util.Map; L25:import java.util.Map.Entry; L26: L27:/** A {@code RegularImmutableTable} optimized for sparse data. */ L28:@GwtCompatible L29:@Immutable(containerOf = {"R", "C", "V"}) L30:@ElementTypesAreNonnullByDefault L31:final class SparseImmutableTable<R, C, V> extends RegularImmutableTable<R, C, V> { L32: static final ImmutableTable<Object, Object, Object>...github.com/google/guava/guava/src/com/google/co...Thu Nov 30 21:54:06 UTC 2023 5.6K bytes -
ImmutableMapTest.java
// SerializableTester L979: @SuppressWarnings("unchecked") L980: public void ignore_testSerializationNoDuplication_regularImmutableMap() throws Exception { L981: // Tests that serializing a map, its keySet, and values only writes the underlying data once. L982: L983: Entry<Integer, Integer>[] entries = (Entry<Integer, Integer>[]) new Entry<?, ?>[1000]; L984: for (int i = 0; i < 1000; i++) { L985: entries[i] = ImmutableMap.entryOf(i, i); L986: } L987: L988: ImmutableMap<Integer,...github.com/google/guava/guava-tests/test/com/go...Wed Oct 30 16:15:19 UTC 2024 41.1K bytes -
HttpHeaders.java
@since 31.0 L607: */ L608: public static final String RTT = "RTT"; L609: L610: /** L611: * The HTTP <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Save-Data">{@code L612: * Save-Data}</a> header field name. L613: * L614: * @since 31.0 L615: */ L616: public static final String SAVE_DATA = "Save-Data"; L617: L618: /** L619: * The HTTP <a L620: * href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Viewport-Width">{@code L621: * Viewport-Width}</a> header...github.com/google/guava/android/guava/src/com/g...Tue Oct 01 19:08:38 UTC 2024 35.3K bytes -
SuccessorsFunction.java
L18: L19:import com.google.common.annotations.Beta; L20:import com.google.errorprone.annotations.DoNotMock; L21: L22:/** L23: * A functional interface for <a L24: * href="https://en.wikipedia.org/wiki/Graph_(discrete_mathematics)">graph</a>-structured data. L25: * L26: * <p>This interface is meant to be used as the type of a parameter to graph algorithms (such as L27: * breadth first traversal) that only need a way of accessing the successors of a node in a graph. L28: * L29: * <h3>Usage</h3> L30: *...github.com/google/guava/android/guava/src/com/g...Mon Apr 26 17:43:39 UTC 2021 4.3K bytes -
StringsTest.java
Allow passing null array as varargs L221: public void testLenientFormat_nullArrayVarargs() { L222: assertEquals("(Object[])null", Strings.lenientFormat("%s", (Object[]) null)); L223: } L224: L225: @GwtIncompatible // GWT reflection includes less data L226: public void testLenientFormat_badArgumentToString() { L227: assertThat(Strings.lenientFormat("boiler %s plate", new ThrowsOnToString())) L228: .matches( L229: // J2kt nested class name does not use "$" L230: "boiler...github.com/google/guava/android/guava-tests/tes...Tue Sep 17 18:14:12 UTC 2024 10.4K bytes -
DenseImmutableTable.java
L25:import com.google.j2objc.annotations.WeakOuter; L26:import java.util.Map; L27:import javax.annotation.CheckForNull; L28:import org.checkerframework.checker.nullness.qual.Nullable; L29: L30:/** A {@code RegularImmutableTable} optimized for dense data. */ L31:@GwtCompatible L32:@Immutable(containerOf = {"R", "C", "V"}) L33:@ElementTypesAreNonnullByDefault L34:final class DenseImmutableTable<R, C, V> extends RegularImmutableTable<R, C, V> { L35: private final ImmutableMap<R, Integer> rowKeyToIndex;...github.com/google/guava/android/guava/src/com/g...Sat Oct 19 00:05:46 UTC 2024 10.1K bytes -
AbstractCache.java
V> valueLoader) throws ExecutionException { L50: throw new UnsupportedOperationException(); L51: } L52: L53: /** L54: * {@inheritDoc} L55: * L56: * <p>This implementation of {@code getAllPresent} lacks any insight into the internal cache data L57: * structure, and is thus forced to return the query keys instead of the cached keys. This is only L58: * possible with an unsafe cast which requires {@code keys} to actually be of type {@code K}. L59: * L60: * @since 11.0 L61: */ L62:...github.com/google/guava/android/guava/src/com/g...Tue Jun 15 18:00:07 UTC 2021 9.1K bytes -
Connection.kt
that an allocation may be released before its stream is completed. This is intended to make L66: * bookkeeping easier for the caller: releasing the allocation as soon as the terminal stream has L67: * been found. But only complete the stream once its data stream has been exhausted. L68: */ L69:interface Connection { L70: /** Returns the route used by this connection. */ L71: fun route(): Route L72: L73: /** L74: * Returns the socket that this connection is using. Returns an L75: * [SSL socke...github.com/square/okhttp/okhttp/src/main/kotlin...Wed Dec 20 23:27:07 UTC 2023 4.3K bytes -
ClassSanityTester.java
L260: * <pre> L261: * public class FooTest { L262: * L263: * private static class FooFactoryForTest { L264: * public static Foo create(String a, String b, int c, boolean d) { L265: * return Foo.builder() L266: * .setA(a) L267: * .setB(b) L268: * .setC(c) L269: * .setD(d) L270: * .build(); L271: * } L272: * } L273: * L274: * public void testEquals() { L275: * new ClassSanityTester() L276: * ...github.com/google/guava/android/guava-testlib/s...Tue Jul 23 14:18:12 UTC 2024 32.7K bytes