Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 30 for behavior (0.16 sec)

  1. src/bytes/bytes.go

    	// non-space bytes, so we're done. Non-ASCII cases have already
    	// been handled above.
    	if start == stop {
    		// Special case to preserve previous TrimLeftFunc behavior,
    		// returning nil instead of empty slice if all spaces.
    		return nil
    	}
    	return s[start:stop]
    }
    
    // Runes interprets s as a sequence of UTF-8-encoded code points.
    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. doc/go_mem.html

    such as those in the <a href="/pkg/sync/"><code>sync</code></a>
    and <a href="/pkg/sync/atomic/"><code>sync/atomic</code></a> packages.
    </p>
    
    <p>
    If you must read the rest of this document to understand the behavior of your program,
    you are being too clever.
    </p>
    
    <p>
    Don't be clever.
    </p>
    
    <h3 id="overview">Informal Overview</h3>
    
    <p>
    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)
  3. src/bytes/bytes_test.go

    		[]byte("\xc0a\xc0cd"),
    		[]byte("ab\xc0a\xc0")},
    	{not(isValidRune), "\xc0a\xc0",
    		[]byte("a"),
    		[]byte("a\xc0"),
    		[]byte("\xc0a")},
    	// The nils returned by TrimLeftFunc are odd behavior, but we need
    	// to preserve backwards compatibility.
    	{isSpace, "",
    		nil,
    		nil,
    		[]byte("")},
    	{isSpace, " ",
    		nil,
    		nil,
    		[]byte("")},
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  4. src/cmd/cgo/gcc.go

    	// Coerce gcc into telling us whether each name is a type, a value, or undeclared.
    	// For names, find out whether they are integer constants.
    	// We used to look at specific warning or error messages here, but that tied the
    	// behavior too closely to specific versions of the compilers.
    	// Instead, arrange that we can infer what we need from only the presence or absence
    	// of an error on a specific line.
    	//
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  5. src/archive/tar/reader.go

    // and the GODEBUG environment variable contains `tarinsecurepath=0`,
    // Next returns the header with an [ErrInsecurePath] error.
    // A future version of Go may introduce this behavior by default.
    // Programs that want to accept non-local names can ignore
    // the [ErrInsecurePath] error and use the returned header.
    func (tr *Reader) Next() (*Header, error) {
    	if tr.err != nil {
    		return nil, tr.err
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  6. doc/go_spec.html

    interface{ ~[]byte | myString }           // bytestring
    </pre>
    
    <p>
    Note that <code>bytestring</code> is not a real type; it cannot be used to declare
    variables or compose other types. It exists solely to describe the behavior of some
    operations that read from a sequence of bytes, which may be a byte slice or a string.
    </p>
    
    <h3 id="Type_identity">Type identity</h3>
    
    <p>
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  7. .github/ISSUE_TEMPLATE/02-pkgsite-removal.yml

          label: "What is the reason that you could not retract this package instead?"
          description: |
            Requesting we remove a module here only hides the generated documentation on pkg.go.dev.
            It does not affect the behaviour of proxy.golang.org or the go command.
            Instead we recommend using the retract directive which will be processed by all 3 of the above.
    
            If you have deleted your repo, please recreate it and publish a retraction.
    
    Others
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Jan 04 23:31:17 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  8. doc/next/6-stdlib/1-time.md

    Such code should use a non-blocking receive instead.
    
    These new behaviors are only enabled when the main Go program
    is in a module with a `go.mod` `go` line using Go 1.23.0 or later.
    When Go 1.23 builds older programs, the old behaviors remain in effect.
    The new [GODEBUG setting](/doc/godebug) [`asynctimerchan=1`](/pkg/time/#NewTimer)
    can be used to revert back to asynchronous channel behaviors
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Apr 12 20:57:18 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  9. src/archive/tar/writer_test.go

    		},
    	}, {
    		// Craft a theoretically valid PAX archive with global headers.
    		// The GNU and BSD tar tools do not parse these the same way.
    		//
    		// BSD tar v3.1.2 parses and ignores all global headers;
    		// the behavior is verified by researching the source code.
    		//
    		//	$ bsdtar -tvf pax-global-records.tar
    		//	----------  0 0      0           0 Dec 31  1969 file1
    		//	----------  0 0      0           0 Dec 31  1969 file2
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Feb 27 16:39:23 GMT 2024
    - 38.7K bytes
    - Viewed (0)
  10. api/go1.4.txt

    pkg syscall (windows-amd64), func LoadCreateSymbolicLink() error
    
    # CL 149510043 net: disable SIO_UDP_CONNRESET behavior on windows., Ron Hashimoto <******@****.***>
    pkg syscall (windows-386), const SIO_UDP_CONNRESET = 2550136844
    pkg syscall (windows-386), const SIO_UDP_CONNRESET ideal-int
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Dec 12 03:01:01 GMT 2014
    - 34K bytes
    - Viewed (0)
Back to top