Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for unknown (0.25 sec)

  1. src/cmd/cgo/internal/swig/testdata/callback/main.go

    package main
    
    import (
    	"fmt"
    	"os"
    )
    
    func main() {
    	if len(os.Args) != 2 {
    		fatal("usage: callback testname")
    	}
    	switch os.Args[1] {
    	default:
    		fatal("unknown test %q", os.Args[1])
    	case "Call":
    		testCall()
    	case "Callback":
    		testCallback()
    	}
    	println("OK")
    }
    
    func fatal(f string, args ...any) {
    	fmt.Fprintln(os.Stderr, fmt.Sprintf(f, args...))
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:07 GMT 2023
    - 1K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/swig/swig_test.go

    func run(t *testing.T, dir string, lto bool, args ...string) {
    	runArgs := append([]string{"run", "."}, args...)
    	cmd := exec.Command("go", runArgs...)
    	cmd.Dir = dir
    	if lto {
    		const cflags = "-flto -Wno-lto-type-mismatch -Wno-unknown-warning-option"
    		cmd.Env = append(cmd.Environ(),
    			"CGO_CFLAGS="+cflags,
    			"CGO_CXXFLAGS="+cflags,
    			"CGO_LDFLAGS="+cflags)
    	}
    	out, err := cmd.CombinedOutput()
    	if string(out) != "OK\n" {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:07 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  3. misc/wasm/go_wasip1_wasm_exec

    		;;
    	"wasmtime" | "")
    		exec wasmtime run --dir=/ --env PWD="$PWD" --env PATH="$PATH" -W max-wasm-stack=1048576 ${GOWASIRUNTIMEARGS:-} "$1" "${@:2}"
    		;;
    	*)
    		echo "Unknown Go WASI runtime specified: $GOWASIRUNTIME"
    		exit 1
    		;;
    Shell Script
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 17:09:10 GMT 2024
    - 797 bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/line_test.go

    		// Test AVX512 suffixes.
    		{"VADDPD.A X0, X1, X2", `unknown suffix "A"`},
    		{"VADDPD.A.A X0, X1, X2", `unknown suffix "A"; duplicate suffix "A"`},
    		{"VADDPD.A.A.A X0, X1, X2", `unknown suffix "A"; duplicate suffix "A"`},
    		{"VADDPD.A.B X0, X1, X2", `unknown suffix "A"; unknown suffix "B"`},
    		{"VADDPD.Z.A X0, X1, X2", `Z suffix should be the last; unknown suffix "A"`},
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  5. api/go1.5.txt

    pkg go/constant, const Float Kind
    pkg go/constant, const Int = 3
    pkg go/constant, const Int Kind
    pkg go/constant, const String = 2
    pkg go/constant, const String Kind
    pkg go/constant, const Unknown = 0
    pkg go/constant, const Unknown Kind
    pkg go/constant, func BinaryOp(Value, token.Token, Value) Value
    pkg go/constant, func BitLen(Value) int
    pkg go/constant, func BoolVal(Value) bool
    pkg go/constant, func Bytes(Value) []uint8
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Jul 30 21:14:09 GMT 2015
    - 46.6K bytes
    - Viewed (0)
  6. 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 23 11:13:09 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
  7. api/go1.13.txt

    pkg syscall (netbsd-arm64-cgo), const DT_REG ideal-int
    pkg syscall (netbsd-arm64-cgo), const DT_SOCK = 12
    pkg syscall (netbsd-arm64-cgo), const DT_SOCK ideal-int
    pkg syscall (netbsd-arm64-cgo), const DT_UNKNOWN = 0
    pkg syscall (netbsd-arm64-cgo), const DT_UNKNOWN ideal-int
    pkg syscall (netbsd-arm64-cgo), const DT_WHT = 14
    pkg syscall (netbsd-arm64-cgo), const DT_WHT ideal-int
    pkg syscall (netbsd-arm64-cgo), const E2BIG = 7
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Aug 08 18:44:16 GMT 2019
    - 452.6K bytes
    - Viewed (0)
  8. src/archive/tar/reader_test.go

    			r := testNonEmptyReader{strings.NewReader(maker.makeReg.str)}
    			fr = &regFileReader{r, maker.makeReg.size}
    			fr = &sparseFileReader{fr, sph, 0}
    		default:
    			t.Fatalf("test %d, unknown make operation: %T", i, maker)
    		}
    
    		for j, tf := range v.tests {
    			switch tf := tf.(type) {
    			case testRead:
    				b := make([]byte, tf.cnt)
    				n, err := fr.Read(b)
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Nov 21 21:14:38 GMT 2022
    - 47.1K bytes
    - Viewed (0)
  9. 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 23 11:13:09 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  10. src/archive/tar/common.go

    		}
    	case fm&fs.ModeNamedPipe != 0:
    		h.Typeflag = TypeFifo
    	case fm&fs.ModeSocket != 0:
    		return nil, fmt.Errorf("archive/tar: sockets not supported")
    	default:
    		return nil, fmt.Errorf("archive/tar: unknown file mode %v", fm)
    	}
    	if fm&fs.ModeSetuid != 0 {
    		h.Mode |= c_ISUID
    	}
    	if fm&fs.ModeSetgid != 0 {
    		h.Mode |= c_ISGID
    	}
    	if fm&fs.ModeSticky != 0 {
    		h.Mode |= c_ISVTX
    	}
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
Back to top