Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,353 for genValue (0.16 sec)

  1. platforms/jvm/language-java/src/testFixtures/groovy/org/gradle/language/fixtures/HelperProcessorFixture.groovy

            try {
                writer.write("class " + className + " {");
                writer.write("    String getValue() { return \\"");
                String messageFromOptions = options.get("message");
                if (messageFromOptions == null) {
                    writer.write(HelperUtil.getValue() + "${suffix}");
                } else {
                    writer.write(messageFromOptions);
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/tf_device_assignment.cc

            // Assign device to ops with device attribute that is empty.
            if (device_attr.getValue().empty()) {
              op->setAttr(kDeviceAttr,
                          builder.getStringAttr(func_device_attr.getValue()));
            }
          } else if (op->getDialect() == tf) {
            // Assign device to all ops in Tensorflow dialect that do not have
            // device attribute.
            op->setAttr(kDeviceAttr,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 05 23:50:19 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/internal/build/ExecutionResult.java

    public abstract class ExecutionResult<T> {
        private static final Success<Void> SUCCESS = new Success<Void>() {
            @Override
            public Void getValue() {
                return null;
            }
        };
    
        /**
         * Returns the value, if available.
         */
        public abstract T getValue();
    
        /**
         * Returns the failures in this result, or an empty list if the operation was successful.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 03 03:31:42 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  4. platforms/jvm/language-java/src/test/groovy/org/gradle/external/javadoc/internal/StringsJavadocOptionFileOptionTest.groovy

            final String valueTwo = "valueTwo"
    
            stringsOption.getValue().add(valueOne)
            stringsOption.getValue().add(valueTwo)
    
            when:
            stringsOption.write(writerContextMock)
    
            then:
            1 * writerContextMock.writeValuesOption(optionName, stringsOption.getValue(), joinBy)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/indexer/DocBoostMatcherTest.java

            map.put("boost2", 0);
            assertTrue(0.0f == docBoostMatcher.getValue(map));
    
            map.put("boost1", 1);
            map.put("boost2", 0);
            assertTrue(10.0f == docBoostMatcher.getValue(map));
    
            map.put("boost1", 1);
            map.put("boost2", 2);
            assertTrue(12.0f == docBoostMatcher.getValue(map));
        }
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. analysis/analysis-api-standalone/tests/org/jetbrains/kotlin/analysis/api/standalone/fir/test/cases/session/builder/StandaloneSessionBuilderTest.kt

            }
    
            val ktFileInCommon = session.modulesWithFiles.getValue(commonModule).single() as KtFile
            val callInCommon = ktFileInCommon.findDescendantOfType<KtCallExpression>()!!
            callInCommon.assertIsCallOf(CallableId(FqName("some.example"), FqName("Person"), Name.identifier("greet")))
    
            val ktFileInJvm = session.modulesWithFiles.getValue(sourceModule).single() as KtFile
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 16:16:39 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/transforms/dense_to_sparse.cc

      ElementsAttr attr;
      ShapedType type;
      InspectResult result = {};
      if (auto cst = dyn_cast<ConstOp>(inst)) {
        attr = cst.getValue();
        type = mlir::cast<ShapedType>(cst.getType());
      } else if (auto cst = dyn_cast<QConstOp>(inst)) {
        attr = cst.getValue();
        type = mlir::cast<ShapedType>(cst.getType());
      } else {
        result.can_compress = false;
        return result;
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  8. platforms/jvm/language-java/src/main/java/org/gradle/external/javadoc/CoreJavadocOptions.java

            this.modulePath.getValue().addAll(modulePath);
            return this;
        }
    
        @Override
        public MinimalJavadocOptions classpath(List<File> classpath) {
            this.classpath.getValue().addAll(classpath);
            return this;
        }
    
        @Override
        public MinimalJavadocOptions classpath(File... classpath) {
            this.classpath.getValue().addAll(Arrays.asList(classpath));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 28.2K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/AbstractIsolatableScalarValue.java

        public ValueSnapshot asSnapshot() {
            return this;
        }
    
        @Override
        public T isolate() {
            return getValue();
        }
    
        @Nullable
        @Override
        public <S> S coerce(Class<S> type) {
            if (type.isInstance(getValue())) {
                return type.cast(getValue());
            }
            return null;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 21:54:36 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  10. pilot/pkg/model/proxy_view.go

    		getValue: func(ep *IstioEndpoint) string {
    			return ep.Network.String()
    		},
    	}
    }
    
    type proxyViewImpl struct {
    	visible  sets.String
    	getValue func(ep *IstioEndpoint) string
    }
    
    func (v *proxyViewImpl) IsVisible(ep *IstioEndpoint) bool {
    	return v.visible.Contains(v.getValue(ep))
    }
    
    func (v *proxyViewImpl) String() string {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 15 16:11:16 UTC 2023
    - 1.8K bytes
    - Viewed (0)
Back to top