Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for James (0.17 sec)

  1. src/archive/zip/reader_test.go

    	entryNames := []string{`/`, `//`, `\`, `/test.txt`}
    	var names []string
    	for _, f := range r.File {
    		names = append(names, f.Name)
    		if _, err := f.Open(); err != nil {
    			t.Errorf("Error opening %q: %v", f.Name, err)
    		}
    		if _, err := r.Open(f.Name); err == nil {
    			t.Errorf("Opening %q with fs.FS API succeeded", f.Name)
    		}
    	}
    	if !reflect.DeepEqual(names, entryNames) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  2. src/cmd/cgo/gcc.go

    			n := &Name{Go: s, C: s}
    			names = append(names, n)
    			optional[n] = true
    		}
    
    		// Otherwise, we'll need to find out from gcc.
    		names = append(names, n)
    	}
    
    	// Bypass gcc if there's nothing left to find out.
    	if len(names) == 0 {
    		return needType
    	}
    
    	// Coerce gcc into telling us whether each name is a type, a value, or undeclared.
    	// For names, find out whether they are integer constants.
    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