Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for isOr (0.03 sec)

  1. src/math/big/int_test.go

    	} {
    		i, ok := new(Int).SetString(test.istr, 0)
    		if !ok {
    			t.Errorf("SetString(%s) failed", test.istr)
    			continue
    		}
    
    		// Test against expectation.
    		f, acc := i.Float64()
    		if f != test.f || acc != test.acc {
    			t.Errorf("%s: got %f (%s); want %f (%s)", test.istr, f, acc, test.f, test.acc)
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 58.5K bytes
    - Viewed (0)
  2. src/regexp/syntax/parse.go

    		//
    		// Invariant: sub[start:i] consists of regexps that all begin
    		// with str as modified by strflags.
    		var istr []rune
    		var iflags Flags
    		if i < len(sub) {
    			istr, iflags = p.leadingString(sub[i])
    			if iflags == strflags {
    				same := 0
    				for same < len(str) && same < len(istr) && str[same] == istr[same] {
    					same++
    				}
    				if same > 0 {
    					// Matches at least one rune in current range.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 13:59:01 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/util/strategicpatch/patch.go

    }
    
    func (ss SortableSliceOfMaps) Len() int {
    	return len(ss.s)
    }
    
    func (ss SortableSliceOfMaps) Less(i, j int) bool {
    	iStr := fmt.Sprintf("%v", ss.s[i][ss.k])
    	jStr := fmt.Sprintf("%v", ss.s[j][ss.k])
    	return sort.StringsAreSorted([]string{iStr, jStr})
    }
    
    func (ss SortableSliceOfMaps) Swap(i, j int) {
    	tmp := ss.s[i]
    	ss.s[i] = ss.s[j]
    	ss.s[j] = tmp
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 23:34:23 UTC 2023
    - 75.5K bytes
    - Viewed (0)
Back to top