Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 310 for bufA (0.14 seconds)

  1. cmd/erasure-multipart.go

    		// Add input readahead.
    		// We use 2 buffers, so we always have a full buffer of input.
    		pool := globalBytePoolCap.Load()
    		bufA := pool.Get()
    		bufB := pool.Get()
    		defer pool.Put(bufA)
    		defer pool.Put(bufB)
    		ra, err := readahead.NewReaderBuffer(data, [][]byte{bufA[:fi.Erasure.BlockSize], bufB[:fi.Erasure.BlockSize]})
    		if err == nil {
    			toEncode = ra
    			defer ra.Close()
    		}
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 24 04:05:31 GMT 2025
    - 47.1K bytes
    - Click Count (0)
  2. cmd/erasure-object.go

    		// We use 2 buffers, so we always have a full buffer of input.
    		pool := globalBytePoolCap.Load()
    		bufA := pool.Get()
    		bufB := pool.Get()
    		defer pool.Put(bufA)
    		defer pool.Put(bufB)
    		ra, err := readahead.NewReaderBuffer(data, [][]byte{bufA[:fi.Erasure.BlockSize], bufB[:fi.Erasure.BlockSize]})
    		if err == nil {
    			toEncode = ra
    			defer ra.Close()
    		}
    		bugLogIf(ctx, err)
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 24 04:05:31 GMT 2025
    - 80.4K bytes
    - Click Count (0)
  3. src/bufio/bufio_test.go

    }
    
    func TestWriterReset(t *testing.T) {
    	var buf1, buf2, buf3, buf4, buf5 strings.Builder
    	w := NewWriter(&buf1)
    	w.WriteString("foo")
    
    	w.Reset(&buf2) // and not flushed
    	w.WriteString("bar")
    	w.Flush()
    	if buf1.String() != "" {
    		t.Errorf("buf1 = %q; want empty", buf1.String())
    	}
    	if buf2.String() != "bar" {
    		t.Errorf("buf2 = %q; want bar", buf2.String())
    	}
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Feb 07 01:08:54 GMT 2025
    - 51.6K bytes
    - Click Count (0)
  4. api/go1.14.txt

    pkg syscall (freebsd-arm64), type BpfVersion struct, Minor uint16
    pkg syscall (freebsd-arm64), type BpfZbuf struct
    pkg syscall (freebsd-arm64), type BpfZbuf struct, Bufa *uint8
    pkg syscall (freebsd-arm64), type BpfZbuf struct, Bufb *uint8
    pkg syscall (freebsd-arm64), type BpfZbuf struct, Buflen uint64
    pkg syscall (freebsd-arm64), type BpfZbufHeader struct
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 508.9K bytes
    - Click Count (0)
  5. api/go1.20.txt

    pkg syscall (freebsd-riscv64), type BpfVersion struct, Minor uint16 #53466
    pkg syscall (freebsd-riscv64), type BpfZbuf struct #53466
    pkg syscall (freebsd-riscv64), type BpfZbuf struct, Bufa *uint8 #53466
    pkg syscall (freebsd-riscv64), type BpfZbuf struct, Bufb *uint8 #53466
    pkg syscall (freebsd-riscv64), type BpfZbuf struct, Buflen uint64 #53466
    pkg syscall (freebsd-riscv64), type BpfZbufHeader struct #53466
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Feb 17 21:23:32 GMT 2023
    - 602.6K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/io/ByteStreams.java

          byte[] buf = new byte[min(bufSize, MAX_ARRAY_LEN - totalLen)];
          bufs.add(buf);
          int off = 0;
          while (off < buf.length) {
            // always OK to fill buf; its size plus the rest of bufs is never more than MAX_ARRAY_LEN
            int r = in.read(buf, off, buf.length - off);
            if (r == -1) {
              return combineBuffers(bufs, totalLen);
            }
            off += r;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 31.1K bytes
    - Click Count (0)
  7. src/bytes/bytes_test.go

    	return func(b *testing.B, n int) {
    		buf := bmbuf[0:n]
    		o := copy(buf, uchars)
    		for o < len(buf) {
    			o += copy(buf[o:], uchars)
    		}
    
    		// Make space for the needle rune at the end of buf.
    		m := utf8.RuneLen(needle)
    		for o := m; o > 0; {
    			_, sz := utf8.DecodeLastRune(buf)
    			copy(buf[len(buf)-sz:], "\x00\x00\x00\x00")
    			buf = buf[:len(buf)-sz]
    			o -= sz
    		}
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Mar 11 03:07:05 GMT 2026
    - 62.9K bytes
    - Click Count (0)
  8. api/go1.2.txt

    pkg syscall (freebsd-386-cgo), type BpfVersion struct, Minor uint16
    pkg syscall (freebsd-386-cgo), type BpfZbuf struct
    pkg syscall (freebsd-386-cgo), type BpfZbuf struct, Bufa *uint8
    pkg syscall (freebsd-386-cgo), type BpfZbuf struct, Bufb *uint8
    pkg syscall (freebsd-386-cgo), type BpfZbuf struct, Buflen uint32
    pkg syscall (freebsd-386-cgo), type BpfZbufHeader struct
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Oct 18 04:36:59 GMT 2013
    - 1.9M bytes
    - Click Count (1)
  9. lib/fips140/v1.26.0.zip

    64-bit integers. func ctrBlocks(b *Block, dst, src []byte, ivlo, ivhi uint64) { buf := make([]byte, len(src), 8*BlockSize) for i := 0; i < len(buf); i += BlockSize { byteorder.BEPutUint64(buf[i:], ivhi) byteorder.BEPutUint64(buf[i+8:], ivlo) ivlo, ivhi = add128(ivlo, ivhi, 1) encryptBlock(b, buf[i:], buf[i:]) } // XOR into buf first, in case src and dst overlap (see above). subtle.XORBytes(buf, src, buf) copy(dst, buf) } func add128(lo, hi uint64, x uint64) (uint64, uint64) { lo, c := bits.Add64(lo,...
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Jan 08 17:58:32 GMT 2026
    - 660.3K bytes
    - Click Count (0)
  10. internal/jwt/parser.go

    	}
    	headerDec := buf[:n]
    	buf = buf[n:]
    
    	alg, _, _, err := jsonparser.Get(headerDec, "alg")
    	if err != nil {
    		return nil, &jwtgo.ValidationError{Inner: err, Errors: jwtgo.ValidationErrorMalformed}
    	}
    
    	n, err = base64DecodeBytes(token[i+1:j], buf)
    	if err != nil {
    		return nil, &jwtgo.ValidationError{Inner: err, Errors: jwtgo.ValidationErrorMalformed}
    	}
    
    	if err = claims.UnmarshalJSON(buf[:n]); err != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 14.1K bytes
    - Click Count (0)
Back to Top