Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 258 for set_type (1.6 sec)

  1. src/cmd/compile/internal/walk/convert.go

    		// if res != nil {
    		//    res = res.type
    		// }
    
    		// Grab its parts.
    		itab := ir.NewUnaryExpr(base.Pos, ir.OITAB, c)
    		itab.SetType(types.Types[types.TUINTPTR].PtrTo())
    		itab.SetTypecheck(1)
    		data := ir.NewUnaryExpr(n.Pos(), ir.OIDATA, c)
    		data.SetType(types.Types[types.TUINT8].PtrTo()) // Type is generic pointer - we're just passing it through.
    		data.SetTypecheck(1)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 09 17:28:22 UTC 2023
    - 18.2K bytes
    - Viewed (0)
  2. src/cmd/internal/goobj/objfile_test.go

    	var buf bytes.Buffer
    	w := dummyWriter(&buf)
    
    	var s Sym
    	s.SetABI(1)
    	s.SetType(uint8(objabi.STEXT))
    	s.SetFlag(0x12)
    	s.SetSiz(12345)
    	s.SetAlign(8)
    	s.Write(w)
    
    	var r Reloc
    	r.SetOff(12)
    	r.SetSiz(4)
    	r.SetType(uint16(objabi.R_ADDR))
    	r.SetAdd(54321)
    	r.SetSym(SymRef{11, 22})
    	r.Write(w)
    
    	var a Aux
    	a.SetType(AuxFuncInfo)
    	a.SetSym(SymRef{33, 44})
    	a.Write(w)
    
    	w.wr.Flush()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 15 20:22:12 UTC 2022
    - 3K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/typecheck/typecheck.go

    			n.SetType(nil)
    			return n
    		}
    		if !n.Y.Type().IsBoolean() {
    			base.Errorf("invalid operation: %v (operator %v not defined on %s)", n, n.Op(), typekind(n.Y.Type()))
    			n.SetType(nil)
    			return n
    		}
    		l, r, t := tcArith(n, n.Op(), n.X, n.Y)
    		n.X, n.Y = l, r
    		n.SetType(t)
    		return n
    
    	// shift operators
    	case ir.OLSH, ir.ORSH:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 19:08:34 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/saved_model/core/saved_variable_loading_test.cc

      auto& test_params = GetParam();
      DataType dtype = std::get<0>(test_params);
      TensorShape shape(std::get<1>(test_params));
    
      SavedVariable saved_variable;
      saved_variable.set_dtype(dtype);
      shape.AsProto(saved_variable.mutable_shape());
    
      std::unique_ptr<Variable> var;
      TF_EXPECT_OK(internal::LoadSavedVariable(context(), saved_variable, &var));
      EXPECT_EQ(var->dtype(), dtype);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 27 09:34:33 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/lib.go

    	}
    
    	for _, elfsym := range syms {
    		if elf.ST_TYPE(elfsym.Info) == elf.STT_NOTYPE || elf.ST_TYPE(elfsym.Info) == elf.STT_SECTION {
    			continue
    		}
    
    		// Symbols whose names start with "type:" are compiler generated,
    		// so make functions with that prefix internal.
    		ver := 0
    		symname := elfsym.Name // (unmangled) symbol name
    		if elf.ST_TYPE(elfsym.Info) == elf.STT_FUNC && strings.HasPrefix(elfsym.Name, "type:") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/SourceMetaDataVisitor.java

            visitTypeDeclaration(annotationDeclaration, repository, MetaType.ANNOTATION, () -> {
                super.visit(annotationDeclaration, repository);
            });
        }
    
        private void visitTypeDeclaration(TypeDeclaration<?> typeDeclaration, ClassMetaDataRepository<ClassMetaData> repository, ClassMetaData.MetaType metaType, Runnable action) {
            if (!typeDeclaration.isPublic()) {
                return;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 21 13:27:02 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/symtab.go

    			s = ldr.CreateSymForUpdate("type:*", 0)
    			s.SetType(sym.STYPE)
    			s.SetSize(0)
    			s.SetAlign(int32(ctxt.Arch.PtrSize))
    			symtype = s.Sym()
    
    			s = ldr.CreateSymForUpdate("typerel.*", 0)
    			s.SetType(sym.STYPERELRO)
    			s.SetSize(0)
    			s.SetAlign(int32(ctxt.Arch.PtrSize))
    			symtyperel = s.Sym()
    		} else {
    			s = ldr.CreateSymForUpdate("type:*", 0)
    			s.SetType(sym.STYPE)
    			s.SetSize(0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 16:29:40 UTC 2023
    - 29.2K bytes
    - Viewed (0)
  8. maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/Parameter.java

            this.setDescription(p.getDescription());
            this.setExpression(p.getExpression());
            this.setDeprecated(p.getDeprecated());
            this.setDefaultValue(p.getDefaultValue());
            this.setType(p.getType());
            this.setSince(p.getSince());
        }
    
        // ----------------------------------------------------------------------
        //
        // ----------------------------------------------------------------------
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Dec 05 08:11:33 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/decompose_optionals.cc

        for (auto [call_arg, body_arg] :
             llvm::zip(call.getOperation()->getOperands(),
                       f.getBody().front().getArguments())) {
          if (call_arg.getType() != body_arg.getType()) {
            body_arg.setType(call_arg.getType());
            changed = true;
          }
        }
        if (changed) {
          rewriter.finalizeOpModification(f);
          return success();
        } else {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  10. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/internal/DefaultResourceFilter.java

                throw new InvalidUserDataException("appliesTo must not be null");
            }
            this.appliesTo = appliesTo;
        }
    
        @Override
        public ResourceFilterType getType() {
            return type;
        }
    
        @Override
        public void setType(ResourceFilterType type) {
            if (type == null) {
                throw new InvalidUserDataException("type must not be null");
            }
            this.type = type;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 4.5K bytes
    - Viewed (0)
Back to top