Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 770 for decoding (0.04 sec)

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

       * be at least 2 characters long, and contain only valid, lower-cased hexadecimal characters.
       *
       * <p>This method accepts the exact format generated by {@link #toString}. If you require more
       * lenient {@code base 16} decoding, please use {@link com.google.common.io.BaseEncoding#decode}
       * (and pass the result to {@link #fromBytes}).
       *
       * @since 15.0
       */
      public static HashCode fromString(String string) {
        checkArgument(
    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. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt

       * SET types.
       *
       * The fields are specified as a list of member adapters. When decoding, a value for each
       * non-optional member but be included in sequence.
       *
       * TODO: for sets, sort by tag when encoding.
       * TODO: for set ofs, sort by encoded value when encoding.
       */
      fun <T> sequence(
        name: String,
        vararg members: DerAdapter<*>,
        decompose: (T) -> List<*>,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/msrpc/lsarpcTest.java

                // Simulate decoding a short
                offset += 2;
                return 0; // Return a dummy value
            }
    
            @Override
            public void enc_ndr_small(int v) {
                // Simulate encoding a small
                offset += 1;
            }
    
            @Override
            public int dec_ndr_small() {
                // Simulate decoding a small
                offset += 1;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 60.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/DcerpcBindTest.java

                assertThrows(NullPointerException.class, () -> {
                    bindWithParams.encode_in(mockBuffer);
                }, "Should fail on UUID encoding");
            }
        }
    
        @Nested
        @DisplayName("Decoding Tests")
        class DecodingTests {
    
            @Test
            @DisplayName("decode_out should read bind response data correctly")
            void testDecodeOut() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java

            assertEquals(expectedLength, ndrBuffer.getIndex());
            assertEquals(expectedLength, ndrBuffer.getLength());
    
            // Verify content (simplified check, full verification would involve decoding)
            assertEquals(testString.length() + 1, Encdec.dec_uint32le(buffer, 0)); // Actual count
            assertEquals(0, Encdec.dec_uint32le(buffer, 4)); // Offset
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

         * Reads the AndX wire format from buffer
         * @param buffer the buffer to read from
         * @param bufferIndex the starting index
         * @return the number of bytes read
         * @throws SMBProtocolDecodingException if decoding fails
         */
        protected int readAndXWireFormat(final byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException {
            final int start = bufferIndex;
    
            this.wordCount = buffer[bufferIndex];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  7. cmd/object-api-datatypes.go

    	RestoreOngoing bool
    
    	// A standard MIME type describing the format of the object.
    	ContentType string
    
    	// Specifies what content encodings have been applied to the object and thus
    	// what decoding mechanisms must be applied to obtain the object referenced
    	// by the Content-Type header field.
    	ContentEncoding string
    
    	// Date and time at which the object is no longer able to be cached
    	Expires time.Time
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

                assertThrows(RuntimeCIFSException.class, () -> {
                    testBlock.readStringLength(buffer, 0, 3);
                });
            }
        }
    
        @Nested
        @DisplayName("Encoding and Decoding Tests")
        class EncodingDecodingTests {
    
            @BeforeEach
            void setup() {
                testBlock = new TestServerMessageBlock(mockConfig);
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/ntlmssp/av/AvPairsTest.java

            assertEquals(AvPair.MsvAvEOL, SMBUtil.readInt2(encoded, 0), "Should be EOL");
            assertEquals(0, SMBUtil.readInt2(encoded, 2), "EOL length should be 0");
        }
    
        /**
         * Test round-trip encoding and decoding
         */
        @Test
        @DisplayName("Round-trip encode and decode should preserve data")
        void testRoundTrip() throws CIFSException {
            List<AvPair> originalPairs = new LinkedList<>();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/BaseEncodingTest.java

        assertThat(encoding.canDecode(encoded)).isTrue();
        assertThat(encoding.decode(encoded)).isEqualTo(decoded);
      }
    
      private static void assertFailsToDecode(BaseEncoding encoding, String cannotDecode) {
        assertFailsToDecode(encoding, cannotDecode, null);
      }
    
      private static void assertFailsToDecode(
          BaseEncoding encoding, String cannotDecode, @Nullable String expectedMessage) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.7K bytes
    - Viewed (0)
Back to top