Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Sun (0.14 sec)

  1. doc/go1.17_spec.html

    to the maximum element index plus one.
    </p>
    
    <pre>
    buffer := [10]string{}             // len(buffer) == 10
    intSet := [6]int{1, 2, 3, 5}       // len(intSet) == 6
    days := [...]string{"Sat", "Sun"}  // len(days) == 2
    </pre>
    
    <p>
    A slice literal describes the entire underlying array literal.
    Thus the length and capacity of a slice literal are the maximum
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  2. src/bufio/example_test.go

    // input as a sequence of space-delimited tokens.
    func ExampleScanner_words() {
    	// An artificial input source.
    	const input = "Now is the winter of our discontent,\nMade glorious summer by this sun of York.\n"
    	scanner := bufio.NewScanner(strings.NewReader(input))
    	// Set the split function for the scanning operation.
    	scanner.Split(bufio.ScanWords)
    	// Count the words.
    	count := 0
    	for scanner.Scan() {
    		count++
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  3. src/archive/tar/format.go

    	f.formatOctal(field[:7], chksum) // Never fails since 128776 < 262143
    	field[7] = ' '
    }
    
    // computeChecksum computes the checksum for the header block.
    // POSIX specifies a sum of the unsigned byte values, but the Sun tar used
    // signed byte values.
    // We compute and return both.
    func (b *block) computeChecksum() (unsigned, signed int64) {
    	for i, c := range b {
    		if 148 <= i && i < 156 {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 11.3K bytes
    - Viewed (0)
  4. src/archive/tar/writer_test.go

    		"0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000/file.txt",
    		"/home/support/.openoffice.org/3/user/uno_packages/cache/registry/com.sun.star.comp.deployment.executable.PackageRegistryBackend",
    	}
    
    	for i, name := range names {
    		var b bytes.Buffer
    
    		tw := NewWriter(&b)
    		if err := tw.WriteHeader(&Header{
    			Name: name,
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Feb 27 16:39:23 GMT 2024
    - 38.7K bytes
    - Viewed (0)
  5. doc/go_spec.html

    to the maximum element index plus one.
    </p>
    
    <pre>
    buffer := [10]string{}             // len(buffer) == 10
    intSet := [6]int{1, 2, 3, 5}       // len(intSet) == 6
    days := [...]string{"Sat", "Sun"}  // len(days) == 2
    </pre>
    
    <p>
    A slice literal describes the entire underlying array literal.
    Thus the length and capacity of a slice literal are the maximum
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 279.3K bytes
    - Viewed (0)
Back to top