Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for solaris (0.15 sec)

  1. internal/disk/stat_solaris.go

    //go:build solaris
    // +build solaris
    
    // 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.
    //
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  2. cmd/xl-storage-errors.go

    }
    
    // Check if the given error corresponds to ENOTEMPTY for unix,
    // EEXIST for solaris variants,
    // and ERROR_DIR_NOT_EMPTY for windows (directory not empty).
    func isSysErrNotEmpty(err error) bool {
    	if errors.Is(err, syscall.ENOTEMPTY) {
    		return true
    	}
    	if errors.Is(err, syscall.EEXIST) && runtime.GOOS == "solaris" {
    		return true
    	}
    	var pathErr *os.PathError
    	if errors.As(err, &pathErr) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 06 16:56:29 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  3. cmd/os_other.go

    //go:build plan9 || solaris
    // +build plan9 solaris
    
    // 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.
    //
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Sep 13 15:14:36 GMT 2023
    - 4K bytes
    - Viewed (0)
  4. internal/disk/disk_test.go

    //go:build !netbsd && !solaris
    // +build !netbsd,!solaris
    
    // 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.
    //
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jul 31 22:20:48 GMT 2023
    - 1.1K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/test/cthread_unix.c

    // 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
    
    #include <pthread.h>
    #include "_cgo_export.h"
    
    static void*
    addThread(void *p)
    {
    	int i, max;
    	
    	max = *(int*)p;
    	for(i=0; i<max; i++)
    		Add(i);
    	return 0;
    }
    
    void
    C
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed May 17 21:53:11 GMT 2023
    - 1K bytes
    - Viewed (0)
  6. src/archive/tar/stat_unix.go

    			major := uint32((dev & 0x0000ff00) >> 8)
    			minor := uint32((dev & 0x000000ff) >> 0)
    			minor |= uint32((dev & 0xffff0000) >> 8)
    			h.Devmajor, h.Devminor = int64(major), int64(minor)
    		default:
    			// TODO: Implement solaris (see https://golang.org/issue/8106)
    		}
    	}
    	return nil
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/test/issue18146.go

    	// Restrict the number of attempts based on RLIMIT_NPROC.
    	// Tediously, RLIMIT_NPROC was left out of the syscall package,
    	// probably because it is not in POSIX.1, so we define it here.
    	// It is not defined on Solaris.
    	var nproc int
    	setNproc := true
    	switch runtime.GOOS {
    	default:
    		setNproc = false
    	case "aix":
    		nproc = 9
    	case "linux":
    		nproc = 6
    	case "darwin", "dragonfly", "freebsd", "netbsd", "openbsd":
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Sep 05 23:35:32 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  8. cmd/os-instrumented.go

    	default:
    		defer updateOSMetrics(osMetricOpenFileR, name)(err)
    	}
    	return os.OpenFile(name, flag, perm)
    }
    
    // Access captures time taken to call syscall.Access()
    // on windows, plan9 and solaris syscall.Access uses
    // os.Lstat()
    func Access(name string) (err error) {
    	defer updateOSMetrics(osMetricAccess, name)(err)
    	return access(name)
    }
    
    // Open captures time taken to call os.Open
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 15 01:09:38 GMT 2024
    - 6.3K bytes
    - Viewed (0)
Back to top