Search Options

Results per page
Sort
Preferred Languages
Advance

Results 671 - 680 of 870 for construct (0.92 sec)

  1. android/guava/src/com/google/common/collect/ContiguousSet.java

      @Override
      public String toString() {
        return range().toString();
      }
    
      /**
       * Not supported. {@code ContiguousSet} instances are constructed with {@link #create}. This
       * method exists only to hide {@link ImmutableSet#builder} from consumers of {@code
       * ContiguousSet}.
       *
       * @throws UnsupportedOperationException always
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/http2/Hpack.kt

        )
    
      val NAME_TO_FIRST_INDEX = nameToFirstIndex()
    
      // http://tools.ietf.org/html/draft-ietf-httpbis-header-compression-12#section-3.1
      class Reader
        @JvmOverloads
        constructor(
          source: Source,
          private val headerTableSizeSetting: Int,
          private var maxDynamicTableByteCount: Int = headerTableSizeSetting,
        ) {
          private val headerList = mutableListOf<Header>()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/HashBiMap.java

      public static <K extends @Nullable Object, V extends @Nullable Object> HashBiMap<K, V> create() {
        return create(16);
      }
    
      /**
       * Constructs a new, empty bimap with the specified expected size.
       *
       * @param expectedSize the expected number of entries
       * @throws IllegalArgumentException if the specified expected size is negative
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 36.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

                //
                // ---
                //
                // If the CAS fails, the provided callable already started running (or it is about
                // to). Our contract promises:
                //
                // 1. not to execute a new callable until the old one has returned
                //
                // If we were to cancel taskFuture, that would let the next task start while the old
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableListMultimap.java

      }
    
      // looking for of() with > 5 entries? Use the builder instead.
    
      /**
       * Returns a new builder. The generated builder is equivalent to the builder created by the {@link
       * Builder} constructor.
       */
      public static <K, V> Builder<K, V> builder() {
        return new Builder<>();
      }
    
      /**
       * Returns a new builder with a hint for how many distinct keys are expected to be added. The
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 16 20:20:32 UTC 2024
    - 19K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskQueue.kt

     *
     * Work within queues is not concurrent. This is equivalent to each queue having a dedicated thread
     * for its work; in practice a set of queues may share a set of threads to save resources.
     */
    class TaskQueue internal constructor(
      internal val taskRunner: TaskRunner,
      internal val name: String,
    ) {
      val lock: ReentrantLock = ReentrantLock()
    
      internal var shutdown = false
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbNamedPipe.java

     * is desired.
     *
     * <p><table border="1" cellpadding="3" cellspacing="0" width="100%">
     * <tr bgcolor="#ccccff">
     * <td colspan="2"><b><code>SmbNamedPipe</code> Constructor Examples</b></td>
     * <tr><td width="20%"><b>Code Sample</b></td><td><b>Description</b></td></tr>
     * <tr><td width="20%"><pre>
     * new SmbNamedPipe( "smb1://server/IPC$/PIPE/foo",
     *         SmbNamedPipe.PIPE_TYPE_RDWR |
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 7.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/CacheBuilder.java

        return new CacheBuilder<>();
      }
    
      /**
       * Constructs a new {@code CacheBuilder} instance with the settings specified in {@code spec}.
       *
       * @since 12.0
       */
      @GwtIncompatible // To be supported
      public static CacheBuilder<Object, Object> from(CacheBuilderSpec spec) {
        return spec.toCacheBuilder().lenientParsing();
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 52K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheStrategy.kt

     * for conditional GETs) or warnings to the cached response (if the cached data is potentially
     * stale).
     */
    class CacheStrategy internal constructor(
      /** The request to send on the network, or null if this call doesn't use the network. */
      val networkRequest: Request?,
      /** The cached response to return or validate; or null if this call doesn't use a cache. */
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:24:48 UTC 2024
    - 12K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

        return new LocalLoadingCache<>(builder, loader);
      }
    
      private CacheBuilder<Object, Object> createCacheBuilder() {
        return CacheBuilder.newBuilder().recordStats();
      }
    
      // constructor tests
    
      public void testComputingFunction() {
        CacheLoader<Object, Object> loader =
            new CacheLoader<Object, Object>() {
              @Override
              public Object load(Object from) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 12.4K bytes
    - Viewed (0)
Back to top