Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for history (0.39 sec)

  1. doc/godebug.md

    the defaults for the Go toolchain used to build the program,
    amended to match the Go version listed in `go.mod`,
    and then overridden by explicit `//go:debug` lines in the program.
    
    The [GODEBUG History](#history) gives the exact defaults for each Go toolchain version.
    For example, Go 1.21 introduces the `panicnil` setting,
    controlling whether `panic(nil)` is allowed;
    it defaults to `panicnil=0`, making `panic(nil)` a run-time error.
    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)
  2. src/cmd/asm/internal/lex/input.go

    		}
    	}
    	return -1
    }
    
    // invokeMacro pushes onto the input Stack a Slice that holds the macro definition with the actual
    // parameters substituted for the formals.
    // Invoking a macro does not touch the PC/line history.
    func (in *Input) invokeMacro(macro *Macro) {
    	// If the macro has no arguments, just substitute the text.
    	if macro.args == nil {
    		in.Push(NewSlice(in.Base(), in.Line(), macro.tokens))
    		return
    	}
    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/reader_test.go

    		}(i)
    	}
    	wg.Wait()
    }
    
    func TestEmptyReaderConcurrent(t *testing.T) {
    	// Test for the race detector, to verify a Read that doesn't yield any bytes
    	// is okay to use from multiple goroutines. This was our historic behavior.
    	// See golang.org/issue/7856
    	r := NewReader([]byte{})
    	var wg sync.WaitGroup
    	for i := 0; i < 5; i++ {
    		wg.Add(2)
    		go func() {
    			defer wg.Done()
    			var buf [1]byte
    			r.Read(buf[:])
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Dec 13 18:45:54 GMT 2021
    - 8K bytes
    - Viewed (0)
Back to top