Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 347 for 0xff (0.02 sec)

  1. src/main/java/jcifs/pac/kerberos/KerberosToken.java

                    throw new PACDecodingException("Not a kerberos token");
                }
    
                int readLow = stream.read() & 0xff;
                int readHigh = stream.read() & 0xff;
                int read = (readHigh << 8) + readLow;
                if (read != 0x01) {
                    throw new PACDecodingException("Malformed kerberos token");
                }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationTest.java

            assertEquals(dst.length, bytesWritten, "The number of bytes written should match the expected length.");
            // Check informationLevel
            assertEquals((byte) (informationLevel & 0xFF), dst[0]);
            assertEquals((byte) ((informationLevel >> 8) & 0xFF), dst[1]);
            // Check reserved bytes
            for (int i = 2; i < 6; i++) {
                assertEquals((byte) 0x00, dst[i], "Reserved byte at index " + i + " should be 0.");
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/ByteEncodableTest.java

            byte[] dest = new byte[5]; // {0,0,0,0,0}
            dest[0] = (byte) 0xFF; // Add some initial data to dest
    
            int encodedLen = encodable.encode(dest, 1);
    
            // Verify encoded length
            assertEquals(3, encodedLen, "Encoded length should be equal to the specified length");
    
            // Verify content
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/netbios/NodeStatusResponseTest.java

            InetAddress inetAddr = InetAddress.getByName("192.168.1.100");
            byte[] addrBytes = inetAddr.getAddress();
            mockQueryAddress.address =
                    ((addrBytes[0] & 0xFF) << 24) | ((addrBytes[1] & 0xFF) << 16) | ((addrBytes[2] & 0xFF) << 8) | (addrBytes[3] & 0xFF);
    
            // Create NodeStatusResponse instance
            response = new NodeStatusResponse(mockConfig, mockQueryAddress);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/IntsTest.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
    - 29.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/PreauthIntegrityServiceTest.java

        public void testSupportedHashAlgorithms() {
            assertTrue(preauthService.isHashAlgorithmSupported(PreauthIntegrityService.HASH_ALGO_SHA512));
            assertFalse(preauthService.isHashAlgorithmSupported(0xFF)); // Unsupported
    
            int[] supported = preauthService.getSupportedHashAlgorithms();
            assertNotNull(supported);
            assertEquals(1, supported.length);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  7. cmd/erasure-sets_test.go

    		{"117Gn8rfHL2ACARPAhaFd0AGzic9pUbIA/5OCn5A", 35},
    		{"SHØRT", 49},
    		{"There are far too many object names, and far too few bucket names!", 8},
    		{"a/b/c/", 159},
    		{"/a/b/c", 96},
    		{string([]byte{0xff, 0xfe, 0xfd}), 147},
    	}
    
    	// Tests hashing order to be consistent.
    	for i, testCase := range testCases {
    		if sipHashElement := hashKey("SIPMOD", testCase.objectName, 200, testUUID); sipHashElement != testCase.sipHash {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/util/MD4.java

            // entities. Use A as a temp var.
            for (int i = 0; i < 16; i++) {
                X[i] = block[offset++] & 0xFF | (block[offset++] & 0xFF) << 8 | (block[offset++] & 0xFF) << 16 | (block[offset++] & 0xFF) << 24;
            }
    
            int A = context[0];
            int B = context[1];
            int C = context[2];
            int D = context[3];
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/Crc32cHashFunction.java

          return strideTable[3][word & 0xFF]
              ^ strideTable[2][(word >>> 8) & 0xFF]
              ^ strideTable[1][(word >>> 16) & 0xFF]
              ^ strideTable[0][word >>> 24];
        }
    
        static int combine(int csum, int crc) {
          csum ^= crc;
          for (int i = 0; i < 4; i++) {
            csum = (csum >>> 8) ^ byteTable[csum & 0xFF];
          }
          return csum;
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/com/ServerDataTest.java

            serverData.encryptionKey = originalKey;
    
            // When - modify the original array
            originalKey[0] = (byte) 0xFF;
    
            // Then - the field should also be modified (same reference)
            assertEquals((byte) 0xFF, serverData.encryptionKey[0]);
            assertSame(originalKey, serverData.encryptionKey);
        }
    
        /**
         * Test multiple ServerData instances are independent
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17K bytes
    - Viewed (0)
Back to top