Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for toParam (0.13 sec)

  1. cmd/kubeadm/app/preflight/checks_linux.go

    	err := syscall.Sysinfo(&info)
    	if err != nil {
    		errorList = append(errorList, errors.Wrapf(err, "failed to get system info"))
    	}
    
    	// Totalram holds the total usable memory. Unit holds the size of a memory unit in bytes. Multiply them and convert to MB
    	actual := uint64(info.Totalram) * uint64(info.Unit) / 1024 / 1024
    	if actual < mc.Mem {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. tensorflow/cc/experimental/libtf/value.h

          case NONE:
            return true;
        }
      }
    
      /// @brief Implements visitor pattern for doing type-based dispatch.
      ///
      /// @tparam R The desired return type.
      /// @tparam Visitor The visitor class which has a callable operator.
      /// @return The `visitor` called on the correct value.
      template <class R, class Visitor>
      R visit(Visitor visitor) {
        switch (type_) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:23:45 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/infer.go

    	tparams2 := make([]*TypeParam, len(tparams))
    	for i, tparam := range tparams {
    		tname := NewTypeName(tparam.Obj().Pos(), tparam.Obj().Pkg(), tparam.Obj().Name(), nil)
    		tparams2[i] = NewTypeParam(tname, nil)
    		tparams2[i].index = tparam.index // == i
    	}
    
    	renameMap := makeRenameMap(tparams, tparams2)
    	for i, tparam := range tparams {
    		tparams2[i].bound = check.subst(pos, tparam.bound, renameMap, nil, check.context())
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 13:54:20 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  4. src/go/types/infer.go

    	tparams2 := make([]*TypeParam, len(tparams))
    	for i, tparam := range tparams {
    		tname := NewTypeName(tparam.Obj().Pos(), tparam.Obj().Pkg(), tparam.Obj().Name(), nil)
    		tparams2[i] = NewTypeParam(tname, nil)
    		tparams2[i].index = tparam.index // == i
    	}
    
    	renameMap := makeRenameMap(tparams, tparams2)
    	for i, tparam := range tparams {
    		tparams2[i].bound = check.subst(pos, tparam.bound, renameMap, nil, check.context())
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 13:54:20 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/go/types/typeutil/map.go

    				// hasher.
    				ptrMap:     h.ptrMap,
    				sigTParams: tparams,
    			}
    		}
    
    		for i := 0; i < tparams.Len(); i++ {
    			tparam := tparams.At(i)
    			hash += 7 * h.Hash(tparam.Constraint())
    		}
    
    		return hash + 3*h.hashTuple(t.Params()) + 5*h.hashTuple(t.Results())
    
    	case *types.Union:
    		return h.hashUnion(t)
    
    	case *types.Interface:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_mips64.go

    	Epc      uint64
    	Badvaddr uint64
    	Status   uint64
    	Cause    uint64
    }
    
    type FdSet struct {
    	Bits [16]int64
    }
    
    type Sysinfo_t struct {
    	Uptime    int64
    	Loads     [3]uint64
    	Totalram  uint64
    	Freeram   uint64
    	Sharedram uint64
    	Bufferram uint64
    	Totalswap uint64
    	Freeswap  uint64
    	Procs     uint16
    	Pad       uint16
    	Totalhigh uint64
    	Freehigh  uint64
    	Unit      uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_mipsle.go

    	Epc      uint64
    	Badvaddr uint64
    	Status   uint64
    	Cause    uint64
    }
    
    type FdSet struct {
    	Bits [32]int32
    }
    
    type Sysinfo_t struct {
    	Uptime    int32
    	Loads     [3]uint32
    	Totalram  uint32
    	Freeram   uint32
    	Sharedram uint32
    	Bufferram uint32
    	Totalswap uint32
    	Freeswap  uint32
    	Procs     uint16
    	Pad       uint16
    	Totalhigh uint32
    	Freehigh  uint32
    	Unit      uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64le.go

    	Trap      uint64
    	Dar       uint64
    	Dsisr     uint64
    	Result    uint64
    }
    
    type FdSet struct {
    	Bits [16]int64
    }
    
    type Sysinfo_t struct {
    	Uptime    int64
    	Loads     [3]uint64
    	Totalram  uint64
    	Freeram   uint64
    	Sharedram uint64
    	Bufferram uint64
    	Totalswap uint64
    	Freeswap  uint64
    	Procs     uint16
    	Pad       uint16
    	Totalhigh uint64
    	Freehigh  uint64
    	Unit      uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_loong64.go

    	Orig_a0  uint64
    	Era      uint64
    	Badv     uint64
    	Reserved [10]uint64
    }
    
    type FdSet struct {
    	Bits [16]int64
    }
    
    type Sysinfo_t struct {
    	Uptime    int64
    	Loads     [3]uint64
    	Totalram  uint64
    	Freeram   uint64
    	Sharedram uint64
    	Bufferram uint64
    	Totalswap uint64
    	Freeswap  uint64
    	Procs     uint16
    	Pad       uint16
    	Totalhigh uint64
    	Freehigh  uint64
    	Unit      uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_mips.go

    	Epc      uint64
    	Badvaddr uint64
    	Status   uint64
    	Cause    uint64
    }
    
    type FdSet struct {
    	Bits [32]int32
    }
    
    type Sysinfo_t struct {
    	Uptime    int32
    	Loads     [3]uint32
    	Totalram  uint32
    	Freeram   uint32
    	Sharedram uint32
    	Bufferram uint32
    	Totalswap uint32
    	Freeswap  uint32
    	Procs     uint16
    	Pad       uint16
    	Totalhigh uint32
    	Freehigh  uint32
    	Unit      uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 12.3K bytes
    - Viewed (0)
Back to top