Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 74 for setFoo (0.27 sec)

  1. src/text/template/parse/parse.go

    	case itemIdentifier:
    		checkFunc := t.Mode&SkipFuncCheck == 0
    		if checkFunc && !t.hasFunction(token.val) {
    			t.errorf("function %q not defined", token.val)
    		}
    		return NewIdentifier(token.val).SetTree(t).SetPos(token.pos)
    	case itemDot:
    		return t.newDot(token.pos)
    	case itemNil:
    		return t.newNil(token.pos)
    	case itemVariable:
    		return t.useVar(token.pos, token.val)
    	case itemField:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:57:51 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  2. 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)
  3. src/encoding/binary/binary.go

    				d.value(v)
    			} else {
    				d.skip(v)
    			}
    		}
    
    	case reflect.Slice:
    		l := v.Len()
    		for i := 0; i < l; i++ {
    			d.value(v.Index(i))
    		}
    
    	case reflect.Bool:
    		v.SetBool(d.bool())
    
    	case reflect.Int8:
    		v.SetInt(int64(d.int8()))
    	case reflect.Int16:
    		v.SetInt(int64(d.int16()))
    	case reflect.Int32:
    		v.SetInt(int64(d.int32()))
    	case reflect.Int64:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:29:31 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. src/cmd/compile/internal/walk/expr.go

    		// and would lose the init list.
    		base.Fatalf("walkExpr init == &n->ninit")
    	}
    
    	if len(n.Init()) != 0 {
    		walkStmtList(n.Init())
    		init.Append(ir.TakeInit(n)...)
    	}
    
    	lno := ir.SetPos(n)
    
    	if base.Flag.LowerW > 1 {
    		ir.Dump("before walk expr", n)
    	}
    
    	if n.Typecheck() != 1 {
    		base.Fatalf("missed typecheck: %+v", n)
    	}
    
    	if n.Type().IsUntyped() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:01 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  7. 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)
  8. src/encoding/json/decode.go

    			} else {
    				d.saveError(&UnmarshalTypeError{Value: "bool", Type: v.Type(), Offset: int64(d.readIndex())})
    			}
    		case reflect.Bool:
    			v.SetBool(value)
    		case reflect.Interface:
    			if v.NumMethod() == 0 {
    				v.Set(reflect.ValueOf(value))
    			} else {
    				d.saveError(&UnmarshalTypeError{Value: "bool", Type: v.Type(), Offset: int64(d.readIndex())})
    			}
    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

    		ptr := val
    		if ptr.Kind() != reflect.Pointer {
    			s.errorString("type not a pointer: " + val.Type().String())
    			return
    		}
    		switch v := ptr.Elem(); v.Kind() {
    		case reflect.Bool:
    			v.SetBool(s.scanBool(verb))
    		case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64:
    			v.SetInt(s.scanInt(verb, v.Type().Bits()))
    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/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)
Back to top