Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 409 for FreeBSD (0.31 sec)

  1. src/internal/syscall/unix/getrandom_freebsd.go

    // license that can be found in the LICENSE file.
    
    package unix
    
    // FreeBSD getrandom system call number.
    const getrandomTrap uintptr = 563
    
    const (
    	// GRND_NONBLOCK means return EAGAIN rather than blocking.
    	GRND_NONBLOCK GetRandomFlag = 0x0001
    
    	// GRND_RANDOM is only set for portability purpose, no-op on FreeBSD.
    	GRND_RANDOM GetRandomFlag = 0x0002
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 11 08:19:31 UTC 2021
    - 466 bytes
    - Viewed (0)
  2. src/runtime/sigaction.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build (linux && !amd64 && !arm64 && !ppc64le) || (freebsd && !amd64)
    
    package runtime
    
    // This version is used on Linux and FreeBSD systems on which we don't
    // use cgo to call the C version of sigaction.
    
    //go:nosplit
    //go:nowritebarrierrec
    func sigaction(sig uint32, new, old *sigactiont) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 489 bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/outbuf_freebsd.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build freebsd && go1.21
    
    package ld
    
    import (
    	"internal/syscall/unix"
    	"syscall"
    )
    
    func (out *OutBuf) fallocate(size uint64) error {
    	err := unix.PosixFallocate(int(out.f.Fd()), 0, int64(size))
    	// ZFS on FreeBSD does not support posix_fallocate and returns EINVAL in that case.
    	if err == syscall.EINVAL {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 05 14:17:36 UTC 2023
    - 515 bytes
    - Viewed (0)
  4. src/internal/syscall/unix/fallocate_freebsd_64bit.go

    // license that can be found in the LICENSE file.
    
    //go:build freebsd && (amd64 || arm64 || riscv64)
    
    package unix
    
    import "syscall"
    
    func PosixFallocate(fd int, off int64, size int64) error {
    	// If successful, posix_fallocate() returns zero. It returns an error on failure, without
    	// setting errno. See https://man.freebsd.org/cgi/man.cgi?query=posix_fallocate&sektion=2&n=1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 05 14:17:36 UTC 2023
    - 637 bytes
    - Viewed (0)
  5. src/internal/platform/supported.go

    	case "freebsd", "netbsd", "windows":
    		return goarch == "amd64"
    	default:
    		return false
    	}
    }
    
    // MSanSupported reports whether goos/goarch supports the memory
    // sanitizer option.
    func MSanSupported(goos, goarch string) bool {
    	switch goos {
    	case "linux":
    		return goarch == "amd64" || goarch == "arm64" || goarch == "loong64"
    	case "freebsd":
    		return goarch == "amd64"
    	default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:50:22 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. src/runtime/cgo/gcc_freebsd_sigaction.c

    // license that can be found in the LICENSE file.
    
    //go:build freebsd && amd64
    
    #include <errno.h>
    #include <stddef.h>
    #include <stdint.h>
    #include <string.h>
    #include <signal.h>
    
    #include "libcgo.h"
    
    // go_sigaction_t is a C version of the sigactiont struct from
    // os_freebsd.go.  This definition — and its conversion to and from struct
    // sigaction — are specific to freebsd/amd64.
    typedef struct {
            uint32_t __bits[_SIG_WORDS];
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 24 22:38:02 UTC 2023
    - 2K bytes
    - Viewed (0)
  7. pkg/kubelet/util/boottime_util_freebsd_test.go

    //go:build freebsd
    // +build freebsd
    
    /*
    Copyright 2020 The Kubernetes Authors.
    
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at
    
        http://www.apache.org/licenses/LICENSE-2.0
    
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 863 bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/testsanitizers/msan_test.go

    		t.Skipf("skipping on %s/%s; -msan option is not supported.", goos, goarch)
    	}
    
    	t.Parallel()
    	// Overcommit is enabled by default on FreeBSD (vm.overcommit=0, see tuning(7)).
    	// Do not skip tests with stricter overcommit settings unless testing shows that FreeBSD has similar issues.
    	if goos == "linux" {
    		requireOvercommit(t)
    	}
    	config := configure("memory")
    	config.skipIfCSanitizerBroken(t)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 21:30:58 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  9. pkg/util/flock/flock_other.go

    //go:build !linux && !darwin && !freebsd && !openbsd && !netbsd && !dragonfly
    // +build !linux,!darwin,!freebsd,!openbsd,!netbsd,!dragonfly
    
    /*
    Copyright 2016 The Kubernetes Authors.
    
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at
    
        http://www.apache.org/licenses/LICENSE-2.0
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 826 bytes
    - Viewed (0)
  10. internal/ioutil/read_file_noatime_supported.go

    //go:build !windows && !darwin && !freebsd
    // +build !windows,!darwin,!freebsd
    
    // Copyright (c) 2015-2021 MinIO, Inc.
    //
    // This file is part of MinIO Object Storage stack
    //
    // This program is free software: you can redistribute it and/or modify
    // it under the terms of the GNU Affero General Public License as published by
    // the Free Software Foundation, either version 3 of the License, or
    // (at your option) any later version.
    //
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Aug 19 01:35:22 UTC 2021
    - 937 bytes
    - Viewed (0)
Back to top