Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 507 for PBuffer (0.13 sec)

  1. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/lstm.json

              "name": "input2output_weights4"
            },
            {
              "shape": [2, 4],
              "buffer": 5,
              "name": "rec2input_weights5"
            },
            {
              "shape": [2, 4],
              "buffer": 6,
              "name": "rec2forget_weights6"
            },
            {
              "shape": [2, 4],
              "buffer": 7,
              "name": "rec2cell_weights7"
            },
            {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 06:25:50 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  2. maven-embedder/src/main/java/org/apache/maven/cli/transfer/ConsoleMavenTransferListener.java

                    buffer.append(" | ");
                }
            }
    
            int pad = lastLength - buffer.length();
            lastLength = buffer.length();
            pad(buffer, pad);
            buffer.append('\r');
            out.print(buffer);
            out.flush();
            buffer.setLength(0);
        }
    
        private void pad(StringBuilder buffer, int spaces) {
            String block = "                                        ";
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 21:48:41 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache_interval.go

    	wci.fillBuffer()
    	if event, exists := wci.buffer.next(); exists {
    		return event, nil
    	}
    	return nil, nil
    }
    
    func (wci *watchCacheInterval) fillBuffer() {
    	wci.buffer.startIndex = 0
    	wci.buffer.endIndex = 0
    	for wci.startIndex < wci.endIndex && !wci.buffer.isFull() {
    		event := wci.indexer(wci.startIndex)
    		if event == nil {
    			break
    		}
    		wci.buffer.buffer[wci.buffer.endIndex] = event
    		wci.buffer.endIndex++
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 09:20:10 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  4. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/AbstractDecoder.java

            public int read() throws IOException {
                int read = maybeReadBytes(buffer, 0, 1);
                if (read <= 0) {
                    return read;
                }
                return buffer[0] & 0xff;
            }
    
            @Override
            public int read(byte[] buffer) throws IOException {
                return maybeReadBytes(buffer, 0, buffer.length);
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. platforms/core-runtime/daemon-services/src/test/groovy/org/gradle/internal/daemon/clientinput/StdInStreamTest.groovy

                start {
                    def buffer = new byte[5]
                    def nread = stream.read(buffer)
                    assert nread == 5
                    assert new String(buffer, 0, nread) == "some "
    
                    nread = stream.read(buffer)
                    assert nread == 4
                    assert new String(buffer, 0, nread) == "text"
    
                    nread = stream.read(buffer)
                    assert nread == -1
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:51:37 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/utils/string_utils.h

      // Add string to dynamic buffer by resizing the buffer and copying the data.
      absl::Status AddString(const char* str, size_t len);
    
      // Fill content into a buffer and returns the number of bytes stored.
      // The function allocates space for the buffer but does NOT take ownership.
      int WriteToBuffer(char** buffer);
    
     private:
      // Data buffer to store contents of strings, not including headers.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/utils/string_utils.cc

      //   * length of whole buffer (int32_t)
      //   * num of strings (int32_t).
      int32_t bytes = data_.size()                            // size of content
                      + sizeof(int32_t) * (num_strings + 2);  // size of header
      // Caller will take ownership of buffer.
      *buffer = reinterpret_cast<char*>(malloc(bytes));
    
      if (*buffer == nullptr) {
        return -1;
      }
    
      // Set num of string
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. platforms/core-runtime/daemon-services/src/main/java/org/gradle/internal/daemon/clientinput/StdInStream.java

                waitForContent();
                if (readPos != buffer.length) {
                    int count = Math.min(length, buffer.length - readPos);
                    System.arraycopy(buffer, readPos, dest, offset, count);
                    readPos += count;
                    return count;
                } else {
                    // Closed
                    return -1;
                }
            }
        }
    
        private void waitForContent() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:51:37 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/collection_ops_util.cc

      }
      return builder
          .create<TF::XlaDynamicUpdateSliceOp>(
              loc, ArrayRef<Type>{buffer.getType()},
              ArrayRef<Value>{buffer, update_slice,
                              GetIndicesForElement(index, buffer, builder, loc)})
          .getOutput();
    }
    
    TensorType GetSizeType(OpBuilder builder) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  10. src/crypto/aes/ctr_s390x.go

    	ac.ctr[1] = byteorder.BeUint64(iv[8:]) // low bits
    	ac.buffer = ac.storage[:0]
    	return &ac
    }
    
    func (c *aesctr) refill() {
    	// Fill up the buffer with an incrementing count.
    	c.buffer = c.storage[:streamBufferSize]
    	c0, c1 := c.ctr[0], c.ctr[1]
    	for i := 0; i < streamBufferSize; i += 16 {
    		byteorder.BePutUint64(c.buffer[i+0:], c0)
    		byteorder.BePutUint64(c.buffer[i+8:], c1)
    
    		// Increment in big endian: c0 is high, c1 is low.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top