Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 725 for bufLen (0.07 sec)

  1. android/guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java

          h ^= fingerprint(buf, bufLen);
          h = remix(h);
          buf[bufLen++] = getChar(h);
    
          int x0 = buf[bufLen - 1] & 0xff;
          int x1 = buf[bufLen - 2] & 0xff;
          int x2 = buf[bufLen - 3] & 0xff;
          int x3 = buf[bufLen / 2] & 0xff;
          buf[((x0 << 16) + (x1 << 8) + x2) % bufLen] ^= x3;
          buf[((x1 << 16) + (x2 << 8) + x3) % bufLen] ^= i % 256;
        }
        assertEquals(0x7a1d67c50ec7e167L, h);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java

          h ^= fingerprint(buf, bufLen);
          h = remix(h);
          buf[bufLen++] = getChar(h);
    
          int x0 = buf[bufLen - 1] & 0xff;
          int x1 = buf[bufLen - 2] & 0xff;
          int x2 = buf[bufLen - 3] & 0xff;
          int x3 = buf[bufLen / 2] & 0xff;
          buf[((x0 << 16) + (x1 << 8) + x2) % bufLen] ^= x3;
          buf[((x1 << 16) + (x2 << 8) + x3) % bufLen] ^= i % 256;
        }
        assertEquals(0x7a1d67c50ec7e167L, h);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/hash/Fingerprint2011Test.java

          h ^= fingerprint(buf, bufLen);
          h = remix(h);
          buf[bufLen++] = getChar(h);
    
          int x0 = buf[bufLen - 1] & 0xff;
          int x1 = buf[bufLen - 2] & 0xff;
          int x2 = buf[bufLen - 3] & 0xff;
          int x3 = buf[bufLen / 2] & 0xff;
          buf[((x0 << 16) + (x1 << 8) + x2) % bufLen] ^= x3;
          buf[((x1 << 16) + (x2 << 8) + x3) % bufLen] ^= i % 256;
        }
        assertEquals(0xeaa3b1c985261632L, h);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  4. cmd/dummy-data-generator_test.go

    // errors cause a `false` result. A string describing the error is
    // also returned.
    func cmpReaders(r1, r2 io.Reader) (bool, string) {
    	bufLen := 32 * 1024
    	b1, b2 := make([]byte, bufLen), make([]byte, bufLen)
    	for i := 0; true; i++ {
    		n1, e1 := io.ReadFull(r1, b1)
    		n2, e2 := io.ReadFull(r2, b2)
    		if n1 != n2 {
    			return false, fmt.Sprintf("Read %d != %d bytes from the readers", n1, n2)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 02 15:13:05 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  5. cmd/xl-storage-format-v2.go

    			if wantMax > size {
    				wantMax = size
    			}
    			if err := readMore(wantMax); err != nil {
    				return nil, err
    			}
    
    			if int64(len(buf)) < want {
    				return nil, fmt.Errorf("buffer shorter than expected (buflen: %d, want: %d): %w", len(buf), want, errFileCorrupt)
    			}
    
    			tmp = buf[want:]
    			_, after, err := msgp.ReadUint32Bytes(tmp)
    			if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
  6. 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)
  7. api/go1.14.txt

    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
    pkg syscall (freebsd-arm64), type BpfZbufHeader struct, Kernel_gen uint32
    pkg syscall (freebsd-arm64), type BpfZbufHeader struct, Kernel_len uint32
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Feb 17 20:31:46 UTC 2023
    - 508.9K bytes
    - Viewed (0)
  8. api/go1.2.txt

    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
    pkg syscall (freebsd-386-cgo), type BpfZbufHeader struct, Kernel_gen uint32
    pkg syscall (freebsd-386-cgo), type BpfZbufHeader struct, Kernel_len uint32
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Oct 18 04:36:59 UTC 2013
    - 1.9M bytes
    - Viewed (0)
  9. api/go1.20.txt

    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
    pkg syscall (freebsd-riscv64), type BpfZbufHeader struct, Kernel_gen uint32 #53466
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Feb 17 21:23:32 UTC 2023
    - 602.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/Trans2GetDfsReferralResponse.java

                bufferIndex += 2;
                flags = readInt2( buffer, bufferIndex );
                bufferIndex += 2;
                if( version == 3 ) {
                    proximity = readInt2( buffer, bufferIndex );
                    bufferIndex += 2;
                    ttl = readInt2( buffer, bufferIndex );
                    bufferIndex += 2;
                    pathOffset = readInt2( buffer, bufferIndex );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 5K bytes
    - Viewed (0)
Back to top