Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 535 for Just (0.17 sec)

  1. android/guava/src/com/google/common/graph/MutableNetwork.java

       * {@code edge} will be undirected in this graph.
       *
       * <p>If this graph is directed, {@code endpoints} must be ordered.
       *
       * <p><b>{@code edge} must be unique to this graph</b>, just as a {@code Map} key must be. It must
       * also be non-null.
       *
       * <p>If either or both endpoints are not already present in this graph, this method will silently
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 26 17:43:39 GMT 2021
    - 4.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java

        }
    
        @Override
        public void run() {
          while (true) {
            try {
              Thread.sleep(everyMillis);
            } catch (InterruptedException e) {
              // ok. just stop sleeping.
            }
            if (shouldStop) {
              break;
            }
            interruptee.interrupt();
          }
        }
    
        void stopInterrupting() {
          shouldStop = true;
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/MultiInputStreamTest.java

        // https://github.com/google/guava/issues/2996
        // no data, just testing that there's no StackOverflowException
        assertEquals(-1, tenMillionEmptySources().read());
      }
    
      public void testReadArray_noStackOverflow() throws IOException {
        // https://github.com/google/guava/issues/2996
        // no data, just testing that there's no StackOverflowException
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/MultiInputStreamTest.java

        // https://github.com/google/guava/issues/2996
        // no data, just testing that there's no StackOverflowException
        assertEquals(-1, tenMillionEmptySources().read());
      }
    
      public void testReadArray_noStackOverflow() throws IOException {
        // https://github.com/google/guava/issues/2996
        // no data, just testing that there's no StackOverflowException
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/escape/Platform.java

      }
    
      /**
       * A thread-local destination buffer to keep us from creating new buffers. The starting size is
       * 1024 characters. If we grow past this we don't put it back in the threadlocal, we just keep
       * going and grow as needed.
       */
      private static final ThreadLocal<char[]> DEST_TL =
          new ThreadLocal<char[]>() {
            @Override
            protected char[] initialValue() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/EmptyImmutableSetMultimap.java

      }
    
      /*
       * TODO(b/242884182): Figure out why this helps produce the same class file when we compile most
       * of common.collect a second time with the results of the first compilation on the classpath. Or
       * just back this out once we stop doing that (which we'll do after our internal GWT setup
       * changes).
       */
      @Override
      public ImmutableMap<Object, Collection<Object>> asMap() {
        return super.asMap();
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Aug 18 16:48:17 GMT 2022
    - 1.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/CountingOutputStream.java

        out.write(b);
        count++;
      }
    
      // Overriding close() because FilterOutputStream's close() method pre-JDK8 has bad behavior:
      // it silently ignores any exception thrown by flush(). Instead, just close the delegate stream.
      // It should flush itself if necessary.
      @Override
      public void close() throws IOException {
        out.close();
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/ForwardingListenableFuture.java

     * should override one or more methods to modify the behavior of the backing future as desired per
     * the <a href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
     * <p>Most subclasses can just use {@link SimpleForwardingListenableFuture}.
     *
     * @author Shardul Deo
     * @since 4.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class ForwardingListenableFuture<V extends @Nullable Object>
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Mar 04 12:23:41 GMT 2022
    - 2.4K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

            return 0;
          }
          if (lhs == null) {
            // lhs (null) comes just before justAfterNull.
            // If rhs is b, lhs comes first.
            if (rhs.equals(justAfterNull)) {
              return -1;
            }
            return justAfterNull.compareTo(rhs);
          }
          if (rhs == null) {
            // rhs (null) comes just before justAfterNull.
            // If lhs is b, rhs comes first.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 17.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/AbstractFutureInnocuousThreadTest.java

                }
              }
            };
        System.setSecurityManager(disallowPropertySecurityManager);
    
        settableFutureClass = classReloader.loadClass(SettableFuture.class.getName());
    
        /*
         * We must keep the SecurityManager installed during the test body: It affects what kind of
         * threads ForkJoinPool.commonPool() creates.
         */
      }
    
      @Override
      protected void tearDown() throws Exception {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Dec 16 19:54:45 GMT 2020
    - 5.1K bytes
    - Viewed (0)
Back to top