Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Dec (7.22 sec)

  1. src/bytes/example_test.go

    	// Output: Hello world!
    }
    
    func ExampleBuffer_reader() {
    	// A Buffer can turn a string or a []byte into an io.Reader.
    	buf := bytes.NewBufferString("R29waGVycyBydWxlIQ==")
    	dec := base64.NewDecoder(base64.StdEncoding, buf)
    	io.Copy(os.Stdout, dec)
    	// Output: Gophers rule!
    }
    
    func ExampleBuffer_Bytes() {
    	buf := bytes.Buffer{}
    	buf.Write([]byte{'h', 'e', 'l', 'l', 'o', ' ', 'w', 'o', 'r', 'l', 'd'})
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Mar 04 15:54:40 GMT 2024
    - 15K bytes
    - Viewed (1)
  2. src/archive/tar/writer_test.go

    		// 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
    		//	----------  0 0      0           0 Dec 31  1969 file3
    		//	----------  0 0      0           0 May 13  2014 file4
    		//
    		// GNU tar v1.27.1 applies global headers to subsequent records,
    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)
  3. src/cmd/api/main_test.go

    		var stdPackages []string
    		importMap := make(map[string]map[string]string)
    		importDir := make(map[string]string)
    		dec := json.NewDecoder(bytes.NewReader(out))
    		for {
    			var pkg struct {
    				ImportPath, Dir string
    				ImportMap       map[string]string
    				Standard        bool
    			}
    			err := dec.Decode(&pkg)
    			if err == io.EOF {
    				break
    			}
    			if err != nil {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
Back to top