Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 399 for revalue (0.09 sec)

  1. guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

              equal(getMap().get(entry.getKey()), entry.getValue()));
        }
      }
    
      private static boolean equal(@Nullable Object a, @Nullable Object b) {
        return a == b || (a != null && a.equals(b));
      }
    
      // This one-liner saves us from some ugly casts
      protected Entry<K, V> entry(K key, V value) {
        return Helpers.mapEntry(key, value);
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/DenseImmutableTable.java

            @Override
            @CheckForNull
            protected Entry<K, V> computeNext() {
              for (index++; index < maxIndex; index++) {
                V value = getValue(index);
                if (value != null) {
                  return Maps.immutableEntry(getKey(index), value);
                }
              }
              return endOfData();
            }
          };
        }
    
        // redeclare to help optimizers with b/310253115
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 10K bytes
    - Viewed (0)
  3. test/chan/select.go

    // Test simple select.
    
    package main
    
    var counter uint
    var shift uint
    
    func GetValue() uint {
    	counter++
    	return 1 << shift
    }
    
    func Send(a, b chan uint) int {
    	var i int
    
    LOOP:
    	for {
    		select {
    		case a <- GetValue():
    			i++
    			a = nil
    		case b <- GetValue():
    			i++
    			b = nil
    		default:
    			break LOOP
    		}
    		shift++
    	}
    	return i
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Feb 19 06:44:02 UTC 2012
    - 913 bytes
    - Viewed (0)
  4. 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)
  5. 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)
  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. platforms/jvm/language-java/src/main/java/org/gradle/external/javadoc/CoreJavadocOptions.java

            return optionFile.addBooleanOption(option, value);
        }
    
        public JavadocOptionFileOption<File> addFileOption(String option) {
            return optionFile.addFileOption(option);
        }
    
        public JavadocOptionFileOption<File> addFileOption(String option, File value) {
            return optionFile.addFileOption(option, value);
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 28.2K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/AbstractIsolatableScalarValue.java

    import javax.annotation.Nullable;
    
    /**
     * An isolated immutable scalar value. Should only be used for immutable JVM provided or core Gradle types.
     *
     * @param <T> the type of the value
     */
    abstract class AbstractIsolatableScalarValue<T> extends AbstractScalarValueSnapshot<T> implements Isolatable<T> {
        public AbstractIsolatableScalarValue(T value) {
            super(value);
        }
    
        @Override
        public ValueSnapshot asSnapshot() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 21:54:36 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/DerivedGoogleCollectionGenerators.java

          this.samples =
              new SampleElements<>(
                  mapSamples.e0().getValue(),
                  mapSamples.e1().getValue(),
                  mapSamples.e2().getValue(),
                  mapSamples.e3().getValue(),
                  mapSamples.e4().getValue());
        }
    
        @Override
        public SampleElements<V> samples() {
          return samples;
        }
    
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/SparseImmutableTable.java

        ImmutableMap<C, V> row = rowEntry.getValue();
        int columnIndex = cellColumnInRowIndices[index];
        Entry<C, V> colEntry = row.entrySet().asList().get(columnIndex);
        return cellOf(rowEntry.getKey(), colEntry.getKey(), colEntry.getValue());
      }
    
      @Override
      V getValue(int index) {
        int rowIndex = cellRowIndices[index];
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 5.6K bytes
    - Viewed (0)
Back to top