Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for util (0.15 sec)

  1. src/bufio/bufio_test.go

    			r:            strings.NewReader("abcdefghijklmnopqrstuvwxyz"),
    			n:            27,
    			want:         26,
    			wantErr:      io.EOF,
    			wantBuffered: 0,
    		},
    		// Any error from filling shouldn't show up until we
    		// get past the valid bytes. Here we return 5 valid bytes at the same time
    		// as an error, but test that we don't see the error from Discard.
    		{
    			name: "fill error, discard less",
    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/cgo/gcc.go

    				directive := fields[1]
    				funcName := fields[2]
    				if directive == "nocallback" {
    					fatalf("#cgo nocallback disabled until Go 1.23")
    					f.NoCallbacks[funcName] = true
    				} else if directive == "noescape" {
    					fatalf("#cgo noescape disabled until Go 1.23")
    					f.NoEscapes[funcName] = true
    				}
    			}
    		}
    	}
    	f.Preamble = strings.Join(linesOut, "\n")
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
Back to top