Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for bytesData (0.77 sec)

  1. cmd/object-handlers_test.go

    		metaData      map[string]string
    	}{
    		// case - 1.
    		{bucketName, objectName, int64(len(bytesData[0].byteData)), bytesData[0].byteData, bytesData[0].md5sum, make(map[string]string)},
    
    		// case - 2.
    		// used for anonymous HTTP request test.
    		{bucketName, anonObject, int64(len(bytesData[0].byteData)), bytesData[0].byteData, bytesData[0].md5sum, make(map[string]string)},
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 163.1K bytes
    - Viewed (0)
  2. src/bytes/bytes_test.go

    			x[i] = ' '
    		} else {
    			x[i] = 'x'
    		}
    	}
    	return x
    }
    
    var bytesdata = []struct {
    	name string
    	data []byte
    }{
    	{"ASCII", makeFieldsInputASCII()},
    	{"Mixed", makeFieldsInput()},
    }
    
    func BenchmarkFields(b *testing.B) {
    	for _, sd := range bytesdata {
    		b.Run(sd.name, func(b *testing.B) {
    			for j := 1 << 4; j <= 1<<20; j <<= 4 {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Jul 28 18:13:58 UTC 2025
    - 62.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java

            buffer.put(encryptionKey);
            buffer.put(domainNameBytes);
            buffer.put((byte) 0x00); // Null terminator
    
            byte[] byteData = buffer.array();
    
            // Call the method
            int bytesRead = response.readBytesWireFormat(byteData, 0);
    
            // Assertions
            // readBytesWireFormat returns bytes processed up to null terminator
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
Back to top