Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 315 for tophash (0.13 sec)

  1. cmd/bucket-lifecycle.go

    	return e.workers.Load()
    }
    
    type expiryOp interface {
    	OpHash() uint64
    }
    
    type freeVersionTask struct {
    	ObjectInfo
    }
    
    func (f freeVersionTask) OpHash() uint64 {
    	return xxh3.HashString(f.TransitionedObject.Tier + f.TransitionedObject.Name)
    }
    
    func (n newerNoncurrentTask) OpHash() uint64 {
    	return xxh3.HashString(n.bucket + n.versions[0].ObjectV.ObjectName)
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  2. platforms/jvm/normalization-java/src/main/java/org/gradle/api/internal/changedetection/state/LineEndingNormalizingResourceHasher.java

            hasher.putString(getClass().getName());
        }
    
        @Override
        Optional<HashCode> tryHash(RegularFileSnapshotContext snapshotContext) {
            return Optional.of(snapshotContext)
                .flatMap(IoFunction.wrap(this::hashContent));
        }
    
        @Override
        Optional<HashCode> tryHash(ZipEntryContext zipEntryContext) {
            return Optional.of(zipEntryContext)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  3. test/escape_hash_maphash.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test escape analysis for hash/maphash.
    
    package escape
    
    import (
    	"hash/maphash"
    )
    
    func f() {
    	var x maphash.Hash // should be stack allocatable
    	x.WriteString("foo")
    	x.Sum64()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Nov 16 20:31:45 UTC 2019
    - 368 bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/Methods.java

                        return Arrays.equals(a.getGenericParameterTypes(), b.getGenericParameterTypes());
                    }
                }
                return false;
            }
    
            @Override
            protected int doHash(Method method) {
                return new HashCodeBuilder()
                    .append(method.getName())
                    .append(method.getParameterTypes())
                    .toHashCode();
            }
        };
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  5. platforms/jvm/normalization-java/src/main/java/org/gradle/api/internal/changedetection/state/PropertiesFileAwareClasspathResourceHasher.java

        @Override
        boolean filter(ZipEntryContext context) {
            return !context.getEntry().isDirectory() && matchesAnyFilters(context.getRelativePathSegments());
        }
    
        @Override
        public Optional<HashCode> tryHash(RegularFileSnapshotContext snapshotContext) {
            return Optional.ofNullable(matchingFiltersFor(snapshotContext.getRelativePathSegments()))
                .map(resourceEntryFilter -> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  6. src/cmd/go/internal/web/url.go

    				Host:   path[:i],
    				Path:   filepath.ToSlash(path[i:]),
    			}, nil
    		}
    
    		// C:\path\to\file
    		// becomes
    		// file:///C:/path/to/file
    		return &url.URL{
    			Scheme: "file",
    			Path:   "/" + filepath.ToSlash(path),
    		}, nil
    	}
    
    	// /path/to/file
    	// becomes
    	// file:///path/to/file
    	return &url.URL{
    		Scheme: "file",
    		Path:   filepath.ToSlash(path),
    	}, nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 13:43:51 UTC 2019
    - 2K bytes
    - Viewed (0)
  7. test/fixedbugs/issue37716.go

    package main
    
    import "reflect"
    
    // complicated enough to require a compile-generated hash function
    type K struct {
    	a, b int32 // these get merged by the compiler into a single field, something typehash doesn't do
    	c    float64
    }
    
    func main() {
    	k := K{a: 1, b: 2, c: 3}
    
    	// Make a reflect map.
    	m := reflect.MakeMap(reflect.MapOf(reflect.TypeOf(K{}), reflect.TypeOf(true)))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 10 16:26:59 UTC 2020
    - 872 bytes
    - Viewed (0)
  8. guava/src/com/google/common/hash/SipHashFunction.java

     * or implied. See the License for the specific language governing permissions and limitations under
     * the License.
     */
    
    /*
     * SipHash-c-d was designed by Jean-Philippe Aumasson and Daniel J. Bernstein and is described in
     * "SipHash: a fast short-input PRF" (available at https://131002.net/siphash/siphash.pdf).
     */
    
    package com.google.common.hash;
    
    import static com.google.common.base.Preconditions.checkArgument;
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 5.3K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/mod_verify.txt

    # verify should fail on a missing ziphash. tidy should restore it.
    rm $GOPATH/pkg/mod/cache/download/rsc.io/quote/@v/v1.1.0.ziphash
    ! go mod verify
    stderr '^rsc.io/quote v1.1.0: missing ziphash: open '$GOPATH'[/\\]pkg[/\\]mod[/\\]cache[/\\]download[/\\]rsc.io[/\\]quote[/\\]@v[/\\]v1.1.0.ziphash'
    go mod tidy
    exists $GOPATH/pkg/mod/cache/download/rsc.io/quote/@v/v1.1.0.ziphash
    go mod verify
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/java/customDirs/groovy/build.gradle

        def reportsDir = project.reporting.baseDirectory
        def testResultsDir = project.java.testResultsDir
    
        doLast {
            logger.quiet(rootDir.toPath().relativize(reportsDir.get().asFile.toPath()).toString())
            logger.quiet(rootDir.toPath().relativize(testResultsDir.get().asFile.toPath()).toString())
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.2K bytes
    - Viewed (0)
Back to top