Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 68 for Deflate (0.18 sec)

  1. cmd/admin-handlers.go

    		name:    name,
    		size:    int64(len(data)),
    		mode:    fileMode,
    		modTime: UTCNow(),
    		isDir:   false,
    		sys:     nil,
    	})
    	if zerr != nil {
    		return zerr
    	}
    	header.Method = zip.Deflate
    	zwriter, zerr := zipWriter.CreateHeader(header)
    	if zerr != nil {
    		return zerr
    	}
    	_, err := io.Copy(zwriter, bytes.NewReader(data))
    	return err
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 98K bytes
    - Viewed (0)
  2. src/net/http/request_test.go

    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.52 Safari/537.17
    Accept-Encoding: gzip,deflate,sdch
    Accept-Language: en-US,en;q=0.8
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 18:42:34 UTC 2024
    - 44K bytes
    - Viewed (0)
  3. src/net/http/transport.go

    	requestedGzip := false
    	if !pc.t.DisableCompression &&
    		req.Header.Get("Accept-Encoding") == "" &&
    		req.Header.Get("Range") == "" &&
    		req.Method != "HEAD" {
    		// Request gzip only, not deflate. Deflate is ambiguous and
    		// not as universally supported anyway.
    		// See: https://zlib.net/zlib_faq.html#faq39
    		//
    		// Note that we don't request this for HEAD requests,
    		// due to a bug in nginx:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 91K bytes
    - Viewed (0)
  4. cmd/admin-handlers-users.go

    			mode:    0o600,
    			modTime: time.Now(),
    			isDir:   false,
    			sys:     nil,
    		})
    		if zerr != nil {
    			adminLogIf(ctx, zerr)
    			return nil
    		}
    		header.Method = zip.Deflate
    		zwriter, zerr := zipWriter.CreateHeader(header)
    		if zerr != nil {
    			adminLogIf(ctx, zerr)
    			return nil
    		}
    		if _, err := io.Copy(zwriter, r); err != nil {
    			adminLogIf(ctx, err)
    		}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 28 17:19:04 UTC 2024
    - 78.6K bytes
    - Viewed (0)
  5. cmd/sts-handlers_test.go

    				mode:    0o600,
    				modTime: time.Now(),
    				isDir:   false,
    				sys:     nil,
    			})
    			if zerr != nil {
    				adminLogIf(ctx, zerr)
    				return nil
    			}
    			header.Method = zip.Deflate
    			zwriter, zerr := zipWriter.CreateHeader(header)
    			if zerr != nil {
    				adminLogIf(ctx, zerr)
    				return nil
    			}
    			if _, err := io.Copy(zwriter, r); err != nil {
    				adminLogIf(ctx, err)
    			}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 18:45:50 UTC 2024
    - 90K bytes
    - Viewed (0)
  6. src/net/http/serve_test.go

    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.52 Safari/537.17
    Accept-Encoding: gzip,deflate,sdch
    Accept-Language: en-US,en;q=0.8
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
    `)
    	res := []byte("Hello world!\n")
    
    	conn := newTestConn()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/internal/classpath/InPlaceClasspathBuilderTest.groovy

                it.put("dir/deflated.txt", "bytes".bytes, ClasspathEntryVisitor.Entry.CompressionMethod.DEFLATED)
            }
    
            then:
            def zip = new ZipTestFixture(file)
            zip.hasCompression("store.txt", ZipEntry.STORED)
            zip.hasCompression("undefined.txt", ZipEntry.DEFLATED)
            zip.hasCompression("dir/deflated.txt", ZipEntry.DEFLATED)
        }
    
        def "can construct a directory"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 09 14:05:09 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  8. platforms/core-runtime/files/src/main/java/org/gradle/api/internal/file/archive/impl/AbstractZipEntry.java

            switch (entry.getMethod()) {
                case java.util.zip.ZipEntry.STORED:
                    return ZipCompressionMethod.STORED;
                case java.util.zip.ZipEntry.DEFLATED:
                    return ZipCompressionMethod.DEFLATED;
                default:
                    return ZipCompressionMethod.OTHER;
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 12:11:00 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. cmd/import-boss/main.go

    					errs = append(errs, fmt.Errorf("%q %s %q is forbidden by %s", pkg.PkgPath, relate(imp), imp, file.path))
    					decided = true
    					break // no further rules, next file
    				}
    			}
    			if decided {
    				break // no further files, next import
    			}
    		}
    		if matched && !decided {
    			klog.V(5).Infof("%q %s %q did not match any rule", pkg, relate(imp), imp)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 12:36:49 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  10. src/compress/gzip/gzip.go

    package gzip
    
    import (
    	"compress/flate"
    	"errors"
    	"fmt"
    	"hash/crc32"
    	"io"
    	"time"
    )
    
    // These constants are copied from the flate package, so that code that imports
    // "compress/gzip" does not also have to import "compress/flate".
    const (
    	NoCompression      = flate.NoCompression
    	BestSpeed          = flate.BestSpeed
    	BestCompression    = flate.BestCompression
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:40 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top