Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 1,272 for unixOS (0.17 sec)

  1. src/internal/syscall/unix/fcntl_unix.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 unix
    
    import (
    	"syscall"
    	_ "unsafe" // for go:linkname
    )
    
    // Implemented in the runtime package.
    //
    //go:linkname fcntl runtime.fcntl
    func fcntl(fd int32, cmd int32, arg int32) (int32, int32)
    
    func Fcntl(fd int, cmd int, arg int) (int, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 20 20:32:54 UTC 2023
    - 571 bytes
    - Viewed (0)
  2. src/cmd/pack/doc.go

    For the p, t, and x commands, listing no names on the command line
    causes the operation to apply to all files in the archive.
    
    In contrast to Unix ar, the r operation always appends to the archive,
    even if a file with the given name already exists in the archive. In this way
    pack's r operation is more like Unix ar's rq operation.
    
    Adding the letter v to an operation, as in pv or rv, enables verbose operation:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/ztunnelserver.go

    	if err != nil {
    		return nil, fmt.Errorf("failed to resolve unix addr: %w", err)
    	}
    	// remove potentially existing address
    	// Remove unix socket before use, if one is leftover from previous CNI restart
    	if err := os.Remove(addr); err != nil && !os.IsNotExist(err) {
    		// Anything other than "file not found" is an error.
    		return nil, fmt.Errorf("failed to remove unix://%s: %w", addr, err)
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 22:07:03 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/env_unix.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris || zos
    
    // Unix environment variables.
    
    package unix
    
    import "syscall"
    
    func Getenv(key string) (value string, found bool) {
    	return syscall.Getenv(key)
    }
    
    func Setenv(key, value string) error {
    	return syscall.Setenv(key, value)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 645 bytes
    - Viewed (0)
  5. src/time/mono_test.go

    	tp, _ := Parse(UnixDate, "Sat Mar  7 11:06:39 PST 2015")
    	no(`Parse(UnixDate, "Sat Mar  7 11:06:39 PST 2015")`, tp)
    	no("Unix(1486057371, 0)", Unix(1486057371, 0))
    
    	yes("Now()", Now())
    
    	tu := Unix(1486057371, 0)
    	tm := tu
    	SetMono(&tm, 123456)
    	no("tu", tu)
    	yes("tm", tm)
    
    	no("tu.Add(1)", tu.Add(1))
    	no("tu.In(UTC)", tu.In(UTC))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 19 17:10:49 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/testdata/valid-configs/aes-gcm-first.yaml

                  secret: YWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXoxMjM0NTY=
          - kms:
              name: testprovider
              endpoint: unix:///tmp/testprovider.sock
              cachesize: 10
          - kms:
              apiVersion: v2
              name: testproviderv2
              endpoint: unix:///tmp/testprovider.sock
              timeout: 10s
          - aescbc:
              keys:
                - name: key1
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 30 23:18:14 UTC 2023
    - 884 bytes
    - Viewed (0)
  7. src/crypto/rand/rand_darwin.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.
    
    package rand
    
    import "internal/syscall/unix"
    
    func init() {
    	// arc4random_buf is the recommended application CSPRNG, accepts buffers of
    	// any size, and never returns an error.
    	//
    	// "The subsystem is re-seeded from the kernel random number subsystem on a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 20:02:21 UTC 2024
    - 667 bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/time_proto.go

    	// protobuf clients storing values that aren't read by json clients, which results in unexpected
    	// field mutation, which fails various validation and equality code.
    	// m.Time = time.Unix(p.Seconds, int64(p.Nanos)).Local()
    	m.Time = time.Unix(p.Seconds, int64(0)).Local()
    	return nil
    }
    
    // Marshal implements the protobuf marshaling interface.
    func (m *Time) Marshal() (data []byte, err error) {
    	if m == nil || m.Time.IsZero() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 25 18:54:00 UTC 2019
    - 3.3K bytes
    - Viewed (0)
  9. utils/utils_unix_test.go

    //go:build unix
    // +build unix
    
    package utils
    
    import (
    	"testing"
    )
    
    func TestSourceDir(t *testing.T) {
    	cases := []struct {
    		file string
    		want string
    	}{
    		{
    			file: "/Users/name/go/pkg/mod/gorm.io/gorm@v1.2.3/utils/utils.go",
    			want: "/Users/name/go/pkg/mod/gorm.io/",
    		},
    		{
    			file: "/go/work/proj/gorm/utils/utils.go",
    			want: "/go/work/proj/gorm/",
    		},
    		{
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Nov 21 02:48:13 UTC 2022
    - 731 bytes
    - Viewed (0)
  10. pkg/apis/core/validation/events_test.go

    			Name:  "noop microsecond precision",
    			Old:   metav1.NewMicroTime(time.Unix(100, int64(5*time.Microsecond))),
    			New:   metav1.NewMicroTime(time.Unix(100, int64(5*time.Microsecond))),
    			Valid: true,
    		},
    		{
    			Name:  "noop nanosecond precision",
    			Old:   metav1.NewMicroTime(time.Unix(100, int64(5*time.Nanosecond))),
    			New:   metav1.NewMicroTime(time.Unix(100, int64(5*time.Nanosecond))),
    			Valid: true,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Sep 01 19:47:37 UTC 2022
    - 37.2K bytes
    - Viewed (0)
Back to top