Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 342 for unixOS (0.12 sec)

  1. src/os/exec_posix.go

    		code := status.ExitStatus()
    		if runtime.GOOS == "windows" && uint(code) >= 1<<16 { // windows uses large hex numbers
    			res = "exit status " + itoa.Uitox(uint(code))
    		} else { // unix systems use small decimal integers
    			res = "exit status " + itoa.Itoa(code) // unix
    		}
    	case status.Signaled():
    		res = "signal: " + status.Signal().String()
    	case status.Stopped():
    		res = "stop signal: " + status.StopSignal().String()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. src/os/pidfd_linux_test.go

    	if err != nil {
    		t.Fatalf("starting test process: %v", err)
    	}
    	p.Wait()
    
    	// Use pid of a non-existing process.
    	proc, err := os.FindProcess(p.Pid)
    	// FindProcess should never return errors on Unix.
    	if err != nil {
    		t.Fatalf("FindProcess: got error %v, want <nil>", err)
    	}
    	// FindProcess should never return nil Process.
    	if proc == nil {
    		t.Fatal("FindProcess: got nil, want non-nil")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 18:08:44 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. cni/pkg/ipset/nldeps_linux.go

    	"github.com/vishvananda/netlink"
    	"github.com/vishvananda/netlink/nl"
    	"golang.org/x/sys/unix"
    )
    
    func RealNlDeps() NetlinkIpsetDeps {
    	return &realDeps{}
    }
    
    type realDeps struct{}
    
    func (m *realDeps) ipsetIPHashCreate(name string, v6 bool) error {
    	var family uint8
    
    	if v6 {
    		family = unix.AF_INET6
    	} else {
    		family = unix.AF_INET
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 30 18:07:05 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. security/pkg/server/ca/monitoring.go

    		"citadel_server_success_cert_issuance_count",
    		"The number of certificates issuances that have succeeded.",
    	)
    
    	rootCertExpiryTimestamp = monitoring.NewGauge(
    		"citadel_server_root_cert_expiry_timestamp",
    		"The unix timestamp, in seconds, when Citadel root cert will expire. "+
    			"A negative time indicates the cert is expired.",
    	)
    	rootCertExpirySeconds = monitoring.NewDerivedGauge(
    		"citadel_server_root_cert_expiry_seconds",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:09 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  5. src/os/writeto_linux_test.go

    )
    
    func TestSendFile(t *testing.T) {
    	sizes := []int{
    		1,
    		42,
    		1025,
    		syscall.Getpagesize() + 1,
    		32769,
    	}
    	t.Run("sendfile-to-unix", func(t *testing.T) {
    		for _, size := range sizes {
    			t.Run(strconv.Itoa(size), func(t *testing.T) {
    				testSendFile(t, "unix", int64(size))
    			})
    		}
    	})
    	t.Run("sendfile-to-tcp", func(t *testing.T) {
    		for _, size := range sizes {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 18:12:56 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. src/net/unixsock_posix.go

    // license that can be found in the LICENSE file.
    
    //go:build unix || js || wasip1 || windows
    
    package net
    
    import (
    	"context"
    	"errors"
    	"os"
    	"syscall"
    )
    
    func unixSocket(ctx context.Context, net string, laddr, raddr sockaddr, mode string, ctxCtrlFn func(context.Context, string, string, syscall.RawConn) error) (*netFD, error) {
    	var sotype int
    	switch net {
    	case "unix":
    		sotype = syscall.SOCK_STREAM
    	case "unixgram":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:54:32 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  7. src/internal/syscall/unix/sysnum_linux_s390x.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.
    
    package unix
    
    const (
    	getrandomTrap       uintptr = 349
    	copyFileRangeTrap   uintptr = 375
    	pidfdSendSignalTrap uintptr = 424
    	pidfdOpenTrap       uintptr = 434
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 01:23:00 UTC 2024
    - 324 bytes
    - Viewed (0)
  8. src/cmd/go/internal/telemetrystats/version_other.go

    // Copyright 2024 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 !cmd_go_bootstrap && !unix && !windows
    
    package telemetrystats
    
    import "cmd/internal/telemetry"
    
    func incrementVersionCounters() {
    	telemetry.Inc("go/platform:version-not-supported")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:09:11 UTC 2024
    - 356 bytes
    - Viewed (0)
  9. src/internal/syscall/unix/sysnum_linux_mips64x.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 mips64 || mips64le
    
    package unix
    
    const (
    	getrandomTrap       uintptr = 5313
    	copyFileRangeTrap   uintptr = 5320
    	pidfdSendSignalTrap uintptr = 5424
    	pidfdOpenTrap       uintptr = 5434
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 01:23:00 UTC 2024
    - 359 bytes
    - Viewed (0)
  10. src/syscall/export_rlimit_test.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 unix
    
    package syscall
    
    import "sync/atomic"
    
    func OrigRlimitNofile() *Rlimit {
    	return origRlimitNofile.Load()
    }
    
    func GetInternalOrigRlimitNofile() *atomic.Pointer[Rlimit] {
    	return &origRlimitNofile
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:18:19 UTC 2024
    - 374 bytes
    - Viewed (0)
Back to top