Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 74 for buffers (0.05 sec)

  1. src/bytes/buffer.go

    // The slice aliases the buffer content at least until the next buffer modification,
    // so immediate changes to the slice will affect the result of future reads.
    func (b *Buffer) Bytes() []byte { return b.buf[b.off:] }
    
    // AvailableBuffer returns an empty buffer with b.Available() capacity.
    // This buffer is intended to be appended to and
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Oct 29 16:47:05 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  2. cmd/erasure-object.go

    		buffer = make([]byte, size, 2*size+int64(fi.Erasure.ParityBlocks+fi.Erasure.DataBlocks-1))
    	}
    
    	if len(buffer) > int(fi.Erasure.BlockSize) {
    		buffer = buffer[:fi.Erasure.BlockSize]
    	}
    
    	writers := make([]io.Writer, len(onlineDisks))
    	inlineBuffers := make([]*bytes.Buffer, len(onlineDisks))
    	for i, disk := range onlineDisks {
    		if disk == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  3. RELEASE.md

        memory usage.
    *   Fixed bfloat16 integration of LIBXSMM sparse mat-mul.
    *   Improved performance and reduce memory usage by allowing ops to forward
        input buffers to output buffers and perform computations in-place.
    *   Improved the performance of CPU assignment for strings.
    *   Speed up matrix * vector multiplication and matrix * matrix with unknown
        shapes.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Oct 22 14:33:53 UTC 2024
    - 735.3K bytes
    - Viewed (0)
  4. src/bufio/bufio_test.go

    	}
    	if buffered := wr.Buffered(); buffered != wantBuffered {
    		t.Fatalf("Buffered = %v; want %v", buffered, wantBuffered)
    	}
    }
    
    func BenchmarkReaderCopyOptimal(b *testing.B) {
    	// Optimal case is where the underlying reader implements io.WriterTo
    	srcBuf := bytes.NewBuffer(make([]byte, 8192))
    	src := NewReader(srcBuf)
    	dstBuf := new(bytes.Buffer)
    	dst := onlyWriter{dstBuf}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableSortedSet.java

             * enough. Consider, for example, the case where we have a buffer of size (n+1), add n
             * distinct elements, and add the last element over again many times over. We don't want a
             * situation where we re-sort the entire buffer every time the last element is re-added.
             *
             * <p>The solution is to ensure there are O(n) spaces left over in the buffer after
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.1K bytes
    - Viewed (0)
  6. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsProblem.java

        public String getLocation() {
            StringBuilder buffer = new StringBuilder(256);
    
            if (!getSource().isEmpty()) {
                if (buffer.length() > 0) {
                    buffer.append(", ");
                }
                buffer.append(getSource());
            }
    
            if (getLineNumber() > 0) {
                if (buffer.length() > 0) {
                    buffer.append(", ");
                }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  7. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/MojoNotFoundException.java

        private static String toMessage(String goal, PluginDescriptor pluginDescriptor) {
            StringBuilder buffer = new StringBuilder(256);
    
            buffer.append("Could not find goal '").append(goal).append('\'');
    
            if (pluginDescriptor != null) {
                buffer.append(" in plugin ").append(pluginDescriptor.getId());
    
                buffer.append(" among available goals ");
                List<MojoDescriptor> mojos = pluginDescriptor.getMojos();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/metadata/AbstractArtifactMetadata.java

        }
    
        public String extendedToString() {
            StringBuilder buffer = new StringBuilder(256);
    
            buffer.append(LS).append("Artifact Metadata").append(LS).append("--------------------------");
            buffer.append(LS).append("GroupId: ").append(getGroupId());
            buffer.append(LS).append("ArtifactId: ").append(getArtifactId());
            buffer.append(LS).append("Metadata Type: ").append(getClass().getName());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  9. compat/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/MultipleArtifactsNotFoundException.java

            }
    
            buffer.append("----------").append(LS);
    
            int size = artifacts.size();
    
            buffer.append(size).append(" required artifact");
    
            if (size > 1) {
                buffer.append("s are");
            } else {
                buffer.append(" is");
            }
    
            buffer.append(" missing.").append(LS).append(LS).append("for artifact: ");
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/artifact/versioning/ManagedVersionMap.java

        }
    
        public String toString() {
            StringBuilder buffer = new StringBuilder("ManagedVersionMap (" + size() + " entries)\n");
            Iterator<String> iter = keySet().iterator();
            while (iter.hasNext()) {
                String key = iter.next();
                buffer.append(key).append('=').append(get(key));
                if (iter.hasNext()) {
                    buffer.append('\n');
                }
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
Back to top