Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 658 for Hill (0.16 sec)

  1. android/guava/src/com/google/common/base/Verify.java

     * whenever there is a chance the check may fail "in real life". Example:
     *
     * <pre>{@code
     * Bill bill = remoteService.getLastUnpaidBill();
     *
     * // In case bug 12345 happens again we'd rather just die
     * Verify.verify(bill.status() == Status.UNPAID,
     *     "Unexpected bill status: %s", bill.status());
     * }</pre>
     *
     * <h3>Comparison to alternatives</h3>
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon May 17 14:07:47 GMT 2021
    - 18.5K bytes
    - Viewed (0)
  2. .github/ISSUE_TEMPLATE/feature_addition_request.yaml

            These advantages can take
            [many forms](https://github.com/google/guava/wiki/PhilosophyExplained#utility), but taking
            the time to discuss them in detail will make it much clearer why this feature should be
            added to Guava.
    
    
            Please fill out the following fields to give us a better understanding of your proposed
            feature and its potential value for other Guava users.
    
      - type: textarea
        attributes:
    Others
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Nov 17 18:47:47 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ArrayTable.java

     * Finally, every possible combination of row and column keys is always considered to have a value
     * associated with it: It is not possible to "remove" a value, only to replace it with {@code null},
     * which will still appear when iterating over the table's contents in a foreach loop or a call to a
     * null-hostile method like {@link ImmutableTable#copyOf}. For alternatives, please see <a
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 26.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/CacheEvictionTest.java

        assertThat(removalListener.getCount()).isEqualTo(1);
    
        // 2 will be cached
        assertThat(cache.getUnchecked(2)).isEqualTo(2);
        assertThat(cache.asMap().keySet()).containsExactly(2);
    
        CacheTesting.processPendingNotifications(cache);
        CacheTesting.checkValidState(cache);
        assertThat(removalListener.getCount()).isEqualTo(1);
    
        // 4 will be cached
        assertThat(cache.getUnchecked(4)).isEqualTo(4);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 14.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/ByteStreamsTest.java

        Arrays.fill(b, (byte) 0);
        ByteStreams.readFully(newTestStream(10), b, 0, 0);
        assertThat(b).isEqualTo(new byte[10]);
    
        Arrays.fill(b, (byte) 0);
        ByteStreams.readFully(newTestStream(10), b, 0, 10);
        assertThat(b).isEqualTo(newPreFilledByteArray(10));
    
        Arrays.fill(b, (byte) 0);
        ByteStreams.readFully(newTestStream(10), b, 0, 5);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Utf8.java

       * Unicode 6.0. Note that this is a stronger criterion than simply whether the bytes can be
       * decoded. For example, some versions of the JDK decoder will accept "non-shortest form" byte
       * sequences, but encoding never reproduces these. Such byte sequences are <i>not</i> considered
       * well-formed.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 10 14:11:51 GMT 2023
    - 7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/hash/HashCodeTest.java

        assertEquals(0x9999999999999999L, HashCode.fromBytesNoCopy(byteArrayWith9s(8)).padToLong());
      }
    
      private static byte[] byteArrayWith9s(int size) {
        byte[] bytez = new byte[size];
        Arrays.fill(bytez, (byte) 0x99);
        return bytez;
      }
    
      public void testToString() {
        byte[] data = new byte[] {127, -128, 5, -1, 14};
        assertEquals("7f8005ff0e", HashCode.fromBytes(data).toString());
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  8. futures/listenablefuture1/src/com/google/common/util/concurrent/ListenableFuture.java

       *
       * <p>Exceptions thrown by a listener will be propagated up to the executor. Any exception thrown
       * during {@code Executor.execute} (e.g., a {@code RejectedExecutionException} or an exception
       * thrown by {@linkplain MoreExecutors#directExecutor direct execution}) will be caught and
       * logged.
       *
       * <p>Note: If your listener is lightweight -- and will not cause stack overflow by completing
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:13:41 GMT 2023
    - 8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/MutableValueGraph.java

       *
       * <p>If the graph is directed, the resultant edge will be directed; otherwise, it will be
       * undirected.
       *
       * <p>Values do not have to be unique. However, values must be non-null.
       *
       * <p>If {@code nodeU} and {@code nodeV} are not already present in this graph, this method will
       * silently {@link #addNode(Object) add} {@code nodeU} and {@code nodeV} to the graph.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 26 17:43:39 GMT 2021
    - 4.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/Futures.java

        }
    
        /**
         * Creates the {@link ListenableFuture} which will return the result of running {@code combiner}
         * when all Futures complete. {@code combiner} will run using {@code executor}.
         *
         * <p>If the combiner throws a {@code CancellationException}, the returned future will be
         * cancelled.
         *
         * <p>Canceling this Future will attempt to cancel all the component futures.
         *
         * @since 23.6
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
Back to top