Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 228 for wasip1 (0.13 sec)

  1. src/os/rawconn_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.
    
    // Test use of raw connections.
    //
    //go:build !plan9 && !js && !wasip1
    
    package os_test
    
    import (
    	"os"
    	"syscall"
    	"testing"
    )
    
    func TestRawConnReadWrite(t *testing.T) {
    	t.Parallel()
    
    	r, w, err := os.Pipe()
    	if err != nil {
    		t.Fatal(err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 07 23:34:21 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  2. test/fixedbugs/issue14636.go

    // run
    
    //go:build !nacl && !js && !wasip1 && !android && gc
    
    // Copyright 2016 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 (
    	"bytes"
    	"log"
    	"os/exec"
    	"strings"
    )
    
    func main() {
    	checkLinkOutput("", "-B argument must start with 0x")
    	checkLinkOutput("0", "-B argument must start with 0x")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  3. test/fixedbugs/issue16037_run.go

    // run
    
    //go:build !nacl && !js && !wasip1 && !android && !gccgo
    
    // Copyright 2016 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 (
    	"bytes"
    	"fmt"
    	"html/template"
    	"io/ioutil"
    	"log"
    	"os"
    	"os/exec"
    	"path/filepath"
    )
    
    var tmpl = template.Must(template.New("main").Parse(`
    package main
    
    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. test/fixedbugs/issue21317.go

    // run
    
    //go:build !js && !wasip1 && gc
    
    // Copyright 2017 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.
    
    // As of "Mon 6 Nov 2017", run.go doesn't yet have proper
    // column matching so instead match the output manually
    // by exec-ing
    
    package main
    
    import (
    	"fmt"
    	"io/ioutil"
    	"log"
    	"os"
    	"os/exec"
    	"strings"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  5. src/os/stat_unix.go

    // Copyright 2016 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 unix || (js && wasm) || wasip1
    
    package os
    
    import (
    	"syscall"
    )
    
    // Stat returns the [FileInfo] structure describing file.
    // If there is an error, it will be of type [*PathError].
    func (f *File) Stat() (FileInfo, error) {
    	if f == nil {
    		return nil, ErrInvalid
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 22:38:03 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  6. src/net/sockaddr_posix.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.
    
    //go:build unix || js || wasip1 || windows
    
    package net
    
    import (
    	"syscall"
    )
    
    // A sockaddr represents a TCP, UDP, IP or Unix network endpoint
    // address that can be converted into a syscall.Sockaddr.
    type sockaddr interface {
    	Addr
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  7. src/testing/run_example.go

    // 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.
    
    //go:build !js && !wasip1
    
    // TODO(@musiol, @odeke-em): re-unify this entire file back into
    // example.go when js/wasm gets an os.Pipe implementation
    // and no longer needs this separation.
    
    package testing
    
    import (
    	"fmt"
    	"io"
    	"os"
    	"strings"
    	"time"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 20:56:32 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  8. test/fixedbugs/issue11771.go

    // run
    
    //go:build !nacl && !js && !wasip1 && gc
    
    // 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.
    
    // Issue 11771: Magic comments should ignore carriage returns.
    
    package main
    
    import (
    	"bytes"
    	"fmt"
    	"io/ioutil"
    	"log"
    	"os"
    	"os/exec"
    	"path/filepath"
    	"runtime"
    )
    
    func main() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  9. test/fixedbugs/issue33555.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.
    
    // Test that the linker permits long call sequences.
    package main
    
    import (
    	"bytes"
    	"fmt"
    	"io/ioutil"
    	"os"
    	"os/exec"
    	"path/filepath"
    	"strconv"
    )
    
    const start = `
    package main
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  10. src/net/internal/socktest/main_test.go

    // 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.
    
    //go:build !js && !plan9 && !wasip1 && !windows
    
    package socktest_test
    
    import (
    	"net/internal/socktest"
    	"os"
    	"sync"
    	"syscall"
    	"testing"
    )
    
    var sw socktest.Switch
    
    func TestMain(m *testing.M) {
    	installTestHooks()
    
    	st := m.Run()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 18:36:30 UTC 2023
    - 1.1K bytes
    - Viewed (0)
Back to top