Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for data_inputs (0.18 sec)

  1. tensorflow/compiler/jit/encapsulate_xla_computations_pass.cc

          control_outputs.erase(node);
          graph->RemoveNode(node);
        }
    
        TF_ASSIGN_OR_RETURN(Node * xla_launch, graph->AddNode(def));
        for (int i = 0, end = data_inputs.size(); i < end; ++i) {
          graph->AddEdge(data_inputs[i].first, data_inputs[i].second, xla_launch,
                         i);
        }
        for (Node* n : control_inputs) {
          graph->AddControlEdge(n, xla_launch);
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  2. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/filelock/LockInfoSerializer.java

            dataOutput.writeUTF(trimIfNecessary(lockInfo.operation));
        }
    
        public LockInfo read(DataInput dataInput) throws IOException {
            LockInfo out = new LockInfo();
            out.port = dataInput.readInt();
            out.lockId = dataInput.readLong();
            out.pid = dataInput.readUTF();
            out.operation = dataInput.readUTF();
            return out;
        }
    
        private String trimIfNecessary(String inputString) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  3. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/locklistener/FileLockPacketPayload.java

            DataInputStream dataInput = new DataInputStream(new ByteArrayInputStream(bytes));
            byte version = dataInput.readByte();
            if (version != PROTOCOL_VERSION) {
                throw new IllegalArgumentException(String.format("Unexpected protocol version %s received in lock contention notification message", version));
            }
            long lockId = dataInput.readLong();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  4. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/filelock/DefaultLockStateSerializer.java

            dataOutput.writeLong(state.creationNumber);
            dataOutput.writeLong(state.sequenceNumber);
        }
    
        @Override
        public LockState read(DataInput dataInput) throws IOException {
            long creationNumber = dataInput.readLong();
            long sequenceNumber = dataInput.readLong();
            return new SequenceNumberLockState(creationNumber, sequenceNumber, sequenceNumber);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  5. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/filelock/LockStateSerializer.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package org.gradle.cache.internal.filelock;
    
    import java.io.DataInput;
    import java.io.DataOutput;
    import java.io.IOException;
    
    public interface LockStateSerializer {
    
        /**
         * size (bytes) of the data of this protocol.
         */
        int getSize();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/LittleEndianDataOutputStreamTest.java

     */
    
    package com.google.common.io;
    
    import com.google.common.base.Charsets;
    import com.google.common.primitives.Bytes;
    import java.io.ByteArrayInputStream;
    import java.io.ByteArrayOutputStream;
    import java.io.DataInput;
    import java.io.DataInputStream;
    import java.io.IOException;
    import junit.framework.TestCase;
    
    /**
     * Test class for {@link LittleEndianDataOutputStream}.
     *
     * @author Keith Bottner
     */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/LittleEndianDataOutputStreamTest.java

     */
    
    package com.google.common.io;
    
    import com.google.common.base.Charsets;
    import com.google.common.primitives.Bytes;
    import java.io.ByteArrayInputStream;
    import java.io.ByteArrayOutputStream;
    import java.io.DataInput;
    import java.io.DataInputStream;
    import java.io.IOException;
    import junit.framework.TestCase;
    
    /**
     * Test class for {@link LittleEndianDataOutputStream}.
     *
     * @author Keith Bottner
     */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/LittleEndianDataInputStreamTest.java

      }
    
      public void testReadFully() throws IOException {
        DataInput in = new LittleEndianDataInputStream(new ByteArrayInputStream(data));
        byte[] b = new byte[data.length];
        in.readFully(b);
        assertEquals(Bytes.asList(data), Bytes.asList(b));
      }
    
      public void testReadUnsignedByte_eof() throws IOException {
        DataInput in = new LittleEndianDataInputStream(new ByteArrayInputStream(new byte[0]));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/io/ByteArrayDataInput.java

    import com.google.common.annotations.J2ktIncompatible;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.io.DataInput;
    import java.io.IOException;
    import javax.annotation.CheckForNull;
    
    /**
     * An extension of {@code DataInput} for reading from in-memory byte arrays; its methods offer
     * identical functionality but do not throw {@link IOException}.
     *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  10. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/filelock/Version1LockStateSerializer.java

            DirtyFlagLockState state = (DirtyFlagLockState) lockState;
            dataOutput.writeBoolean(!state.dirty);
        }
    
        @Override
        public LockState read(DataInput dataInput) throws IOException {
            return new DirtyFlagLockState(!dataInput.readBoolean());
        }
    
        private static class DirtyFlagLockState implements LockState {
            private final boolean dirty;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 2.4K bytes
    - Viewed (0)
Back to top