Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 270 for syso (0.04 sec)

  1. src/syscall/dll_windows.go

    //
    // If name is not an absolute path and is not a known system DLL used by
    // Go, Windows will search for the named DLL in many locations, causing
    // potential DLL preloading attacks.
    //
    // Use [LazyDLL] in golang.org/x/sys/windows for a secure way to
    // load system DLLs.
    func LoadDLL(name string) (*DLL, error) {
    	namep, err := UTF16PtrFromString(name)
    	if err != nil {
    		return nil, err
    	}
    	var h uintptr
    	var e Errno
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  2. cmd/handler-api.go

    	gzipObjects                 bool
    	rootAccess                  bool
    	syncEvents                  bool
    	objectMaxVersions           int64
    }
    
    const (
    	cgroupV1MemLimitFile = "/sys/fs/cgroup/memory/memory.limit_in_bytes"
    	cgroupV2MemLimitFile = "/sys/fs/cgroup/memory.max"
    	cgroupMemNoLimit     = 9223372036854771712
    )
    
    func cgroupMemLimit() (limit uint64) {
    	buf, err := os.ReadFile(cgroupV2MemLimitFile)
    	if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 12 08:13:12 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  3. src/runtime/traceevent.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Trace event writing API for trace2runtime.go.
    
    package runtime
    
    import (
    	"internal/abi"
    	"runtime/internal/sys"
    )
    
    // Event types in the trace, args are given in square brackets.
    //
    // Naming scheme:
    //   - Time range event pairs have suffixes "Begin" and "End".
    //   - "Start", "Stop", "Create", "Destroy", "Block", "Unblock"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  4. cluster/gce/gci/configure.sh

          -o "${tmp_kube_env}" \
          http://metadata.google.internal/computeMetadata/v1/instance/attributes/kube-env
        # Convert the yaml format file into a shell-style file.
        eval "$(python3 -c '''
    import pipes,sys,yaml
    items = yaml.load(sys.stdin, Loader=yaml.BaseLoader).items()
    for k, v in items:
        print("readonly {var}={value}".format(var=k, value=pipes.quote(str(v))))
    ''' < "${tmp_kube_env}" > "${KUBE_HOME}/kube-env")"
        rm -f "${tmp_kube_env}"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 04:14:02 UTC 2024
    - 36.5K bytes
    - Viewed (0)
  5. src/cmd/internal/objabi/pkgspecial.go

    	// assembly.
    	AllowAsmABI bool
    }
    
    var runtimePkgs = []string{
    	"runtime",
    
    	"internal/runtime/atomic",
    	"internal/runtime/exithook",
    	"runtime/internal/math",
    	"runtime/internal/sys",
    	"internal/runtime/syscall",
    
    	"internal/abi",
    	"internal/bytealg",
    	"internal/byteorder",
    	"internal/chacha8rand",
    	"internal/coverage/rtcov",
    	"internal/cpu",
    	"internal/goarch",
    	"internal/godebugs",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 02:32:19 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  6. configure.py

      """Get the python major version."""
      return run_shell([python_bin_path, '-c', 'import sys; print(sys.version[0])'])
    
    
    def setup_python(environ_cp):
      """Setup python related env variables."""
      # Get PYTHON_BIN_PATH, default is the current running python.
      default_python_bin_path = sys.executable
      ask_python_bin_path = ('Please specify the location of python. [Default is '
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 10 04:32:44 UTC 2024
    - 53.8K bytes
    - Viewed (1)
  7. hack/local-up-cluster.sh

      # cgroup v2: enable nesting
      if [ -f /sys/fs/cgroup/cgroup.controllers ]; then
        # move the processes from the root group to the /init group,
        # otherwise writing subtree_control fails with EBUSY.
        # An error during moving non-existent process (i.e., "cat") is ignored.
        mkdir -p /sys/fs/cgroup/init
        xargs -rn1 < /sys/fs/cgroup/cgroup.procs > /sys/fs/cgroup/init/cgroup.procs || :
        # enable controllers
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 25 02:33:52 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  8. tools/istio-iptables/pkg/constants/constants.go

    const (
    	DefaultProxyUID    = "1337"
    	DefaultProxyUIDInt = int64(1337)
    )
    
    // Constants used in environment variables
    const (
    	EnvoyUser = "ENVOY_USER"
    )
    
    // Constants for syscall
    const (
    	// sys/socket.h
    	SoOriginalDst = 80
    )
    
    const (
    	DefaultIptablesProbePortUint = 15002
    	DefaultProbeTimeout          = 5 * time.Second
    )
    
    const (
    	ValidationContainerName = "istio-validation"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 01:42:30 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  9. cni/pkg/ipset/nldeps_linux.go

    // limitations under the License.
    
    package ipset
    
    import (
    	"errors"
    	"fmt"
    	"net"
    	"net/netip"
    
    	"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 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 30 18:07:05 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  10. cni/pkg/nodeagent/fakes_test.go

    	fi, err := f.File.Stat()
    	if err != nil {
    		return nil, err
    	}
    	return &fakeFileFakeFI{FileInfo: fi}, nil
    }
    
    type fakeFileFakeFI struct {
    	fs.FileInfo
    }
    
    func (f *fakeFileFakeFI) Sys() any {
    	return &syscall.Stat_t{Ino: 1}
    }
    
    // Open opens the named file.
    // When Open returns an error, it should be of type *PathError
    // with the Op field set to "open", the Path field set to name,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 21:47:31 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top