Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for len (0.78 sec)

  1. src/go/ast/example_test.go

    	//     50  .  FileStart: 1:1
    	//     51  .  FileEnd: 5:3
    	//     52  .  Scope: *ast.Scope {
    	//     53  .  .  Objects: map[string]*ast.Object (len = 1) {
    	//     54  .  .  .  "main": *(obj @ 11)
    	//     55  .  .  }
    	//     56  .  }
    	//     57  .  Unresolved: []*ast.Ident (len = 1) {
    	//     58  .  .  0: *(obj @ 29)
    	//     59  .  }
    	//     60  .  GoVersion: ""
    	//     61  }
    }
    
    func ExamplePreorder() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 21:44:50 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  2. src/crypto/tls/example_test.go

    	"os"
    	"time"
    )
    
    // zeroSource is an io.Reader that returns an unlimited number of zero bytes.
    type zeroSource struct{}
    
    func (zeroSource) Read(b []byte) (n int, err error) {
    	clear(b)
    	return len(b), nil
    }
    
    func ExampleDial() {
    	// Connecting with a custom root-certificate set.
    
    	const rootPEM = `
    -- GlobalSign Root R2, valid until Dec 15, 2021
    -----BEGIN CERTIFICATE-----
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 18:23:49 UTC 2024
    - 7.8K bytes
    - Viewed (0)
Back to top