Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 104 for blockCode (0.14 sec)

  1. 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)
  2. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/DefaultCacheBuilder.java

        private Consumer<? super PersistentCache> initializer;
        private CacheCleanupStrategy cacheCleanupStrategy = CacheCleanupStrategy.NO_CLEANUP;
        private LockOptions lockOptions = mode(FileLockManager.LockMode.Shared);
        private String displayName;
    
        public DefaultCacheBuilder(CacheFactory factory, File baseDir) {
            this.factory = factory;
            this.baseDir = baseDir;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 19:10:33 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/OnDemandFileAccessTest.groovy

     */
    package org.gradle.cache.internal
    
    import org.gradle.cache.FileAccess
    import org.gradle.cache.FileLock
    import org.gradle.cache.FileLockManager
    import org.gradle.cache.FileLockManager.LockMode
    import org.gradle.test.fixtures.file.TestNameTestDirectoryProvider
    import org.junit.Rule
    import spock.lang.Specification
    
    import java.util.function.Supplier
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:50 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/dsl/dependencies/DependencyLockingProvider.java

         *
         * @return the lock state corresponding to the lock with the given ID.
         *
         * @throws org.gradle.internal.locking.MissingLockStateException If the {@code LockMode} is {@link LockMode#STRICT} but no lock state can be found.
         */
        DependencyLockingState loadLockState(String lockId, DisplayName lockOwner);
    
        /**
         * Records the resolution result to the lock with the given ID.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 02:50:41 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/cache/internal/DefaultGeneratedGradleJarCacheTest.groovy

            then:
            1 * cacheBuilderFactory.createCacheBuilder(CACHE_KEY) >> cacheBuilder
            1 * cacheBuilder.withDisplayName(CACHE_DISPLAY_NAME) >> cacheBuilder
            1 * cacheBuilder.withInitialLockMode(FileLockManager.LockMode.OnDemand) >> cacheBuilder
            1 * cacheBuilder.open() >> { cache }
            1 * cache.close()
        }
    
        def "creates JAR file on demand for identifier '#identifier'"(String identifier) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 15:51:31 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  6. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/FileLockManager.java

        /**
         * These modes can be used either with {@link FileLockManager} or when creating {@link PersistentCache} via {@link CacheBuilder#withInitialLockMode(LockMode)}
         */
        enum LockMode {
    
            /**
             * On demand, single writer, no readers (on demand exclusive mode).
             * <br><br>
             *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  7. 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)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/locking/UsingLockingOnNonProjectConfigurationsIntegrationTest.groovy

        configurations.classpath {
            resolutionStrategy.activateDependencyLocking()
        }
        dependencies {
            classpath 'org.foo:foo-plugin:[1.0,2.0)'
        }
        dependencyLocking {
            lockMode = LockMode.STRICT
        }
    }
    
    repositories {
        maven {
            url = '$mavenRepo.uri'
        }
    }
    
    configurations {
        foo {
            resolutionStrategy.activateDependencyLocking()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  9. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/LockOptions.java

    package org.gradle.cache;
    
    public interface LockOptions {
    
        FileLockManager.LockMode getMode();
    
        boolean isUseCrossVersionImplementation();
    
        /**
         * Creates a copy of this options instance using the given mode.
         *
         * @param mode the mode to overwrite the current mode with
         */
        LockOptions copyWithMode(FileLockManager.LockMode mode);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 15:52:52 UTC 2024
    - 982 bytes
    - Viewed (0)
  10. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/filelock/DefaultLockOptionsTest.groovy

     * limitations under the License.
     */
    
    package org.gradle.cache.internal.filelock
    
    import spock.lang.Specification
    
    import static org.gradle.cache.FileLockManager.LockMode.Exclusive
    import static org.gradle.cache.FileLockManager.LockMode.Shared
    
    class DefaultLockOptionsTest extends Specification {
        def "can make copy of options"() {
            def builder = DefaultLockOptions.mode(Exclusive).useCrossVersionImplementation()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 15:52:52 UTC 2024
    - 1.2K bytes
    - Viewed (0)
Back to top