Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for prototype (0.19 sec)

  1. android/guava/src/com/google/common/hash/MacHashFunction.java

      private final Mac prototype;
    
      @SuppressWarnings("Immutable") // keys are immutable, but not provably so
      private final Key key;
    
      private final String toString;
      private final int bits;
      private final boolean supportsClone;
    
      MacHashFunction(String algorithmName, Key key, String toString) {
        this.prototype = getMac(algorithmName, key);
        this.key = checkNotNull(key);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 15 22:31:55 GMT 2022
    - 3.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/MessageDigestHashFunction.java

      }
    
      MessageDigestHashFunction(String algorithmName, int bytes, String toString) {
        this.toString = checkNotNull(toString);
        this.prototype = getMessageDigest(algorithmName);
        int maxLength = prototype.getDigestLength();
        checkArgument(
            bytes >= 4 && bytes <= maxLength, "bytes (%s) must be >= 4 and < %s", bytes, maxLength);
        this.bytes = bytes;
        this.supportsClone = supportsClone(prototype);
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 25 20:32:46 GMT 2022
    - 5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Joiner.java

      }
    
      private final String separator;
    
      private Joiner(String separator) {
        this.separator = checkNotNull(separator);
      }
    
      private Joiner(Joiner prototype) {
        this.separator = prototype.separator;
      }
    
      /*
       * In this file, we use <? extends @Nullable Object> instead of <?> to work around a Kotlin bug
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 18.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Joiner.java

      }
    
      private final String separator;
    
      private Joiner(String separator) {
        this.separator = checkNotNull(separator);
      }
    
      private Joiner(Joiner prototype) {
        this.separator = prototype.separator;
      }
    
      /*
       * In this file, we use <? extends @Nullable Object> instead of <?> to work around a Kotlin bug
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 18.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/StandardTable.java

                     * the map to change between that call and this one. But if that happens, the
                     * behavior is undefined because of the concurrent mutation.)
                     *
                     * (Our prototype checker happens to be "smart" enough to understand this for the
                     * *get* call in getValue but not for the *put* call here.)
                     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 29.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Maps.java

          /*
           * requireNonNull is safe because propertyNames contains only non-null elements.
           *
           * Accordingly, we have it annotated as returning `Enumeration<? extends Object>` in our
           * prototype checker's JDK. However, the checker still sees the return type as plain
           * `Enumeration<?>`, probably because of one of the following two bugs (and maybe those two
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
Back to top