Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 27 of 27 for Gully (0.2 sec)

  1. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        for (int i = 0; i < 100000; i++) {
          SettableFuture<String> curr = SettableFuture.create();
          prev.setFuture(curr);
          prev = curr;
        }
        // orig is the 'outermost future', this should propagate fully down the stack of futures.
        orig.cancel(true);
        assertTrue(orig.isCancelled());
        assertTrue(prev.isCancelled());
        assertTrue(prev.wasInterrupted());
      }
    
      public void testSetFutureSelf_cancel() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 46.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Suppliers.java

       *
       * @since 8.0
       */
      public static <T extends @Nullable Object> Function<Supplier<T>, T> supplierFunction() {
        @SuppressWarnings("unchecked") // implementation is "fully variant"
        SupplierFunction<T> sf = (SupplierFunction<T>) SupplierFunctionImpl.INSTANCE;
        return sf;
      }
    
      private interface SupplierFunction<T extends @Nullable Object> extends Function<Supplier<T>, T> {}
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/Files.java

          imports = "com.google.common.io.Files")
      public
      static HashCode hash(File file, HashFunction hashFunction) throws IOException {
        return asByteSource(file).hash(hashFunction);
      }
    
      /**
       * Fully maps a file read-only in to memory as per {@link
       * FileChannel#map(java.nio.channels.FileChannel.MapMode, long, long)}.
       *
       * <p>Files are mapped from offset 0 to its length.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/reflect/ClassPath.java

         * @since 20.0
         */
        public final CharSource asCharSource(Charset charset) {
          return Resources.asCharSource(url(), charset);
        }
    
        /** Returns the fully qualified name of the resource. Such as "com/mycomp/foo/bar.txt". */
        public final String getResourceName() {
          return resourceName;
        }
    
        /** Returns the file that includes this resource. */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 05 17:43:40 GMT 2022
    - 24.9K bytes
    - Viewed (1)
  5. android/guava/src/com/google/common/io/CharStreams.java

       * or all lines have been read and returning the result produced by the processor. Does not close
       * {@code readable}. Note that this method may not fully consume the contents of {@code readable}
       * if the processor stops processing early.
       *
       * @throws IOException if an I/O error occurs
       * @since 14.0
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Functions.java

        }
      }
    
      /**
       * Returns the identity function.
       *
       * <p><b>Discouraged:</b> Prefer using a lambda like {@code v -> v}, which is shorter and often
       * more readable.
       */
      // implementation is "fully variant"; E has become a "pass-through" type
      @SuppressWarnings("unchecked")
      public static <E extends @Nullable Object> Function<E, E> identity() {
        return (Function<E, E>) IdentityFunction.INSTANCE;
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ArrayTable.java

     * <p>Note that this implementation is not synchronized. If multiple threads access the same cell of
     * an {@code ArrayTable} concurrently and one of the threads modifies its value, there is no
     * guarantee that the new value will be fully visible to the other threads. To guarantee that
     * modifications are visible, synchronize access to the table. Unlike other {@code Table}
     * implementations, synchronization is unnecessary between a thread that writes to one cell and a
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 26.3K bytes
    - Viewed (0)
Back to top