Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 344 for 0xff (0.01 sec)

  1. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java

            void testConstructorWithVariousSourceKeys() {
                // Given
                byte[] zeroKey = new byte[SOURCE_KEY_SIZE];
                byte[] maxKey = new byte[SOURCE_KEY_SIZE];
                Arrays.fill(maxKey, (byte) 0xFF);
                byte[] patternKey = new byte[SOURCE_KEY_SIZE];
                for (int i = 0; i < SOURCE_KEY_SIZE; i++) {
                    patternKey[i] = (byte) i;
                }
    
                // When & Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt

              if (expectDot) {
                byte0 = '.'.code
                expectDot = false
              } else {
                byte0 = labels[currentLabelIndex][currentLabelByteIndex] and 0xff
              }
    
              val byte1 = this[mid + publicSuffixByteIndex] and 0xff
    
              compareResult = byte0 - byte1
              if (compareResult != 0) break
    
              publicSuffixByteIndex++
              currentLabelByteIndex++
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

         * @throws SmbException if an I/O error occurs
         */
        public int read() throws SmbException {
            if (read(tmp, 0, 1) == -1) {
                return -1;
            }
            return tmp[0] & 0xFF;
        }
    
        /**
         * Reads bytes from the file into the specified byte array.
         *
         * @param b the byte array to read data into
         * @return the number of bytes read, or -1 if end of file is reached
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/security/MessageDigestUtil.java

            }
            final byte[] digest = msgDigest.digest();
    
            final StringBuilder buffer = new StringBuilder(200);
            for (final byte element : digest) {
                final String tmp = Integer.toHexString(element & 0xff);
                if (tmp.length() == 1) {
                    buffer.append('0').append(tmp);
                } else {
                    buffer.append(tmp);
                }
            }
            return buffer.toString();
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/primitives/LongsTest.java

        assertThat(converter.convert("0")).isEqualTo(0L);
        assertThat(converter.convert("-1")).isEqualTo(-1L);
        assertThat(converter.convert("0xff")).isEqualTo(255L);
        assertThat(converter.convert("0xFF")).isEqualTo(255L);
        assertThat(converter.convert("-0xFF")).isEqualTo(-255L);
        assertThat(converter.convert("#0000FF")).isEqualTo(255L);
        assertThat(converter.convert("0666")).isEqualTo(438L);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 28.7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/primitives/ShortsTest.java

        assertThat(converter.convert("0")).isEqualTo(0);
        assertThat(converter.convert("-1")).isEqualTo(-1);
        assertThat(converter.convert("0xff")).isEqualTo(255);
        assertThat(converter.convert("0xFF")).isEqualTo(255);
        assertThat(converter.convert("-0xFF")).isEqualTo(-255);
        assertThat(converter.convert("#0000FF")).isEqualTo(255);
        assertThat(converter.convert("0666")).isEqualTo(438);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

            bufferIndex += 2;
            if (this.dialectIndex > 10) {
                return bufferIndex - start;
            }
            this.server.securityMode = buffer[bufferIndex] & 0xFF;
            bufferIndex++;
            this.server.security = this.server.securityMode & 0x01;
            this.server.encryptedPasswords = (this.server.securityMode & 0x02) == 0x02;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SSPContextTest.java

                }
                // Trivial MIC: 1-byte sum of all unsigned bytes
                int sum = 0;
                for (byte b : data) {
                    sum = (sum + (b & 0xFF)) & 0xFF;
                }
                return new byte[] { (byte) sum };
            }
    
            @Override
            public void verifyMIC(byte[] data, byte[] mic) throws CIFSException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponse.java

            bufferIndex += 4;
            this.dataDisplacement = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            this.setupCount = buffer[bufferIndex] & 0xFF;
            bufferIndex += 2;
            if ((this.setupCount != 0) && log.isDebugEnabled()) {
                log.debug("setupCount is not zero: " + this.setupCount);
            }
    
            return bufferIndex - start;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/ndr/NdrSmall.java

        /**
         * Constructs an NdrSmall with the specified value
         * @param value the small integer value (will be masked to 0-255 range)
         */
        public NdrSmall(final int value) {
            this.value = value & 0xFF;
        }
    
        @Override
        public void encode(final NdrBuffer dst) throws NdrException {
            dst.enc_ndr_small(value);
        }
    
        @Override
        public void decode(final NdrBuffer src) throws NdrException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
Back to top