Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for Friend (0.2 sec)

  1. guava/src/com/google/common/collect/Interners.java

      public static <E> Interner<E> newWeakInterner() {
        return newBuilder().weak().build();
      }
    
      @VisibleForTesting
      static final class InternerImpl<E> implements Interner<E> {
        // MapMaker is our friend, we know about this type
        @VisibleForTesting final MapMakerInternalMap<E, Dummy, ?, ?> map;
    
        private InternerImpl(MapMaker mapMaker) {
          this.map =
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Mar 13 14:30:51 GMT 2023
    - 5.9K bytes
    - Viewed (1)
  2. android/guava/src/com/google/common/collect/Interners.java

      public static <E> Interner<E> newWeakInterner() {
        return newBuilder().weak().build();
      }
    
      @VisibleForTesting
      static final class InternerImpl<E> implements Interner<E> {
        // MapMaker is our friend, we know about this type
        @VisibleForTesting final MapMakerInternalMap<E, Dummy, ?, ?> map;
    
        private InternerImpl(MapMaker mapMaker) {
          this.map =
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Mar 13 14:30:51 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/SetOperationsTest.java

        Set<String> friends = Sets.newHashSet("Tom", "Joe", "Dave");
        Set<String> enemies = Sets.newHashSet("Dick", "Harry", "Tom");
    
        Set<String> goodFriends = Sets.difference(friends, enemies);
        assertEquals(2, goodFriends.size());
    
        ImmutableSet<String> immut = Sets.difference(friends, enemies).immutableCopy();
        HashSet<String> mut = Sets.difference(friends, enemies).copyInto(new HashSet<String>());
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/SetOperationsTest.java

        Set<String> friends = Sets.newHashSet("Tom", "Joe", "Dave");
        Set<String> enemies = Sets.newHashSet("Dick", "Harry", "Tom");
    
        Set<String> goodFriends = Sets.difference(friends, enemies);
        assertEquals(2, goodFriends.size());
    
        ImmutableSet<String> immut = Sets.difference(friends, enemies).immutableCopy();
        HashSet<String> mut = Sets.difference(friends, enemies).copyInto(new HashSet<String>());
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/TempFileCreator.java

          } catch (ClassNotFoundException runningUnderAndroidOrJava8) {
            /*
             * 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.
             *
    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)
  6. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

            int len = 0;
            String str = null;
            try {
                if (useUnicode) {
                    // Unicode requires word alignment
                    if (((srcIndex - headerStart) % 2) != 0) {
                        srcIndex++;
                    }
                    for (len = 0; (srcIndex + len + 1) < srcEnd; len += 2) {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 21K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

        resetContainer();
      }
    
      /**
       * @return the contents of the container under test, for use by {@link #expectContents(Object[])
       *     expectContents(E...)} and its friends.
       */
      protected abstract Collection<E> actualContents();
    
      /**
       * Replaces the existing container under test with a new container created by the subject
       * generator.
       *
    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)
  8. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

        URLClassLoader sepLoader = new URLClassLoader(getClassPathUrls(), myLoader.getParent());
        // sepLoader is the loader that we will use to load the parallel FinalizableReferenceQueue (FRQ)
        // and friends, and that we will eventually expect to see garbage-collected. The assumption
        // is that the ClassLoader of this test is a URLClassLoader, and that it loads FRQ itself
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 16 03:24:50 GMT 2021
    - 13.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/cache/Striped64.java

       * the capacity, it is doubled in size unless some other thread
       * holds the lock. If a hashed slot is empty, and lock is
       * available, a new Cell is created. Otherwise, if the slot
       * exists, a CAS is tried.  Retries proceed by "double hashing",
       * using a secondary hash (Marsaglia XorShift) to try to find a
       * free slot.
       *
       * The table size is capped because, when there are more threads
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

           *   cause if this Future has failed.
           *
           * - And this future *has* failed: This method is called only from handleException (through
           *   getOrInitSeenExceptions). handleException tried to call setException and failed, so
           *   either this Future was cancelled (which we ruled out with the isCancelled check above),
           *   or it had already failed. (It couldn't have completed *successfully* or even had
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 15.4K bytes
    - Viewed (0)
Back to top