Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 258 for set_type (0.14 sec)

  1. platforms/core-configuration/base-services-groovy/src/main/java/org/gradle/groovy/scripts/internal/ExpressionReplacingVisitorSupport.java

            result.setType(expr.getType());
            result.setSourcePosition(expr);
            replaceVisitedExpressionWith(result);
        }
    
        @Override
        public void visitNotExpression(NotExpression expr) {
            NotExpression result = new NotExpression(
                replaceExpr(expr.getExpression()));
            result.setType(expr.getType());
            result.setSourcePosition(expr);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 10:00:26 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/typecheck/const.go

    			break
    		}
    		n = ir.NewConstExpr(v, n)
    		n.SetType(t)
    		return n
    
    	case ir.OPLUS, ir.ONEG, ir.OBITNOT, ir.ONOT, ir.OREAL, ir.OIMAG:
    		ot := operandType(n.Op(), t)
    		if ot == nil {
    			n = DefaultLit(n, nil)
    			break
    		}
    
    		n := n.(*ir.UnaryExpr)
    		n.X = convlit(n.X, ot)
    		if n.X.Type() == nil {
    			n.SetType(nil)
    			return n
    		}
    		n.SetType(t)
    		return n
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 15:20:28 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  3. maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExceptionTest.java

            pluginDescriptor.setArtifactId("artifactId");
            mojoDescriptor.setPluginDescriptor(pluginDescriptor);
    
            Parameter parameter = new Parameter();
            parameter.setType("java.lang.String[]");
            parameter.setName("toAddresses");
    
            parameter.setRequired(true);
    
            PluginParameterException exception =
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  4. maven-core/src/test/java/org/apache/maven/toolchain/DefaultToolchainTest.java

            DefaultToolchain toolchain = newDefaultToolchain(model, "TYPE");
            assertEquals("TYPE", toolchain.getType());
    
            model.setType("MODEL_TYPE");
            toolchain = newDefaultToolchain(model);
            assertEquals("MODEL_TYPE", toolchain.getType());
        }
    
        @Test
        void testGetLogger() {
            ToolchainModel model = new ToolchainModel();
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Sep 22 09:07:17 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/ModelSetNodeInitializerExtractionStrategy.java

            public ModelView<ModelSet<T>> toView(MutableModelNode modelNode, ModelRuleDescriptor ruleDescriptor, boolean mutable) {
                ModelType<ModelSet<T>> setType = ModelTypes.modelSet(elementType);
                DefaultModelViewState state = new DefaultModelViewState(modelNode.getPath(), setType, ruleDescriptor, mutable, !mutable);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  6. maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilderTest.java

            toolchain.setType("TYPE");
            toolchain.setProvides(props);
            PersistedToolchains userResult = new PersistedToolchains();
            userResult.setToolchains(Collections.singletonList(toolchain));
    
            props = new Properties();
            props.put("key", "global_value");
            toolchain = new ToolchainModel();
            toolchain.setType("TYPE");
            toolchain.setProvides(props);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/c/c_api_unified_experimental_mlir.cc

      return absl::OkStatus();
    }
    
    Status MlirAbstractOp::AddRef(Type type, Type* output_type) {
      Type elt_type = getElementTypeOrSelf(type);
      if (mlir::isa<mlir::TF::TensorFlowRefType>(elt_type)) {
        return InvalidArgument("Requested reference to a reference type");
      }
      elt_type = TensorFlowRefType::get(elt_type);
      if (RankedTensorType tensor_type = mlir::dyn_cast<RankedTensorType>(type)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/walk/walk.go

    	}
    	ptr = ir.NewUnaryExpr(base.Pos, ir.OSPTR, n)
    	if n.Type().IsString() {
    		ptr.SetType(types.Types[types.TUINT8].PtrTo())
    	} else {
    		ptr.SetType(n.Type().Elem().PtrTo())
    	}
    	ptr.SetTypecheck(1)
    	length = ir.NewUnaryExpr(base.Pos, ir.OLEN, n)
    	length.SetType(types.Types[types.TINT])
    	length.SetTypecheck(1)
    	return ptr, length
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 20:56:00 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/util/MimeMap.java

                            break;
                        } else if( ch == '#' ) {
                            state = ST_COMM;
                            break;
                        }
                        state = ST_TYPE;
                    case ST_TYPE:
                        if( ch == ' ' || ch == '\t' ) {
                            state = ST_GAP;
                        } else {
                            type[t++] = ch;
                        }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 4.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/xla_device_ops.h

                                  .Device(DEVICE)                                  \
                                  .HostMemory("output")                            \
                                  .TypeConstraint<int32>("out_type")               \
                                  .TypeConstraint("T", TYPES),                     \
                              ShapeOp<int32>);                                     \
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Nov 23 19:28:25 UTC 2021
    - 17.1K bytes
    - Viewed (0)
Back to top