Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 289 for original (0.24 sec)

  1. src/compress/gzip/gzip.go

    		Header: Header{
    			OS: 255, // unknown
    		},
    		w:          w,
    		level:      level,
    		compressor: compressor,
    	}
    }
    
    // Reset discards the [Writer] z's state and makes it equivalent to the
    // result of its original state from [NewWriter] or [NewWriterLevel], but
    // writing to w instead. This permits reusing a [Writer] rather than
    // allocating a new one.
    func (z *Writer) Reset(w io.Writer) {
    	z.init(w, z.level)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:40 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. src/crypto/tls/handshake_client_tls13.go

    	var echRetryConfigList []byte
    	if hs.echContext != nil {
    		confTranscript := cloneHash(hs.echContext.innerTranscript, hs.suite.hash)
    		confTranscript.Write(hs.serverHello.original[:30])
    		confTranscript.Write(make([]byte, 8))
    		confTranscript.Write(hs.serverHello.original[38:])
    		acceptConfirmation := hs.suite.expandLabel(
    			hs.suite.extract(hs.echContext.innerHello.random, nil),
    			"ech accept confirmation",
    			confTranscript.Sum(nil),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  3. src/internal/coverage/encodecounter/encode.go

    	if cfw.debug {
    		fmt.Fprintf(os.Stderr, "=-= writing counter segment header: %+v", cfw.csh)
    	}
    	if err := binary.Write(ws, binary.LittleEndian, cfw.csh); err != nil {
    		return err
    	}
    	// ... and finally return to the original offset.
    	if _, err := ws.Seek(off, io.SeekStart); err != nil {
    		return fmt.Errorf("error seeking in patchSegmentHeader: %v", err)
    	}
    	return nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  4. src/text/template/template.go

    // templates. The actual representation is not copied, but the name space of
    // associated templates is, so further calls to [Template.Parse] in the copy will add
    // templates to the copy but not to the original. Clone can be used to prepare
    // common templates and use them with variant definitions for other templates
    // by adding the variants after the clone is made.
    func (t *Template) Clone() (*Template, error) {
    	nt := t.copy(nil)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:57:51 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  5. src/vendor/golang.org/x/crypto/chacha20/chacha_ppc64le.s

    // Code for the perl script that generates the ppc64 assembler
    // can be found in the cryptogams repository at the link below. It is based on
    // the original from openssl.
    
    // https://github.com/dot-asm/cryptogams/commit/a60f5b50ed908e91
    
    // The differences in this and the original implementation are
    // due to the calling conventions and initialization of constants.
    
    //go:build gc && !purego
    
    #include "textflag.h"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 22:18:42 UTC 2024
    - 9K bytes
    - Viewed (0)
  6. src/strconv/ctoa.go

    // formatted according to the format fmt and precision prec.
    //
    // The format fmt and precision prec have the same meaning as in [FormatFloat].
    // It rounds the result assuming that the original was obtained from a complex
    // value of bitSize bits, which must be 64 for complex64 and 128 for complex128.
    func FormatComplex(c complex128, fmt byte, prec, bitSize int) string {
    	if bitSize != 64 && bitSize != 128 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:28 UTC 2024
    - 1K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modload/edit.go

    		gover.ModSort(roots)
    
    		// First, we extend the graph so that it includes the selected version
    		// of every root. The upgraded roots are in addition to the original
    		// roots, so we will have enough information to trace a path to each
    		// conflict we discover from one or more of the original roots.
    		mg, upgradedRoots, err := extendGraph(ctx, rootPruning, roots, selectedRoot)
    		if err != nil {
    			var tooNew *gover.TooNewError
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 21:46:32 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  8. src/hash/crc32/crc32_ppc64le.s

    // The vectorized implementation found below is a derived work
    // from code written by Anton Blanchard <******@****.***> found
    // at https://github.com/antonblanchard/crc32-vpmsum.  The original
    // is dual licensed under GPL and Apache 2.  As the copyright holder
    // for the work, IBM has contributed this new work under
    // the golang license.
    
    // Changes include porting to Go assembler with modifications for
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 12:09:50 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  9. src/encoding/pem/pem.go

    // array. The line does not include trailing whitespace or the trailing new
    // line bytes. The remainder of the byte array (also not including the new line
    // bytes) is also returned and this will always be smaller than the original
    // argument.
    func getLine(data []byte) (line, rest []byte) {
    	i := bytes.IndexByte(data, '\n')
    	var j int
    	if i < 0 {
    		i = len(data)
    		j = i
    	} else {
    		j = i + 1
    		if i > 0 && data[i-1] == '\r' {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  10. src/os/example_test.go

    		// Symlink targets are relative to the directory containing the link.
    		dstAbs = filepath.Join(filepath.Dir(linkPath), dst)
    	}
    
    	// Check that the target is correct by comparing it with os.Stat
    	// on the original target path.
    	dstInfo, err := os.Stat(dstAbs)
    	if err != nil {
    		log.Fatal(err)
    	}
    	targetInfo, err := os.Stat(targetPath)
    	if err != nil {
    		log.Fatal(err)
    	}
    	if !os.SameFile(dstInfo, targetInfo) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 17:35:49 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top