Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 284 for 0xFF (0.02 sec)

  1. guava-tests/test/com/google/common/io/BaseEncodingTest.java

        try (InputStream decodingStream = encoding.decodingStream(new StringReader(encoded))) {
          for (int i = 0; i < bytes.length; i++) {
            assertThat(decodingStream.read()).isEqualTo(bytes[i] & 0xFF);
          }
          assertThat(decodingStream.read()).isEqualTo(-1);
        }
      }
    
      public void testToString() {
        assertThat(base64().toString()).isEqualTo("BaseEncoding.base64().withPadChar('=')");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/TreeConnectResponseTest.java

                // Capabilities (DFS)
                buffer[8] = 0x08;
                buffer[9] = 0x00;
                buffer[10] = 0x00;
                buffer[11] = 0x00;
                // Maximal access
                buffer[12] = (byte) 0xFF;
                buffer[13] = 0x01;
                buffer[14] = 0x1F;
                buffer[15] = 0x00;
    
                // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/SecureKeyManager.java

            if (array != null) {
                Arrays.fill(array, (byte) 0);
                // Additional passes with different patterns for enhanced security
                Arrays.fill(array, (byte) 0xFF);
                Arrays.fill(array, (byte) 0xAA);
                Arrays.fill(array, (byte) 0x55);
                Arrays.fill(array, (byte) 0);
            }
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

                    /* Get ASCII hex value and convert to platform dependant
                     * encoding like EBCDIC perhaps
                     */
                    b[0] = (byte) (Integer.parseInt(str.substring(i, i + 2), 16) & 0xFF);
                    out[j] = new String(b, 0, 1, "ASCII").charAt(0);
                    j++;
                    i++;
                    state = 0;
                }
            }
    
            return new String(out, 0, j);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  5. cmd/object-api-utils_test.go

    		{"/../../etc", false},
    		{" ../etc", false},
    		{"./././", false},
    		{"./etc", false},
    		{`contains//double/forwardslash`, false},
    		{`//contains/double-forwardslash-prefix`, false},
    		{string([]byte{0xff, 0xfe, 0xfd}), false},
    	}
    
    	for i, testCase := range testCases {
    		isValidObjectName := IsValidObjectName(testCase.objectName)
    		if testCase.shouldPass && !isValidObjectName {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

                     * Get ASCII hex value and convert to platform dependent
                     * encoding like EBCDIC perhaps
                     */
                    b[0] = (byte) (Integer.parseInt(str.substring(i, i + 2), 16) & 0xFF);
                    out[j] = new String(b, 0, 1, "ASCII").charAt(0);
                    j++;
                    i++;
                    state = 0;
                }
            }
    
            return new String(out, 0, j);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java

            void testMaximumHashAlgoValues() throws SMBProtocolDecodingException {
                int[] hashAlgos = { 0xFFFF, 0x0000, 0x7FFF };
                byte[] salt = { (byte) 0xFF, 0x00, 0x7F };
                PreauthIntegrityNegotiateContext originalContext = new PreauthIntegrityNegotiateContext(mockConfig, hashAlgos, salt);
    
                int encoded = originalContext.encode(buffer, 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 34K bytes
    - Viewed (0)
  8. guava/src/com/google/common/primitives/Chars.java

       *
       * @since 7.0
       */
      @GwtIncompatible // doesn't work
      public static char fromBytes(byte b1, byte b2) {
        return (char) ((b1 << 8) | (b2 & 0xFF));
      }
    
      /**
       * Returns an array containing the same values as {@code array}, but guaranteed to be of a
       * specified minimum length. If {@code array} already has a length of at least {@code minLength},
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/ntlmssp/Type2MessageTest.java

            void testConstructor_ByteArray_InvalidSignature() {
                // Given
                byte[] invalidSignature = new byte[100];
                Arrays.fill(invalidSignature, (byte) 0xFF); // Fill with non-NTLMSSP signature
    
                // When & Then
                IOException thrown = assertThrows(IOException.class, () -> new Type2Message(invalidSignature));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SID.java

         * {@code S-1-5-21-1496946806-2192648263-3843101252-1029}.
         */
        @Override
        public String toString() {
            StringBuilder ret = new StringBuilder("S-").append(revision & 0xFF).append("-");
    
            if (identifier_authority[0] != (byte) 0 || identifier_authority[1] != (byte) 0) {
                ret.append("0x");
                ret.append(Hexdump.toHexString(identifier_authority, 0, 6));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.5K bytes
    - Viewed (0)
Back to top