Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 61 for setStop (0.41 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratorTest.java

            assertThat(bean.getProp(), sameInstance(conventionValue));
    
            bean.setProp(toList("other"));
            assertThat(bean.getProp(), equalTo(toList("other")));
    
            bean.setProp(Collections.<String>emptyList());
            assertThat(bean.getProp(), equalTo(Collections.<String>emptyList()));
    
            bean.setProp(null);
            assertThat(bean.getProp(), nullValue());
        }
    
        @Test
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 74.6K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/typecheck/expr.go

    			n.SetType(nil)
    			return n
    		}
    		n.SetType(t)
    		n.SetOp(ir.OSLICESTR)
    	} else if t.IsPtr() && t.Elem().IsArray() {
    		tp = t.Elem()
    		n.SetType(types.NewSlice(tp.Elem()))
    		types.CalcSize(n.Type())
    		if hasmax {
    			n.SetOp(ir.OSLICE3ARR)
    		} else {
    			n.SetOp(ir.OSLICEARR)
    		}
    	} else if t.IsSlice() {
    		n.SetType(t)
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/initialization/MixInLegacyTypesClassLoaderTest.groovy

                package org.gradle.api.plugins;
                class JavaPluginConvention {
                    String _prop;
                    String getProp() { return _prop; }
                    void setProp(String value) { _prop = value; }
                    String doSomething(String arg) { return arg; }
                }
            """)
            !GroovyObject.isAssignableFrom(original)
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 22 23:58:47 UTC 2022
    - 8.9K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ir/mini.go

    func (n *miniNode) posOr(pos src.XPos) src.XPos {
    	if pos.IsKnown() {
    		return pos
    	}
    	return n.pos
    }
    
    // op can be read, but not written.
    // An embedding implementation can provide a SetOp if desired.
    // (The panicking SetOp is with the other panics below.)
    func (n *miniNode) Op() Op            { return n.op }
    func (n *miniNode) Pos() src.XPos     { return n.pos }
    func (n *miniNode) SetPos(x src.XPos) { n.pos = x }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 31 22:09:44 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/typecheck/stmt.go

    		r := rhs[0]
    
    		switch r.Op() {
    		case ir.OINDEXMAP:
    			stmt.SetOp(ir.OAS2MAPR)
    		case ir.ORECV:
    			stmt.SetOp(ir.OAS2RECV)
    		case ir.ODOTTYPE:
    			r := r.(*ir.TypeAssertExpr)
    			stmt.SetOp(ir.OAS2DOTTYPE)
    			r.SetOp(ir.ODOTTYPE2)
    		case ir.ODYNAMICDOTTYPE:
    			r := r.(*ir.DynamicTypeAssertExpr)
    			stmt.SetOp(ir.OAS2DOTTYPE)
    			r.SetOp(ir.ODYNAMICDOTTYPE2)
    		default:
    			break assignOK
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 15:10:54 UTC 2023
    - 17.8K bytes
    - Viewed (0)
  6. src/cmd/pack/pack.go

    // op holds the operation we are doing (prtx).
    // verbose tells whether the 'v' option was specified.
    var (
    	op      rune
    	verbose bool
    )
    
    // setOp parses the operation string (first argument).
    func setOp(arg string) {
    	// Recognize 'go tool pack grc' because that was the
    	// formerly canonical way to build a new archive
    	// from a set of input files. Accepting it keeps old
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/execution/ExceptionAttributionIntegrationTest.groovy

                        p.extensions.create("thing", ExtensionImpl)
                    }
                }
    
                class ExtensionImpl {
                    String getProp() { return "value" }
                    void setProp(String value) {
                        throw new RuntimeException("broken")
                    }
                }
            """
            file("buildSrc/src/main/resources/META-INF/gradle-plugins/test.broken.properties") << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jan 07 06:23:22 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/typecheck/func.go

    	typecheckargs(n)
    	t := l.Type()
    	if t == nil {
    		n.SetType(nil)
    		return n
    	}
    	types.CheckSize(t)
    
    	switch l.Op() {
    	case ir.ODOTINTER:
    		n.SetOp(ir.OCALLINTER)
    
    	case ir.ODOTMETH:
    		l := l.(*ir.SelectorExpr)
    		n.SetOp(ir.OCALLMETH)
    
    		// typecheckaste was used here but there wasn't enough
    		// information further down the call chain to know if we
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 15:23:18 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  9. tensorflow/c/kernels/bitcast_op_test.cc

        return cpu_allocator();
      }
    };
    
    void TestBitcastOp(Tensor* input_tensor, DataType out_type,
                       TensorShape expected_shape, error::Code expected_code) {
      Status status;
      NodeDef def;
      def.set_op("Bitcast");
      def.set_device(DEVICE_CPU);
    
      AttrValue typeAttr;
      SetAttrValue(input_tensor->dtype(), &typeAttr);
    
      AttrValue outTypeAttr;
      SetAttrValue(out_type, &outTypeAttr);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jul 18 15:10:51 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  10. tensorflow/cc/tools/freeze_saved_model.cc

                                   const Tensor& variable_value,
                                   NodeDef* const_node) {
      const_node->set_name(variable_node.name());
      const_node->set_op("Const");
      (*const_node->mutable_attr())["dtype"] = variable_node.attr().at("dtype");
      variable_value.AsProtoTensorContent(
          (*const_node->mutable_attr())["value"].mutable_tensor());
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 11 08:05:36 UTC 2023
    - 11.9K bytes
    - Viewed (0)
Back to top