Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 70 for SYSCALL (0.51 sec)

  1. src/runtime/os_plan9.go

    	mp.gsignal = malg(32 * 1024)
    	mp.gsignal.m = mp
    	mp.notesig = (*int8)(mallocgc(_ERRMAX, nil, true))
    	// Initialize stack for handling strings from the
    	// errstr system call, as used in package syscall.
    	mp.errstr = (*byte)(mallocgc(_ERRMAX, nil, true))
    }
    
    func sigsave(p *sigset) {
    }
    
    func msigrestore(sigmask sigset) {
    }
    
    //go:nosplit
    //go:nowritebarrierrec
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  2. internal/ioutil/ioutil.go

    // used with DIRECT I/O based file descriptor and it is expected that
    // input writer *os.File not a generic io.Writer. Make sure to have
    // the file opened for writes with syscall.O_DIRECT flag.
    func CopyAligned(w io.Writer, r io.Reader, alignedBuf []byte, totalSize int64, file *os.File) (int64, error) {
    	if totalSize == 0 {
    		return 0, nil
    	}
    
    	var written int64
    	for {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  3. src/cmd/go/internal/fsys/fsys.go

    // Important: filepath.Join(cwd, path) doesn't always produce
    // the correct absolute path if path is relative, because on
    // Windows producing the correct absolute path requires making
    // a syscall. So this should only be used when looking up paths
    // in the overlay, or canonicalizing the paths in the overlay.
    func canonicalize(path string) string {
    	if path == "" {
    		return ""
    	}
    	if filepath.IsAbs(path) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:35:34 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  4. src/runtime/debug/garbage.go

    // the same process. Examples of excluded memory sources include: OS
    // kernel memory held on behalf of the process, memory allocated by
    // C code, and memory mapped by syscall.Mmap (because it is not
    // managed by the Go runtime).
    //
    // More specifically, the following expression accurately reflects
    // the value the runtime attempts to maintain as the limit:
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  5. src/internal/trace/testdata/tests/go122-annotations-stress.test

    	data="/usr/local/google/home/mknyszek/work/go-1/src/runtime/trace2runtime.go"
    String id=150
    	data="syscall.write"
    String id=151
    	data="/usr/local/google/home/mknyszek/work/go-1/src/syscall/zsyscall_linux_amd64.go"
    String id=152
    	data="syscall.Write"
    String id=153
    	data="/usr/local/google/home/mknyszek/work/go-1/src/syscall/syscall_unix.go"
    String id=154
    	data="internal/poll.ignoringEINTRIO"
    String id=155
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 38.3K bytes
    - Viewed (0)
  6. pilot/cmd/pilot-agent/status/server.go

    import (
    	"context"
    	"crypto/tls"
    	"encoding/json"
    	"errors"
    	"fmt"
    	"io"
    	"mime"
    	"net"
    	"net/http"
    	"net/http/pprof"
    	"os"
    	"regexp"
    	"strconv"
    	"strings"
    	"sync"
    	"syscall"
    	"time"
    
    	"github.com/prometheus/client_golang/prometheus"
    	"github.com/prometheus/client_golang/prometheus/collectors"
    	"github.com/prometheus/common/expfmt"
    	"golang.org/x/net/http2"
    	"google.golang.org/grpc"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 15:07:03 UTC 2024
    - 31.1K bytes
    - Viewed (1)
  7. src/go/types/issues_test.go

    	// code generated by cmd/cgo for the above source.
    	const cgoTypes = `
    // Code generated by cmd/cgo; DO NOT EDIT.
    
    package p
    
    import "unsafe"
    
    import "syscall"
    
    import _cgopackage "runtime/cgo"
    
    type _ _cgopackage.Incomplete
    var _ syscall.Errno
    func _Cgo_ptr(ptr unsafe.Pointer) unsafe.Pointer { return ptr }
    
    //go:linkname _Cgo_always_false runtime.cgoAlwaysFalse
    var _Cgo_always_false bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/issues_test.go

    	// code generated by cmd/cgo for the above source.
    	const cgoTypes = `
    // Code generated by cmd/cgo; DO NOT EDIT.
    
    package p
    
    import "unsafe"
    
    import "syscall"
    
    import _cgopackage "runtime/cgo"
    
    type _ _cgopackage.Incomplete
    var _ syscall.Errno
    func _Cgo_ptr(ptr unsafe.Pointer) unsafe.Pointer { return ptr }
    
    //go:linkname _Cgo_always_false runtime.cgoAlwaysFalse
    var _Cgo_always_false bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  9. src/os/exec/exec.go

    // See https://go.dev/blog/path-security for more information.
    package exec
    
    import (
    	"bytes"
    	"context"
    	"errors"
    	"internal/godebug"
    	"internal/syscall/execenv"
    	"io"
    	"os"
    	"path/filepath"
    	"runtime"
    	"strconv"
    	"strings"
    	"syscall"
    	"time"
    )
    
    // Error is returned by [LookPath] when it fails to classify a file as an
    // executable.
    type Error struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  10. cmd/xl-storage-disk-id-check.go

    		d.tracker.logSuccess()
    	}
    	return n, err
    }
    
    // diskHealthReader provides a wrapper that will update disk health on
    // ctx, on every successful read.
    // This should only be used directly at the os/syscall level,
    // otherwise buffered operations may return false health checks.
    func diskHealthReader(ctx context.Context, r io.Reader) io.Reader {
    	// Check if context has a disk health check.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 33.4K bytes
    - Viewed (0)
Back to top