Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for Uncompressed (0.12 sec)

  1. docs/en/docs/how-to/custom-request-and-route.md

    If there's no `gzip` in the header, it will not try to decompress the body.
    
    That way, the same route class can handle gzip compressed or uncompressed requests.
    
    {* ../../docs_src/custom_request_and_route/tutorial001.py hl[8:15] *}
    
    ### Create a custom `GzipRoute` class
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 22:39:38 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. src/archive/zip/writer.go

    			// the file needs a zip64 header. store maxint in both
    			// 32 bit size fields (and offset later) to signal that the
    			// zip64 extra header should be used.
    			b.uint32(uint32max) // compressed size
    			b.uint32(uint32max) // uncompressed size
    
    			// append a zip64 extra block to Extra
    			var buf [28]byte // 2x uint16 + 3x uint64
    			eb := writeBuf(buf[:])
    			eb.uint16(zip64ExtraID)
    			eb.uint16(24) // size = 3x uint64
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  3. src/archive/zip/writer_test.go

    		t.Errorf("unexpected method and flags: %v", b[6:10])
    	}
    
    	if !bytes.Equal(b[14:26], make([]byte, 12)) { // FileHeader.{CRC32,CompressSize,UncompressedSize} all zero.
    		t.Errorf("unexpected crc, compress and uncompressed size to be 0 was: %v", b[14:26])
    	}
    
    	binary.LittleEndian.PutUint32(sig[:], uint32(dataDescriptorSignature))
    	if bytes.Contains(b, sig[:]) {
    		t.Error("there should be no data descriptor")
    	}
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/net/InetAddresses.java

       * addresses, the output follows <a href="http://tools.ietf.org/html/rfc5952">RFC 5952</a> section
       * 4. The main difference is that this method uses "::" for zero compression, while Java's version
       * uses the uncompressed form (except on Android, where the zero compression is also done). The
       * other difference is that this method outputs any scope ID in the format that it was provided at
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/net/InetAddresses.java

       * addresses, the output follows <a href="http://tools.ietf.org/html/rfc5952">RFC 5952</a> section
       * 4. The main difference is that this method uses "::" for zero compression, while Java's version
       * uses the uncompressed form (except on Android, where the zero compression is also done). The
       * other difference is that this method outputs any scope ID in the format that it was provided at
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  6. cmd/object-handlers_test.go

    	}
    
    	globalCompressConfigMu.Lock()
    	compressEnabled := globalCompressConfig.Enabled
    	globalCompressConfigMu.Unlock()
    	if compressEnabled && !r.ObjInfo.IsCompressed() {
    		t.Errorf("Test %s: object found to be uncompressed though compression was enabled", instanceType)
    	}
    }
    
    // Wrapper for calling Copy Object Part API handler tests for both Erasure multiple disks and single node setup.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:10:44 UTC 2024
    - 163.2K bytes
    - Viewed (0)
  7. cmd/storage-datatypes.go

    	if fi.Deleted {
    		return "delete-marker"
    	}
    	if fi.XLV1 && fi.DataDir == "" {
    		return "legacy"
    	}
    	return fi.DataDir
    }
    
    // IsCompressed returns true if the object is marked as compressed.
    func (fi FileInfo) IsCompressed() bool {
    	_, ok := fi.Metadata[ReservedMetadataPrefix+"compression"]
    	return ok
    }
    
    // InlineData returns true if object contents are inlined alongside its metadata.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  8. cmd/erasure-metadata.go

    			}
    
    			// If metadata says encrypted, ask for it in quorum.
    			if etyp, ok := crypto.IsEncrypted(meta.Metadata); ok {
    				fmt.Fprint(h, etyp)
    			}
    
    			// If compressed, look for compressed FileInfo only
    			if meta.IsCompressed() {
    				fmt.Fprint(h, meta.Metadata[ReservedMetadataPrefix+"compression"])
    			}
    
    			metaHashes[i] = hex.EncodeToString(h.Sum(nil))
    			h.Reset()
    		}
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  9. cmd/erasure-multipart.go

    		index = opts.IndexCB()
    	}
    
    	actualSize := data.ActualSize()
    	if actualSize < 0 {
    		_, encrypted := crypto.IsEncrypted(fi.Metadata)
    		compressed := fi.IsCompressed()
    		switch {
    		case compressed:
    			// ... nothing changes for compressed stream.
    			// if actualSize is -1 we have no known way to
    			// determine what is the actualSize.
    		case encrypted:
    			decSize, err := sio.DecryptedSize(uint64(n))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 44.7K bytes
    - Viewed (0)
  10. cmd/object-multipart-handlers.go

    	// Read compression metadata preserved in the init multipart for the decision.
    	_, isCompressed := mi.UserDefined[ReservedMetadataPrefix+"compression"]
    	// Compress only if the compression is enabled during initial multipart.
    	var idxCb func() []byte
    	if isCompressed {
    		wantEncryption := crypto.Requested(r.Header) || isEncrypted
    		s2c, cb := newS2CompressReader(reader, actualPartSize, wantEncryption)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Aug 31 18:25:48 UTC 2024
    - 39.2K bytes
    - Viewed (0)
Back to top