Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for add_value (0.22 sec)

  1. android/guava-tests/test/com/google/common/base/ToStringHelperTest.java

        helper.addValue(2);
        assertEquals(expected2, helper.toString());
      }
    
      @GwtIncompatible // Class names are obfuscated in GWT
      public void testToString_addValue() {
        String toTest =
            MoreObjects.toStringHelper(new TestClass())
                .add("field1", 1)
                .addValue("value1")
                .add("field2", "value2")
                .addValue(2)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:24:55 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/ToStringHelperTest.java

        helper.addValue(2);
        assertEquals(expected2, helper.toString());
      }
    
      @GwtIncompatible // Class names are obfuscated in GWT
      public void testToString_addValue() {
        String toTest =
            MoreObjects.toStringHelper(new TestClass())
                .add("field1", 1)
                .addValue("value1")
                .add("field2", "value2")
                .addValue(2)
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:24:55 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_test.cc

      for (int64_t i = 0; i < input.NumElements(); ++i) {
        tensorflow::Example example;
        auto* feature_map = example.mutable_features()->mutable_feature();
        (*feature_map)["x"].mutable_float_list()->add_value(i);
        input.flat<tstring>()(i) = example.SerializeAsString();
      }
    
      const tensorflow::string input_op_name(
          tensorflow::ParseTensorName(input_name).first);
      TF_Operation* input_op =
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  4. guava/src/com/google/common/cache/CacheBuilder.java

          s.add("valueStrength", Ascii.toLowerCase(valueStrength.toString()));
        }
        if (keyEquivalence != null) {
          s.addValue("keyEquivalence");
        }
        if (valueEquivalence != null) {
          s.addValue("valueEquivalence");
        }
        if (removalListener != null) {
          s.addValue("removalListener");
        }
        return s.toString();
      }
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 51.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/cache/CacheBuilder.java

          s.add("valueStrength", Ascii.toLowerCase(valueStrength.toString()));
        }
        if (keyEquivalence != null) {
          s.addValue("keyEquivalence");
        }
        if (valueEquivalence != null) {
          s.addValue("valueEquivalence");
        }
        if (removalListener != null) {
          s.addValue("removalListener");
        }
        return s.toString();
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/Futures.java

            callback.onFailure(e);
            return;
          }
          callback.onSuccess(value);
        }
    
        @Override
        public String toString() {
          return MoreObjects.toStringHelper(this).addValue(callback).toString();
        }
      }
    
      /**
       * Returns the result of the input {@code Future}, which must have already completed.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

        }
      }
    
      @Override
      public String toString() {
        // TODO(dpb): Better toString, in the style of Futures.transform etc.
        return toStringHelper(this).add("state", state.get()).addValue(future).toString();
      }
    
      @SuppressWarnings("removal") // b/260137033
      @Override
      protected void finalize() {
        if (state.get().equals(OPEN)) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 98.5K bytes
    - Viewed (0)
Back to top