Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 811 for rsadsi (0.12 sec)

  1. tensorflow/compiler/mlir/tf2xla/internal/passes/hoist_broadcast_read.cc

          if (is_cpu_read) reads.push_back(read);
        }
      }
      return success();
    }
    
    // Move reads above the `replicate`. Skip reads that come after a write to the
    // same resource.
    void MoveReads(ReplicateOp replicate,
                   llvm::SmallVector<ReadVariableOp, 4>& reads) {
      for (ReadVariableOp read : reads) {
        Value res = read.getResource();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. internal/ringbuffer/README.md

    `TryRead` and `TryWrite` are still available for non-blocking reads and writes.
    
    To signify the end of the stream, close the ring buffer from the writer side with `rb.CloseWriter()`
    
    Either side can use `rb.CloseWithError(err error)` to signal an error and close the ring buffer. 
    Any reads or writes will return the error on next call.
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/impl/FileSystemSnapshotSerializerTest.groovy

        @Override
        Class<? extends AbstractEncoder> getEncoder() {
            return super.getEncoder()
        }
    
        def "reads and writes empty snapshots"() {
            when:
            def out = serialize(EMPTY, serializer)
    
            then:
            out == EMPTY
        }
    
        def "reads and writes file snapshots"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  4. src/io/fs/readfile.go

    // that provides an optimized implementation of [ReadFile].
    type ReadFileFS interface {
    	FS
    
    	// ReadFile reads the named file and returns its contents.
    	// A successful call returns a nil error, not io.EOF.
    	// (Because ReadFile reads the whole file, the expected EOF
    	// from the final Read is not treated as an error to be reported.)
    	//
    	// The caller is permitted to modify the returned byte slice.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 11 20:25:50 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/io/LittleEndianDataInputStream.java

      @Override
      public int readUnsignedByte() throws IOException {
        int b1 = in.read();
        if (0 > b1) {
          throw new EOFException();
        }
    
        return b1;
      }
    
      /**
       * Reads an unsigned {@code short} as specified by {@link DataInputStream#readUnsignedShort()},
       * except using little-endian byte order.
       *
       * @return the next two bytes of the input stream, interpreted as an unsigned 16-bit integer in
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  6. internal/ioutil/read_file.go

    	_, err = io.ReadFull(f, dst)
    	return dst, st, err
    }
    
    // ReadFile reads the named file and returns the contents.
    // A successful call returns err == nil, not err == EOF.
    // Because ReadFile reads the whole file, it does not treat an EOF from Read
    // as an error to be reported.
    //
    // passes NOATIME flag for reads on Unix systems to avoid atime updates.
    func ReadFile(name string) ([]byte, error) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Dec 09 18:17:51 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  7. src/io/pipe.go

    // with code expecting an [io.Writer].
    //
    // Reads and Writes on the pipe are matched one to one
    // except when multiple Reads are needed to consume a single Write.
    // That is, each Write to the [PipeWriter] blocks until it has satisfied
    // one or more Reads from the [PipeReader] that fully consume
    // the written data.
    // The data is copied directly from the Write to the corresponding
    // Read (or Reads); there is no internal buffering.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:34:35 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/resource_operation_safety_analysis.h

    namespace tensorflow {
    // An XLA cluster hoists all resource reads to be beginning of the cluster
    // execution and all the resource writes to the end.  This means it cannot
    // enforce arbitrary ordering dependencies (via control or data edges) between
    // resource operations.  Since all resource reads happen before all resource
    // writes, edges constraining resource writes to happen before resource reads
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/LittleEndianDataInputStream.java

      @Override
      public int readUnsignedByte() throws IOException {
        int b1 = in.read();
        if (0 > b1) {
          throw new EOFException();
        }
    
        return b1;
      }
    
      /**
       * Reads an unsigned {@code short} as specified by {@link DataInputStream#readUnsignedShort()},
       * except using little-endian byte order.
       *
       * @return the next two bytes of the input stream, interpreted as an unsigned 16-bit integer in
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/util/httpstream/wsstream/stream_test.go

    	}
    }
    
    type errorReader struct {
    	reads        [][]byte
    	err          error
    	panicMessage string
    	pause        chan struct{}
    }
    
    func (r *errorReader) Read(p []byte) (int, error) {
    	if len(r.reads) == 0 {
    		if r.pause != nil {
    			<-r.pause
    		}
    		if len(r.panicMessage) != 0 {
    			panic(r.panicMessage)
    		}
    		return 0, r.err
    	}
    	next := r.reads[0]
    	r.reads = r.reads[1:]
    	copy(p, next)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 29 15:48:39 UTC 2023
    - 7.4K bytes
    - Viewed (0)
Back to top