Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 87 for syscall2 (0.1 sec)

  1. src/cmd/cgo/internal/testsanitizers/cc_test.go

    // configures subprocess to receive SIGKILL instead to ensure that it won't
    // leak.
    func hangProneCmd(name string, arg ...string) *exec.Cmd {
    	cmd := exec.Command(name, arg...)
    	cmd.SysProcAttr = &syscall.SysProcAttr{
    		Pdeathsig: syscall.SIGKILL,
    	}
    	return cmd
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 09 20:00:56 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  2. tools/istio-iptables/pkg/dependencies/implementation_linux.go

    		// Try to execute as-is
    		return f()
    	}
    	// Otherwise, we did execute; return the error from that execution.
    	return err
    }
    
    func mount(src, dst string) error {
    	return syscall.Mount(src, dst, "", syscall.MS_BIND|syscall.MS_RDONLY, "")
    }
    
    func (r *RealDependencies) executeXTables(cmd constants.IptablesCmd, iptVer *IptablesVersion, ignoreErrors bool, stdin io.ReadSeeker, args ...string) error {
    	mode := "without lock"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 12 20:49:10 UTC 2024
    - 12K bytes
    - Viewed (0)
  3. src/net/net.go

    	if !c.ok() {
    		return 0, syscall.EINVAL
    	}
    	n, err := c.fd.Read(b)
    	if err != nil && err != io.EOF {
    		err = &OpError{Op: "read", Net: c.fd.net, Source: c.fd.laddr, Addr: c.fd.raddr, Err: err}
    	}
    	return n, err
    }
    
    // Write implements the Conn Write method.
    func (c *conn) Write(b []byte) (int, error) {
    	if !c.ok() {
    		return 0, syscall.EINVAL
    	}
    	n, err := c.fd.Write(b)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  4. src/os/signal/doc.go

    CTRL_LOGOFF_EVENT or CTRL_SHUTDOWN_EVENT to the process, Notify will
    return syscall.SIGTERM. Unlike Control-C and Control-Break, Notify does
    not change process behavior when either CTRL_CLOSE_EVENT,
    CTRL_LOGOFF_EVENT or CTRL_SHUTDOWN_EVENT is received - the process will
    still get terminated unless it exits. But receiving syscall.SIGTERM will
    give the process an opportunity to clean up before termination.
    
    # Plan 9
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:11:00 UTC 2024
    - 11K bytes
    - Viewed (0)
  5. src/runtime/tracestack.go

    			// in a syscall, in which case it's currently not executing. gp.sched contains the most
    			// up-to-date information about where it stopped, and like case (1), we match gcallers
    			// here.
    			//
    			// (3) We're called against a gp that we're not currently executing on, but that is in
    			// a syscall, in which case gp.syscallsp != 0. gp.syscall* contains the most up-to-date
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 14:38:56 UTC 2024
    - 11K bytes
    - Viewed (0)
  6. src/internal/trace/trace_test.go

    					{"net.(*TCPListener).accept", 0},
    					{"net.(*TCPListener).Accept", 0},
    					{"main.main.func10", 0},
    				}},
    				{trace.EventStateTransition, "Goroutine Running->Syscall", []frame{
    					{"syscall.read", 0},
    					{"syscall.Read", 0},
    					{"internal/poll.ignoringEINTRIO", 0},
    					{"internal/poll.(*FD).Read", 0},
    					{"os.(*File).read", 0},
    					{"os.(*File).Read", 0},
    					{"main.main.func11", 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  7. src/syscall/syscall_linux.go

    // Note that sometimes we use a lowercase //sys name and
    // wrap it in our own nicer implementation.
    
    package syscall
    
    import (
    	"internal/itoa"
    	runtimesyscall "internal/runtime/syscall"
    	"runtime"
    	"unsafe"
    )
    
    // Pull in entersyscall/exitsyscall for Syscall/Syscall6.
    //
    // Note that this can't be a push linkname because the runtime already has a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  8. internal/kms/config.go

    package kms
    
    import (
    	"bytes"
    	"context"
    	"crypto/tls"
    	"crypto/x509"
    	"encoding/pem"
    	"errors"
    	"fmt"
    	"os"
    	"strings"
    	"sync/atomic"
    	"syscall"
    	"time"
    
    	"github.com/minio/kms-go/kes"
    	"github.com/minio/kms-go/kms"
    	"github.com/minio/pkg/v3/certs"
    	"github.com/minio/pkg/v3/ellipses"
    	"github.com/minio/pkg/v3/env"
    )
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 12 14:31:26 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  9. src/cmd/trace/regions.go

    		<td> <a href="/regionblock?{{$p}}">graph</a> <a href="/regionblock?{{$p}}&raw=1" download="block.profile">(download)</a></td>
    	</tr>
    	<tr>
    		<td>Syscall profile:</td>
    		<td> <a href="/regionsyscall?{{$p}}">graph</a> <a href="/regionsyscall?{{$p}}&raw=1" download="syscall.profile">(download)</a></td>
    	</tr>
    	<tr>
    		<td>Scheduler wait profile:</td>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  10. src/go/doc/example.go

    	}
    
    	for _, s := range file.Imports {
    		p, err := strconv.Unquote(s.Path.Value)
    		if err != nil {
    			continue
    		}
    		if p == "syscall/js" {
    			// We don't support examples that import syscall/js,
    			// because the package syscall/js is not available in the playground.
    			return nil
    		}
    		n := path.Base(p)
    		if s.Name != nil {
    			n = s.Name.Name
    			switch n {
    			case "_":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 21.4K bytes
    - Viewed (0)
Back to top