Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 104 for blockCode (0.18 sec)

  1. 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)
  2. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/DefaultFileLockManagerWithNewProtocolTest.groovy

    import static org.gradle.cache.FileLockManager.LockMode.Exclusive
    import static org.gradle.cache.FileLockManager.LockMode.Shared
    
    class DefaultFileLockManagerWithNewProtocolTest extends AbstractFileLockManagerTest {
        @Override
        protected DefaultLockOptions options() {
            return DefaultLockOptions.mode(FileLockManager.LockMode.OnDemand)
        }
    
        def "a lock has been updated when never written to"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 15:52:52 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/locking/DependencyLockingLenientModeIntegrationTest.groovy

     * limitations under the License.
     */
    
    package org.gradle.integtests.resolve.locking
    
    import org.gradle.api.artifacts.dsl.LockMode
    
    class DependencyLockingLenientModeIntegrationTest extends AbstractLockingIntegrationTest {
        @Override
        LockMode lockMode() {
            return LockMode.LENIENT
        }
    
        def 'does not fail when lock file conflicts with declared strict constraint (initial unique: #unique)'() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 8K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/locking/AbstractValidatingLockingIntegrationTest.groovy

            mavenRepo.module('org', 'foo', '1.0').publish()
            mavenRepo.module('org', 'foo', '1.1').publish()
    
            buildFile << """
    dependencyLocking {
        lockAllConfigurations()
        lockMode = LockMode.${lockMode()}
    }
    
    repositories {
        maven {
            name 'repo'
            url '${mavenRepo.uri}'
        }
    }
    configurations {
        lockedConf
    }
    
    dependencies {
        lockedConf 'org:foo:1.+'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 9K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/dependencyManagement/dependencyLocking-lockModeSelection/kotlin/build.gradle.kts

    plugins {
        java
    }
    
    repositories {
        mavenCentral()
    }
    
    // tag::lock-mode[]
    dependencyLocking {
        lockMode = LockMode.STRICT
    }
    // end::lock-mode[]
    
    configurations.compileClasspath {
        resolutionStrategy.activateDependencyLocking()
    }
    
    dependencies {
        implementation("org.springframework:spring-beans:[5.0,6.0)")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 323 bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/locking/AbstractLockingIntegrationTest.groovy

        }
    
        abstract LockMode lockMode()
    
        def 'succeeds when lock file does not conflict from declared versions (unique: #unique)'() {
            mavenRepo.module('org', 'foo', '1.0').publish()
            mavenRepo.module('org', 'foo', '1.1').publish()
    
            buildFile << """
    dependencyLocking {
        lockAllConfigurations()
        lockMode = LockMode.${lockMode()}
    }
    
    repositories {
        maven {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 02:50:41 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top