Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 1,431 for byte1 (0.05 sec)

  1. cmd/storage-datatypes_gen.go

    }
    
    // MarshalMsg implements msgp.Marshaler
    func (z BaseOptions) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	// map header, size 0
    	_ = z
    	o = append(o, 0x80)
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    func (z *BaseOptions) UnmarshalMsg(bts []byte) (o []byte, err error) {
    	var field []byte
    	_ = field
    	var zb0001 uint32
    	zb0001, bts, err = msgp.ReadMapHeaderBytes(bts)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 150.2K bytes
    - Viewed (0)
  2. cmd/object-api-interface_gen.go

    	}
    	o = bts
    	return
    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
    func (z BucketOptions) Msgsize() (s int) {
    	s = 1 + 8 + msgp.BoolSize + 7 + msgp.BoolSize + 11 + msgp.BoolSize
    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    func (z ExpirationOptions) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	// map header, size 1
    	// string "Expire"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 21:57:20 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

                    byte[] userSessionKey = hmac.digest();
    
                    if ((getFlags() & NTLMSSP_NEGOTIATE_KEY_EXCH) != 0) {
                        masterKey = new byte[16];
                        RANDOM.nextBytes(masterKey);
    
                        byte[] exchangedKey = new byte[16];
                        RC4 rc4 = new RC4(userSessionKey);
                        rc4.update(masterKey, 0, 16, exchangedKey, 0);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 22.9K bytes
    - Viewed (0)
  4. cmd/tier-last-day-stats_gen.go

    func (z *DailyAllTierStats) UnmarshalMsg(bts []byte) (o []byte, err error) {
    	var zb0004 uint32
    	zb0004, bts, err = msgp.ReadMapHeaderBytes(bts)
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	if (*z) == nil {
    		(*z) = make(DailyAllTierStats, zb0004)
    	} else if len((*z)) > 0 {
    		for key := range *z {
    			delete((*z), key)
    		}
    	}
    	var field []byte
    	_ = field
    	for zb0004 > 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/CharsTest.java

        assertThat(Chars.fromByteArray(new byte[] {0x23, 0x45, (byte) 0xDC})).isEqualTo('\u2345');
        assertThat(Chars.fromByteArray(new byte[] {(byte) 0xFE, (byte) 0xDC})).isEqualTo('\uFEDC');
      }
    
      @GwtIncompatible // Chars.fromByteArray
      public void testFromByteArrayFails() {
        assertThrows(
            IllegalArgumentException.class, () -> Chars.fromByteArray(new byte[Chars.BYTES - 1]));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/curl/CurlResponse.java

        public String getContentAsString() {
            final byte[] bytes = new byte[4096];
            try (BufferedInputStream bis = new BufferedInputStream(getContentAsStream());
                    ByteArrayOutputStream baos = new ByteArrayOutputStream()) {
                int length = bis.read(bytes);
                while (length != -1) {
                    if (length != 0) {
                        baos.write(bytes, 0, length);
                    }
    Registered: Thu Oct 31 02:32:13 UTC 2024
    - Last Modified: Mon Nov 14 21:05:19 UTC 2022
    - 4K bytes
    - Viewed (0)
  7. internal/s3select/jstream/decoder.go

    func (kvs KVS) MarshalJSON() ([]byte, error) {
    	b := new(bytes.Buffer)
    	b.Write([]byte("{"))
    	for i, kv := range kvs {
    		b.Write([]byte("\"" + kv.Key + "\"" + ":"))
    		valBuf, err := json.Marshal(kv.Value)
    		if err != nil {
    			return nil, err
    		}
    		b.Write(valBuf)
    		if i < len(kvs)-1 {
    			b.Write([]byte(","))
    		}
    	}
    	b.Write([]byte("}"))
    	return b.Bytes(), nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/SignedBytes.java

       *     {@link Byte#MAX_VALUE} if it is too large, or {@link Byte#MIN_VALUE} if it is too small
       */
      public static byte saturatedCast(long value) {
        if (value > Byte.MAX_VALUE) {
          return Byte.MAX_VALUE;
        }
        if (value < Byte.MIN_VALUE) {
          return Byte.MIN_VALUE;
        }
        return (byte) value;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  9. internal/bucket/encryption/bucket-sse-config_test.go

    			expectedErr: errors.New("MasterKeyID contains unsupported characters"),
    			shouldPass:  false,
    		},
    	}
    
    	for i, tc := range testCases {
    		ssec, err := ParseBucketSSEConfig(bytes.NewReader([]byte(tc.inputXML)))
    		if tc.shouldPass && err != nil {
    			t.Errorf("Test case %d: Expected to succeed but got %s", i+1, err)
    		}
    
    		if !tc.shouldPass {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 16 18:28:30 UTC 2022
    - 6.1K bytes
    - Viewed (0)
  10. cmd/object-api-utils_test.go

    				}
    			}
    			var stdBuf bytes.Buffer
    			w := s2.NewWriter(&stdBuf)
    			_, err = io.CopyBuffer(w, bytes.NewReader(tt.data), buf)
    			if err != nil {
    				t.Fatal(err)
    			}
    			err = w.Close()
    			if err != nil {
    				t.Fatal(err)
    			}
    
    			var (
    				got  = rdrBuf.Bytes()
    				want = stdBuf.Bytes()
    			)
    			if !bytes.Equal(got, want) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 24.1K bytes
    - Viewed (0)
Back to top