Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Coutts (0.17 sec)

  1. src/bufio/bufio_test.go

    	}
    	b1.Flush()
    	if w1 != 3 {
    		t.Fatalf("flush 1200 + 1389 'x's: got %d writes, want 3", w1)
    	}
    }
    
    // A writeCountingDiscard is like io.Discard and counts the number of times
    // Write is called on it.
    type writeCountingDiscard int
    
    func (w *writeCountingDiscard) Write(p []byte) (int, error) {
    	*w++
    	return len(p), nil
    }
    
    type negativeReader int
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/lex/input.go

    // The opening parenthesis has been absorbed.
    func (in *Input) argsFor(macro *Macro) map[string][]Token {
    	var args [][]Token
    	// One macro argument per iteration. Collect them all and check counts afterwards.
    	for argNum := 0; ; argNum++ {
    		tokens, tok := in.collectArgument(macro)
    		args = append(args, tokens)
    		if tok == ')' {
    			break
    		}
    	}
    	// Zero-argument macros are tricky.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  3. src/bytes/bytes.go

    	na := 0
    	for len(s) > 0 {
    		if na+1 >= n {
    			a[na] = s
    			na++
    			break
    		}
    		_, size = utf8.DecodeRune(s)
    		a[na] = s[0:size:size]
    		s = s[size:]
    		na++
    	}
    	return a[0:na]
    }
    
    // Count counts the number of non-overlapping instances of sep in s.
    // If sep is an empty slice, Count returns 1 + the number of UTF-8-encoded code points in s.
    func Count(s, sep []byte) int {
    	// special case
    	if len(sep) == 0 {
    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)
  4. doc/godebug.md

    [runtime/metrics](/pkg/runtime/metrics/) counter
    named `/godebug/non-default-behavior/<name>:events`
    that counts the number of times a particular program's
    behavior has changed based on a non-default value
    for that setting.
    For example, when `GODEBUG=http2client=0` is set,
    `/godebug/non-default-behavior/http2client:events`
    counts the number of HTTP transports that the program
    has configured without HTTP/2 support.
    
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 16 17:29:58 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  5. api/go1.16.txt

    pkg runtime/metrics, type Description struct, Name string
    pkg runtime/metrics, type Float64Histogram struct
    pkg runtime/metrics, type Float64Histogram struct, Buckets []float64
    pkg runtime/metrics, type Float64Histogram struct, Counts []uint64
    pkg runtime/metrics, type Sample struct
    pkg runtime/metrics, type Sample struct, Name string
    pkg runtime/metrics, type Sample struct, Value Value
    pkg runtime/metrics, type Value struct
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Dec 02 16:30:41 GMT 2022
    - 479.2K bytes
    - Viewed (0)
Back to top