Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 51 for setSlot (0.18 sec)

  1. src/encoding/json/decode.go

    			if err != nil || v.OverflowFloat(n) {
    				d.saveError(&UnmarshalTypeError{Value: "number " + string(item), Type: v.Type(), Offset: int64(d.readIndex())})
    				break
    			}
    			v.SetFloat(n)
    		}
    	}
    	return nil
    }
    
    // The xxxInterface routines build up a value to be stored
    // in an empty interface. They are not strictly necessary,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  2. src/fmt/scan.go

    			for i := 0; i < len(str); i++ {
    				v.Index(i).SetUint(uint64(str[i]))
    			}
    		case reflect.Float32, reflect.Float64:
    			s.SkipSpace()
    			s.notEOF()
    			v.SetFloat(s.convertFloat(s.floatToken(), v.Type().Bits()))
    		case reflect.Complex64, reflect.Complex128:
    			v.SetComplex(s.scanComplex(verb, v.Type().Bits()))
    		default:
    			s.errorString("can't scan type: " + val.Type().String())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:56:20 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/_gen/AMD64Ops.go

    		{name: "SETNE", argLength: 1, reg: readflags, asm: "SETNE"}, // extract != condition from arg0
    		{name: "SETL", argLength: 1, reg: readflags, asm: "SETLT"},  // extract signed < condition from arg0
    		{name: "SETLE", argLength: 1, reg: readflags, asm: "SETLE"}, // extract signed <= condition from arg0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 04 16:40:24 UTC 2023
    - 98K bytes
    - Viewed (1)
  4. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_composite_functions.cc

        return failure();
      }
    
      for (Operation& inner_op : quantized_func.getBody().front().getOperations()) {
        if (!inner_op.hasAttr(kAttrMapAttribute)) continue;
        inner_op.setLoc(main_op->getLoc());
      }
      return success();
    }
    
    // Get the corresponding quantized function name from the given function name.
    std::string GetQuantizedFunctionName(StringRef func_name,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 54.5K bytes
    - Viewed (0)
  5. src/reflect/value.go

    	case Complex128:
    		*(*complex128)(v.ptr) = x
    	}
    }
    
    // SetFloat sets v's underlying value to x.
    // It panics if v's Kind is not [Float32] or [Float64], or if [Value.CanSet] returns false.
    func (v Value) SetFloat(x float64) {
    	v.mustBeAssignable()
    	switch k := v.kind(); k {
    	default:
    		panic(&ValueError{"reflect.Value.SetFloat", v.kind()})
    	case Float32:
    		*(*float32)(v.ptr) = float32(x)
    	case Float64:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  6. src/runtime/asm_386.s

    #ifdef GOOS_windows
    	CALL	runtime·wintls(SB)
    #endif
    	// set up ldt 7 to point at m0.tls
    	// ldt 1 would be fine on Linux, but on OS X, 7 is as low as we can go.
    	// the entry number is just a hint.  setldt will set up GS with what it used.
    	MOVL	$7, 0(SP)
    	LEAL	runtime·m0+m_tls(SB), AX
    	MOVL	AX, 4(SP)
    	MOVL	$32, 8(SP)	// sizeof(tls array)
    	CALL	runtime·setldt(SB)
    	RET
    
    TEXT runtime·emptyfunc(SB),0,$0-0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 15:45:13 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  7. src/reflect/all_test.go

    			v.SetUint(132)
    		case Uint8:
    			v.SetUint(8)
    		case Uint16:
    			v.SetUint(16)
    		case Uint32:
    			v.SetUint(32)
    		case Uint64:
    			v.SetUint(64)
    		case Float32:
    			v.SetFloat(256.25)
    		case Float64:
    			v.SetFloat(512.125)
    		case Complex64:
    			v.SetComplex(532.125 + 10i)
    		case Complex128:
    			v.SetComplex(564.25 + 1i)
    		case String:
    			v.SetString("stringy cheese")
    		case Bool:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  8. src/cmd/link/internal/ppc64/asm.go

    		// for writing the entire PLT.  We just need to
    		// reserve 8 bytes for each PLT entry and generate a
    		// JMP_SLOT dynamic relocation for it.
    		//
    		// TODO(austin): ABI v1 is different
    		ldr.SetPlt(s, int32(plt.Size()))
    
    		plt.Grow(plt.Size() + 8)
    		plt.SetSize(plt.Size() + 8)
    
    		rela.AddAddrPlus(ctxt.Arch, plt.Sym(), int64(ldr.SymPlt(s)))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 20:54:08 UTC 2024
    - 63.7K bytes
    - Viewed (0)
  9. src/cmd/link/internal/ld/lib.go

    	if ldr.SymGot(s) >= 0 {
    		return
    	}
    
    	Adddynsym(ldr, target, syms, s)
    	got := ldr.MakeSymbolUpdater(syms.GOT)
    	ldr.SetGot(s, int32(got.Size()))
    	got.AddUint(target.Arch, 0)
    
    	if target.IsElf() {
    		if target.Arch.PtrSize == 8 {
    			rela := ldr.MakeSymbolUpdater(syms.Rela)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
  10. src/cmd/link/internal/ld/data.go

    			}
    
    			// make dynimport JMP table for PE object files.
    			tplt := int32(rel.Size())
    			ctxt.loader.SetPlt(targ, tplt)
    
    			if su == nil {
    				su = ctxt.loader.MakeSymbolUpdater(s)
    			}
    			r.SetSym(rel.Sym())
    			r.SetAdd(int64(tplt))
    
    			// jmp *addr
    			switch ctxt.Arch.Family {
    			default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (0)
Back to top