- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 187 for Bell (0.44 sec)
-
android/guava/src/com/google/common/cache/Striped64.java
boolean collide = false; // True if last slot nonempty for (; ; ) { Cell[] as; Cell a; int n; long v; if ((as = cells) != null && (n = as.length) > 0) { if ((a = as[(n - 1) & h]) == null) { if (busy == 0) { // Try to attach new Cell Cell r = new Cell(x); // Optimistically create if (busy == 0 && casBusy()) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 17:40:56 GMT 2024 - 11.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableTable.java
checkNotNull(cell.getValue(), "value"); @SuppressWarnings("unchecked") // all supported methods are covariant Cell<R, C, V> immutableCell = (Cell<R, C, V>) cell; cells.add(immutableCell); } else { put(cell.getRowKey(), cell.getColumnKey(), cell.getValue()); } return this; } /**
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 17.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/TableCollectorsTest.java
}); try { Cell<String, String, @Nullable Integer> cell = immutableCell("one", "uno", null); Stream.of((Cell<String, String, Integer>) cell).collect(collector); fail("Expected NullPointerException"); } catch (NullPointerException expected) { } } public void testToTableConflict() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Mar 05 16:03:18 GMT 2024 - 11.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TableCollectionTest.java
} @Override public Set<Cell<String, Integer, Character>> create(Object... elements) { Table<String, Integer, Character> table = createTable(); for (Object element : elements) { @SuppressWarnings("unchecked") Cell<String, Integer, Character> cell = (Cell<String, Integer, Character>) element; table.put(cell.getRowKey(), cell.getColumnKey(), cell.getValue()); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 19 20:34:55 GMT 2024 - 35.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/MacHashFunctionTest.java
} public void testHashing() throws Exception { for (String stringToTest : INPUTS) { for (Table.Cell<String, SecretKey, HashFunction> cell : ALGORITHMS.cellSet()) { String algorithm = cell.getRowKey(); SecretKey key = cell.getColumnKey(); HashFunction hashFunc = cell.getValue(); assertMacHashing(HashTestUtils.ascii(stringToTest), algorithm, key, hashFunc); } } }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 13.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/RegularImmutableTableTest.java
import com.google.common.annotations.GwtCompatible; import com.google.common.collect.Table.Cell; /** * @author Gregory Kick */ @GwtCompatible @ElementTypesAreNonnullByDefault public class RegularImmutableTableTest extends AbstractImmutableTableTest { private static final ImmutableSet<Cell<Character, Integer, String>> CELLS = ImmutableSet.of( Tables.immutableCell('a', 1, "foo"),
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 19 20:34:55 GMT 2024 - 6.3K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/api/services/model/ModelUrlNormalizer.java
/** * Normalizes URLs to remove the ugly parent references "../" that got potentially inserted by URL adjustment during * model inheritance. * */ public interface ModelUrlNormalizer { /** * Normalizes the well-known URLs of the specified model. * * @param model The model whose URLs should be normalized, may be {@code null}. * @param request The model building request that holds further settings, must not be {@code null}.
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 1.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestUnhashableCollectionGenerator.java
import com.google.common.collect.testing.SampleElements.Unhashables; import java.util.Collection; import java.util.List; /** * Creates collections containing unhashable sample elements, to be tested. * * @author Regina O'Dell */ @GwtCompatible @ElementTypesAreNonnullByDefault public abstract class TestUnhashableCollectionGenerator<T extends Collection<UnhashableObject>> implements TestCollectionGenerator<UnhashableObject> { @Override
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 1.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/net/HostAndPortTest.java
/** * Tests for {@link HostAndPort} * * @author Paul Marks */ @GwtCompatible public class HostAndPortTest extends TestCase { public void testFromStringWellFormed() { // Well-formed inputs. checkFromStringCase("google.com", 80, "google.com", 80, false); checkFromStringCase("google.com", 80, "google.com", 80, false); checkFromStringCase("192.0.2.1", 82, "192.0.2.1", 82, false);
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Mon Apr 17 11:19:47 GMT 2023 - 10K bytes - Viewed (0) -
guava/src/com/google/common/collect/Interner.java
/** * Provides similar behavior to {@link String#intern} for any immutable type. Common implementations * are available from the {@link Interners} class. * * <p>Note that {@code String.intern()} has some well-known performance limitations, and should * generally be avoided. Prefer {@link Interners#newWeakInterner} or another {@code Interner} * implementation even for {@code String} interning. * * @author Kevin Bourrillion
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Mar 13 14:30:51 GMT 2023 - 2K bytes - Viewed (0)