Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for unknown (0.16 sec)

  1. src/cmd/cgo/gcc.go

    		if !p.isType(c.Fun) {
    			break
    		}
    		x = c.Args[0]
    	}
    	return false
    }
    
    // isType reports whether the expression is definitely a type.
    // This is conservative--it returns false for an unknown identifier.
    func (p *Package) isType(t ast.Expr) bool {
    	switch t := t.(type) {
    	case *ast.SelectorExpr:
    		id, ok := t.X.(*ast.Ident)
    		if !ok {
    			return false
    		}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  2. src/bufio/bufio_test.go

    				t.Errorf("ReadLine returned both data and error: %s", err)
    			}
    			if isPrefix {
    				t.Errorf("ReadLine returned prefix")
    			}
    			if err != nil {
    				if err != io.EOF {
    					t.Fatalf("Got unknown error: %s", err)
    				}
    				break
    			}
    			if want := testOutput[done : done+len(line)]; !bytes.Equal(want, line) {
    				t.Errorf("Bad line at stride %d: want: %x got: %x", stride, want, line)
    			}
    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)
  3. src/archive/zip/reader_test.go

    // big.zip that contains big.file, which contains 2³²-1 zeros.
    // The big.zip file is interesting because it has no zip64 header,
    // much like the innermost zip files in the well-known 42.zip.
    //
    // biggest.zip was generated by changing isZip64 to use > uint32max
    // instead of >= uint32max and then running this program:
    //
    //	package main
    //
    //	import (
    //		"archive/zip"
    //		"bytes"
    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)
Back to top