Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,754 for byte (0.16 sec)

  1. cmd/object-api-interface_gen.go

    	o = msgp.AppendBool(o, z.Cached)
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    func (z *BucketOptions) UnmarshalMsg(bts []byte) (o []byte, err error) {
    	var field []byte
    	_ = field
    	var zb0001 uint32
    	zb0001, bts, err = msgp.ReadMapHeaderBytes(bts)
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	for zb0001 > 0 {
    		zb0001--
    		field, bts, err = msgp.ReadMapKeyZC(bts)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Mar 08 19:08:18 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/hash/HashCodeBenchmark.java

        },
        ARRAYS_EQUALS {
          @Override
          boolean doEquals(byte[] a, byte[] b) {
            return Arrays.equals(a, b);
          }
        };
    
        abstract boolean doEquals(byte[] a, byte[] b);
      }
    
      private byte[] testBytesA;
      private byte[] testBytesB;
    
      @BeforeExperiment
      void setUp() {
        testBytesA = new byte[size];
        random.nextBytes(testBytesA);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.9K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/hash/HashCodeBenchmark.java

        },
        ARRAYS_EQUALS {
          @Override
          boolean doEquals(byte[] a, byte[] b) {
            return Arrays.equals(a, b);
          }
        };
    
        abstract boolean doEquals(byte[] a, byte[] b);
      }
    
      private byte[] testBytesA;
      private byte[] testBytesB;
    
      @BeforeExperiment
      void setUp() {
        testBytesA = new byte[size];
        random.nextBytes(testBytesA);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

        List<byte[]> ordered =
            Arrays.asList(
                new byte[] {},
                new byte[] {LEAST},
                new byte[] {LEAST, LEAST},
                new byte[] {LEAST, (byte) 1},
                new byte[] {(byte) 1},
                new byte[] {(byte) 1, LEAST},
                new byte[] {GREATEST, GREATEST - (byte) 1},
                new byte[] {GREATEST, GREATEST},
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/util/Base64.java

         * @return A <code>byte[]</code> containing the decoded data block.
         */
        public static byte[] decode(String string) {
            int length = string.length();
            if (length == 0) return new byte[0];
            int pad = (string.charAt(length - 2) == '=') ? 2 :
                    (string.charAt(length - 1) == '=') ? 1 : 0;
            int size = length * 3 / 4 - pad;
            byte[] buffer = new byte[size];
            int block;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 3.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/PACTest.java

        private static void verifyArcfourHMAC ( int usage, String expect, String key, byte[] bytes ) throws GeneralSecurityException {
            byte[] keybytes = Hex.decode(key);
            byte[] javaChecksum;
            if ( keybytes.length == 16 ) {
                javaChecksum = sun.security.krb5.internal.crypto.ArcFourHmac.calculateChecksum(keybytes, usage, bytes, 0, bytes.length);
    
            }
            else {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Oct 01 12:01:17 GMT 2023
    - 22.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/SourceSinkFactories.java

        }
    
        @Override
        public byte[] getExpected(byte[] bytes) {
          if (initialBytes == null) {
            return checkNotNull(bytes);
          } else {
            byte[] result = new byte[initialBytes.length + bytes.length];
            System.arraycopy(initialBytes, 0, result, 0, initialBytes.length);
            System.arraycopy(bytes, 0, result, initialBytes.length, bytes.length);
            return result;
          }
        }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Sep 09 17:57:59 GMT 2021
    - 17.9K bytes
    - Viewed (0)
  8. src/bytes/buffer_test.go

    func (r *negativeReader) Read([]byte) (int, error) { return -1, nil }
    
    func init() {
    	testBytes = make([]byte, N)
    	for i := 0; i < N; i++ {
    		testBytes[i] = 'a' + byte(i%26)
    	}
    	testString = string(testBytes)
    }
    
    // Verify that contents of buf match the string s.
    func check(t *testing.T, testname string, buf *Buffer, s string) {
    	bytes := buf.Bytes()
    	str := buf.String()
    	if buf.Len() != len(bytes) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 13:31:36 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/netbios/SessionServicePacket.java

    
        static void writeInt2 ( int val, byte[] dst, int dstIndex ) {
            dst[ dstIndex++ ] = (byte) ( ( val >> 8 ) & 0xFF );
            dst[ dstIndex ] = (byte) ( val & 0xFF );
        }
    
    
        static void writeInt4 ( int val, byte[] dst, int dstIndex ) {
            dst[ dstIndex++ ] = (byte) ( ( val >> 24 ) & 0xFF );
            dst[ dstIndex++ ] = (byte) ( ( val >> 16 ) & 0xFF );
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.6K bytes
    - Viewed (0)
  10. cmd/streaming-signature-v4_test.go

    	tests := []testCase{
    		// Test - 1 valid buffer with CRLF.
    		{bytes.NewReader([]byte("\r\n")), nil},
    		// Test - 2 invalid buffer with no CRLF.
    		{bytes.NewReader([]byte("he")), errMalformedEncoding},
    		// Test - 3 invalid buffer with more characters.
    		{bytes.NewReader([]byte("he\r\n")), errMalformedEncoding},
    		// Test - 4 smaller buffer than expected.
    		{bytes.NewReader([]byte("h")), io.ErrUnexpectedEOF},
    	}
    	for i, tt := range tests {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 5.7K bytes
    - Viewed (0)
Back to top