Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 90 for content_es (0.47 sec)

  1. src/net/http/response_test.go

    	{true, false},
    	{true, true},
    }
    
    type readerAndCloser struct {
    	io.Reader
    	io.Closer
    }
    
    // TestReadResponseCloseInMiddle tests that closing a body after
    // reading only part of its contents advances the read to the end of
    // the request, right up until the next request.
    func TestReadResponseCloseInMiddle(t *testing.T) {
    	t.Parallel()
    	for _, test := range readResponseCloseInMiddleTests {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 19:01:29 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  2. src/archive/tar/common.go

    	// "SCHILY.xattr." namespace.
    	//
    	// The following are semantically equivalent:
    	//  h.Xattrs[key] = value
    	//  h.PAXRecords["SCHILY.xattr."+key] = value
    	//
    	// When Writer.WriteHeader is called, the contents of Xattrs will take
    	// precedence over those in PAXRecords.
    	//
    	// Deprecated: Use PAXRecords instead.
    	Xattrs map[string]string
    
    	// PAXRecords is a map of PAX extended header records.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 16:01:50 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  3. src/io/io.go

    	UnreadRune() error
    }
    
    // StringWriter is the interface that wraps the WriteString method.
    type StringWriter interface {
    	WriteString(s string) (n int, err error)
    }
    
    // WriteString writes the contents of the string s to w, which accepts a slice of bytes.
    // If w implements [StringWriter], [StringWriter.WriteString] is invoked directly.
    // Otherwise, [Writer.Write] is called exactly once.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:34:10 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  4. src/crypto/internal/mlkem768/mlkem768.go

    			return T{}, errors.New("mlkem768: invalid polynomial encoding")
    		}
    		b = b[3:]
    	}
    	return f, nil
    }
    
    // sliceForAppend takes a slice and a requested number of bytes. It returns a
    // slice with the contents of the given slice followed by that many bytes and a
    // second slice that aliases into it and contains only the extra bytes. If the
    // original slice has sufficient capacity then no allocation is performed.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  5. src/image/png/reader.go

    		return FormatError("not a PNG file")
    	}
    	return nil
    }
    
    // Decode reads a PNG image from r and returns it as an [image.Image].
    // The type of Image returned depends on the PNG contents.
    func Decode(r io.Reader) (image.Image, error) {
    	d := &decoder{
    		r:   r,
    		crc: crc32.NewIEEE(),
    	}
    	if err := d.checkHeader(); err != nil {
    		if err == io.EOF {
    			err = io.ErrUnexpectedEOF
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 26K bytes
    - Viewed (0)
  6. src/crypto/tls/handshake_client.go

    		if !bytes.Equal(hs.serverHello.secureRenegotiation, expectedSecureRenegotiation[:]) {
    			c.sendAlert(alertHandshakeFailure)
    			return false, errors.New("tls: incorrect renegotiation extension contents")
    		}
    	}
    
    	if err := checkALPN(hs.hello.alpnProtocols, hs.serverHello.alpnProtocol, false); err != nil {
    		c.sendAlert(alertUnsupportedExtension)
    		return false, err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 38.6K bytes
    - Viewed (0)
  7. src/internal/types/testdata/check/builtins0.go

    	var t []interface{}
    	t = append(t, 42, 3.1415, "foo")   //                             t == []interface{}{42, 3.1415, "foo"}
    
    	var b []byte
    	b = append(b, "bar"...)            // append string contents      b == []byte{'b', 'a', 'r' }
    
    	_ = s4
    }
    
    func append3() {
    	f1 := func() (s []int) { return }
    	f2 := func() (s []int, x int) { return }
    	f3 := func() (s []int, x, y int) { return }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  8. src/cmd/go/internal/work/build.go

    		The file is a JSON struct with a single field, named 'Replace', that
    		maps each disk file path (a string) to its backing file path, so that
    		a build will run as if the disk file path exists with the contents
    		given by the backing file paths, or as if the disk file path does not
    		exist if its backing file path is empty. Support for the -overlay flag
    		has some limitations: importantly, cgo files included from outside the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 17:22:59 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  9. src/net/http/client.go

    	if sub == parent {
    		return true
    	}
    	// If sub contains a :, it's probably an IPv6 address (and is definitely not a hostname).
    	// Don't check the suffix in this case, to avoid matching the contents of a IPv6 zone.
    	// For example, "::1%.www.example.com" is not a subdomain of "www.example.com".
    	if strings.ContainsAny(sub, ":%") {
    		return false
    	}
    	// If sub is "foo.example.com" and parent is "example.com",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 06:06:11 UTC 2024
    - 33.7K bytes
    - Viewed (0)
  10. src/debug/elf/file.go

    	// may have a nil ReaderAt.
    	io.ReaderAt
    	sr *io.SectionReader
    
    	compressionType   CompressionType
    	compressionOffset int64
    }
    
    // Data reads and returns the contents of the ELF section.
    // Even if the section is stored compressed in the ELF file,
    // Data returns uncompressed data.
    //
    // For an [SHT_NOBITS] section, Data always returns a non-nil error.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 23 16:49:58 UTC 2024
    - 43.1K bytes
    - Viewed (0)
Back to top