Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 908 for lengthOf (0.22 sec)

  1. guava-tests/test/com/google/common/collect/TreeMultimapExplicitTest.java

          if (first == second) {
            return 0;
          } else if (first == null) {
            return -1;
          } else if (second == null) {
            return 1;
          } else if (first.length() != second.length()) {
            return first.length() - second.length();
          } else {
            return first.compareTo(second);
          }
        }
      }
    
      /** Decreasing integer values. A {@code null} comes before any non-null value. */
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/gradients/tape/tape_operation.cc

                                            const size_t* lengths, int num_values) {
      std::vector<StringPiece> v(num_values);
      for (int i = 0; i < num_values; ++i) {
        v[i] = StringPiece(static_cast<const char*>(values[i]), lengths[i]);
      }
      forward_op_.attrs.Set(attr_name, v);
      return parent_op_->SetAttrStringList(attr_name, values, lengths, num_values);
    }
    Status TapeOperation::SetAttrFloatList(const char* attr_name,
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Tue Jun 07 01:53:35 GMT 2022
    - 9K bytes
    - Viewed (1)
  3. tensorflow/c/eager/abstract_operation.h

      std::vector<size_t> lengths;
      raw_strs.reserve(values.size());
      lengths.reserve(values.size());
      for (const auto& s : values) {
        raw_strs.emplace_back(s.data());
        lengths.emplace_back(s.size());
      }
      return SetAttrStringList(attr_name,
                               reinterpret_cast<const void**>(raw_strs.data()),
                               lengths.data(), values.size());
    }
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Jul 14 16:20:41 GMT 2021
    - 6.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/hash/Fingerprint2011Test.java

     *
     * @author ******@****.*** (Kyle Maddison)
     */
    public class Fingerprint2011Test extends TestCase {
    
      // Length of the sample string to produce
      private static final int MAX_BYTES = 1000;
    
      // Map from sample string lengths to the fingerprint
      private static final ImmutableSortedMap<Integer, Long> LENGTH_FINGERPRINTS =
          new ImmutableSortedMap.Builder<Integer, Long>(Ordering.natural())
              .put(1000, 0x433109b33e13e6edL)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 29 14:55:25 GMT 2021
    - 7.6K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/gradients/tape/tape_operation.h

      Status SetAttrFunctionName(const char* attr_name, const char* value,
                                 size_t length) override;
      Status SetAttrTensor(const char* attr_name,
                           AbstractTensorInterface* tensor) override;
      Status SetAttrStringList(const char* attr_name, const void* const* values,
                               const size_t* lengths, int num_values) override;
      Status SetAttrFloatList(const char* attr_name, const float* values,
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Sep 23 23:12:39 GMT 2020
    - 3.7K bytes
    - Viewed (1)
  6. android/guava-tests/test/com/google/common/collect/TreeMultimapExplicitTest.java

          if (first == second) {
            return 0;
          } else if (first == null) {
            return -1;
          } else if (second == null) {
            return 1;
          } else if (first.length() != second.length()) {
            return first.length() - second.length();
          } else {
            return first.compareTo(second);
          }
        }
      }
    
      /** Decreasing integer values. A {@code null} comes before any non-null value. */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/Fingerprint2011.java

          result = murmurHash64WithSeed(bytes, offset, length, K0 ^ K1 ^ K2);
        } else if (length <= 64) {
          result = hashLength33To64(bytes, offset, length);
        } else {
          result = fullFingerprint(bytes, offset, length);
        }
    
        long u = length >= 8 ? load64(bytes, offset) : K0;
        long v = length >= 9 ? load64(bytes, offset + length - 8) : K0;
        result = hash128to64(result + v, u);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Dec 28 17:50:25 GMT 2021
    - 6.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/hash/Fingerprint2011Test.java

     *
     * @author ******@****.*** (Kyle Maddison)
     */
    public class Fingerprint2011Test extends TestCase {
    
      // Length of the sample string to produce
      private static final int MAX_BYTES = 1000;
    
      // Map from sample string lengths to the fingerprint
      private static final ImmutableSortedMap<Integer, Long> LENGTH_FINGERPRINTS =
          new ImmutableSortedMap.Builder<Integer, Long>(Ordering.natural())
              .put(1000, 0x433109b33e13e6edL)
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Dec 29 14:55:25 GMT 2021
    - 7.6K bytes
    - Viewed (0)
  9. tensorflow/c/eager/gradients_internal.h

                               const char* value, size_t length, ForwardOperation*);
    Status SetAttrTensor(AbstractOperation*, const char* attr_name,
                         AbstractTensorInterface* tensor, ForwardOperation*);
    Status SetAttrStringList(AbstractOperation*, const char* attr_name,
                             const void* const* values, const size_t* lengths,
                             int num_values, ForwardOperation*);
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sun Oct 24 11:27:35 GMT 2021
    - 4.2K bytes
    - Viewed (0)
  10. tensorflow/c/c_api_internal.h

    namespace tensorflow {
    
    // Set the shapes and types of the output's handle.
    //
    // The lengths of the arrays pointed to by `shapes`, `ranks`, and `types` must
    // all be equal to `num_shapes_and_types`. If `ranks[i] != -1`, (i.e., if the
    // rank is known), then it must be equal to the length of `shapes[i]`; if
    // `ranks[i] == 1`, then `shapes[i]` may be nullptr.
    //
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sat May 13 00:49:12 GMT 2023
    - 7.6K bytes
    - Viewed (0)
Back to top