Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 958 for created (0.41 sec)

  1. guava/src/com/google/common/util/concurrent/ThreadFactoryBuilder.java

        this.nameFormat = nameFormat;
        return this;
      }
    
      /**
       * Sets daemon or not for new threads created with this ThreadFactory.
       *
       * @param daemon whether or not new Threads created with this ThreadFactory will be daemon threads
       * @return this for the builder pattern
       */
      @CanIgnoreReturnValue
      public ThreadFactoryBuilder setDaemon(boolean daemon) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 10 21:56:03 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/SourceSinkFactory.java

      /** Cleans up anything created when creating the source or sink. */
      public abstract void tearDown() throws IOException;
    
      /** Factory for byte or char sources. */
      public interface SourceFactory<S, T> extends SourceSinkFactory<S, T> {
    
        /** Creates a new source containing some or all of the given data. */
        S createSource(T data) throws IOException;
      }
    
      /** Factory for byte or char sinks. */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/Striped.java

          L existing = locks.get(index);
          if (existing != null) {
            return existing;
          }
          L created = supplier.get();
          existing = locks.putIfAbsent(index, created);
          return MoreObjects.firstNonNull(existing, created);
        }
    
        @Override
        public int size() {
          return size;
        }
      }
    
      /** A bit mask were all bits are set. */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 10 20:55:18 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableMapEntry.java

       * declare it as {@code @Nullable ImmutableMapEntry[]} because our checker doesn't require newly
       * created arrays to have a {@code @Nullable} element type even when they're created directly with
       * {@code new ImmutableMapEntry[...]}, so it seems silly to insist on that only here.
       */
      @SuppressWarnings("unchecked") // Safe as long as the javadocs are followed
      static <K, V> ImmutableMapEntry<K, V>[] createEntryArray(int size) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/Striped.java

          L existing = locks.get(index);
          if (existing != null) {
            return existing;
          }
          L created = supplier.get();
          existing = locks.putIfAbsent(index, created);
          return MoreObjects.firstNonNull(existing, created);
        }
    
        @Override
        public int size() {
          return size;
        }
      }
    
      /** A bit mask were all bits are set. */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 10 20:55:18 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/Striped64.java

                Cell r = new Cell(x); // Optimistically create
                if (busy == 0 && casBusy()) {
                  boolean created = false;
                  try { // Recheck under lock
                    Cell[] rs;
                    int m, j;
                    if ((rs = cells) != null && (m = rs.length) > 0 && rs[j = (m - 1) & h] == null) {
                      rs[j] = r;
                      created = true;
                    }
                  } finally {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/math/StatsTest.java

    import com.google.common.testing.SerializableTester;
    import java.nio.ByteBuffer;
    import java.nio.ByteOrder;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@link Stats}. This tests instances created by both {@link Stats#of} and {@link
     * StatsAccumulator#snapshot}.
     *
     * @author Pete Gillin
     */
    public class StatsTest extends TestCase {
    
      public void testCount() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 28.4K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/ReserializingTestCollectionGenerator.java

          TestCollectionGenerator<E> delegate) {
        return new ReserializingTestCollectionGenerator<>(delegate);
      }
    
      @Override
      public Collection<E> create(Object... elements) {
        return reserialize(delegate.create(elements));
      }
    
      @SuppressWarnings("unchecked")
      static <T> T reserialize(T object) {
        try {
          ByteArrayOutputStream bytes = new ByteArrayOutputStream();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/cache/package-info.java

     * href="https://github.com/ben-manes/caffeine/wiki">Caffeine</a>) caching utilities.
     *
     * <p>The core interface used to represent caches is {@link Cache}. In-memory caches can be
     * configured and created using {@link CacheBuilder}, with cache entries being loaded by {@link
     * CacheLoader}. Statistics about cache performance are exposed using {@link CacheStats}.
     *
     * <p>See the Guava User Guide article on <a
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 23 19:57:03 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/ThreadFactoryBuilder.java

        this.nameFormat = nameFormat;
        return this;
      }
    
      /**
       * Sets daemon or not for new threads created with this ThreadFactory.
       *
       * @param daemon whether or not new Threads created with this ThreadFactory will be daemon threads
       * @return this for the builder pattern
       */
      @CanIgnoreReturnValue
      public ThreadFactoryBuilder setDaemon(boolean daemon) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 10 21:56:03 UTC 2023
    - 7.6K bytes
    - Viewed (0)
Back to top