Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,564 for remapping (0.2 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratorInjectDecoratedTest.groovy

            def returnType = obj.getClass().getDeclaredMethod("getThing").genericReturnType
            returnType == Number
        }
    
        def "can inject services using @Inject on a super interface with type parameter remapping"() {
            given:
            def services = defaultServices()
            _ * services.get(_) >> { Type type ->
                if (type instanceof ParameterizedType) {
                    assert type.rawType == List.class
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/Hashing.java

        return Fingerprint2011.FINGERPRINT_2011;
      }
    
      /**
       * Assigns to {@code hashCode} a "bucket" in the range {@code [0, buckets)}, in a uniform manner
       * that minimizes the need for remapping as {@code buckets} grows. That is, {@code
       * consistentHash(h, n)} equals:
       *
       * <ul>
       *   <li>{@code n - 1}, with approximate probability {@code 1/n}
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 09 00:37:15 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  3. src/strings/replace.go

    		r.tableSize += int(b)
    	}
    
    	var index byte
    	for i, b := range r.mapping {
    		if b == 0 {
    			r.mapping[i] = byte(r.tableSize)
    		} else {
    			r.mapping[i] = index
    			index++
    		}
    	}
    	// Ensure root node uses a lookup table (for performance).
    	r.root.table = make([]*trieNode, r.tableSize)
    
    	for i := 0; i < len(oldnew); i += 2 {
    		r.root.add(oldnew[i], oldnew[i+1], len(oldnew)-i, r)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:10:31 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/hash/Hashing.java

        return Fingerprint2011.FINGERPRINT_2011;
      }
    
      /**
       * Assigns to {@code hashCode} a "bucket" in the range {@code [0, buckets)}, in a uniform manner
       * that minimizes the need for remapping as {@code buckets} grows. That is, {@code
       * consistentHash(h, n)} equals:
       *
       * <ul>
       *   <li>{@code n - 1}, with approximate probability {@code 1/n}
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 09 00:37:15 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/CrossBuildScriptCachingIntegrationSpec.groovy

            then:
            def scripts = scriptDetails()
            scriptsAreReused(before, scripts)
            getCompileBuildFileOperationsCount() == 2 // classpath + body changed build.gradle file
        }
    
        def "remapping scripts doesn't mix up classes with same name"() {
            given:
            root {
                'build.gradle'('''
                        task greet()
                        apply from: "gradle/one.gradle"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 17:32:21 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/telemetry/internal/counter/file.go

    		}
    	}
    
    	// Map into memory.
    	var mapping mmap.Data
    	if existing != nil {
    		mapping, err = memmap(f, existing.mapping)
    	} else {
    		mapping, err = memmap(f, nil)
    	}
    	if err != nil {
    		return nil, err
    	}
    	m.mapping = &mapping
    	if !bytes.HasPrefix(m.mapping.Data, hdr) {
    		return nil, fmt.Errorf("counter: header mismatch")
    	}
    	m.hdrLen = uint32(len(hdr))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  7. src/internal/coverage/cfile/emit.go

    	// List of meta-data symbols obtained from the runtime
    	metalist []rtcov.CovMetaBlob
    
    	// List of counter-data symbols obtained from the runtime
    	counterlist []rtcov.CovCounterBlob
    
    	// Table to use for remapping hard-coded pkg ids.
    	pkgmap map[int]int
    
    	// emit debug trace output
    	debug bool
    }
    
    var (
    	// finalHash is computed at init time from the list of meta-data
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_merge_variables_with_execute.cc

              : execute_launch.getResults();
      for (auto execute_output : llvm::enumerate(execute_outputs)) {
        // TODO(lyandy): Handle updates to resource writes by remapping to parent
        // launch result and checking if launch result is an AssignVariableOp.
        auto result = execute_output.value();
        if (!result.hasOneUse()) {
          if (VLOG_IS_ON(2)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 29 17:52:11 UTC 2024
    - 27K bytes
    - Viewed (0)
  9. pkg/kubelet/cm/cgroup_manager_linux.go

    func NewCgroupName(base CgroupName, components ...string) CgroupName {
    	for _, component := range components {
    		// Forbit using "_" in internal names. When remapping internal
    		// names to systemd cgroup driver, we want to remap "-" => "_",
    		// so we forbid "_" so that we can always reverse the mapping.
    		if strings.Contains(component, "/") || strings.Contains(component, "_") {
    			panic(fmt.Errorf("invalid character in component [%q] of CgroupName", component))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 27 13:02:15 UTC 2023
    - 26.5K bytes
    - Viewed (0)
  10. src/cmd/vendor/github.com/google/pprof/internal/binutils/binutils.go

    	// it's a kernel / .ko module mapping, because with quipper address remapping
    	// enabled, the address would be in the lower half of the address space.
    
    	if m.kernelOffset != nil || m.start >= m.limit || m.limit >= (uint64(1)<<63) {
    		// For the kernel, find the program segment that includes the .text section.
    		return elfexec.FindTextProgHeader(ef), nil
    	}
    
    	// Fetch all the loadable segments.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 22.3K bytes
    - Viewed (0)
Back to top