Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 1,431 for byteEq (0.08 sec)

  1. docs/bucket/versioning/DESIGN.md

    Inline data is optional. If no inline data is present, it is encoded as 0 bytes.
    
    | Entry               | Encoding                    | Content
    | --------------------|-----------------------------|----------------------------------------
    | xlMetaInlineDataVer | byte                        | version identifier
    | id -> data          | msgp `map[string][]byte`      | Map of string id -> byte content
    
    Currently only xlMetaInlineDataVer == 1 exists.
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jul 17 15:43:14 UTC 2022
    - 5.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/hash/Murmur3_32HashFunction.java

        @Override
        public Hasher putByte(byte b) {
          update(1, b & 0xFF);
          return this;
        }
    
        @CanIgnoreReturnValue
        @Override
        public Hasher putBytes(byte[] bytes, int off, int len) {
          checkPositionIndexes(off, off + len, bytes.length);
          int i;
          for (i = 0; i + 4 <= len; i += 4) {
            update(4, getIntLittleEndian(bytes, off + i));
          }
          for (; i < len; i++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 02 13:50:22 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  3. cmd/metrics-v2_gen.go

    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    func (z MetricName) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	o = msgp.AppendString(o, string(z))
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    func (z *MetricName) UnmarshalMsg(bts []byte) (o []byte, err error) {
    	{
    		var zb0001 string
    		zb0001, bts, err = msgp.ReadStringBytes(bts)
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Mar 10 09:15:15 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  4. internal/s3select/jstream/scanner.go

    }
    
    // remaining returns the number of unread bytes
    // if EOF for the underlying reader has not yet been found,
    // maximum possible integer value will be returned
    func (s *scanner) remaining() int64 {
    	if atomic.LoadInt64(&s.end) == maxInt {
    		return maxInt
    	}
    	return atomic.LoadInt64(&s.end) - s.pos
    }
    
    // read byte at current position (without advancing)
    func (s *scanner) cur() byte { return s.buf[s.ipos] }
    
    // read next byte
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. internal/crypto/key_test.go

    }{
    	{
    		SealExtKey: [32]byte{}, SealIV: [32]byte{}, SealDomain: "SSE-C", SealBucket: "bucket", SealObject: "object",
    		UnsealExtKey: [32]byte{}, UnsealDomain: "SSE-C", UnsealBucket: "bucket", UnsealObject: "object",
    		ShouldPass: true,
    	}, // 0
    	{
    		SealExtKey: [32]byte{}, SealIV: [32]byte{}, SealDomain: "SSE-C", SealBucket: "bucket", SealObject: "object",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  6. internal/grid/connection_test.go

    	// 1: Echo
    	errFatal(local.RegisterSingleHandler(handlerTest, func(payload []byte) ([]byte, *RemoteErr) {
    		t.Log("1: server payload: ", len(payload), "bytes.")
    		return append([]byte{}, payload...), nil
    	}))
    	// 2: Return as error
    	errFatal(local.RegisterSingleHandler(handlerTest2, func(payload []byte) ([]byte, *RemoteErr) {
    		t.Log("2: server payload: ", len(payload), "bytes.")
    		err := RemoteErr(payload)
    		return nil, &err
    	}))
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 08 21:44:00 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  7. internal/http/request-recorder.go

    package http
    
    import (
    	"bytes"
    	"io"
    )
    
    // RequestRecorder - records the
    // of a given io.Reader
    type RequestRecorder struct {
    	// Data source to record
    	io.Reader
    	// Response body should be logged
    	LogBody bool
    
    	// internal recording buffer
    	buf bytes.Buffer
    	// total bytes read including header size
    	bytesRead int
    }
    
    // Close is a no operation closer
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Apr 12 21:37:19 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  8. internal/s3select/sql/value.go

    // InferBytesType will attempt to infer the data type of bytes.
    // Will fail if value type is not bytes or it would result in invalid utf8.
    // ORDER: int, float, bool, JSON (object or array), timestamp, string
    // If the content is valid JSON, the type will still be bytes.
    func (v *Value) InferBytesType() (err error) {
    	b, ok := v.ToBytes()
    	if !ok {
    		return fmt.Errorf("InferByteType: Input is not bytes, but %v", v.GetTypeString())
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Feb 25 20:31:19 UTC 2022
    - 20.2K bytes
    - Viewed (0)
  9. cmd/os_unix.go

    				break // EOF
    			}
    		}
    		consumed, name, typ, err := parseDirEnt(buf[boff:nbuf])
    		if err != nil {
    			return err
    		}
    		boff += consumed
    		if len(name) == 0 || bytes.Equal(name, []byte{'.'}) || bytes.Equal(name, []byte{'.', '.'}) {
    			continue
    		}
    
    		// Fallback for filesystems (like old XFS) that don't
    		// support Dirent.Type and have DT_UNKNOWN (0) there
    		// instead.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/hash/MacHashFunction.java

        protected void update(ByteBuffer bytes) {
          checkNotDone();
          checkNotNull(bytes);
          mac.update(bytes);
        }
    
        private void checkNotDone() {
          checkState(!done, "Cannot re-use a Hasher after calling hash() on it");
        }
    
        @Override
        public HashCode hash() {
          checkNotDone();
          done = true;
          return HashCode.fromBytesNoCopy(mac.doFinal());
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 15 22:31:55 UTC 2022
    - 3.6K bytes
    - Viewed (0)
Back to top