Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1571 - 1580 of 2,054 for longs (0.02 sec)

  1. guava-tests/test/com/google/common/collect/Collections2Test.java

        assertEquals(
            Integer.MAX_VALUE,
            Collections2.orderedPermutations(newArrayList(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13))
                .size());
        // 21 elements overflow a long
        assertEquals(
            Integer.MAX_VALUE,
            Collections2.orderedPermutations(
                    newArrayList(
                        1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21))
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 10:16:44 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/math/PairedStats.java

        this.xStats = xStats;
        this.yStats = yStats;
        this.sumOfProductsOfDeltas = sumOfProductsOfDeltas;
      }
    
      /** Returns the number of pairs in the dataset. */
      public long count() {
        return xStats.count();
      }
    
      /** Returns the statistics on the {@code x} values alone. */
      public Stats xStats() {
        return xStats;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 17:02:53 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformer.java

         * of String).
         */
        protected Class<?> dataClass = null;
    
        protected LoadingCache<String, XPathAPI> xpathAPICache;
    
        protected long cacheDuration = 10; // min
    
        @Resource
        public void init() {
            xpathAPICache =
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top