Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,418 for around (0.18 sec)

  1. guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

          synchronized (this) {
            if (executed) {
              return;
            }
            executed = true;
            list = runnables;
            runnables = null; // allow GC to free listeners even if this stays around for a while.
          }
          while (list != null) {
            executeListener(list.runnable, list.executor);
            list = list.next;
          }
        }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 15:19:38 GMT 2023
    - 20.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/escape/Escaper.java

     * escape strings and concatenate the results is if you can rule out this possibility, either by
     * splitting an existing long string into short strings adaptively around {@linkplain
     * Character#isHighSurrogate surrogate} {@linkplain Character#isLowSurrogate pairs}, or by starting
     * with short strings already known to be free of unpaired surrogates.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 01 16:02:17 GMT 2021
    - 4.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/PredecessorsFunction.java

     * }</pre>
     *
     * This works because those types each implement {@code PredecessorsFunction}. It will also work
     * with any other implementation of this interface.
     *
     * <p>If you have your own graph implementation based around a custom node type {@code MyNode},
     * which has a method {@code getParents()} that retrieves its predecessors in a graph:
     *
     * <pre>{@code
     * someGraphAlgorithm(startNode, MyNode::getParents);
     * }</pre>
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 26 17:43:39 GMT 2021
    - 4.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/SuccessorsFunction.java

     * }</pre>
     *
     * This works because those types each implement {@code SuccessorsFunction}. It will also work with
     * any other implementation of this interface.
     *
     * <p>If you have your own graph implementation based around a custom node type {@code MyNode},
     * which has a method {@code getChildren()} that retrieves its successors in a graph:
     *
     * <pre>{@code
     * someGraphAlgorithm(startNode, MyNode::getChildren);
     * }</pre>
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 26 17:43:39 GMT 2021
    - 4.3K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/Platform.java

      static <E> Set<E> newHashSetWithExpectedSize(int expectedSize) {
        return Sets.newHashSetWithExpectedSize(expectedSize);
      }
    
      static <E> Set<E> newConcurrentHashSet() {
        // GWT's ConcurrentHashMap is a wrapper around HashMap, but it rejects null keys, which matches
        // the behaviour of the non-GWT implementation of newConcurrentHashSet().
        // On the other hand HashSet might be better for code size if apps aren't
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jun 29 18:16:45 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  6. tensorflow/c/eager/immediate_execution_tensor_handle.h

    #include "tensorflow/core/framework/types.pb.h"
    #include "tensorflow/core/platform/status.h"
    
    namespace tensorflow {
    
    // Abstract interface to a TensorHandle.
    //
    // A TensorHandle is management class around a Tensor which may track additional
    // metadata and synchronization.
    //
    // This allows us to hide concrete implementations of TensorHandle from header
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Mar 10 21:56:24 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/RegularImmutableMultiset.java

      }
    
      @GwtIncompatible
      private static class SerializedForm implements Serializable {
        final Object[] elements;
        final int[] counts;
    
        // "extends Object" works around https://github.com/typetools/checker-framework/issues/3013
        SerializedForm(Multiset<? extends Object> multiset) {
          int distinct = multiset.entrySet().size();
          elements = new Object[distinct];
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/CollectCollectors.java

                    }),
            (accum, t) -> {
              /*
               * We assign these to variables before calling checkNotNull to work around a bug in our
               * nullness checker.
               */
              K key = keyFunction.apply(t);
              V newValue = valueFunction.apply(t);
              accum.put(
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 16:21:40 GMT 2024
    - 16.7K bytes
    - Viewed (0)
  9. internal/disk/directio_unsupported.go

    // For more information on why typical DirectIO semantics do not apply to ZFS
    // see this ZFS-on-Linux commit message:
    // https://github.com/openzfs/zfs/commit/a584ef26053065f486d46a7335bea222cb03eeea
    
    // OpenFileDirectIO wrapper around os.OpenFile nothing special
    func OpenFileDirectIO(filePath string, flag int, perm os.FileMode) (*os.File, error) {
    	return os.OpenFile(filePath, flag, perm)
    }
    
    // DisableDirectIO is a no-op
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Oct 18 18:08:15 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/AbstractSetMultimap.java

    import java.util.Set;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Basic implementation of the {@link SetMultimap} interface. It's a wrapper around {@link
     * AbstractMapBasedMultimap} that converts the returned collections into {@code Sets}. The {@link
     * #createCollection} method must return a {@code Set}.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 21:08:00 GMT 2021
    - 4.8K bytes
    - Viewed (0)
Back to top