Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for Cooper (0.27 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 21 19:28:08 GMT 2024
    - Last Modified: Mon Jul 25 19:37:26 GMT 2022
    - 3.4K bytes
    - Viewed (0)
  2. 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 Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  3. 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 21 19:28:08 GMT 2024
    - Last Modified: Mon Mar 18 22:25:32 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  4. 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 21 19:28:08 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 160K bytes
    - Viewed (0)
  5. 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 21 19:28:08 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 37.5K bytes
    - Viewed (5)
  6. 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 Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Nov 03 08:41:32 GMT 2022
    - 2.5K bytes
    - Viewed (1)
  7. 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 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
  8. 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 21 19:28:08 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 39.5K bytes
    - Viewed (2)
  9. src/cmd/cgo/doc.go

    confuse the Go garbage collector; they are sometimes not really
    pointers but data structures encoded in a pointer type. All operations
    on these types must happen in C. The proper constant to initialize an
    empty such reference is 0, not nil.
    
    These special cases were introduced in Go 1.10. For auto-updating code
    from Go 1.9 and earlier, use the cftype or jni rewrites in the Go fix tool:
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  10. cmd/xl-storage-format-v2.go

    			// version of the object.
    			return x.setIdx(i, ventry)
    		case ObjectType:
    			return x.setIdx(i, ventry)
    		case DeleteType:
    			// Allowing delete marker to replaced with proper
    			// object data type as well, this is not S3 complaint
    			// behavior but kept here for future flexibility.
    			return x.setIdx(i, ventry)
    		}
    	}
    
    	// We did not find it, add it.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 63.6K bytes
    - Viewed (1)
Back to top