Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1471 - 1480 of 1,909 for Pong (0.02 sec)

  1. android/guava-tests/test/com/google/common/hash/HashingInputStreamTest.java

      public void testHash_hashesCorrectlyForSkipping() throws Exception {
        HashCode expectedHash = Hashing.md5().hashBytes(new byte[] {'m', 's'});
        HashingInputStream in = new HashingInputStream(Hashing.md5(), buffer);
    
        long numOfByteSkipped = in.skip(2);
        assertEquals(2, numOfByteSkipped);
    
        byte[] buf = new byte[4];
        int numOfByteRead = in.read(buf, 0, buf.length);
        assertEquals(2, numOfByteRead);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 02 16:24:50 UTC 2020
    - 5K bytes
    - Viewed (0)
  2. android/guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java

       * currently skipping MediumTests on Android, and we skip them by not making them present at
       * runtime at all. I could just make _this_ test a MediumTest, but then it wouldn't run on
       * Android.... The right long-term fix is probably to get MediumTests running under Android by
       * default and then suppress them strategically as needed.
       */
      public static final class ConcretePackageSanityTests extends AbstractPackageSanityTests {}
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 21:37:55 UTC 2019
    - 5.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/hash/HashingInputStreamTest.java

      public void testHash_hashesCorrectlyForSkipping() throws Exception {
        HashCode expectedHash = Hashing.md5().hashBytes(new byte[] {'m', 's'});
        HashingInputStream in = new HashingInputStream(Hashing.md5(), buffer);
    
        long numOfByteSkipped = in.skip(2);
        assertEquals(2, numOfByteSkipped);
    
        byte[] buf = new byte[4];
        int numOfByteRead = in.read(buf, 0, buf.length);
        assertEquals(2, numOfByteRead);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 02 16:24:50 UTC 2020
    - 5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/StandardRowSortedTable.java

          checkNotNull(fromKey);
          return new StandardRowSortedTable<R, C, V>(sortedBackingMap().tailMap(fromKey), factory)
              .rowMap();
        }
      }
    
      private static final long serialVersionUID = 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jul 15 15:41:16 UTC 2021
    - 4.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/EnumBiMap.java

        Serialization.populateMap(this, stream);
      }
    
      @GwtIncompatible // not needed in emulated source.
      private static final long serialVersionUID = 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Aug 24 01:40:03 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  6. docs/hotfixes.md

        write/flush after response handler has returned.
    ```
    
    ```
    λ git cherry-pick 4f3317effea38c203c358af9cb5ce3c0e4173976
    ```
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Feb 14 21:36:02 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/SynchronizedDequeTest.java

        }
    
        @Override
        public Iterator<E> descendingIterator() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.descendingIterator();
        }
    
        private static final long serialVersionUID = 0;
      }
    
      @SuppressWarnings("CheckReturnValue")
      public void testHoldsLockOnAllOperations() {
        create().element();
        create().offer("foo");
        create().peek();
        create().poll();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:23:04 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/EnumBiMap.java

        Serialization.populateMap(this, stream);
      }
    
      @GwtIncompatible // not needed in emulated source.
      private static final long serialVersionUID = 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Aug 24 01:40:03 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/RegularImmutableTable.java

          ImmutableSet<C> columnSpace) {
        // use a dense table if more than half of the cells have values
        // TODO(gak): tune this condition based on empirical evidence
        return (cellList.size() > (((long) rowSpace.size() * columnSpace.size()) / 2))
            ? new DenseImmutableTable<R, C, V>(cellList, rowSpace, columnSpace)
            : new SparseImmutableTable<R, C, V>(cellList, rowSpace, columnSpace);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/Floats.java

       * @throws IllegalArgumentException if the total number of elements in {@code arrays} does not fit
       *     in an {@code int}
       */
      public static float[] concat(float[]... arrays) {
        long length = 0;
        for (float[] array : arrays) {
          length += array.length;
        }
        float[] result = new float[checkNoOverflow(length)];
        int pos = 0;
        for (float[] array : arrays) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 25.8K bytes
    - Viewed (0)
Back to top