Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 1,484 for Hashing (0.5 sec)

  1. platforms/software/resources-gcs/src/integTest/groovy/org/gradle/integtests/resource/gcs/fixtures/GcsServer.groovy

    import org.eclipse.jetty.server.handler.AbstractHandler
    import org.gradle.integtests.resource.gcs.fixtures.stub.HttpStub
    import org.gradle.integtests.resource.gcs.fixtures.stub.StubRequest
    import org.gradle.internal.hash.Hashing
    import org.gradle.test.fixtures.file.TestDirectoryProvider
    import org.gradle.test.fixtures.server.RepositoryServer
    import org.gradle.test.fixtures.server.http.HttpServer
    import org.joda.time.DateTimeZone
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 16.7K bytes
    - Viewed (0)
  2. platforms/core-runtime/wrapper-main/src/integTest/groovy/org/gradle/integtests/WrapperGenerationIntegrationTest.groovy

    import org.gradle.integtests.fixtures.AbstractIntegrationSpec
    import org.gradle.integtests.fixtures.executer.UnexpectedBuildFailure
    import org.gradle.internal.hash.HashCode
    import org.gradle.internal.hash.Hashing
    import org.gradle.test.fixtures.ConcurrentTestUtil
    import org.gradle.test.fixtures.archive.ZipTestFixture
    import org.gradle.test.fixtures.server.http.HttpServer
    import org.gradle.test.precondition.Requires
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:38 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  3. src/runtime/alg.go

    // h is the seed.
    // This function is seldom used. Most maps use for hashing either
    // fixed functions (e.g. f32hash) or compiler-generated functions
    // (e.g. for a type like struct { x, y string }). This implementation
    // is slower but more general and is used for hashing interface types
    // (called from interhash or nilinterhash, above) or for hashing in
    // maps generated by reflect.MapOf (reflect_typehash, below).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/route/retry/retry.go

    		HostSelectionRetryMaxAttempts: 5,
    	}
    	return &policy
    }
    
    // DefaultConsistentHashPolicy gets a copy of the default retry policy without previous host predicate.
    // When Consistent Hashing is enabled, we don't want to use other hosts during retries.
    func DefaultConsistentHashPolicy() *route.RetryPolicy {
    	return defaultPolicy()
    }
    
    // ConvertPolicy converts the given Istio retry policy to an Envoy policy.
    //
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/macho_update_uuid.go

    	// RFC 4122 conformance (see RFC 4122 Sections 4.2.2, 4.1.3). We
    	// want the "version" of this UUID to appear as 'hashed' as opposed
    	// to random or time-based.  This is something of a fiction since
    	// we're not actually hashing using MD5 or SHA1, but it seems better
    	// to use this UUID flavor than any of the others. This is similar
    	// to how other linkers handle this (for example this code in lld:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/cache.go

    		panic("transformer must not be nil")
    	}
    	c.cache.Set(c.keyFunc(key), transformer, c.ttl)
    	// Add metrics for cache size
    	c.recordCacheSize(c.providerName, c.cache.Len())
    }
    
    // keyFunc generates a string key by hashing the inputs.
    // This lowers the memory requirement of the cache.
    func (c *simpleCache) keyFunc(s []byte) string {
    	h := c.hashPool.Get().(hash.Hash)
    	h.Reset()
    
    	if _, err := h.Write(s); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 31 20:26:58 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  7. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/vfs/impl/AbstractFileSystemAccessTest.groovy

                return delegate.hash(file, length, lastModified)
            }
    
            private void checkIfAllowed() {
                if (!hashingAllowed) {
                    throw new UnsupportedOperationException("Hashing is currently not allowed")
                }
            }
    
            void allowHashing(boolean allowed) {
                this.hashingAllowed = allowed
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:55 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/internal/resolve/caching/CrossBuildCachingRuleExecutor.java

    import org.gradle.internal.action.ConfigurableRule;
    import org.gradle.internal.action.ConfigurableRules;
    import org.gradle.internal.action.InstantiatingAction;
    import org.gradle.internal.hash.HashCode;
    import org.gradle.internal.hash.Hashing;
    import org.gradle.internal.isolation.Isolatable;
    import org.gradle.internal.reflect.Instantiator;
    import org.gradle.internal.serialize.AbstractSerializer;
    import org.gradle.internal.serialize.BaseSerializerFactory;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 15:51:31 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  9. platforms/core-runtime/wrapper-main/src/integTest/groovy/org/gradle/integtests/WrapperChecksumVerificationTest.groovy

    import org.gradle.test.preconditions.IntegTestPreconditions
    import org.gradle.wrapper.WrapperExecutor
    import org.junit.Rule
    import spock.lang.Shared
    
    import static org.gradle.internal.hash.Hashing.sha256
    
    @Requires(value = IntegTestPreconditions.NotEmbeddedExecutor, reason = NOT_EMBEDDED_REASON)
    @LocalOnly(because = "https://github.com/gradle/gradle-private/issues/3799")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:54:32 UTC 2024
    - 6K bytes
    - Viewed (0)
  10. platforms/software/version-control/src/main/java/org/gradle/vcs/internal/services/DefaultVersionControlRepositoryFactory.java

    import java.util.Set;
    import java.util.function.Supplier;
    
    import static org.gradle.api.internal.cache.CacheConfigurationsInternal.DEFAULT_MAX_AGE_IN_DAYS_FOR_CREATED_CACHE_ENTRIES;
    import static org.gradle.internal.hash.Hashing.hashString;
    import static org.gradle.internal.time.TimestampSuppliers.daysAgo;
    
    public class DefaultVersionControlRepositoryFactory implements VersionControlRepositoryConnectionFactory, Stoppable {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 18:35:55 UTC 2024
    - 6.4K bytes
    - Viewed (0)
Back to top