Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for getvar (1.02 sec)

  1. pkg/env/var.go

    	RegisterVar(v)
    	return BoolVar{getVar(name)}
    }
    
    // RegisterIntVar registers a new integer environment variable.
    func RegisterIntVar(name string, defaultValue int, description string) IntVar {
    	v := Var{Name: name, DefaultValue: strconv.FormatInt(int64(defaultValue), 10), Description: description, Type: INT}
    	RegisterVar(v)
    	return IntVar{getVar(name)}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  2. platforms/core-configuration/declarative-dsl-provider/src/testFixtures/groovy/org/gradle/internal/declarativedsl/settings/SoftwareTypeFixture.groovy

                extension.getId().convention("<no id>");
                extension.getFoo().getBar().convention("bar");
            """
        }
    
        static String getAnotherSoftwareTypeExtensionConventions(String variableName = "extension") {
            return """
                ${variableName}.getFoo().convention("foo");
                ${variableName}.getBar().getBaz().convention("baz");
            """
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 03 16:02:26 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/beans/impl/BeanDescImplTest.java

            final BeanDesc beanDesc = new BeanDescImpl(MyBean.class);
            final MethodDesc methodDesc = beanDesc.getMethodDesc("getAaa");
            assertThat(methodDesc, is(notNullValue()));
            assertThat(methodDesc.getMethodName(), is("getAaa"));
            beanDesc.getMethodDesc("getaaa");
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetMethodNoException() throws Exception {
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/functional_control_flow_to_cfg.cc

    static Operation* CallFn(Location loc, const std::function<Value(int)>& get_arg,
                             func::FuncOp fn, OpBuilder* builder) {
      FunctionType fn_type = fn.getFunctionType();
      llvm::SmallVector<Value, 4> operands;
      int num_operands = fn_type.getNumInputs();
      operands.reserve(num_operands);
      for (int i = 0; i < num_operands; ++i) {
        Value val = get_arg(i);
        Type expected = fn_type.getInput(i);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 13 11:42:59 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/stablehlo/transforms/optimize.cc

                                  PatternRewriter &rewriter) {
      if (concat.getVal().size() < 2)
        return rewriter.notifyMatchFailure(
            concat, "Concatenate op should have at least two operands");
    
      auto first = concat.getVal()[0].getDefiningOp<mhlo::SliceOp>();
      auto second = concat.getVal()[1].getDefiningOp<mhlo::SliceOp>();
      if (!first || !second)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/beans/impl/PropertyDescImplTest.java

            final PropertyDesc propDesc = beanDesc.getPropertyDesc("cal");
            final Date date = new Date();
            propDesc.setValue(myBean, date);
            assertThat(myBean.getCal().getTime(), is(date));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testSetIntegerValueToString() throws Exception {
            final MyBean myBean = new MyBean();
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  7. platforms/core-configuration/declarative-dsl-tooling-builders/src/crossVersionTest/groovy/org/gradle/declarative/dsl/tooling/builders/r89/DeclarativeDslToolingModelsCrossVersionTest.groovy

                    }
    
                    public abstract static class Foo {
                        public Foo() {
                            this.getBar().convention("nothing");
                        }
    
                        @Restricted
                        public abstract Property<String> getBar();
                    }
                }
            """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 11:32:11 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/SinceAndIncubatingRulesKotlinTest.kt

                    added("Method", "SourceKt.foo()"),
                    added("Method", "SourceKt.fooExt(java.lang.String)"),
                    added("Method", "SourceKt.fooExt(int)"),
                    added("Method", "SourceKt.getBar()"),
                    added("Method", "SourceKt.getBarExt(java.lang.String)"),
                    added("Method", "SourceKt.getBazar()"),
                    added("Method", "SourceKt.getBazarExt(int)"),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jul 11 06:57:51 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  9. analysis/analysis-api/testData/components/compilerFacility/compilation/classKinds.ir.txt

                      receiver: GET_VAR '<this>: <root>.Operation.Add declared in <root>.Operation.Add.<get-firstValue>' type=<root>.Operation.Add origin=null
            PROPERTY name:secondValue visibility:public modality:FINAL [val]
              FIELD PROPERTY_BACKING_FIELD name:secondValue type:kotlin.Int visibility:private [final]
                EXPRESSION_BODY
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Apr 04 09:35:38 UTC 2024
    - 25K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tfr/ir/tfr_ops.cc

        if (preceding_cast.getArg().getDefiningOp()) {
          auto redundant_cast = preceding_cast.getArg().getDefiningOp<CastOp>();
          if (!redundant_cast || redundant_cast.getArg().getType() !=
                                     preceding_cast.getOut().getType()) {
            return failure();
          }
          raw_data_op.getOutput().replaceAllUsesWith(redundant_cast.getArg());
        } else {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Nov 21 16:55:41 UTC 2023
    - 38.2K bytes
    - Viewed (0)
Back to top