Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for add_value (0.1 sec)

  1. 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 =
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 97K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/base/ToStringHelperBenchmark.java

                .add(LONG_NAME, null)
                .addValue("z")
                .addValue("")
                .addValue(null)
                .add(SHORT_NAME, Arrays.asList("A"))
                .add(LONG_NAME, Arrays.asList("B"))
                .add(SHORT_NAME, Arrays.asList())
                .add(LONG_NAME, Arrays.asList())
                .addValue(Arrays.asList("C"))
                .addValue(Arrays.asList())
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/base/ToStringHelperBenchmark.java

                .add(LONG_NAME, null)
                .addValue("z")
                .addValue("")
                .addValue(null)
                .add(SHORT_NAME, Arrays.asList("A"))
                .add(LONG_NAME, Arrays.asList("B"))
                .add(SHORT_NAME, Arrays.asList())
                .add(LONG_NAME, Arrays.asList())
                .addValue(Arrays.asList("C"))
                .addValue(Arrays.asList())
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/base/ToStringHelperTest.java

      public void testToString_addValueWithNullValue() {
        final String result =
            MoreObjects.toStringHelper(new TestClass())
                .addValue(null)
                .addValue("Hello")
                .addValue(null)
                .toString();
        final String expected = "TestClass{null, Hello, null}";
    
        assertEquals(expected, result);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 09 21:19:18 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/MoreObjects.java

        public ToStringHelper addValue(@CheckForNull Object value) {
          return addHolder(value);
        }
    
        /**
         * Adds an unnamed value to the formatted output.
         *
         * <p>It is strongly encouraged to use {@link #add(String, boolean)} instead and give value a
         * readable name.
         *
         * @since 18.0 (since 11.0 as {@code Objects.ToStringHelper.addValue()}).
         */
        @CanIgnoreReturnValue
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/beans/util/MyBean3.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.beans.util;
    
    /**
     * @author higa
     */
    public class MyBean3 {
    
        /**
         *
         */
        public String abc_value = "abc";
    
        /**
         *
         */
        public String xyz_value = "xyz";
    
        /**
         *
         */
        public String other = "other";
    
        /**
         *
         */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1011 bytes
    - Viewed (0)
  7. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt

      internal val generalName: DerAdapter<Pair<DerAdapter<*>, Any?>> =
        Adapters.choice(
          generalNameDnsName,
          generalNameIpAddress,
          Adapters.ANY_VALUE,
        )
    
      /**
       * ```
       * SubjectAltName ::= GeneralNames
       *
       * GeneralNames ::= SEQUENCE SIZE (1..MAX) OF GeneralName
       * ```
       */
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  8. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt

                val string = formatGeneralizedTime(value)
                return writer.writeUtf8(string)
              }
            },
        )
    
      /** Decodes any value without interpretation as [AnyValue]. */
      val ANY_VALUE =
        object : DerAdapter<AnyValue> {
          override fun matches(header: DerHeader): Boolean = true
    
          override fun fromDer(reader: DerReader): AnyValue {
            reader.read("ANY") { header ->
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/beans/util/CopyOptionsTest.java

        public void testIsTargetProperty_excludes_prefix() throws Exception {
            final CopyOptions option = new CopyOptions().prefix(BeanNames.abc_()).exclude(BeanNames.abc_exclude());
            assertThat(option.isTargetProperty("abc_value"), is(true));
            assertThat(option.isTargetProperty("abc_exclude"), is(not(true)));
            assertThat(option.isTargetProperty("ab"), is(not(true)));
        }
    
        /**
         * @throws Exception
         */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 12K bytes
    - Viewed (0)
  10. 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();
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 52K bytes
    - Viewed (0)
Back to top