Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 53 for afunc (0.09 sec)

  1. src/cmd/compile/internal/ssa/func.go

    }
    func (f *Func) ConstInt32(t *types.Type, c int32) *Value {
    	return f.constVal(OpConst32, t, int64(c), true)
    }
    func (f *Func) ConstInt64(t *types.Type, c int64) *Value {
    	return f.constVal(OpConst64, t, c, true)
    }
    func (f *Func) ConstFloat32(t *types.Type, c float64) *Value {
    	return f.constVal(OpConst32F, t, int64(math.Float64bits(float64(float32(c)))), true)
    }
    func (f *Func) ConstFloat64(t *types.Type, c float64) *Value {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td

          return %cluster : tensor<i32>
        }
        ```
    
        will be transformed into:
    
        ```mlir
        func @computation(%arg0: tensor<i32>) -> tensor<i32> {
          %cluster = "tf_device.cluster_func"(%arg0) {func = @_func} : (tensor<i32>) -> tensor<i32>
          return %cluster : tensor<i32>
        }
    
        func @_func(%arg0: tensor<i32>) -> tensor<i32> {
          %identity = "tf.Identity"(%arg0) : (tensor<i32>) -> tensor<i32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 99.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/rewrite.go

    func nlz32(x int32) int { return bits.LeadingZeros32(uint32(x)) }
    func nlz16(x int16) int { return bits.LeadingZeros16(uint16(x)) }
    func nlz8(x int8) int   { return bits.LeadingZeros8(uint8(x)) }
    
    // ntzX returns the number of trailing zeros.
    func ntz64(x int64) int { return bits.TrailingZeros64(uint64(x)) }
    func ntz32(x int32) int { return bits.TrailingZeros32(uint32(x)) }
    func ntz16(x int16) int { return bits.TrailingZeros16(uint16(x)) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  4. test/codegen/bits.go

    // mask contiguous zero bits
    func cont0Mask64U(x uint64) uint64 {
    	// s390x:"RISBGZ\t[$]48, [$]15, [$]0,"
    	return x & 0xffff00000000ffff
    }
    
    func issue44228a(a []int64, i int) bool {
    	// amd64: "BTQ", -"SHL"
    	return a[i>>6]&(1<<(i&63)) != 0
    }
    func issue44228b(a []int32, i int) bool {
    	// amd64: "BTL", -"SHL"
    	return a[i>>5]&(1<<(i&31)) != 0
    }
    
    func issue48467(x, y uint64) uint64 {
    	// arm64: -"NEG"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  5. cmd/xl-storage-disk-id-check.go

    func (p *xlStorageDiskIDCheck) IsLocal() bool {
    	return p.storage.IsLocal()
    }
    
    func (p *xlStorageDiskIDCheck) Endpoint() Endpoint {
    	return p.storage.Endpoint()
    }
    
    func (p *xlStorageDiskIDCheck) Hostname() string {
    	return p.storage.Hostname()
    }
    
    func (p *xlStorageDiskIDCheck) Healing() *healingTracker {
    	return p.storage.Healing()
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  6. pkg/kubelet/kuberuntime/kuberuntime_manager_test.go

    	state   runtimeapi.ContainerState
    }
    
    type cRecordList []*cRecord
    
    func (b cRecordList) Len() int      { return len(b) }
    func (b cRecordList) Swap(i, j int) { b[i], b[j] = b[j], b[i] }
    func (b cRecordList) Less(i, j int) bool {
    	if b[i].name != b[j].name {
    		return b[i].name < b[j].name
    	}
    	return b[i].attempt < b[j].attempt
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 96K bytes
    - Viewed (0)
  7. src/os/user/cgo_lookup_unix.go

    	"runtime"
    	"strconv"
    	"strings"
    	"syscall"
    	"unsafe"
    )
    
    func current() (*User, error) {
    	return lookupUnixUid(syscall.Getuid())
    }
    
    func lookupUser(username string) (*User, error) {
    	var pwd _C_struct_passwd
    	var found bool
    	nameC := make([]byte, len(username)+1)
    	copy(nameC, username)
    
    	err := retryWithBuffer(userBuffer, func(buf []byte) syscall.Errno {
    		var errno syscall.Errno
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:08:14 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. pkg/workloadapi/workload.pb.go

    func (*Service) Descriptor() ([]byte, []int) {
    	return file_workloadapi_workload_proto_rawDescGZIP(), []int{1}
    }
    
    func (x *Service) GetName() string {
    	if x != nil {
    		return x.Name
    	}
    	return ""
    }
    
    func (x *Service) GetNamespace() string {
    	if x != nil {
    		return x.Namespace
    	}
    	return ""
    }
    
    func (x *Service) GetHostname() string {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:02:35 UTC 2024
    - 65.9K bytes
    - Viewed (0)
  9. src/os/pidfd_other.go

    package os
    
    import "syscall"
    
    func ensurePidfd(sysAttr *syscall.SysProcAttr) *syscall.SysProcAttr {
    	return sysAttr
    }
    
    func getPidfd(_ *syscall.SysProcAttr) (uintptr, bool) {
    	return 0, false
    }
    
    func pidfdFind(_ int) (uintptr, error) {
    	return 0, syscall.ENOSYS
    }
    
    func (p *Process) pidfdRelease() {}
    
    func (_ *Process) pidfdWait() (*ProcessState, error) {
    	panic("unreachable")
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 692 bytes
    - Viewed (0)
  10. cmd/storage-rest-server.go

    // waitForHTTPResponse should be used to the receiving side.
    func keepHTTPReqResponseAlive(w http.ResponseWriter, r *http.Request) (resp func(error), body io.ReadCloser) {
    	bodyDoneCh := make(chan struct{})
    	doneCh := make(chan error)
    	ctx := r.Context()
    	go func() {
    		canWrite := true
    		write := func(b []byte) {
    			if canWrite {
    				n, err := w.Write(b)
    				if err != nil || n != len(b) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 44.8K bytes
    - Viewed (0)
Back to top