Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 234 for Representation (0.13 sec)

  1. guava/src/com/google/common/primitives/Chars.java

            result == (int) result,
            "the total number of elements (%s) in the arrays must fit in an int",
            result);
        return (int) result;
      }
    
      /**
       * Returns a big-endian representation of {@code value} in a 2-element byte array; equivalent to
       * {@code ByteBuffer.allocate(2).putChar(value).array()}. For example, the input value {@code
       * '\\u5432'} would yield the byte array {@code {0x54, 0x32}}.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Equivalence.java

        @Override
        public int hashCode() {
          return equivalence.hash(reference);
        }
    
        /**
         * Returns a string representation for this equivalence wrapper. The form of this string
         * representation is not specified.
         */
        @Override
        public String toString() {
          return equivalence + ".wrap(" + reference + ")";
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu May 16 14:34:47 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  3. cmd/httprange.go

    	default:
    		// rangeString contains first and last byte positions missing. eg. "bytes=-"
    		return nil, fmt.Errorf("'%s' does not have valid range value", rangeString)
    	}
    }
    
    // String returns stringified representation of range for a particular resource size.
    func (h *HTTPRangeSpec) String(resourceSize int64) string {
    	if h == nil {
    		return ""
    	}
    	off, length, err := h.GetOffsetLength(resourceSize)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 09 08:44:07 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/net/MediaType.java

      /**
       * As described in <a href="https://www.rfc-editor.org/rfc/rfc8949.html">RFC 8949</a>, this
       * constant ({@code application/cbor}) is used for the Concise Binary Object Representation (CBOR)
       * data format.
       *
       * @since NEXT
       */
      public static final MediaType CBOR = createConstant(APPLICATION_TYPE, "cbor");
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Sep 26 19:15:09 UTC 2024
    - 47.5K bytes
    - Viewed (0)
  5. cmd/api-headers.go

    	"strings"
    	"time"
    
    	"github.com/minio/minio-go/v7/pkg/tags"
    	"github.com/minio/minio/internal/crypto"
    	xhttp "github.com/minio/minio/internal/http"
    	xxml "github.com/minio/xxml"
    )
    
    // Returns a hexadecimal representation of time at the
    // time response is sent to the client.
    func mustGetRequestID(t time.Time) string {
    	return fmt.Sprintf("%X", t.UnixNano())
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 28 04:44:00 UTC 2024
    - 7K bytes
    - Viewed (0)
  6. android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

                AssertionFailedError.class,
                () ->
                    new EqualsTester().addEqualityGroup(new EqualsBasedOnToString("foo")).testEquals());
        assertThat(e).hasMessageThat().contains("toString representation");
      }
    
      private static void assertErrorMessage(Throwable e, String message) {
        // TODO(kevinb): use a Truth assertion here
        if (!e.getMessage().contains(message)) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/hash/Fingerprint2011Test.java

            .isNotEqualTo(HASH_FN.hashUnencodedChars(stringB));
        assertThat(fingerprint(stringA.getBytes(UTF_8)))
            .isNotEqualTo(fingerprint(stringB.getBytes(UTF_8)));
    
        // ISO 8859-1 only has 0-255 (ubyte) representation so throws away UTF-8 characters
        // greater than 127 (ie with their top bit set).
        // Don't attempt to do this in real code.
        assertEquals(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. internal/kms/context.go

    // A KMS implementation may bind the context to the
    // generated DEK such that the same context must be
    // provided when decrypting an encrypted DEK.
    type Context map[string]string
    
    // MarshalText returns a canonical text representation of
    // the Context.
    
    // MarshalText sorts the context keys and writes the sorted
    // key-value pairs as canonical JSON object. The sort order
    // is based on the un-escaped keys. It never returns an error.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 6K bytes
    - Viewed (0)
  9. internal/event/name.go

    	if name < objectSingleTypesEnd {
    		return 1 << (name - 1)
    	}
    	var mask uint64
    	for _, n := range name.Expand() {
    		mask |= 1 << (n - 1)
    	}
    	return mask
    }
    
    // String - returns string representation of event type.
    func (name Name) String() string {
    	switch name {
    	case BucketCreated:
    		return "s3:BucketCreated:*"
    	case BucketRemoved:
    		return "s3:BucketRemoved:*"
    	case ObjectAccessedAll:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 01 01:11:10 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  10. cmd/signature-v2.go

    // are equal. The signatures are expected to be base64 encoded strings
    // according to the AWS S3 signature V2 spec.
    func compareSignatureV2(sig1, sig2 string) bool {
    	// Decode signature string to binary byte-sequence representation is required
    	// as Base64 encoding of a value is not unique:
    	// For example "aGVsbG8=" and "aGVsbG8=\r" will result in the same byte slice.
    	signature1, err := base64.StdEncoding.DecodeString(sig1)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 12.2K bytes
    - Viewed (0)
Back to top