Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 63 for original (0.29 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/stdversion/stdversion.go

    // origin returns the original uninstantiated symbol for obj.
    func origin(obj types.Object) types.Object {
    	switch obj := obj.(type) {
    	case *types.Var:
    		return obj.Origin()
    	case *types.Func:
    		return obj.Origin()
    	case *types.TypeName:
    		if named, ok := obj.Type().(*types.Named); ok { // (don't unalias)
    			return named.Origin().Obj()
    		}
    	}
    	return obj
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. src/vendor/golang.org/x/crypto/sha3/sha3_s390x.go

    // It does not change the underlying hash state.
    func (s *asmState) Sum(b []byte) []byte {
    	if s.state != spongeAbsorbing {
    		panic("sha3: Sum after Read")
    	}
    
    	// Copy the state to preserve the original.
    	a := s.a
    
    	// Hash the buffer. Note that we don't clear it because we
    	// aren't updating the state.
    	switch s.function {
    	case sha3_224, sha3_256, sha3_384, sha3_512:
    		klmd(s.function, &a, nil, s.buf)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  9. src/os/signal/signal.go

    }
    
    func (h *handler) clear(sig int) {
    	h.mask[sig/32] &^= 1 << uint(sig&31)
    }
    
    // Stop relaying the signals, sigs, to any channels previously registered to
    // receive them and either reset the signal handlers to their original values
    // (action=disableSignal) or ignore the signals (action=ignoreSignal).
    func cancel(sigs []os.Signal, action func(int)) {
    	handlers.Lock()
    	defer handlers.Unlock()
    
    	remove := func(n int) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  10. src/syscall/rlimit.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build unix
    
    package syscall
    
    import (
    	"sync/atomic"
    )
    
    // origRlimitNofile, if non-nil, is the original soft RLIMIT_NOFILE.
    var origRlimitNofile atomic.Pointer[Rlimit]
    
    // Some systems set an artificially low soft limit on open file count, for compatibility
    // with code that uses select and its hard-coded maximum file descriptor
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:57 UTC 2024
    - 1.6K bytes
    - Viewed (0)
Back to top