Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 14 of 14 for f64hash (0.12 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/dump/dump_test.go

    		{map[string]embedwrap{"key": tebw}, "(map[string]dump.embedwrap)map[key:{embed:(dump.embed){s:(string)test} e:(*dump.embed){s:(string)test}}]"},
    	}
    
    	for i, tc := range testCases {
    		s := ForHash(tc.a)
    		if tc.want != s {
    			t.Errorf("[%d]:\n\texpected %q\n\tgot      %q", i, tc.want, s)
    		}
    	}
    }
    
    func TestOneLine(t *testing.T) {
    	tcs := customString("test")
    	tpcs := pCustomString("&test")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 27 01:24:22 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  2. src/internal/bisect/bisect.go

    func New(pattern string) (*Matcher, error) {
    	if pattern == "" {
    		return nil, nil
    	}
    
    	m := new(Matcher)
    
    	p := pattern
    	// Special case for leading 'q' so that 'qn' quietly disables, e.g. fmahash=qn to disable fma
    	// Any instance of 'v' disables 'q'.
    	if len(p) > 0 && p[0] == 'q' {
    		m.quiet = true
    		p = p[1:]
    		if p == "" {
    			return nil, &parseError{"invalid pattern syntax: " + pattern}
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 17:28:43 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/util/staticpod/utils.go

    // Copied from k8s.io/kubernetes/pkg/util/hash/hash.go#DeepHashObject
    func DeepHashObject(hasher hash.Hash, objectToWrite interface{}) {
    	hasher.Reset()
    	fmt.Fprintf(hasher, "%v", dump.ForHash(objectToWrite))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 14 13:07:56 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/func.go

    // If you have an architecture-dependent FP glitch, this will help you find it.
    func (f *Func) useFMA(v *Value) bool {
    	if !f.Config.UseFMA {
    		return false
    	}
    	if base.FmaHash == nil {
    		return true
    	}
    	return base.FmaHash.MatchPos(v.Pos, nil)
    }
    
    // NewLocal returns a new anonymous local variable of the given type.
    func (f *Func) NewLocal(pos src.XPos, typ *types.Type) *ir.Name {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 25.8K bytes
    - Viewed (0)
Back to top