Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 229 for underlining (0.2 sec)

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

        underlying.remove("c");
        assertEquals(underlying.size(), map.size());
        assertFalse(map.containsKey("c"));
    
        underlying.clear();
        assertEquals(underlying.size(), map.size());
      }
    
      public void testTransformChangesAreReflectedInUnderlyingMap() {
        Map<String, Integer> underlying = Maps.newLinkedHashMap();
        underlying.put("a", 1);
        underlying.put("b", 2);
        underlying.put("c", 3);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java

        underlying.remove("c");
        assertEquals(underlying.size(), map.size());
        assertFalse(map.containsKey("c"));
    
        underlying.clear();
        assertEquals(underlying.size(), map.size());
      }
    
      public void testTransformChangesAreReflectedInUnderlyingMap() {
        Map<String, Integer> underlying = Maps.newLinkedHashMap();
        underlying.put("a", 1);
        underlying.put("b", 2);
        underlying.put("c", 3);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  3. src/bufio/bufio.go

    	}
    	buf.Write(frag)
    	return buf.String(), err
    }
    
    // WriteTo implements io.WriterTo.
    // This may make multiple calls to the [Reader.Read] method of the underlying [Reader].
    // If the underlying reader supports the [Reader.WriteTo] method,
    // this calls the underlying [Reader.WriteTo] without buffering.
    func (b *Reader) WriteTo(w io.Writer) (n int64, err error) {
    	b.lastByte = -1
    	b.lastRuneSize = -1
    
    	n, err = b.writeBuf(w)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Oct 12 14:39:08 GMT 2023
    - 21.8K bytes
    - Viewed (0)
  4. tensorflow/c/eager/parallel_device/parallel_device_lib.h

                                                TF_Status* status) const;
    
      // The number of devices operations run on.
      size_t num_underlying_devices() const { return underlying_devices_.size(); }
    
      // The devices operations run on.
      const std::vector<std::string>& underlying_devices() const {
        return underlying_devices_;
      }
    
      // Takes a description of a single operation being executed on the
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 25 15:21:13 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  5. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

      std::vector<TensorHandlePtr> components;
      components.reserve(underlying_devices_.size());
      for (const std::string& underlying_device_name : underlying_devices_) {
        TFE_TensorHandle* t = TFE_TensorHandleCopyToDevice(
            tensor, context, underlying_device_name.c_str(), status);
        if (TF_GetCode(status) != TF_OK) return nullptr;
        components.emplace_back(t);
      }
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Feb 09 07:47:20 GMT 2024
    - 25.4K bytes
    - Viewed (1)
  6. tensorflow/c/eager/parallel_device/parallel_device_test.cc

      const char* second_device_name =
          "/job:localhost/replica:0/task:0/device:CPU:1";
      std::array<const char*, 2> underlying_devices{first_device_name,
                                                    second_device_name};
      RegisterParallelDevice(context.get(), device_name, underlying_devices,
                             status.get());
      ASSERT_EQ(TF_GetCode(status.get()), TF_OK) << TF_Message(status.get());
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 08 23:47:35 GMT 2021
    - 29.3K bytes
    - Viewed (1)
  7. tensorflow/c/eager/parallel_device/parallel_device.cc

      std::vector<std::string> underlying_devices_vector;
      underlying_devices_vector.reserve(num_underlying_devices);
      for (int device_index = 0; device_index < num_underlying_devices;
           ++device_index) {
        underlying_devices_vector.push_back(underlying_devices[device_index]);
      }
      std::unique_ptr<ParallelDevice> parallel_device(
          new ParallelDevice(underlying_devices_vector));
      *device_info =
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 29 22:05:31 GMT 2023
    - 18.3K bytes
    - Viewed (0)
  8. internal/grid/types.go

    	var j JSON[T]
    	j.p = p
    	j.val = val
    	return &j
    }
    
    // Value returns the underlying value.
    // If not set yet, a new value is created.
    func (j *JSON[T]) Value() *T {
    	if j.val == nil {
    		j.val = j.p.new()
    	}
    	return j.val
    }
    
    // ValueOrZero returns the underlying value.
    // If the underlying value is nil, a zero value is returned.
    func (j *JSON[T]) ValueOrZero() T {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Apr 01 23:42:09 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/CharSource.java

       * the source will contain the concatenated data from the streams of the underlying sources.
       *
       * <p>Only one underlying stream will be open at a time. Closing the concatenated stream will
       * close the open underlying stream.
       *
       * @param sources the sources to concatenate
       * @return a {@code CharSource} containing the concatenated data
       * @since 15.0
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 22.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/ByteSource.java

       * the source will contain the concatenated data from the streams of the underlying sources.
       *
       * <p>Only one underlying stream will be open at a time. Closing the concatenated stream will
       * close the open underlying stream.
       *
       * @param sources the sources to concatenate
       * @return a {@code ByteSource} containing the concatenated data
       * @since 15.0
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 26.2K bytes
    - Viewed (0)
Back to top