Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for dsbyte (0.04 sec)

  1. cmd/object-handlers_test.go

    	bytesDataLen := 65 * humanize.KiByte
    	bytesData := bytes.Repeat([]byte{'a'}, bytesDataLen)
    	oneKData := bytes.Repeat([]byte("a"), 1*humanize.KiByte)
    
    	var err error
    
    	type streamFault int
    	const (
    		None streamFault = iota
    		malformedEncoding
    		unexpectedEOF
    		signatureMismatch
    		chunkDateMismatch
    		tooBigDecodedLength
    	)
    
    	// byte data for PutObject.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 163.1K bytes
    - Viewed (0)
  2. cmd/admin-handlers.go

    	fileSizeStr := r.Form.Get("filesize")
    
    	blockSize, err := strconv.ParseUint(blockSizeStr, 10, 64)
    	if err != nil {
    		blockSize = 4 * humanize.MiByte // default value
    	}
    
    	fileSize, err := strconv.ParseUint(fileSizeStr, 10, 64)
    	if err != nil {
    		fileSize = 1 * humanize.GiByte // default value
    	}
    
    	opts := madmin.DriveSpeedTestOpts{
    		Serial:    serial,
    		BlockSize: blockSize,
    		FileSize:  fileSize,
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 99.7K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

        val source = response.body.source()
        source.timeout().timeout(1000, TimeUnit.MILLISECONDS)
        assertThat(source.readByte()).isEqualTo('A'.code.toByte())
        assertThat(source.readByte()).isEqualTo('B'.code.toByte())
        assertThat(source.readByte()).isEqualTo('C'.code.toByte())
        assertFailsWith<SocketTimeoutException> {
          source.readByte() // If Content-Length was accurate, this would return -1 immediately.
        }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 133.2K bytes
    - Viewed (0)
  4. cmd/storage-datatypes_gen.go

    }
    
    // MarshalMsg implements msgp.Marshaler
    func (z BaseOptions) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	// map header, size 0
    	_ = z
    	o = append(o, 0x80)
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    func (z *BaseOptions) UnmarshalMsg(bts []byte) (o []byte, err error) {
    	var field []byte
    	_ = field
    	var zb0001 uint32
    	zb0001, bts, err = msgp.ReadMapHeaderBytes(bts)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 151.7K bytes
    - Viewed (0)
  5. impl/maven-core/src/test/remote-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    isBase64(byte); public static boolean isArrayByteBase64(byte[]); public static byte[] encodeBase64(byte[]); public static byte[] encodeBase64Chunked(byte[]); public byte[] decode(byte[]); public static byte[] encodeBase64(byte[], boolean); public static byte[] decodeBase64(byte[]); static byte[] discardWhitespace(byte[]); static byte[] discardNonBase64(byte[]); public byte[] encode(byte[]); static void <clinit>(); } org/codehaus/plexus/util/CachedMap.class package org.codehaus.plexus.util; public final...
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 164.6K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

        val response = client.newCall(request).execute()
        val bodySource = response.body.source()
        assertThat(bodySource.readByte()).isEqualTo('d'.code.toByte())
    
        // The second byte of this request will be delayed by 750ms so we should time out after 250ms.
        val startNanos = System.nanoTime()
        bodySource.use {
          assertFailsWith<IOException> {
            bodySource.readByte()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 147.4K bytes
    - Viewed (0)
  7. cmd/server_test.go

    	response, err := s.client.Do(request)
    	c.Assert(err, nil)
    	c.Assert(response.StatusCode, 200)
    
    	// Create a byte array of 5MB.
    	// content for the object to be uploaded.
    	data := bytes.Repeat([]byte("0123456789abcdef"), 5*humanize.MiByte/16)
    	// calculate etag of the data.
    	etagBase64 := getMD5HashBase64(data)
    
    	buffer1 := bytes.NewReader(data)
    	objectName := "test-1-object"
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 118.1K bytes
    - Viewed (0)
  8. cmd/site-replication.go

    func mergeWithCurrentLCConfig(ctx context.Context, bucket string, expLCCfg *string, updatedAt time.Time) ([]byte, error) {
    	// Get bucket config from current site
    	meta, e := globalBucketMetadataSys.GetConfigFromDisk(ctx, bucket)
    	if e != nil && !errors.Is(e, errConfigNotFound) {
    		return []byte{}, e
    	}
    	rMap := make(map[string]lifecycle.Rule)
    	var xmlName xml.Name
    	if len(meta.LifecycleConfigXML) > 0 {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 184.8K bytes
    - Viewed (1)
  9. src/main/java/jcifs/smb1/smb1/SmbFile.java

                    return getNextAddress();
                }
                final String address = queryLookup(query, "address");
                if (address != null && address.length() > 0) {
                    final byte[] ip = java.net.InetAddress.getByName(address).getAddress();
                    addresses = new UniAddress[1];
                    addresses[0] = new UniAddress(java.net.InetAddress.getByAddress(host, ip));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  10. cmd/bucket-replication.go

    		go p.AddMRFWorker()
    	}
    	for p.mrfWorkerSize > n {
    		p.mrfWorkerSize--
    		go func() { p.mrfWorkerKillCh <- struct{}{} }()
    	}
    }
    
    const (
    	minLargeObjSize = 128 * humanize.MiByte // 128MiB
    )
    
    // getWorkerCh gets a worker channel deterministically based on bucket and object names.
    // Must be able to grab read lock from p.
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 118.2K bytes
    - Viewed (0)
Back to top