Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 234 for unmix (0.04 sec)

  1. src/internal/syscall/unix/sysnum_linux_mipsx.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 mips || mipsle
    
    package unix
    
    const (
    	getrandomTrap       uintptr = 4353
    	copyFileRangeTrap   uintptr = 4360
    	pidfdSendSignalTrap uintptr = 4424
    	pidfdOpenTrap       uintptr = 4434
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 01:23:00 UTC 2024
    - 355 bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/micro_time.go

    	}
    	if t != nil && u != nil {
    		return t.Time.Equal(u.Time)
    	}
    	return false
    }
    
    // UnixMicro returns the local time corresponding to the given Unix time
    // by wrapping time.Unix.
    func UnixMicro(sec int64, nsec int64) MicroTime {
    	return MicroTime{time.Unix(sec, nsec)}
    }
    
    // UnmarshalJSON implements the json.Unmarshaller interface.
    func (t *MicroTime) UnmarshalJSON(b []byte) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. src/os/pidfd_other.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 && !linux) || (js && wasm) || wasip1 || windows
    
    package os
    
    import "syscall"
    
    func ensurePidfd(sysAttr *syscall.SysProcAttr) *syscall.SysProcAttr {
    	return sysAttr
    }
    
    func getPidfd(_ *syscall.SysProcAttr) (uintptr, bool) {
    	return 0, false
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 692 bytes
    - Viewed (0)
  4. src/internal/syscall/unix/sysnum_linux_generic.go

    // Copyright 2014 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 linux && (arm64 || loong64 || riscv64)
    
    package unix
    
    // This file is named "generic" because at a certain point Linux started
    // standardizing on system call numbers across architectures. So far this
    // means only arm64 loong64 and riscv64 use the standard numbers.
    
    const (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 01:23:00 UTC 2024
    - 589 bytes
    - Viewed (0)
  5. cmd/object-handlers-common.go

    	if r.Method != http.MethodPut {
    		return false
    	}
    	// If the object doesn't have a modtime (IsZero), or the modtime
    	// is obviously garbage (Unix time == 0), then ignore modtimes
    	// and don't process the If-Modified-Since header.
    	if objInfo.ModTime.IsZero() || objInfo.ModTime.Equal(time.Unix(0, 0)) {
    		return false
    	}
    
    	// Headers to be set of object content is not going to be written to the client.
    	writeHeaders := func() {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  6. src/internal/syscall/unix/pidfd_linux.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.
    
    package unix
    
    import "syscall"
    
    func PidFDSendSignal(pidfd uintptr, s syscall.Signal) error {
    	_, _, errno := syscall.Syscall(pidfdSendSignalTrap, pidfd, uintptr(s), 0)
    	if errno != 0 {
    		return errno
    	}
    	return nil
    }
    
    func PidFDOpen(pid, flags int) (uintptr, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 01:23:00 UTC 2024
    - 591 bytes
    - Viewed (0)
  7. pkg/kubelet/util/util_windows.go

    package util
    
    import (
    	"fmt"
    	"path/filepath"
    	"strings"
    	"syscall"
    	"time"
    )
    
    const npipeProtocol = "npipe"
    
    // LocalEndpoint returns the full path to a named pipe at the given endpoint - unlike on unix, we can't use sockets.
    func LocalEndpoint(path, file string) (string, error) {
    	// extract the podresources config name from the path. We only need this on windows because the preferred layout of pipes,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 08:58:18 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. src/syscall/linkname_unix.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 unix
    
    package syscall
    
    import _ "unsafe" // for linkname
    
    // mmap should be an internal detail,
    // but widely used packages access it using linkname.
    // Notable members of the hall of shame include:
    //   - modernc.org/memory
    //   - github.com/ncruces/go-sqlite3
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 532 bytes
    - Viewed (0)
  9. security/pkg/util/jwtutil.go

    		return time.Time{}, nil
    	}
    
    	var expiration time.Time
    	switch exp := claims["exp"].(type) {
    	case float64:
    		expiration = time.Unix(int64(exp), 0)
    	case json.Number:
    		v, _ := exp.Int64()
    		expiration = time.Unix(v, 0)
    	}
    	return expiration, nil
    }
    
    // GetAud returns the claim `aud` from the token. Returns nil if not found.
    func GetAud(token string) ([]string, error) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 16:07:11 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. src/runtime/security_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 runtime
    
    import (
    	"internal/stringslite"
    )
    
    func secure() {
    	initSecureMode()
    
    	if !isSecureMode() {
    		return
    	}
    
    	// When secure mode is enabled, we do one thing: enforce specific
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 866 bytes
    - Viewed (0)
Back to top