Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for Hooper (0.17 sec)

  1. cmd/xl-storage_unix_test.go

    // 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.
    func TestIsValidUmaskVol(t *testing.T) {
    	tmpPath := t.TempDir()
    	testCases := []struct {
    		volName       string
    		expectedUmask int
    	}{
    		{"is-this-valid", getUmask()},
    	}
    	testCase := testCases[0]
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Jul 25 19:37:26 GMT 2022
    - 3.4K bytes
    - Viewed (0)
  2. internal/config/errors.go

    		`Use 'sudo setcap cap_net_bind_service=+ep /path/to/minio' to provide sufficient permissions`,
    	)
    
    	ErrTLSReadError = newErrFn(
    		"Cannot read the TLS certificate",
    		"Please check if the certificate has the proper owner and read permissions",
    		"",
    	)
    
    	ErrTLSUnexpectedData = newErrFn(
    		"Invalid TLS certificate",
    		"Please check your certificate",
    		"",
    	)
    
    	ErrTLSNoPassword = newErrFn(
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Mar 18 22:25:32 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  3. internal/mountinfo/mountinfo_windows.go

    	}
    
    	switch windows.GetDriveType(&wvolume[0]) {
    	case windows.DRIVE_FIXED, windows.DRIVE_REMOVABLE, windows.DRIVE_REMOTE, windows.DRIVE_RAMDISK:
    		// Recognize "fixed", "removable", "remote" and "ramdisk" drives as proper drives
    		// which can be treated as an actual mount-point, rest can be ignored.
    		// https://docs.microsoft.com/en-us/windows/desktop/api/fileapi/nf-fileapi-getdrivetypew
    		mountPointCache.Store(path, true)
    		return true
    	}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Aug 19 01:35:22 GMT 2021
    - 2K bytes
    - Viewed (0)
  4. cni/pkg/plugin/plugin.go

    	}
    	return loggingOptions
    }
    
    // CmdAdd is called for ADD requests
    func CmdAdd(args *skel.CmdArgs) (err error) {
    	// Defer a panic recover, so that in case if panic we can still return
    	// a proper error to the runtime.
    	defer func() {
    		if e := recover(); e != nil {
    			msg := fmt.Sprintf("istio-cni panicked during cmdAdd: %v\n%v", e, string(debug.Stack()))
    			if err != nil {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  5. istioctl/pkg/util/configdump/listener.go

    	dal := make([]*admin.ListenersConfigDump_DynamicListener, 0)
    	for _, l := range listenerDump.DynamicListeners {
    		// If a listener was reloaded, it would contain both the active and draining state
    		// delete the draining state for proper comparison
    		l.DrainingState = nil
    		if l.ActiveState != nil {
    			dal = append(dal, l)
    		}
    	}
    
    	// Support v2 or v3 in config dump. See ads.go:RequestedTypes for more info.
    	for i := range dal {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Nov 03 08:41:32 GMT 2022
    - 2.5K bytes
    - Viewed (1)
  6. cmd/object-handlers_test.go

    		},
    		// Test case - 10.
    		// Case with proper components
    		{
    			bucketName: bucketName,
    			objectName: "etc/path/proper/.../etc",
    			byteRange:  "",
    			accessKey:  credentials.AccessKey,
    			secretKey:  credentials.SecretKey,
    
    			expectedContent: encodeResponse(getAPIErrorResponse(ctx,
    				getAPIError(ErrNoSuchKey),
    				getGetObjectURL("", bucketName, "etc/path/proper/.../etc"),
    				"", "")),
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  7. cmd/erasure-sets.go

    			}
    		}
    	}
    
    	return -1, -1, fmt.Errorf("DriveID: %s not found", format.Erasure.This)
    }
    
    // connectDisks - attempt to connect all the endpoints, loads format
    // and re-arranges the disks in proper position.
    func (s *erasureSets) connectDisks() {
    	defer func() {
    		s.lastConnectDisksOpTime = time.Now()
    	}()
    
    	var wg sync.WaitGroup
    	diskMap := s.getDiskMap()
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 37.5K bytes
    - Viewed (5)
  8. cmd/xl-storage.go

    	if err != nil && err != errFileNotFound {
    		return err
    	}
    	defer metaDataPoolPut(buf)
    
    	var xlMeta xlMetaV2
    	if !isXL2V1Format(buf) {
    		// This is both legacy and without proper version.
    		if err = xlMeta.AddVersion(fi); err != nil {
    			return err
    		}
    
    		buf, err = xlMeta.AppendTo(metaDataPoolGet())
    		defer metaDataPoolPut(buf)
    		if err != nil {
    			return err
    		}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  9. cmd/xl-storage_test.go

    		}
    	}
    }
    
    // Test xlStorage.VerifyFile()
    func TestXLStorageVerifyFile(t *testing.T) {
    	// We test 4 cases:
    	// 1) Whole-file bitrot check on proper file
    	// 2) Whole-file bitrot check on corrupted file
    	// 3) Streaming bitrot check on proper file
    	// 4) Streaming bitrot check on corrupted file
    
    	// create xlStorage test setup
    	storage, path, err := newXLStorageTestSetup(t)
    	if err != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
  10. cmd/bucket-handlers_test.go

    		// expected Response.
    		expectedRespStatus int
    		locationResponse   []byte
    		errorResponse      APIErrorResponse
    		shouldPass         bool
    	}{
    		// Test case - 1.
    		// Tests for authenticated request and proper response.
    		{
    			bucketName:         bucketName,
    			accessKey:          credentials.AccessKey,
    			secretKey:          credentials.SecretKey,
    			expectedRespStatus: http.StatusOK,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 39.5K bytes
    - Viewed (2)
Back to top