Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 351 for calculations (0.13 sec)

  1. src/hash/maphash/maphash.go

    //	return h.Sum64()
    func Bytes(seed Seed, b []byte) uint64 {
    	state := seed.s
    	if state == 0 {
    		panic("maphash: use of uninitialized Seed")
    	}
    
    	if len(b) > bufSize {
    		b = b[:len(b):len(b)] // merge len and cap calculations when reslicing
    		for len(b) > bufSize {
    			state = rthash(b[:bufSize], state)
    			b = b[bufSize:]
    		}
    	}
    	return rthash(b, state)
    }
    
    // String returns the hash of s with the given seed.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 19:15:34 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/ProviderInternal.java

         * For example, the value content of an @InputFile property of a task is not known when that input file is the output of another a task.
         * The provider returned by this method may or not be the same instance as this provider. Generally, it is better to simplify any provider chains to replace calculations with fixed values and to remove
         * intermediate steps.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  3. maven-model-builder/src/site/apt/index.apt

      ** since Maven 3.5.0, if <<<project.directory>>> POM property value is defined, it is used instead of artifact id:
      this permits default inheritance calculations when module directory name is not equal to artifact id. Notice that this
      property is not inherited from a POM to its child: child's POM will use child artifact id if property is not
      set.
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 20 10:58:12 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/nilcheck.go

    	// dominating block. The efficacy of this pass depends heavily on the
    	// efficacy of the cse pass.
    	sdom := f.Sdom()
    
    	// TODO: Eliminate more nil checks.
    	// We can recursively remove any chain of fixed offset calculations,
    	// i.e. struct fields and array elements, even with non-constant
    	// indices: x is non-nil iff x.a.b[i].c is.
    
    	type walkState int
    	const (
    		Work     walkState = iota // process nil checks and traverse to dominees
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 20:45:54 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  5. src/compress/flate/deflatefast.go

    			// compression we first update the hash table at s-1 and at s. If
    			// another emitCopy is not our next move, also calculate nextHash
    			// at s+1. At least on GOARCH=amd64, these three hash calculations
    			// are faster as one load64 call (with some shifts) instead of
    			// three load32 calls.
    			x := load64(src, s-1)
    			prevHash := hash(uint32(x))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 19 18:48:17 UTC 2020
    - 9.4K bytes
    - Viewed (0)
  6. pkg/api/v1/resource/helpers.go

    			result[key] = value.DeepCopy()
    		}
    	}
    	return result
    }
    
    // reuseOrClearResourceList is a helper for avoiding excessive allocations of
    // resource lists within the inner loop of resource calculations.
    func reuseOrClearResourceList(reuse v1.ResourceList) v1.ResourceList {
    	if reuse == nil {
    		return make(v1.ResourceList, 4)
    	}
    	for k := range reuse {
    		delete(reuse, k)
    	}
    	return reuse
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 26 13:58:16 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types/size.go

    //
    //	type T *struct { next T }
    //
    // it is necessary to defer the calculation of the struct width
    // until after T has been initialized to be a pointer to that struct.
    // similarly, during import processing structs may be used
    // before their definition.  in those situations, calling
    // DeferCheckSize() stops width calculations until
    // ResumeCheckSize() is called, at which point all the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 15K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/MavenModelMerger.java

     * more adapted algorithms.
     *
     */
    public class MavenModelMerger extends MavenMerger {
    
        /**
         * The hint key for the child path adjustment used during inheritance for URL calculations.
         */
        public static final String CHILD_PATH_ADJUSTMENT = "child-path-adjustment";
    
        /**
         * The context key for the artifact id of the target model.
         */
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  9. pkg/registry/core/pod/storage/eviction.go

    		pdb.Status.DisruptedPods = make(map[string]metav1.Time)
    	}
    
    	// Eviction handler needs to inform the PDB controller that it is about to delete a pod
    	// so it should not consider it as available in calculations when updating PodDisruptions allowed.
    	// If the pod is not deleted within a reasonable time limit PDB controller will assume that it won't
    	// be deleted at all and remove it from DisruptedPod map.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 08 11:58:48 UTC 2023
    - 18.2K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/addressingmodes.go

    // Copyright 2020 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package ssa
    
    // addressingModes combines address calculations into memory operations
    // that can perform complicated addressing modes.
    func addressingModes(f *Func) {
    	isInImmediateRange := is32Bit
    	switch f.Config.arch {
    	default:
    		// Most architectures can't do this.
    		return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 26 17:19:57 UTC 2023
    - 24.3K bytes
    - Viewed (0)
Back to top