Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for 0123456789abcdef (0.05 sec)

  1. android/guava/src/com/google/common/hash/HashCode.java

        for (byte b : bytes) {
          sb.append(hexDigits[(b >> 4) & 0xf]).append(hexDigits[b & 0xf]);
        }
        return sb.toString();
      }
    
      private static final char[] hexDigits = "0123456789abcdef".toCharArray();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java

            session.setLocalRepositoryManager(new SimpleLocalRepositoryManagerFactory().newInstance(session, localRepo));
            return session;
        }
    
        private static final char[] HEX_CODE = "0123456789ABCDEF".toCharArray();
    
        private static String printHexBinary(byte[] data) {
            StringBuilder r = new StringBuilder(data.length * 2);
            for (byte b : data) {
                r.append(HEX_CODE[(b >> 4) & 0xF]);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  3. cmd/object_api_suite_test.go

    	if err != nil {
    		t.Fatalf("%s: <ERROR> %s", instanceType, err)
    	}
    	uploadID := res.UploadID
    
    	// Create a byte array of 5MiB.
    	data := bytes.Repeat([]byte("0123456789abcdef"), 5*humanize.MiByte/16)
    	completedParts := CompleteMultipartUpload{}
    	for i := 1; i <= 10; i++ {
    		expectedETaghex := getMD5Hash(data)
    
    		var calcPartInfo PartInfo
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 34.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

            assertTrue(result);
        }
    
        // Test getImageFilename with docMap
        public void test_getImageFilename_withDocMap() {
            Map<String, Object> docMap = new HashMap<>();
            docMap.put("_id", "1234567890abcdef");
    
            String filename = thumbnailManager.getImageFilename(docMap);
            assertNotNull(filename);
            assertTrue(filename.endsWith(".png"));
            assertTrue(filename.contains("/"));
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

        assertThat(UnsignedLongs.decode("0xffffffffffffffff")).isEqualTo(0xffffffffffffffffL);
        assertThat(UnsignedLongs.decode("01234567")).isEqualTo(01234567); // octal
        assertThat(UnsignedLongs.decode("#1234567890abcdef")).isEqualTo(0x1234567890abcdefL);
        assertThat(UnsignedLongs.decode("987654321012345678")).isEqualTo(987654321012345678L);
        assertThat(UnsignedLongs.decode("0x135791357913579")).isEqualTo(0x135791357913579L);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java

            assertEquals(8, info.size());
        }
    
        @Test
        @DisplayName("Test encode method with valid buffer")
        void testEncode() {
            // Create instance with known value
            long endOfFile = 0x123456789ABCDEFL;
            FileEndOfFileInformation info = new FileEndOfFileInformation(endOfFile);
    
            // Create buffer for encoding
            byte[] buffer = new byte[16];
            int bytesWritten = info.encode(buffer, 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/fscc/FileInformationTest.java

         */
        @Test
        @DisplayName("Test FileEndOfFileInformation encode/decode round trip")
        void testFileEndOfFileInformationEncodeDecodeRoundTrip() throws SMBProtocolDecodingException {
            long originalValue = 0x123456789ABCDEFL;
            FileEndOfFileInformation original = new FileEndOfFileInformation(originalValue);
    
            // Encode
            byte[] buffer = new byte[8];
            int encoded = original.encode(buffer, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java

            when(response.getHeaderStart()).thenReturn(0);
    
            // Write FileInternalInfo data at the buffer offset
            // FileInternalInfo expects 8 bytes (IndexNumber as int8)
            SMBUtil.writeInt8(0x123456789ABCDEFL, buffer, 50);
    
            int result = response.readBytesWireFormat(buffer, bufferIndex);
    
            assertTrue(result >= 8);
            assertNotNull(response.getInfo());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/util/HexdumpTest.java

            assertEquals("XXFFXXXXXX", new String(dst3));
    
            // Test long conversion
            char[] dst4 = new char[16];
            Hexdump.toHexChars(0x123456789ABCDEF0L, dst4, 0, 16);
            assertEquals("123456789ABCDEF0", new String(dst4));
        }
    
        @Test
        @DisplayName("Should verify HEX_DIGITS constant")
        void testHexDigitsConstant() {
            // Verify the HEX_DIGITS array contains correct values
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/NtlmUtilTest.java

            assertEquals("Password parameter is required", ex.getMessage());
        }
    
        @ParameterizedTest
        @ValueSource(strings = { "", "password", "pässwörd", "1234567890abcdef" })
        @DisplayName("nTOWFv1 equals getNTHash across inputs")
        void testNTOWFv1_delegatesToGetNTHash(String password) {
            // Act
            byte[] h1 = NtlmUtil.nTOWFv1(password);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12K bytes
    - Viewed (0)
Back to top