Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 330 for chunkOf (0.13 sec)

  1. guava/src/com/google/common/hash/Hasher.java

     * change between Java releases.
     *
     * <p><b>Warning:</b> Chunks of data that are put into the {@link Hasher} are not delimited. The
     * resulting {@link HashCode} is dependent only on the bytes inserted, and the order in which they
     * were inserted, not how those bytes were chunked into discrete put() operations. For example, the
     * following three expressions all generate colliding hash codes:
     *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  2. src/runtime/memclr_ppc64x.s

    	BLT  remain
    	SRD  $9, R4, R8 // loop count for 512 chunks
    	MOVD R8, CTR    // set up counter
    	MOVD $128, R9   // index regs for 128 bytes
    	MOVD $256, R10
    	MOVD $384, R11
    	PCALIGN $16
    zero512:
    	DCBZ (R3+R0)        // clear first chunk
    	DCBZ (R3+R9)        // clear second chunk
    	DCBZ (R3+R10)       // clear third chunk
    	DCBZ (R3+R11)       // clear fourth chunk
    	ADD  $512, R3
    	BDNZ zero512
    	ANDCC $511, R4
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 16 17:08:59 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  3. pkg/test/util/yml/apply.go

    func ApplyNamespace(yamlText, ns string) (string, error) {
    	chunks := SplitString(yamlText)
    
    	toJoin := make([]string, 0, len(chunks))
    	for _, chunk := range chunks {
    		chunk, err := applyNamespace(chunk, ns)
    		if err != nil {
    			return "", err
    		}
    		toJoin = append(toJoin, chunk)
    	}
    
    	result := JoinString(toJoin...)
    	return result, nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 17 07:02:38 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/hash/AbstractStreamingHasher.java

       * Computes a hash code based on the data that have been provided to this hasher. This is called
       * after all chunks are handled with {@link #process} and any leftover bytes that did not make a
       * complete chunk are handled with {@link #processRemaining}.
       */
      protected abstract HashCode makeHash();
    
      // Process pent-up data in chunks
      private void munchIfFull() {
        if (buffer.remaining() < 8) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 7.1K bytes
    - Viewed (0)
  5. src/runtime/mfixalloc.go

    		if f.zero {
    			memclrNoHeapPointers(v, f.size)
    		}
    		return v
    	}
    	if uintptr(f.nchunk) < f.size {
    		f.chunk = uintptr(persistentalloc(uintptr(f.nalloc), 0, f.stat))
    		f.nchunk = f.nalloc
    	}
    
    	v := unsafe.Pointer(f.chunk)
    	if f.first != nil {
    		f.first(f.arg, v)
    	}
    	f.chunk = f.chunk + f.size
    	f.nchunk -= uint32(f.size)
    	f.inuse += f.size
    	return v
    }
    
    func (f *fixalloc) free(p unsafe.Pointer) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 24 20:28:25 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/AbstractStreamingHasher.java

       * Computes a hash code based on the data that have been provided to this hasher. This is called
       * after all chunks are handled with {@link #process} and any leftover bytes that did not make a
       * complete chunk are handled with {@link #processRemaining}.
       */
      protected abstract HashCode makeHash();
    
      // Process pent-up data in chunks
      private void munchIfFull() {
        if (buffer.remaining() < 8) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 7.1K bytes
    - Viewed (0)
  7. src/internal/bytealg/count_arm64.s

    	BLO	tail
    	ANDS	$0x1f, R0, R9
    	BEQ	chunk
    	// Work with not 32-byte aligned head
    	BIC	$0x1f, R0, R3
    	ADD	$0x20, R3
    	PCALIGN $16
    head_loop:
    	MOVBU.P	1(R0), R5
    	CMP	R5, R1
    	CINC	EQ, R11, R11
    	SUB	$1, R2, R2
    	CMP	R0, R3
    	BNE	head_loop
    	// Work with 32-byte aligned chunks
    chunk:
    	BIC	$0x1f, R2, R9
    	// The first chunk can also be the last
    	CBZ	R9, tail
    	// R3 = end of 32-byte chunks
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 17:00:27 UTC 2023
    - 2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/util/proxy/upgradeaware_test.go

    		}
    	}
    }
    
    func TestProxyRequestContentLengthAndTransferEncoding(t *testing.T) {
    	chunk := func(data []byte) []byte {
    		out := &bytes.Buffer{}
    		chunker := httputil.NewChunkedWriter(out)
    		for _, b := range data {
    			if _, err := chunker.Write([]byte{b}); err != nil {
    				panic(err)
    			}
    		}
    		chunker.Close()
    		out.Write([]byte("\r\n"))
    		return out.Bytes()
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 10 07:29:34 UTC 2023
    - 39.4K bytes
    - Viewed (0)
  9. tensorflow/cc/saved_model/image_format/internal_api.h

    // separated into chunks and written to
    // `.cpb` (chunked proto).
    //
    // Write SavedModel to {file_prefix}{.pb|.cpb}.
    absl::Status WriteSavedModel(SavedModel* saved_model_proto,
                                 const std::string& file_prefix);
    // Writes the SavedModel proto to std::string
    // The bool field record whether it's saved as a chunked protobuf (true) or
    // regular protobuf (false)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 30 21:50:27 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  10. platforms/core-runtime/io/src/main/java/org/gradle/internal/io/StreamByteBuffer.java

            for (byte[] buf : listOfByteArrays) {
                addChunk(new StreamByteBufferChunk(buf));
            }
        }
    
        private void addChunk(StreamByteBufferChunk chunk) {
            chunks.add(chunk);
            totalBytesUnreadInList += chunk.bytesUnread();
        }
    
        static class StreamByteBufferChunk {
            private int pointer;
            private byte[] buffer;
            private int size;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 08:51:14 UTC 2024
    - 16.6K bytes
    - Viewed (0)
Back to top