Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 72 for setSlot (0.13 sec)

  1. src/math/big/rat.go

    }
    
    // NewRat creates a new [Rat] with numerator a and denominator b.
    func NewRat(a, b int64) *Rat {
    	return new(Rat).SetFrac64(a, b)
    }
    
    // SetFloat64 sets z to exactly f and returns z.
    // If f is not finite, SetFloat returns nil.
    func (z *Rat) SetFloat64(f float64) *Rat {
    	const expMask = 1<<11 - 1
    	bits := math.Float64bits(f)
    	mantissa := bits & (1<<52 - 1)
    	exp := int((bits >> 52) & expMask)
    	switch exp {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 13.5K bytes
    - Viewed (0)
  2. src/encoding/gob/decode.go

    func decFloat32(i *decInstr, state *decoderState, value reflect.Value) {
    	value.SetFloat(float32FromBits(state.decodeUint(), i.ovfl))
    }
    
    // decFloat64 decodes an unsigned integer, treats it as a 64-bit floating-point
    // number, and stores it in value.
    func decFloat64(i *decInstr, state *decoderState, value reflect.Value) {
    	value.SetFloat(float64FromBits(state.decodeUint()))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 19:10:23 UTC 2023
    - 40.1K bytes
    - Viewed (0)
  3. src/cmd/link/internal/arm64/asm.go

    		rela.AddUint64(target.Arch, 0)
    
    		ldr.SetPlt(s, int32(plt.Size()-16))
    	} else if target.IsDarwin() {
    		ld.AddGotSym(target, ldr, syms, s, 0)
    
    		sDynid := ldr.SymDynid(s)
    		lep := ldr.MakeSymbolUpdater(syms.LinkEditPLT)
    		lep.AddUint32(target.Arch, uint32(sDynid))
    
    		plt := ldr.MakeSymbolUpdater(syms.PLT)
    		ldr.SetPlt(s, int32(plt.Size()))
    
    		// adrp x16, GOT
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 30 20:09:45 UTC 2024
    - 47K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

                }
            }
    
            if (mojo instanceof Mojo) {
                Logger mojoLogger = LoggerFactory.getLogger(mojoDescriptor.getImplementation());
                ((Mojo) mojo).setLog(new MojoLogWrapper(mojoLogger));
            }
    
            if (mojo instanceof Contextualizable) {
                pluginValidationManager.reportPluginMojoValidationIssue(
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  5. src/cmd/link/internal/riscv64/asm.go

    	plt.SetUint32(target.Arch, plt.Size()-4, 0x000e3e03) // ld      t3,0(t3)
    	plt.AddUint32(target.Arch, 0x000e0367)               // jalr    t1,t3
    	plt.AddUint32(target.Arch, 0x00000001)               // nop
    
    	ldr.SetPlt(s, int32(plt.Size()-16))
    
    	// add to got.plt: pointer to plt[0]
    	gotplt.AddAddrPlus(target.Arch, plt.Sym(), 0)
    
    	// rela
    	rela.AddAddrPlus(target.Arch, gotplt.Sym(), gotplt.Size()-8)
    	sDynid := ldr.SymDynid(s)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 01 08:06:08 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/stablehlo/passes/quantization_patterns.cc

      Block& entry = entry_func_op->getRegion(0).front();
      for (auto [arg, arg_type, arg_loc] :
           llvm::zip_equal(entry.getArguments(), arg_types, arg_locs)) {
        arg.setType(arg_type);
        arg.setLoc(arg_loc);
      }
    }
    
    // Creates a UniformQuantize op and sets it as return op.
    // The requantize scale and zero point should be determined from the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 06:04:36 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  7. src/text/template/exec.go

    	panic("not reached")
    }
    
    func (s *state) evalFloat(typ reflect.Type, n parse.Node) reflect.Value {
    	s.at(n)
    	if n, ok := n.(*parse.NumberNode); ok && n.IsFloat {
    		value := reflect.New(typ).Elem()
    		value.SetFloat(n.Float64)
    		return value
    	}
    	s.errorf("expected float; found %s", n)
    	panic("not reached")
    }
    
    func (s *state) evalComplex(typ reflect.Type, n parse.Node) reflect.Value {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:22:24 UTC 2024
    - 32K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top