Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 303 for Schuck (0.13 sec)

  1. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

     *       verified or created.
     *   <li>If a new edge needs to be created, the outgoing edges of the acquired locks are traversed
     *       to check for a cycle that reaches the lock to be acquired. If no cycle is detected, a new
     *       "safe" edge is created.
     *   <li>If a cycle is detected, an "unsafe" (cyclic) edge is created to represent a potential
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 35.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

      @CheckForNull
      transient ImmutableSortedSet<E> descendingSet;
    
      /** @since 12.0 */
      @GwtIncompatible // NavigableSet
      @Override
      public ImmutableSortedSet<E> descendingSet() {
        // racy single-check idiom
        ImmutableSortedSet<E> result = descendingSet;
        if (result == null) {
          result = descendingSet = createDescendingSet();
          result.descendingSet = this;
        }
        return result;
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Multisets.java

        if (object == multiset) {
          return true;
        }
        if (object instanceof Multiset) {
          Multiset<?> that = (Multiset<?>) object;
          /*
           * We can't simply check whether the entry sets are equal, since that
           * approach fails when a TreeMultiset has a comparator that returns 0
           * when passed unequal elements.
           */
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        assertEquals(0, stats.missCount());
        assertEquals(0, stats.loadSuccessCount());
        assertEquals(0, stats.loadExceptionCount());
        assertEquals(0, stats.hitCount());
    
        // Sanity check:
        assertFalse(currentThread().interrupted());
    
        Exception expected = assertThrows(ExecutionException.class, () -> cache.get(new Object()));
        assertThat(expected).hasCauseThat().isSameInstanceAs(e);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/AbstractStreamingHasher.java

        this.bufferSize = bufferSize;
        this.chunkSize = chunkSize;
      }
    
      /** Processes the available bytes of the buffer (at most {@code chunk} bytes). */
      protected abstract void process(ByteBuffer bb);
    
      /**
       * This is invoked for the last bytes of the input, which are not enough to fill a whole chunk.
       * The passed {@code ByteBuffer} is guaranteed to be non-empty.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 7.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/LineBufferTest.java

                  }
                });
    
        for (int chunk : CHUNK_SIZES) {
          chunk = Math.max(1, Math.min(chunk, input.length()));
          assertEquals(expectProcess, bufferHelper(input, chunk));
          assertEquals(expectRead, readUsingJava(input, chunk));
          assertEquals(expectRead, readUsingReader(input, chunk, true));
          assertEquals(expectRead, readUsingReader(input, chunk, false));
        }
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/graph/InvalidatableSetTest.java

      public void testEquals() {
        // sanity check on construction of copyOfWrappedSet
        assertThat(wrappedSet).isEqualTo(copyOfWrappedSet);
    
        // test that setToTest is still valid
        assertThat(setToTest).isEqualTo(wrappedSet);
        assertThat(setToTest).isEqualTo(copyOfWrappedSet);
    
        // invalidate setToTest
        wrappedSet.remove(1);
        // sanity check on update of wrappedSet
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/graph/InvalidatableSetTest.java

      public void testEquals() {
        // sanity check on construction of copyOfWrappedSet
        assertThat(wrappedSet).isEqualTo(copyOfWrappedSet);
    
        // test that setToTest is still valid
        assertThat(setToTest).isEqualTo(wrappedSet);
        assertThat(setToTest).isEqualTo(copyOfWrappedSet);
    
        // invalidate setToTest
        wrappedSet.remove(1);
        // sanity check on update of wrappedSet
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java

        // Later attempts to set the future should return false.
        assertFalse(future.set(23));
        assertFalse(future.setException(new Exception("bar")));
        assertFalse(future.setFuture(SettableFuture.<Integer>create()));
        // Check that the future has been set properly.
        assertTrue(future.isDone());
        assertFalse(future.isCancelled());
        assertEquals(42, (int) future.get());
      }
    
      public void testSetException() throws Exception {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.3K bytes
    - Viewed (1)
  10. android/guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java

        // Later attempts to set the future should return false.
        assertFalse(future.set(23));
        assertFalse(future.setException(new Exception("bar")));
        assertFalse(future.setFuture(SettableFuture.<Integer>create()));
        // Check that the future has been set properly.
        assertTrue(future.isDone());
        assertFalse(future.isCancelled());
        assertEquals(42, (int) future.get());
      }
    
      public void testSetException() throws Exception {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.3K bytes
    - Viewed (0)
Back to top