Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 158 for Slough (0.21 sec)

  1. android/guava/src/com/google/common/io/ByteStreams.java

       *       userspace buffer (byte[] or ByteBuffer), then copies them from that buffer into the
       *       destination channel.
       * </ol>
       *
       * This value is intended to be large enough to make the overhead of system calls negligible,
       * without being so large that it causes problems for systems with atypical memory management if
       * approaches 2 or 3 are used.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 17 18:59:58 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

        expected.addAll(index, elements);
        expectContents(expected);
      }
    
      /*
       * TODO: if we're testing a list, we could check indexOf(). (Doing it in
       * AbstractListTester isn't enough because many tests that run on lists don't
       * extends AbstractListTester.) We could also iterate over all elements to
       * verify absence
       */
      protected void expectMissing(E... elements) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/Os.java

                is9x = (actualOsName.contains("95")
                        || actualOsName.contains("98")
                        || actualOsName.contains("me")
                        // wince isn't really 9x, but crippled enough to
                        // be a muchness. Maven doesnt run on CE, anyway.
                        || actualOsName.contains("ce"));
                isNT = !is9x;
            }
            switch (family) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/CompactHashSet.java

        return set;
      }
    
      /**
       * Creates a {@code CompactHashSet} instance, with a high enough "initial capacity" that it
       * <i>should</i> hold {@code expectedSize} elements without growth.
       *
       * @param expectedSize the number of elements you expect to add to the returned set
       * @return a new, empty {@code CompactHashSet} with enough capacity to hold {@code expectedSize}
       *     elements without resizing
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 24K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Multiset.java

       * always have the same hash code.
       */
      @Override
      int hashCode();
    
      /**
       * {@inheritDoc}
       *
       * <p>It is recommended, though not mandatory, that this method return the result of invoking
       * {@link #toString} on the {@link #entrySet}, yielding a result such as {@code [a x 3, c, d x 2,
       * e]}.
       */
      @Override
      String toString();
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 19.7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/OrderingTest.java

      }
    
      public void testGreatestOfIterable_simple() {
        /*
         * If greatestOf() promised to be implemented as reverse().leastOf(), this
         * test would be enough. It doesn't... but we'll cheat and act like it does
         * anyway. There's a comment there to remind us to fix this if we change it.
         */
        List<Integer> list = Arrays.asList(3, 1, 3, 2, 4, 2, 4, 3);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/OrderingTest.java

      }
    
      public void testGreatestOfIterable_simple() {
        /*
         * If greatestOf() promised to be implemented as reverse().leastOf(), this
         * test would be enough. It doesn't... but we'll cheat and act like it does
         * anyway. There's a comment there to remind us to fix this if we change it.
         */
        List<Integer> list = Arrays.asList(3, 1, 3, 2, 4, 2, 4, 3);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/QueuesTest.java

          // if waiting works, this should get stuck
          Queues.drain(q, newArrayList(), 1, MAX_VALUE, NANOSECONDS);
          fail();
        } catch (InterruptedException expected) {
          // we indeed waited; a slow thread had enough time to interrupt us
        }
      }
    
      // same as above; uninterruptible version
      private void assertUninterruptibleDrained(BlockingQueue<Object> q) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/TempFileCreator.java

             * I'm not sure that we could actually get here for *Android*: I would expect us to enter
             * the POSIX code path instead. And if we tried this code path, we'd have trouble unless we
             * were running under a new enough version of Android to support NIO.
             *
             * So this is probably just the "Windows Java 8" case. In that case, if we wanted *another*
             * layer of fallback before consulting the system property, we could try
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 06 17:11:11 GMT 2023
    - 12.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

        ReentrantLock lockD = otherFactory.newReentrantLock("LockD");
    
        // lockA -> lockD
        lockA.lock();
        lockD.lock();
        lockA.unlock();
        lockD.unlock();
    
        // lockD -> lockA should fail even though lockD is from a different factory.
        lockD.lock();
        PotentialDeadlockException expected =
            assertThrows(PotentialDeadlockException.class, () -> lockA.lock());
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.1K bytes
    - Viewed (0)
Back to top