Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 115 for aConstant (0.08 sec)

  1. android/guava-tests/test/com/google/common/cache/TestingCacheLoaders.java

          return count.get();
        }
      }
    
      static final class ConstantLoader<K, V> extends CacheLoader<K, V> {
        private final V constant;
    
        ConstantLoader(V constant) {
          this.constant = constant;
        }
    
        @Override
        public V load(K key) {
          return constant;
        }
      }
    
      /**
       * Returns a {@code new Object()} for every request, and increments a counter for every request.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Charsets.java

       *
       * <p><b>Note:</b> this constant is now unnecessary and should be treated as deprecated; use
       * {@link StandardCharsets#ISO_8859_1} instead.
       *
       */
      public static final Charset ISO_8859_1 = StandardCharsets.ISO_8859_1;
    
      /**
       * UTF-8: eight-bit UCS Transformation Format.
       *
       * <p><b>Note:</b> this constant is now unnecessary and should be treated as deprecated; use
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jul 25 23:55:36 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Platform.java

         * type.
         *
         * In practice, we are very unlikely to see `null`: The `WeakReference` to the enum constant
         * won't be cleared as long as the enum constant is referenced somewhere, and the enum constant
         * is referenced somewhere for as long as the enum class is loaded. *Maybe in theory* the enum
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 15 22:32:14 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/net/MediaTypeTest.java

        for (MediaType constant : getConstants()) {
          assertSame(constant, MediaType.parse(constant.toString()));
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public void testCreate_useConstants() throws Exception {
        for (MediaType constant : getConstants()) {
          assertSame(
              constant,
              MediaType.create(constant.type(), constant.subtype())
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/CompactLinkedHashMap.java

     * load on the garbage collector by only using a constant number of internal objects.
     *
     * <p>This class should not be assumed to be universally superior to {@code
     * java.util.LinkedHashMap}. Generally speaking, this class reduces object allocation and memory
     * consumption at the price of moderately increased constant factors of CPU. Only use this class
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/CharMatcher.java

       *                            8
       */
    
      // Constant matcher factory methods
    
      /**
       * Matches any character.
       *
       * @since 19.0 (since 1.0 as constant {@code ANY})
       */
      public static CharMatcher any() {
        return Any.INSTANCE;
      }
    
      /**
       * Matches no characters.
       *
       * @since 19.0 (since 1.0 as constant {@code NONE})
       */
      public static CharMatcher none() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  7. cmd/osmetric_string.go

    // Code generated by "stringer -type=osMetric -trimprefix=osMetric os-instrumented.go"; DO NOT EDIT.
    
    package cmd
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[osMetricRemoveAll-0]
    	_ = x[osMetricMkdirAll-1]
    	_ = x[osMetricMkdir-2]
    	_ = x[osMetricRename-3]
    	_ = x[osMetricOpenFileW-4]
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 15 01:09:38 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  8. cmd/storagemetric_string.go

    // Code generated by "stringer -type=storageMetric -trimprefix=storageMetric xl-storage-disk-id-check.go"; DO NOT EDIT.
    
    package cmd
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[storageMetricMakeVolBulk-0]
    	_ = x[storageMetricMakeVol-1]
    	_ = x[storageMetricListVols-2]
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Aug 12 08:38:15 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/error/ErrorBadrequrestAction.java

    public class ErrorBadrequrestAction extends FessSearchAction {
    
        // ===================================================================================
        //                                                                            Constant
        //
    
        // ===================================================================================
        //                                                                           Attribute
        //
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. internal/kms/stub.go

    	"slices"
    	"sync/atomic"
    	"time"
    
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/pkg/v3/wildcard"
    )
    
    var (
    	// StubCreatedAt is a constant timestamp for testing
    	StubCreatedAt = time.Date(2024, time.January, 1, 15, 0, 0, 0, time.UTC)
    	// StubCreatedBy is a constant created identity for testing
    	StubCreatedBy = "MinIO"
    )
    
    // NewStub returns a stub of KMS for testing
    func NewStub(defaultKeyName string) *KMS {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top