Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for setFoo (0.14 sec)

  1. src/time/time.go

    	if t.wall&hasMonotonic != 0 {
    		t.ext = t.sec()
    		t.wall &= nsecMask
    	}
    }
    
    // setMono sets the monotonic clock reading in t.
    // If t cannot hold a monotonic clock reading,
    // because its wall time is too large,
    // setMono is a no-op.
    func (t *Time) setMono(m int64) {
    	if t.wall&hasMonotonic == 0 {
    		sec := t.ext
    		if sec < minWall || maxWall < sec {
    			return
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 50.7K bytes
    - Viewed (0)
  2. src/time/format.go

    		name, offset, _, _, _ := local.lookup(t.unixSec())
    		if offset == zoneOffset && (zoneName == "" || name == zoneName) {
    			t.setLoc(local)
    			return t, nil
    		}
    
    		// Otherwise create fake zone to record offset.
    		zoneNameCopy := stringslite.Clone(zoneName) // avoid leaking the input value
    		t.setLoc(FixedZone(zoneNameCopy, zoneOffset))
    		return t, nil
    	}
    
    	if zoneName != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:28 UTC 2024
    - 49.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc

              if (TF::TensorListSetItemOp set_op =
                      llvm::dyn_cast<TF::TensorListSetItemOp>(use.getOwner())) {
                element_shape = rewriter.create<TF::ShapeOp>(
                    op.getLoc(),
                    tensorflow::GetTypeFromTFTensorShape({-1}, shape_dtype),
                    set_op.getItem());
                element_shape_acquired = true;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 70.7K bytes
    - Viewed (0)
  4. src/cmd/link/internal/loader/loader.go

    func (l *Loader) SymGot(s Sym) int32 {
    	if v, ok := l.got[s]; ok {
    		return v
    	}
    	return -1
    }
    
    // SetGot sets the GOT offset of symbol i.
    func (l *Loader) SetGot(i Sym, v int32) {
    	if i >= Sym(len(l.objSyms)) || i == 0 {
    		panic("bad symbol for SetGot")
    	}
    	if v == -1 {
    		delete(l.got, i)
    	} else {
    		l.got[i] = v
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:10 UTC 2024
    - 81.5K bytes
    - Viewed (0)
  5. 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)
  6. src/cmd/compile/internal/ssa/rewrite.go

    	if v < 0 {
    		return false
    	}
    	if (v & 0xFFF) == 0 {
    		v >>= 12
    	}
    	return v <= 0xFFF
    }
    
    // setPos sets the position of v to pos, then returns true.
    // Useful for setting the result of a rewrite's position to
    // something other than the default.
    func setPos(v *Value, pos src.XPos) bool {
    	v.Pos = pos
    	return true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  7. 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)
Back to top