Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 100 for wasip1 (0.3 sec)

  1. src/crypto/rand/rand.go

    //   - On other Unix-like systems, Reader reads from /dev/urandom.
    //   - On Windows, Reader uses the ProcessPrng API.
    //   - On js/wasm, Reader uses the Web Crypto API.
    //   - On wasip1/wasm, Reader uses random_get from wasi_snapshot_preview1.
    var Reader io.Reader
    
    // Read is a helper function that calls Reader.Read using io.ReadFull.
    // On return, n == len(b) if and only if err == nil.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 20:02:21 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. test/fixedbugs/issue9355.go

    // run
    
    //go:build !js && !wasip1 && gc
    
    // Copyright 2014 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"fmt"
    	"io/ioutil"
    	"os"
    	"os/exec"
    	"path/filepath"
    	"regexp"
    )
    
    func main() {
    	err := os.Chdir(filepath.Join("fixedbugs", "issue9355.dir"))
    	check(err)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  3. test/fixedbugs/issue21576.go

    // run
    
    //go:build !nacl && !js && !wasip1 && !gccgo
    
    // Copyright 2019 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    //
    // Ensure that deadlock detection can still
    // run even with an import of "_ os/signal".
    
    package main
    
    import (
    	"bytes"
    	"context"
    	"io/ioutil"
    	"log"
    	"os"
    	"os/exec"
    	"path/filepath"
    	"time"
    )
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  4. src/cmd/go/internal/toolchain/exec.go

    // Copyright 2023 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build !js && !wasip1
    
    package toolchain
    
    import (
    	"cmd/go/internal/base"
    	"internal/godebug"
    	"os"
    	"os/exec"
    	"runtime"
    	"syscall"
    )
    
    // execGoToolchain execs the Go toolchain with the given name (gotoolchain),
    // GOROOT directory, and go command executable.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 19 14:42:39 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  5. test/live_uintptrkeepalive.go

    // errorcheck -0 -m -live -std
    
    //go:build !windows && !js && !wasip1
    
    // Copyright 2015 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test escape analysis and liveness inferred for uintptrkeepalive functions.
    //
    // This behavior is enabled automatically for function declarations with no
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 2K bytes
    - Viewed (0)
  6. test/linkx_run.go

    // run
    
    //go:build !nacl && !js && !wasip1 && gc
    
    // Copyright 2014 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Run the linkx test.
    
    package main
    
    import (
    	"bytes"
    	"fmt"
    	"os"
    	"os/exec"
    	"strings"
    )
    
    func main() {
    	// test(" ") // old deprecated & removed syntax
    	test("=") // new syntax
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  7. test/fixedbugs/bug369.go

    // run
    
    //go:build !nacl && !js && !wasip1 && gc
    
    // Copyright 2011 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test that compiling with optimization turned on produces faster code.
    
    package main
    
    import (
    	"fmt"
    	"io/ioutil"
    	"os"
    	"os/exec"
    	"path/filepath"
    )
    
    func main() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  8. src/cmd/go/internal/lockedfile/lockedfile_test.go

    // Copyright 2018 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // js and wasip1 do not support inter-process file locking.
    //
    //go:build !js && !wasip1
    
    package lockedfile_test
    
    import (
    	"fmt"
    	"internal/testenv"
    	"os"
    	"path/filepath"
    	"testing"
    	"time"
    
    	"cmd/go/internal/lockedfile"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:29 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  9. test/linkmain_run.go

    // run
    
    //go:build !nacl && !js && !wasip1
    
    // Copyright 2014 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Run the sinit test.
    
    package main
    
    import (
    	"fmt"
    	"io/ioutil"
    	"os"
    	"os/exec"
    	"path/filepath"
    	"strings"
    )
    
    var tmpDir string
    
    func cleanup() {
    	os.RemoveAll(tmpDir)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  10. test/fixedbugs/issue26411.go

    // run
    
    //go:build !nacl && !js && !wasip1
    
    // Copyright 2018 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Ensure that label redefinition errors print out
    // a column number that matches the start of the current label's
    // definition instead of the label delimiting token ":"
    
    package main
    
    import (
    	"bytes"
    	"fmt"
    	"io/ioutil"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1.9K bytes
    - Viewed (0)
Back to top