Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/sort/sort_test.go

    		}
    		b.StartTimer()
    		Stable(IntSlice(data))
    		b.StopTimer()
    	}
    }
    
    const (
    	_Sawtooth = iota
    	_Rand
    	_Stagger
    	_Plateau
    	_Shuffle
    	_NDist
    )
    
    const (
    	_Copy = iota
    	_Reverse
    	_ReverseFirstHalf
    	_ReverseSecondHalf
    	_Sorted
    	_Dither
    	_NMode
    )
    
    type testingData struct {
    	desc        string
    	t           *testing.T
    	data        []int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 19:41:04 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  2. src/go/types/builtins.go

    		} else {
    			x.mode = value
    		}
    
    		if check.recordTypes() && x.mode != constant_ {
    			check.recordBuiltinType(call.Fun, makeSig(resTyp, x.typ, x.typ))
    		}
    
    		x.typ = resTyp
    
    	case _Copy:
    		// copy(x, y []T) int
    		dst, _ := coreType(x.typ).(*Slice)
    
    		y := args[1]
    		src0 := coreString(y.typ)
    		if src0 != nil && isString(src0) {
    			src0 = NewSlice(universeByte)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/builtins.go

    		} else {
    			x.mode = value
    		}
    
    		if check.recordTypes() && x.mode != constant_ {
    			check.recordBuiltinType(call.Fun, makeSig(resTyp, x.typ, x.typ))
    		}
    
    		x.typ = resTyp
    
    	case _Copy:
    		// copy(x, y []T) int
    		dst, _ := coreType(x.typ).(*Slice)
    
    		y := args[1]
    		src0 := coreString(y.typ)
    		if src0 != nil && isString(src0) {
    			src0 = NewSlice(universeByte)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.1K bytes
    - Viewed (0)
Back to top