Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 103 for lockMode (0.16 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/process/internal/CancellationIntegrationTest.groovy

        private DaemonClientFixture client
        private int daemonLogCheckpoint
    
        @UnsupportedWithConfigurationCache(iterationMatchers = ".* project.exec")
        def "can cancel #scenario"() {
            given:
            blockCode()
            buildFile << """
                import java.util.concurrent.CountDownLatch
                apply plugin: 'java'
                task execTask(type: Exec) {
                    dependsOn 'compileJava'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 04:31:03 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/parsing/ImportTest.kt

            assertTrue(analysisContext.errorCollector.errors.isEmpty())
        }
    
        private
        fun importOf(vararg nameParts: String) = Import(AccessChain(listOf(*nameParts)), mockSourceData)
    
        private
        val mockNode = object : LighterASTNode {
            override fun getTokenType(): IElementType = KtNodeTypes.FUN // whatever, doesn't matter
    
            override fun getStartOffset(): Int = 0
    
            override fun getEndOffset(): Int = 0
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. src/crypto/aes/modes.go

    // implementation of CBC encryption through the cipher.BlockMode interface.
    // See crypto/cipher/cbc.go.
    type cbcEncAble interface {
    	NewCBCEncrypter(iv []byte) cipher.BlockMode
    }
    
    // cbcDecAble is implemented by cipher.Blocks that can provide an optimized
    // implementation of CBC decryption through the cipher.BlockMode interface.
    // See crypto/cipher/cbc.go.
    type cbcDecAble interface {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 14 15:32:26 UTC 2018
    - 1.1K bytes
    - Viewed (0)
  4. plugin/pkg/admission/gc/gc_admission_test.go

    			newObj:     podWithOwnerRefs(blockRC1, blockRC2, blockNode),
    			checkError: expectNoError,
    		},
    		{
    			name:               "super-user, create, some ownerReferences have blockOwnerDeletion=true, hangingRESTMapper",
    			username:           "super",
    			resource:           api.SchemeGroupVersion.WithResource("pods"),
    			newObj:             podWithOwnerRefs(blockRC1, blockRC2, blockNode),
    			restMapperOverride: &neverReturningRESTMapper{},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 21:28:42 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  5. pkg/volume/metrics_block.go

    	servermetrics "k8s.io/kubernetes/pkg/kubelet/server/metrics"
    )
    
    var _ MetricsProvider = &metricsBlock{}
    
    // metricsBlock represents a MetricsProvider that detects the size of the
    // BlockMode Volume.
    type metricsBlock struct {
    	// the device node where the volume is attached to.
    	device string
    }
    
    // NewMetricsStatfs creates a new metricsBlock with the device node of the
    // Volume.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 19 14:33:37 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  6. src/crypto/cipher/cipher.go

    	// the src buffers was passed in a single run. That is, Stream
    	// maintains state and does not reset at each XORKeyStream call.
    	XORKeyStream(dst, src []byte)
    }
    
    // A BlockMode represents a block cipher running in a block-based mode (CBC,
    // ECB etc).
    type BlockMode interface {
    	// BlockSize returns the mode's block size.
    	BlockSize() int
    
    	// CryptBlocks encrypts or decrypts a number of blocks. The length of
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 28 03:55:33 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  7. src/crypto/aes/modes_test.go

    func (*testBlock) Decrypt(a, b []byte) {}
    func (*testBlock) NewGCM(int, int) (cipher.AEAD, error) {
    	return &testAEAD{}, nil
    }
    func (*testBlock) NewCBCEncrypter([]byte) cipher.BlockMode {
    	return &testBlockMode{}
    }
    func (*testBlock) NewCBCDecrypter([]byte) cipher.BlockMode {
    	return &testBlockMode{}
    }
    func (*testBlock) NewCTR([]byte) cipher.Stream {
    	return &testStream{}
    }
    
    // testAEAD implements the cipher.AEAD interface.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 14 15:32:26 UTC 2018
    - 3.5K bytes
    - Viewed (0)
  8. pkg/controller/volume/persistentvolume/index_test.go

    			VolumeMode:             &fs,
    		},
    		Status: v1.PersistentVolumeStatus{
    			Phase: v1.VolumeAvailable,
    		},
    	}
    }
    
    func createVolumeModeBlockTestVolume() *v1.PersistentVolume {
    	blockMode := v1.PersistentVolumeBlock
    
    	return &v1.PersistentVolume{
    		ObjectMeta: metav1.ObjectMeta{
    			UID:  "local-1",
    			Name: "block",
    		},
    		Spec: v1.PersistentVolumeSpec{
    			Capacity: v1.ResourceList{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 21 13:31:28 UTC 2023
    - 44K bytes
    - Viewed (0)
  9. src/crypto/aes/cbc_s390x.go

    type cbc struct {
    	b  *aesCipherAsm
    	c  code
    	iv [BlockSize]byte
    }
    
    func (b *aesCipherAsm) NewCBCEncrypter(iv []byte) cipher.BlockMode {
    	var c cbc
    	c.b = b
    	c.c = b.function
    	copy(c.iv[:], iv)
    	return &c
    }
    
    func (b *aesCipherAsm) NewCBCDecrypter(iv []byte) cipher.BlockMode {
    	var c cbc
    	c.b = b
    	c.c = b.function + 128 // decrypt function code is encrypt + 128
    	copy(c.iv[:], iv)
    	return &c
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. src/crypto/aes/cbc_ppc64x.go

    type cbc struct {
    	b   *aesCipherAsm
    	enc int
    	iv  [BlockSize]byte
    }
    
    func (b *aesCipherAsm) NewCBCEncrypter(iv []byte) cipher.BlockMode {
    	var c cbc
    	c.b = b
    	c.enc = cbcEncrypt
    	copy(c.iv[:], iv)
    	return &c
    }
    
    func (b *aesCipherAsm) NewCBCDecrypter(iv []byte) cipher.BlockMode {
    	var c cbc
    	c.b = b
    	c.enc = cbcDecrypt
    	copy(c.iv[:], iv)
    	return &c
    }
    
    func (x *cbc) BlockSize() int { return BlockSize }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:31 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top