Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Reimplement (0.14 sec)

  1. src/bufio/example_test.go

    		fmt.Println(len(scanner.Bytes()) == 6)
    	}
    	if err := scanner.Err(); err != nil {
    		fmt.Fprintln(os.Stderr, "shouldn't see an error scanning a string")
    	}
    	// Output:
    	// true
    }
    
    // Use a Scanner to implement a simple word-count utility by scanning the
    // input as a sequence of space-delimited tokens.
    func ExampleScanner_words() {
    	// An artificial input source.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  2. src/archive/tar/stat_unix.go

    			major := uint32((dev & 0x0000ff00) >> 8)
    			minor := uint32((dev & 0x000000ff) >> 0)
    			minor |= uint32((dev & 0xffff0000) >> 8)
    			h.Devmajor, h.Devminor = int64(major), int64(minor)
    		default:
    			// TODO: Implement solaris (see https://golang.org/issue/8106)
    		}
    	}
    	return nil
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 3.2K bytes
    - Viewed (0)
Back to top