Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 103 for lockMode (0.17 sec)

  1. src/vendor/golang.org/x/crypto/internal/alias/alias.go

    // have different lengths and still not have any inexact overlap.
    //
    // InexactOverlap can be used to implement the requirements of the crypto/cipher
    // AEAD, Block, BlockMode and Stream interfaces.
    func InexactOverlap(x, y []byte) bool {
    	if len(x) == 0 || len(y) == 0 || &x[0] == &y[0] {
    		return false
    	}
    	return AnyOverlap(x, y)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  2. src/vendor/golang.org/x/crypto/internal/alias/alias_purego.go

    // have different lengths and still not have any inexact overlap.
    //
    // InexactOverlap can be used to implement the requirements of the crypto/cipher
    // AEAD, Block, BlockMode and Stream interfaces.
    func InexactOverlap(x, y []byte) bool {
    	if len(x) == 0 || len(y) == 0 || &x[0] == &y[0] {
    		return false
    	}
    	return AnyOverlap(x, y)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  3. src/crypto/internal/boring/aes.go

    type aesCipher struct {
    	key []byte
    	enc C.GO_AES_KEY
    	dec C.GO_AES_KEY
    }
    
    type extraModes interface {
    	// Copied out of crypto/aes/modes.go.
    	NewCBCEncrypter(iv []byte) cipher.BlockMode
    	NewCBCDecrypter(iv []byte) cipher.BlockMode
    	NewCTR(iv []byte) cipher.Stream
    	NewGCM(nonceSize, tagSize int) (cipher.AEAD, error)
    }
    
    var _ extraModes = (*aesCipher)(nil)
    
    func NewAESCipher(key []byte) (cipher.Block, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 26 22:52:27 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  4. src/crypto/internal/alias/alias.go

    // have different lengths and still not have any inexact overlap.
    //
    // InexactOverlap can be used to implement the requirements of the crypto/cipher
    // AEAD, Block, BlockMode and Stream interfaces.
    func InexactOverlap(x, y []byte) bool {
    	if len(x) == 0 || len(y) == 0 || &x[0] == &y[0] {
    		return false
    	}
    	return AnyOverlap(x, y)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 20 03:27:26 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  5. pkg/apis/core/v1/defaults_test.go

    		t.Errorf("Expected secret type %v, got %v", v1.SecretTypeOpaque, s2.Type)
    	}
    }
    
    func TestSetDefaultPersistentVolume(t *testing.T) {
    	fsMode := v1.PersistentVolumeFilesystem
    	blockMode := v1.PersistentVolumeBlock
    
    	tests := []struct {
    		name               string
    		volumeMode         *v1.PersistentVolumeMode
    		expectedVolumeMode v1.PersistentVolumeMode
    	}{
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  6. pkg/volume/local/local_test.go

    				Local: &v1.LocalVolumeSource{
    					Path: path,
    				},
    			},
    			MountOptions: mountOptions,
    		},
    	}
    
    	if isBlock {
    		blockMode := v1.PersistentVolumeBlock
    		pv.Spec.VolumeMode = &blockMode
    	} else {
    		fsMode := v1.PersistentVolumeFilesystem
    		pv.Spec.VolumeMode = &fsMode
    	}
    	return volume.NewSpecFromPersistentVolume(pv, readOnly)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 08 10:53:39 UTC 2023
    - 22.5K bytes
    - Viewed (0)
  7. pkg/volume/csi/csi_plugin.go

    		return nil, errors.New(log("plugin.ConstructBlockVolumeSpec failed loading volume data using [%s]: %v", mapPath, err))
    	}
    
    	klog.V(4).Info(log("plugin.ConstructBlockVolumeSpec extracted [%#v]", volData))
    
    	blockMode := api.PersistentVolumeBlock
    	pv := &api.PersistentVolume{
    		ObjectMeta: meta.ObjectMeta{
    			Name: volData[volDataKey.specVolID],
    		},
    		Spec: api.PersistentVolumeSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  8. src/crypto/tls/conn.go

    	return
    }
    
    func roundUp(a, b int) int {
    	return a + (b-a%b)%b
    }
    
    // cbcMode is an interface for block ciphers using cipher block chaining.
    type cbcMode interface {
    	cipher.BlockMode
    	SetIV([]byte)
    }
    
    // decrypt authenticates and decrypts the record if protection is active at
    // this stage. The returned plaintext might overlap with the input.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  9. pkg/kubelet/volumemanager/reconciler/reconciler_test.go

    // Wait for volume mounted.
    // Mark volume as fsResizeRequired in ASW.
    // Verifies volume's fsResizeRequired flag is cleared later.
    func Test_Run_Positive_VolumeFSResizeControllerAttachEnabled(t *testing.T) {
    	blockMode := v1.PersistentVolumeBlock
    	fsMode := v1.PersistentVolumeFilesystem
    
    	var tests = []struct {
    		name            string
    		volumeMode      *v1.PersistentVolumeMode
    		expansionFailed bool
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 09 07:34:33 UTC 2024
    - 75.4K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.22.md

    - Some of the in-tree storage drivers indicate support for the `MetricsProvider` interface, but fail to configure this for BlockMode volumes. With a recent change, `Kubelet` will call `GetMetrics()` for BlockMode volumes, and the in-tree drivers that miss the support cause a Go panic. Now the in-tree storage drivers that support BlockMode volumes, will return the Capacity of the volume in the `GetMetrics()` call. ([#101587](https://github.com/kubernetes/kubernetes/pull/101587),...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 13 12:43:45 UTC 2022
    - 454.1K bytes
    - Viewed (0)
Back to top