Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 304 for setValues (0.13 sec)

  1. android/guava/src/com/google/common/collect/AbstractMapBasedMultiset.java

        }
        int oldCount = backingMap.getValue(entryIndex);
        long newCount = (long) oldCount + (long) occurrences;
        checkArgument(newCount <= Integer.MAX_VALUE, "too many occurrences: %s", newCount);
        backingMap.setValue(entryIndex, (int) newCount);
        size += occurrences;
        return oldCount;
      }
    
      @CanIgnoreReturnValue
      @Override
      public final int remove(@CheckForNull Object element, int occurrences) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/ManagedCollectionProxyClassGeneratorTest.groovy

                classes[publicType] = generated
            }
            return generated
        }
    
        interface SomeType {
            Integer getValue()
    
            void setValue(Integer value)
        }
    
        interface SpecializedType extends SomeType {}
    
        interface SpecializedType2 extends SomeType {}
    
        static class SomeTypeImpl implements SomeType {
            SomeType target
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  3. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/mappingToJvm/DeclarativeRuntimeProperty.kt

    package org.gradle.internal.declarativedsl.mappingToJvm
    
    
    fun interface DeclarativeRuntimePropertyGetter {
        fun getValue(receiver: Any): Any?
    }
    
    
    fun interface DeclarativeRuntimePropertySetter {
        fun setValue(receiver: Any, value: Any?)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 17:34:03 UTC 2024
    - 862 bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

        } finally {
          function = null;
        }
    
        /*
         * If set()/setValue() throws an Error, we let it propagate. Why? The most likely Error is a
         * StackOverflowError (from deep transform(..., directExecutor()) nesting), and calling
         * setException(stackOverflowError) would fail:
         *
         * - If the stack overflowed before set()/setValue() could even store the result in the output
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  5. platforms/core-runtime/cli/src/main/java/org/gradle/cli/ParsedCommandLineOption.java

            }
            if (values.size() > 1) {
                throw new IllegalStateException("Option has multiple values.");
            }
            return values.get(0);
        }
    
        public List<String> getValues() {
            return values;
        }
    
        public void addArgument(String argument) {
            values.add(argument);
        }
    
        public boolean hasValue() {
            return !values.isEmpty();
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:00:57 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  6. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/exceptions/ValueCollectingDiagnosticsVisitor.java

    import java.util.TreeSet;
    
    public class ValueCollectingDiagnosticsVisitor implements DiagnosticsVisitor {
        private final TreeSet<String> values = new TreeSet<String>();
    
        public SortedSet<String> getValues() {
            return values;
        }
    
        @Override
        public DiagnosticsVisitor candidate(String displayName) {
            return this;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/PropertyMutator.java

     */
    
    package org.gradle.internal.reflect;
    
    import javax.annotation.Nullable;
    
    public interface PropertyMutator {
        String getName();
    
        Class<?> getType();
    
        void setValue(Object target, @Nullable Object value);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 833 bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/toolchain/DefaultToolchainTest.java

            tm1.addProvide("version", "1.5");
            tm1.addProvide("vendor", "sun");
            Xpp3Dom configuration1 = new Xpp3Dom("configuration");
            Xpp3Dom jdkHome1 = new Xpp3Dom("jdkHome");
            jdkHome1.setValue("${env.JAVA_HOME}");
            configuration1.addChild(jdkHome1);
            tm1.setConfiguration(configuration1);
    
            ToolchainModel tm2 = new ToolchainModel();
            tm1.setType("jdk");
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Sep 22 09:07:17 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

      if (elem_type.isSignlessInteger() || elem_type.isUnsignedInteger()) {
        auto start_attr = start_tensor.getValues<IntegerAttr>()[0];
        auto limit_attr = limit_tensor.getValues<IntegerAttr>()[0];
        auto delta_attr = delta_tensor.getValues<IntegerAttr>()[0];
        int num_elements;
        if (elem_type.isUnsignedInteger()) {
          uint64_t start = start_attr.getUInt();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  10. platforms/jvm/language-java/src/main/java/org/gradle/external/javadoc/OptionLessJavadocOptionFileOption.java

    /**
     * Represents a Javadoc option.
     *
     * @param <T> The type which this option represents.
     */
    @HasInternalProtocol
    public interface OptionLessJavadocOptionFileOption<T> {
        T getValue();
    
        void setValue(T value);
    
        void write(JavadocOptionFileWriterContext writerContext) throws IOException;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 1.1K bytes
    - Viewed (0)
Back to top