Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 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/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)
  3. pkg/apis/batch/validation/validation_test.go

    		`MST7MDT`,
    		`Navajo`,
    		`NZ`,
    		`NZ-CHAT`,
    		`Pacific/Apia`,
    		`Pacific/Auckland`,
    		`Pacific/Bougainville`,
    		`Pacific/Chatham`,
    		`Pacific/Chuuk`,
    		`Pacific/Easter`,
    		`Pacific/Efate`,
    		`Pacific/Enderbury`,
    		`Pacific/Fakaofo`,
    		`Pacific/Fiji`,
    		`Pacific/Funafuti`,
    		`Pacific/Galapagos`,
    		`Pacific/Gambier`,
    		`Pacific/Guadalcanal`,
    		`Pacific/Guam`,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 20:49:09 UTC 2024
    - 124.3K bytes
    - Viewed (0)
  4. src/net/http/transport_test.go

    		buf := make([]byte, len(rgz))
    		if n, err := io.ReadFull(res.Body, buf); err != nil {
    			t.Errorf("%d. ReadFull = %v, %v", i, n, err)
    		}
    		// Note: no res.Body.Close call. It should work without it,
    		// since the flate.Reader's internal buffering will hit EOF
    		// and that should be sufficient.
    	}
    	a1, a2 := <-addr, <-addr
    	if a1 != a2 {
    		t.Fatalf("didn't reuse connection")
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
Back to top