Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 614 for constructs (0.14 sec)

  1. 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)
  2. guava/src/com/google/common/collect/RegularImmutableMap.java

                entries.length, entries, /* throwIfDuplicateKeys= */ true);
          }
        }
        return new RegularImmutableMap<>(entries, table, mask);
      }
    
      /**
       * Constructs a new entry array where each duplicated key from the original appears only once, at
       * its first position but with its final value. The {@code duplicates} map is modified.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  3. cmd/bucket-lifecycle.go

    type restoreObjStatus struct {
    	ongoing bool
    	expiry  time.Time
    }
    
    // ongoingRestoreObj constructs restoreObjStatus for an ongoing restore-object.
    func ongoingRestoreObj() restoreObjStatus {
    	return restoreObjStatus{
    		ongoing: true,
    	}
    }
    
    // completedRestoreObj constructs restoreObjStatus for a completed restore-object with given expiry.
    func completedRestoreObj(expiry time.Time) restoreObjStatus {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 23 15:35:37 UTC 2024
    - 33.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/cache/CacheStats.java

      private final long totalLoadTime;
    
      private final long evictionCount;
    
      /**
       * Constructs a new {@code CacheStats} instance.
       *
       * <p>Five parameters of the same type in a row is a bad thing, but this class is not constructed
       * by end users and is too fine-grained for a builder.
       */
      @SuppressWarnings("GoodTime") // should accept a java.time.Duration
      public CacheStats(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/CacheStats.java

      private final long totalLoadTime;
    
      private final long evictionCount;
    
      /**
       * Constructs a new {@code CacheStats} instance.
       *
       * <p>Five parameters of the same type in a row is a bad thing, but this class is not constructed
       * by end users and is too fine-grained for a builder.
       */
      @SuppressWarnings("GoodTime") // should accept a java.time.Duration
      public CacheStats(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/FinalizableReferenceQueue.java

      final ReferenceQueue<Object> queue;
    
      final PhantomReference<Object> frqRef;
    
      /** Whether or not the background thread started successfully. */
      final boolean threadStarted;
    
      /** Constructs a new queue. */
      public FinalizableReferenceQueue() {
        // We could start the finalizer lazily, but I'd rather it blow up early.
        queue = new ReferenceQueue<>();
        frqRef = new PhantomReference<>(this, queue);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jul 11 20:51:36 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  7. src/builtin/builtin.go

    // not a value, and the value returned is a pointer to a newly
    // allocated zero value of that type.
    func new(Type) *Type
    
    // The complex built-in function constructs a complex value from two
    // floating-point values. The real and imaginary parts must be of the same
    // size, either float32 or float64 (or assignable to them), and the return
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  8. internal/grid/types.go

    	},
    }
    
    // Recycle the underlying map.
    func (m *MSS) Recycle() {
    	if m != nil && *m != nil {
    		mssPool.Put(map[string]string(*m))
    		*m = nil
    	}
    }
    
    // ToQuery constructs a URL query string from the MSS, including "?" if there are any keys.
    func (m MSS) ToQuery() string {
    	if len(m) == 0 {
    		return ""
    	}
    	var buf strings.Builder
    	buf.WriteByte('?')
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  9. cmd/xl-storage-format_test.go

    	partInfo := ObjectPartInfo{
    		Number: partNumber,
    		Size:   partSize,
    	}
    
    	// Proceed to include new part info.
    	m.Parts[partNumber-1] = partInfo
    }
    
    // Constructs xlMetaV1Object{} for given number of parts and converts it into bytes.
    func getXLMetaBytes(totalParts int) []byte {
    	xlSampleMeta := getSampleXLMeta(totalParts)
    	xlMetaBytes, err := json.Marshal(xlSampleMeta)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

       * be made {@code static} and its instances can be safely constructed and added in the {@link
       * ServiceManager} constructor without having to close over the partially constructed {@link
       * ServiceManager} instance (i.e. avoid leaking a pointer to {@code this}).
       */
      private final ServiceManagerState state;
    
      private final ImmutableList<Service> services;
    
      /**
       * Constructs a new instance for managing the given services.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 33.5K bytes
    - Viewed (0)
Back to top