Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 256 for original (0.22 sec)

  1. src/text/template/parse/node.go

    	// tree returns the containing *Tree.
    	// It is unexported so all implementations of Node are in this package.
    	tree() *Tree
    	// writeTo writes the String output to the builder.
    	writeTo(*strings.Builder)
    }
    
    // NodeType identifies the type of a parse tree node.
    type NodeType int
    
    // Pos represents a byte position in the original input text from which
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:57:51 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  2. test/alias2.go

    func (A0) m1()  {} // ERROR "T0\.m1 already declared|redefinition of .m1."
    func (A0) m2()  {}
    
    // Type aliases and the original type name can be used interchangeably.
    var _ A0 = T0{}
    var _ T0 = A0{}
    
    // But aliases and original types cannot be used with new types based on them.
    var _ N0 = T0{} // ERROR "cannot use T0{} \(value of type T0\) as N0 value in variable declaration"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:09:14 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. src/internal/poll/sendfile_windows.go

    		// Find the number of bytes offset from curpos until the end of the file.
    		n, err = syscall.Seek(o.handle, -curpos, io.SeekEnd)
    		if err != nil {
    			return
    		}
    		// Now seek back to the original position.
    		if _, err = syscall.Seek(o.handle, curpos, io.SeekStart); err != nil {
    			return
    		}
    	}
    
    	// TransmitFile can be invoked in one call with at most
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 18:12:56 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. src/crypto/aes/aes_gcm.go

    // 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.
    func sliceForAppend(in []byte, n int) (head, tail []byte) {
    	if total := len(in) + n; cap(in) >= total {
    		head = in[:total]
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 18:23:49 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  7. src/crypto/tls/handshake_messages.go

    			return false
    		}
    	}
    
    	return true
    }
    
    func (m *clientHelloMsg) originalBytes() []byte {
    	return m.original
    }
    
    func (m *clientHelloMsg) clone() *clientHelloMsg {
    	return &clientHelloMsg{
    		original:                         slices.Clone(m.original),
    		vers:                             m.vers,
    		random:                           slices.Clone(m.random),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/instantiate.go

    // Methods attached to a *Named type are also instantiated, and associated with
    // a new *Func that has the same position as the original method, but nil function
    // scope.
    //
    // If ctxt is non-nil, it may be used to de-duplicate the instance against
    // previous instances with the same identity. As a special case, generic
    // *Signature origin types are only considered identical if they are pointer
    // equivalent, so that instantiating distinct (but possibly identical)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.7K 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/cmd/doc/pkg.go

    			return p
    		}
    	}
    	return path
    }
    
    // trim trims the directory prefix from the path, paying attention
    // to the path separator. If they are the same string or the prefix
    // is not present the original is returned. The boolean reports whether
    // the prefix is present. That path and prefix have slashes for separators.
    func trim(path, prefix string) (string, bool) {
    	if !strings.HasPrefix(path, prefix) {
    		return path, false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 08 20:15:52 UTC 2024
    - 32K bytes
    - Viewed (0)
Back to top