Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for compresse (0.21 sec)

  1. cmd/object-api-utils.go

    	dnsDelimiter = "."
    	// On compressed files bigger than this;
    	compReadAheadSize = 100 << 20
    	// Read this many buffers ahead.
    	compReadAheadBuffers = 5
    	// Size of each buffer.
    	compReadAheadBufSize = 1 << 20
    	// Pad Encrypted+Compressed files to a multiple of this.
    	compPadEncrypted = 256
    	// Disable compressed file indices below this size
    	compMinIndexSize = 8 << 20
    )
    
    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)
  2. src/archive/zip/writer.go

    	return err
    }
    
    // RegisterCompressor registers or overrides a custom compressor for a specific
    // method ID. If a compressor for a given method is not found, [Writer] will
    // default to looking up the compressor at the package level.
    func (w *Writer) RegisterCompressor(method uint16, comp Compressor) {
    	if w.compressors == nil {
    		w.compressors = make(map[uint16]Compressor)
    	}
    	w.compressors[method] = comp
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 04 14:28:57 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/http2/Http2Test.kt

        frame.writeByte(Http2.TYPE_DATA)
        frame.writeByte(FLAG_COMPRESSED)
        frame.writeInt(expectedStreamId and 0x7fffffff)
        zipped.readAll(frame)
        assertFailsWith<IOException> {
          reader.nextFrame(requireSettings = false, BaseTestHandler())
        }.also { expected ->
          assertThat(expected.message)
            .isEqualTo("PROTOCOL_ERROR: FLAG_COMPRESSED without SETTINGS_COMPRESS_DATA")
        }
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 28.1K bytes
    - Viewed (0)
  4. docs/changelogs/changelog_4x.md

        compressing outbound web socket messages. Configure this with 0L to always compress outbound
        messages and `Long.MAX_VALUE` to never compress outbound messages. The default is 1024L which
        compresses messages of size 1 KiB and larger. (Inbound messages are compressed or not based on
        the web socket server's configuration.)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 17 13:25:31 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  5. cmd/data-usage-cache.go

    		return io.ErrUnexpectedEOF
    	}
    	ver := int(b[0])
    	switch ver {
    	case dataUsageCacheVerV1:
    		return errors.New("cache version deprecated (will autoupdate)")
    	case dataUsageCacheVerV2:
    		// Zstd compressed.
    		dec, err := zstd.NewReader(r, zstd.WithDecoderConcurrency(2))
    		if err != nil {
    			return err
    		}
    		defer dec.Close()
    
    		dold := &dataUsageCacheV2{}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 41.4K bytes
    - Viewed (1)
  6. cmd/globals.go

    	// Some standard content-types which we strictly dis-allow for compression.
    	standardExcludeCompressContentTypes = []string{"video/*", "audio/*", "application/zip", "application/x-gzip", "application/x-zip-compressed", " application/x-compress", "application/x-spoon"}
    
    	// AuthZ Plugin system.
    	globalAuthZPlugin *polplugin.AuthZPlugin
    
    	// Deployment ID - unique per deployment
    	globalDeploymentIDPtr atomic.Pointer[string]
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Reader.kt

        // TODO: checkState open or half-closed (local) or raise STREAM_CLOSED
        val inFinished = flags and FLAG_END_STREAM != 0
        val gzipped = flags and FLAG_COMPRESSED != 0
        if (gzipped) {
          throw IOException("PROTOCOL_ERROR: FLAG_COMPRESSED without SETTINGS_COMPRESS_DATA")
        }
    
        val padding = if (flags and FLAG_PADDED != 0) source.readByte() and 0xff else 0
        val dataLength = lengthWithoutPadding(length, flags, padding)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  8. docs/it/docs/index.md

    È normalissimo **Python 3.6+**.
    
    Per esempio, per un `int`:
    
    ```Python
    item_id: int
    ```
    
    o per un modello `Item` più complesso:
    
    ```Python
    item: Item
    ```
    
    ...e con quella singola dichiarazione hai in cambio:
    
    * Supporto per gli editor di testo, incluso:
        * Autocompletamento.
        * Controllo sulle annotazioni di tipo.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 23:58:47 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  9. cmd/batch-job-common-types_gen.go

    					return
    				}
    			}
    		case "Compress":
    			if dc.IsNil() {
    				err = dc.ReadNil()
    				if err != nil {
    					err = msgp.WrapError(err, "Compress")
    					return
    				}
    				z.Compress = nil
    			} else {
    				if z.Compress == nil {
    					z.Compress = new(bool)
    				}
    				*z.Compress, err = dc.ReadBool()
    				if err != nil {
    					err = msgp.WrapError(err, "Compress")
    					return
    				}
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 02 10:51:33 GMT 2023
    - 21.9K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/-HostnamesCommon.kt

      //   compress: 6
      //          b: 10
      //      after: { 11, 11, 22, 22, 33, 33, 00, 00, 00, 00, 00, 00, 77, 77, 88, 88 }
      //
      if (b != address.size) {
        if (compress == -1) return null // Address didn't have compression or enough groups.
        address.copyInto(address, address.size - (b - compress), compress, b)
        address.fill(0.toByte(), compress, compress + (address.size - b))
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.2K bytes
    - Viewed (0)
Back to top