Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 405 for sizing (0.34 sec)

  1. src/cmd/compile/internal/types2/api.go

    type Error struct {
    	Pos  syntax.Pos // error position
    	Msg  string     // default error message, user-friendly
    	Full string     // full error message, for debugging (may contain internal details)
    	Soft bool       // if set, error is "soft"
    	Code Code       // error code
    }
    
    // Error returns an error string formatted as follows:
    // filename:line:column: message
    func (err Error) Error() string {
    	return fmt.Sprintf("%s: %s", err.Pos, err.Msg)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 13:48:53 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/UnsignedLongs.java

        return parseUnsignedLong(string, 10);
      }
    
      /**
       * Returns the unsigned {@code long} value represented by a string with the given radix.
       *
       * <p><b>Java 8+ users:</b> use {@link Long#parseUnsignedLong(String, int)} instead.
       *
       * @param string the string containing the unsigned {@code long} representation to be parsed.
       * @param radix the radix to use while parsing {@code string}
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/Booleans.java

       */
      public static String join(String separator, boolean... array) {
        checkNotNull(separator);
        if (array.length == 0) {
          return "";
        }
    
        // For pre-sizing a builder, just get the right order of magnitude
        StringBuilder builder = new StringBuilder(array.length * 7);
        builder.append(array[0]);
        for (int i = 1; i < array.length; i++) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/primitives/Booleans.java

       */
      public static String join(String separator, boolean... array) {
        checkNotNull(separator);
        if (array.length == 0) {
          return "";
        }
    
        // For pre-sizing a builder, just get the right order of magnitude
        StringBuilder builder = new StringBuilder(array.length * 7);
        builder.append(array[0]);
        for (int i = 1; i < array.length; i++) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  5. src/go/types/api.go

    }
    
    // Error returns an error string formatted as follows:
    // filename:line:column: message
    func (err Error) Error() string {
    	return fmt.Sprintf("%s: %s", err.Fset.Position(err.Pos), err.Msg)
    }
    
    // An ArgumentError holds an error associated with an argument index.
    type ArgumentError struct {
    	Index int
    	Err   error
    }
    
    func (e *ArgumentError) Error() string { return e.Err.Error() }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/io/ByteSource.java

        }
    
        @Override
        public String read() throws IOException {
          // Reading all the data as a byte array is more efficient than the default read()
          // implementation because:
          // 1. the string constructor can avoid an extra copy most of the time by correctly sizing the
          //    internal char array (hard to avoid using StringBuilder)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 26.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/Floats.java

       * are expected.
       *
       * @param string the string representation of a {@code float} value
       * @return the floating point value represented by {@code string}, or {@code null} if {@code
       *     string} has a length of zero or cannot be parsed as a {@code float} value
       * @throws NullPointerException if {@code string} is {@code null}
       * @since 14.0
       */
      @GwtIncompatible // regular expressions
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 29 15:43:06 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/ByteSource.java

        }
    
        @Override
        public String read() throws IOException {
          // Reading all the data as a byte array is more efficient than the default read()
          // implementation because:
          // 1. the string constructor can avoid an extra copy most of the time by correctly sizing the
          //    internal char array (hard to avoid using StringBuilder)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 26.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/primitives/Floats.java

       * are expected.
       *
       * @param string the string representation of a {@code float} value
       * @return the floating point value represented by {@code string}, or {@code null} if {@code
       *     string} has a length of zero or cannot be parsed as a {@code float} value
       * @throws NullPointerException if {@code string} is {@code null}
       * @since 14.0
       */
      @GwtIncompatible // regular expressions
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 29 15:43:06 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/Shorts.java

      }
    
      private static final class ShortConverter extends Converter<String, Short>
          implements Serializable {
        static final Converter<String, Short> INSTANCE = new ShortConverter();
    
        @Override
        protected Short doForward(String value) {
          return Short.decode(value);
        }
    
        @Override
        protected String doBackward(Short value) {
          return value.toString();
        }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 25.1K bytes
    - Viewed (0)
Back to top