Search Options

Results per page
Sort
Preferred Languages
Advance

Results 721 - 730 of 1,693 for byte2 (0.02 sec)

  1. android/guava-tests/benchmark/com/google/common/hash/MessageDigestAlgorithmBenchmark.java

      private enum HashMethod {
        MESSAGE_DIGEST_API() {
          @Override
          public byte[] hash(Algorithm algorithm, byte[] input) {
            MessageDigest md = algorithm.getMessageDigest();
            md.update(input);
            return md.digest();
          }
        },
        HASH_FUNCTION_DIRECT() {
          @Override
          public byte[] hash(Algorithm algorithm, byte[] input) {
            return algorithm.getHashFunction().hashBytes(input).asBytes();
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/hash/MessageDigestAlgorithmBenchmark.java

      private enum HashMethod {
        MESSAGE_DIGEST_API() {
          @Override
          public byte[] hash(Algorithm algorithm, byte[] input) {
            MessageDigest md = algorithm.getMessageDigest();
            md.update(input);
            return md.digest();
          }
        },
        HASH_FUNCTION_DIRECT() {
          @Override
          public byte[] hash(Algorithm algorithm, byte[] input) {
            return algorithm.getHashFunction().hashBytes(input).asBytes();
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

            void testDifferentSessionKeys() throws GeneralSecurityException {
                byte[] sessionKey1 = new byte[16];
                Arrays.fill(sessionKey1, (byte) 0x11);
    
                byte[] sessionKey2 = new byte[16];
                Arrays.fill(sessionKey2, (byte) 0x22);
    
                Smb2SigningDigest digest1 = new Smb2SigningDigest(sessionKey1, Smb2Constants.SMB2_DIALECT_0202, null);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/TransTransactNamedPipeResponseTest.java

        @Test
        void testWriteSetupWireFormat() {
            byte[] dst = new byte[10];
            int result = response.writeSetupWireFormat(dst, 0);
            assertEquals(0, result, "writeSetupWireFormat should always return 0.");
        }
    
        /**
         * Tests the writeParametersWireFormat method.
         */
        @Test
        void testWriteParametersWireFormat() {
            byte[] dst = new byte[10];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/transport/Transport.java

        /**
         * Read bytes from the input stream into a buffer
         *
         * @param in the input stream to read from
         * @param b the buffer to read into
         * @param off the offset in the buffer to start writing
         * @param len the number of bytes to read
         * @return number of bytes read
         * @throws IOException if an I/O error occurs
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoResponse.java

         */
        @Override
        protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#readBytesWireFormat(byte[], int)
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Ascii.java

       * @since 8.0
       */
      public static final byte SP = 32;
    
      /**
       * Alternate name for {@link #SP}.
       *
       * @since 8.0
       */
      public static final byte SPACE = 32;
    
      /**
       * Delete: This character is used primarily to "erase" or "obliterate" erroneous or unwanted
       * characters in perforated tape.
       *
       * @since 8.0
       */
      public static final byte DEL = 127;
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 21.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/compression/DefaultCompressionServiceTest.java

         */
        private byte[] generateTestData(int size) {
            byte[] data = new byte[size];
    
            // Create data with repeating patterns
            for (int i = 0; i < size; i++) {
                if (i % 100 < 50) {
                    data[i] = (byte) 'A';
                } else if (i % 100 < 75) {
                    data[i] = (byte) 'B';
                } else {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/msrpc/lsarpcIntegrationTest.java

            domainInfo.sid = new rpc.sid_t();
            domainInfo.sid.revision = 1;
            domainInfo.sid.identifier_authority = new byte[] { 0, 0, 0, 0, 0, 5 };
            domainInfo.sid.sub_authority_count = 2;
            domainInfo.sid.sub_authority = new int[] { 21, 12345 };
    
            // Encode to buffer
            byte[] buffer = new byte[1024];
            NdrBuffer encodeBuffer = new NdrBuffer(buffer, 0);
            domainInfo.encode(encodeBuffer);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbCopyUtilTest.java

                SmbTreeHandleImpl sh = newTreeHandle(false); // force non-SMB2 path to avoid server-side branch
                SmbTreeHandleImpl dh = newTreeHandle(false);
    
                byte[][] buffers = new byte[][] { new byte[8], new byte[8] };
    
                when(src.toString()).thenReturn("smb://src");
                when(dest.toString()).thenReturn("smb://dest");
    
                // Act + Assert
                SmbException ex =
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
Back to top