Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 110 for hex (0.11 sec)

  1. okhttp/src/test/java/okhttp3/ResponseBodyJvmTest.kt

        assertThat(body.string()).isEqualTo(text)
      }
    
      companion object {
        @JvmOverloads
        fun body(
          hex: String,
          charset: String? = null,
        ): ResponseBody {
          val mediaType = if (charset == null) null else "any/thing; charset=$charset".toMediaType()
          return hex.decodeHex().toResponseBody(mediaType)
        }
    
        fun exhaust(reader: Reader): String {
          val builder = StringBuilder()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 13K bytes
    - Viewed (0)
  2. api/go1.22.txt

    pkg encoding/base64, method (*Encoding) AppendDecode([]uint8, []uint8) ([]uint8, error) #53693
    pkg encoding/base64, method (*Encoding) AppendEncode([]uint8, []uint8) []uint8 #53693
    pkg encoding/hex, func AppendDecode([]uint8, []uint8) ([]uint8, error) #53693
    pkg encoding/hex, func AppendEncode([]uint8, []uint8) []uint8 #53693
    pkg go/ast, func NewPackage //deprecated #52463
    pkg go/ast, func Unparen(Expr) Expr #60061
    pkg go/ast, type Importer //deprecated #52463
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Jan 24 20:54:27 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  3. cmd/object-api-common.go

    	blockSizeV2 = 1 * humanize.MiByte
    
    	// Buckets meta prefix.
    	bucketMetaPrefix = "buckets"
    
    	// Deleted Buckets prefix.
    	deletedBucketsPrefix = ".deleted"
    
    	// ETag (hex encoded md5sum) of empty string.
    	emptyETag = "d41d8cd98f00b204e9800998ecf8427e"
    )
    
    // Global object layer mutex, used for safely updating object layer.
    var globalObjLayerMutex sync.RWMutex
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/testdata/ppc64.s

    	MOVW $1234567, R5               // 6405001260a5d687 or 0600001238a0d687
    	// Hex constant 0x80000001
    	MOVW $2147483649, R5            // 6405800060a50001 or 0600800038a00001
    	MOVD $2147483649, R5            // 6405800060a50001 or 0600800038a00001
    	// Hex constant 0xFFFFFFFF80000001
    	MOVD $-2147483647, R5           // 3ca0800060a50001 or 0603800038a00001
    	// Hex constant 0xFFFFFFFE00000002 (load of constant on < power10, pli on >= power10
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Apr 24 15:53:25 GMT 2024
    - 49K bytes
    - Viewed (0)
  5. cmd/auth-handler.go

    		if sha256Sum, ok := r.Form[xhttp.AmzContentSha256]; ok && len(sha256Sum) > 0 {
    			contentSHA256, err = hex.DecodeString(sha256Sum[0])
    			if err != nil {
    				return ErrContentSHA256Mismatch
    			}
    		}
    	} else if _, ok := r.Header[xhttp.AmzContentSha256]; !skipSHA256 && ok {
    		contentSHA256, err = hex.DecodeString(r.Header.Get(xhttp.AmzContentSha256))
    		if err != nil || len(contentSHA256) == 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 26K bytes
    - Viewed (0)
  6. cmd/object-api-utils.go

    		// Make sure to return etag string upto 32 length, for SSE
    		// requests ETag might be longer and the code decrypting the
    		// ETag ignores ETag in multipart ETag form i.e <hex>-N
    		return hex.EncodeToString(md5sumCurr)[:32] + "-1"
    	}
    	return hex.EncodeToString(md5sumCurr)
    }
    
    // WithEncryption sets up encrypted reader and the sealing for content md5sum
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  7. cmd/signature-v4-utils.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"bytes"
    	"crypto/hmac"
    	"encoding/hex"
    	"io"
    	"net/http"
    	"strconv"
    	"strings"
    
    	"github.com/minio/minio/internal/auth"
    	"github.com/minio/minio/internal/hash/sha256"
    	xhttp "github.com/minio/minio/internal/http"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jan 31 18:56:45 GMT 2024
    - 9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/BaseEncoding.java

     * on the receiving instance; you must store and use the new encoding instance it returns, instead.
     *
     * <pre>{@code
     * // Do NOT do this
     * BaseEncoding hex = BaseEncoding.base16();
     * hex.lowerCase(); // does nothing!
     * return hex.decode("deadbeef"); // throws an IllegalArgumentException
     * }</pre>
     *
     * <p>It is guaranteed that {@code encoding.decode(encoding.encode(x))} is always equal to {@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Mar 15 16:33:32 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  9. internal/s3select/sql/value_test.go

    			wantOK: true,
    		},
    		{
    			name: "scientific",
    			fields: fields{
    				value: []byte("3e5"),
    			},
    			want:   0,
    			wantOK: false,
    		},
    		{
    			// No support for prefixes
    			name: "hex",
    			fields: fields{
    				value: []byte("0xff"),
    			},
    			want:   0,
    			wantOK: false,
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			v := &Value{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 06 16:56:10 GMT 2023
    - 12.5K bytes
    - Viewed (0)
  10. docs_src/security/tutorial004_an_py39.py

    from fastapi.security import OAuth2PasswordBearer, OAuth2PasswordRequestForm
    from jose import JWTError, jwt
    from passlib.context import CryptContext
    from pydantic import BaseModel
    
    # to get a string like this run:
    # openssl rand -hex 32
    SECRET_KEY = "09d25e094faa6ca2556c818166b7a9563b93f7099f6f0f4caa6cf63b88e8d3e7"
    ALGORITHM = "HS256"
    ACCESS_TOKEN_EXPIRE_MINUTES = 30
    
    
    fake_users_db = {
        "johndoe": {
            "username": "johndoe",
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Mar 26 16:56:53 GMT 2024
    - 4.1K bytes
    - Viewed (0)
Back to top