Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for unchanged (1.79 sec)

  1. src/bytes/bytes.go

    // If s doesn't start with prefix, s is returned unchanged.
    func TrimPrefix(s, prefix []byte) []byte {
    	if HasPrefix(s, prefix) {
    		return s[len(prefix):]
    	}
    	return s
    }
    
    // TrimSuffix returns s without the provided trailing suffix string.
    // If s doesn't end with suffix, s is returned unchanged.
    func TrimSuffix(s, suffix []byte) []byte {
    	if HasSuffix(s, suffix) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  2. src/cmd/cgo/doc.go

    not be compiled separately, but, if these header files are changed,
    the package (including its non-Go source files) will be recompiled.
    Note that changes to files in other directories do not cause the package
    to be recompiled, so all non-Go source code for the package should be
    stored in the package directory, not in subdirectories.
    The default C and C++ compilers may be changed by the CC and CXX
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/asm/parse.go

    	}
    }
    
    // qualifySymbol returns name as a package-qualified symbol name. If
    // name starts with a period, qualifySymbol prepends the package
    // prefix. Otherwise it returns name unchanged.
    func (p *Parser) qualifySymbol(name string) string {
    	if strings.HasPrefix(name, ".") {
    		name = p.pkgPrefix + name
    	}
    	return name
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  4. doc/godebug.md

    This setting will be removed in a future release, Go 1.24 at the earliest.
    
    Go 1.22 changed the default minimum TLS version supported by both servers
    and clients to TLS 1.2. The default can be reverted to TLS 1.0 using the
    [`tls10server` setting](/pkg/crypto/tls/#Config).
    
    Go 1.22 changed the default TLS cipher suites used by clients and servers when
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Apr 16 17:29:58 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  5. doc/go_mem.html

    could discard <code>i</code> without saving a copy and then reload
    <code>i = *p</code> just before
    <code>funcs[i]()</code>.
    A Go compiler must not, because the value of <code>*p</code> may have changed.
    (Instead, the compiler could spill <code>i</code> to the stack.)
    </p>
    
    <p>
    Not allowing a single write to write multiple values also means not using
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Mar 04 15:54:42 GMT 2024
    - 26.6K bytes
    - Viewed (0)
Back to top