Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 121 for sysctls (0.06 seconds)

  1. cmd/xl-storage_unix_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"os"
    	"path"
    	"syscall"
    	"testing"
    )
    
    // Based on `man getumask` a vaporware GNU extension to glibc.
    // returns file mode creation mask.
    func getUmask() int {
    	mask := syscall.Umask(0)
    	syscall.Umask(mask)
    	return mask
    }
    
    // Tests if the directory and file creations happen with proper umask.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  2. cmd/os_windows.go

    	globAllP, err := syscall.UTF16PtrFromString(globAll)
    	if err != nil {
    		return nil, errInvalidArgument
    	}
    	data := &syscall.Win32finddata{}
    	handle, err := syscall.FindFirstFile(globAllP, data)
    	if err != nil {
    		return nil, syscallErrToFileErr(dirPath, err)
    	}
    
    	defer syscall.FindClose(handle)
    
    	count := opts.count
    	for ; count != 0; err = syscall.FindNextFile(handle, data) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 5K bytes
    - Click Count (0)
  3. internal/disk/directio_unix.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package disk
    
    import (
    	"os"
    	"syscall"
    
    	"github.com/ncw/directio"
    	"golang.org/x/sys/unix"
    )
    
    // ODirectPlatform indicates if the platform supports O_DIRECT
    const ODirectPlatform = true
    
    // OpenFileDirectIO - bypass kernel cache.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sat Jun 17 14:31:36 GMT 2023
    - 1.6K bytes
    - Click Count (0)
  4. api/go1.7.txt

    pkg strings, method (*Reader) Reset(string)
    pkg syscall (linux-386), type SysProcAttr struct, Unshareflags uintptr
    pkg syscall (linux-386-cgo), type SysProcAttr struct, Unshareflags uintptr
    pkg syscall (linux-amd64), type SysProcAttr struct, Unshareflags uintptr
    pkg syscall (linux-amd64-cgo), type SysProcAttr struct, Unshareflags uintptr
    pkg syscall (linux-arm), type SysProcAttr struct, Unshareflags uintptr
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Jun 28 15:08:11 GMT 2016
    - 13.6K bytes
    - Click Count (0)
  5. cmd/os-rename_linux.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"syscall"
    )
    
    // RenameSys is low level call in case of Linux this uses syscall.Rename() directly.
    func RenameSys(src, dst string) (err error) {
    	return syscall.Rename(src, dst)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Feb 15 01:09:38 GMT 2024
    - 999 bytes
    - Click Count (0)
  6. cmd/xl-storage-errors_test.go

    package cmd
    
    import (
    	"os"
    	"runtime"
    	"syscall"
    	"testing"
    )
    
    func TestSysErrors(t *testing.T) {
    	pathErr := &os.PathError{Err: syscall.ENAMETOOLONG}
    	ok := isSysErrTooLong(pathErr)
    	if !ok {
    		t.Fatalf("Unexpected error expecting %s", syscall.ENAMETOOLONG)
    	}
    	pathErr = &os.PathError{Err: syscall.ENOTDIR}
    	ok = isSysErrNotDir(pathErr)
    	if !ok {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 1.7K bytes
    - Click Count (0)
  7. docker-buildx.sh

    		_build "${each_osarch}"
    	done
    
    	sudo sysctl net.ipv6.conf.all.disable_ipv6=0
    
    	docker buildx build --push --no-cache \
    		--build-arg RELEASE="${release}" \
    		-t "registry.min.dev/community/minio:latest" \
    		-t "registry.min.dev/community/minio:${release}" \
    		--platform=linux/arm64,linux/amd64,linux/ppc64le \
    		-f Dockerfile .
    
    	docker buildx prune -f
    
    	sudo sysctl net.ipv6.conf.all.disable_ipv6=0
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Oct 19 08:22:05 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  8. pom.xml

    		<packaging.fess.pid.dir>/var/run/fess</packaging.fess.pid.dir>
    		<packaging.fess.systemd.dir>/usr/lib/systemd/system</packaging.fess.systemd.dir>
    		<packaging.fess.systemd.sysctl.dir>/usr/lib/sysctl.d</packaging.fess.systemd.sysctl.dir>
    		<packaging.fess.tmpfilesd.dir>/usr/lib/tmpfiles.d</packaging.fess.tmpfilesd.dir>
    		<packaging.fess.dictionary.dir>/var/lib/fess/config</packaging.fess.dictionary.dir>
    	</properties>
    	<profiles>
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Dec 20 08:30:43 GMT 2025
    - 49.4K bytes
    - Click Count (0)
  9. internal/disk/stat_windows.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package disk
    
    import (
    	"errors"
    	"fmt"
    	"os"
    	"syscall"
    	"unsafe"
    
    	"golang.org/x/sys/windows"
    )
    
    var (
    	kernel32 = windows.NewLazySystemDLL("kernel32.dll")
    
    	// GetDiskFreeSpaceEx - https://msdn.microsoft.com/en-us/library/windows/desktop/aa364937(v=vs.85).aspx
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  10. cmd/os_other.go

    			}
    			if opts.count > 0 {
    				remaining--
    			}
    		}
    	}
    	return entries, nil
    }
    
    func globalSync() {
    	// no-op not sure about plan9/solaris support for syscall support
    	defer globalOSMetrics.time(osMetricSync)()
    	syscall.Sync()
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Sep 13 15:14:36 GMT 2023
    - 4K bytes
    - Click Count (0)
Back to Top