Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,236 for Byte (0.02 sec)

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

                  0x13579bdf,
                  null,
                  "df9b5713"),
              new ExpectedHashCode(
                  new byte[] {(byte) 0xcd, (byte) 0xab, (byte) 0x00, (byte) 0x00},
                  0x0000abcd,
                  null,
                  "cdab0000"),
              new ExpectedHashCode(
                  new byte[] {
                    (byte) 0xef, (byte) 0xcd, (byte) 0xab, (byte) 0x00,
    Registered: 2025-05-30 12:43
    - Last Modified: 2024-12-22 03:38
    - 13.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/SignedBytesTest.java

                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},
                new byte[] {GREATEST, GREATEST, GREATEST});
    
        Comparator<byte[]> comparator = SignedBytes.lexicographicalComparator();
    Registered: 2025-05-30 12:43
    - Last Modified: 2025-04-10 20:12
    - 7.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/SignedBytesTest.java

                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},
                new byte[] {GREATEST, GREATEST, GREATEST});
    
        Comparator<byte[]> comparator = SignedBytes.lexicographicalComparator();
    Registered: 2025-05-30 12:43
    - Last Modified: 2025-04-10 20:12
    - 7.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/NtlmUtil.java

        }
    
        // KGS!@#$%
        static final byte[] S8 = {
            (byte) 0x4b, (byte) 0x47, (byte) 0x53, (byte) 0x21, (byte) 0x40, (byte) 0x23, (byte) 0x24, (byte) 0x25
        };
    
    
        /*
         * Accepts key multiple of 7
         * Returns enc multiple of 8
         * Multiple is the same like: 21 byte key gives 24 byte result
         */
        static void E ( byte[] key, byte[] data, byte[] e ) throws ShortBufferException {
    Registered: 2025-05-25 00:10
    - Last Modified: 2020-07-07 12:07
    - 9.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/primitives/ByteArrayAsListTest.java

          Byte[] suffix = {(byte) 86, (byte) 99};
          Byte[] all = concat(concat(prefix, elements), suffix);
          return asList(all).subList(2, elements.length + 2);
        }
      }
    
      private static Byte[] concat(Byte[] left, Byte[] right) {
        Byte[] result = new Byte[left.length + right.length];
        System.arraycopy(left, 0, result, 0, left.length);
        System.arraycopy(right, 0, result, left.length, right.length);
    Registered: 2025-05-30 12:43
    - Last Modified: 2025-01-25 16:19
    - 5.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

        // KGS!@#$%
        private static final byte[] S8 = {
            (byte)0x4b, (byte)0x47, (byte)0x53, (byte)0x21,
            (byte)0x40, (byte)0x23, (byte)0x24, (byte)0x25
        };
        /* Accepts key multiple of 7
         * Returns enc multiple of 8
         * Multiple is the same like: 21 byte key gives 24 byte result
         */
        private static void E( byte[] key, byte[] data, byte[] e ) {
            byte[] key7 = new byte[7];
    Registered: 2025-05-25 00:10
    - Last Modified: 2019-03-22 21:10
    - 22.5K bytes
    - Viewed (0)
  7. src/bytes/bytes_test.go

    	{"TrimRight", []byte("☺"), "☺", []byte{}},
    	{"TrimPrefix", nil, "", nil},
    	{"TrimPrefix", []byte{}, "", []byte{}},
    	{"TrimPrefix", []byte{'a'}, "a", []byte{}},
    	{"TrimPrefix", []byte("☺"), "☺", []byte{}},
    	{"TrimSuffix", nil, "", nil},
    	{"TrimSuffix", []byte{}, "", []byte{}},
    	{"TrimSuffix", []byte{'a'}, "a", []byte{}},
    	{"TrimSuffix", []byte("☺"), "☺", []byte{}},
    }
    
    Registered: 2025-05-27 11:13
    - Last Modified: 2025-05-15 21:24
    - 62.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/BytesTest.java

            .isEqualTo(1);
        assertThat(
                Bytes.indexOf(
                    new byte[] {(byte) 2, (byte) 3, (byte) 2, (byte) 3, (byte) 4, (byte) 2, (byte) 3},
                    new byte[] {(byte) 2, (byte) 3, (byte) 4}))
            .isEqualTo(2);
        assertThat(
                Bytes.indexOf(
                    new byte[] {(byte) 2, (byte) 2, (byte) 3, (byte) 4, (byte) 2, (byte) 3, (byte) 4},
    Registered: 2025-05-30 12:43
    - Last Modified: 2025-04-12 16:12
    - 17.5K bytes
    - Viewed (0)
  9. 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: 2025-05-30 12:43
    - Last Modified: 2024-12-21 03:10
    - 7.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/util/SMBUtil.java

            (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, // Flags
            (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, // NextCommand
            (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, // MessageId
            (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, // Reserved / AsyncId
    Registered: 2025-05-25 00:10
    - Last Modified: 2018-07-01 13:12
    - 5K bytes
    - Viewed (0)
Back to top