Search Options

Results per page
Sort
Preferred Languages
Advance

Results 411 - 420 of 548 for decoded (0.04 sec)

  1. src/test/java/jcifs/smb/NtlmUtilTest.java

    import jcifs.util.Encdec;
    
    @ExtendWith(MockitoExtension.class)
    class NtlmUtilTest {
    
        @Mock
        CIFSContext cifsContext;
    
        @Mock
        Configuration configuration;
    
        // Helper: decode hex string to bytes
        private static byte[] hex(String s) {
            String clean = s.replaceAll("[^0-9A-Fa-f]", "");
            int len = clean.length();
            byte[] out = new byte[len / 2];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/ByteSource.java

    @J2ktIncompatible
    @GwtIncompatible
    public abstract class ByteSource {
    
      /** Constructor for use by subclasses. */
      protected ByteSource() {}
    
      /**
       * Returns a {@link CharSource} view of this byte source that decodes bytes read from this source
       * as characters using the given {@link Charset}.
       *
       * <p>If {@link CharSource#asByteSource} is called on the returned source with the same charset,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Mar 20 20:55:20 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/Longs.java

      }
    
      /**
       * Returns a serializable converter object that converts between strings and longs using {@link
       * Long#decode} and {@link Long#toString()}. The returned converter throws {@link
       * NumberFormatException} if the input string is invalid.
       *
       * <p><b>Warning:</b> please see {@link Long#decode} to understand exactly how strings are parsed.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 29.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/net/InetAddresses.java

          return "[" + toAddrString(ip) + "]";
        }
        return toAddrString(ip);
      }
    
      /**
       * Returns an InetAddress representing the literal IPv4 or IPv6 host portion of a URL, encoded in
       * the format specified by RFC 3986 section 3.2.2.
       *
       * <p>This method is similar to {@link InetAddresses#forString(String)}, however, it requires that
       * IPv6 addresses are surrounded by square brackets.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java

                byte[] buffer = new byte[0];
                int result = response.readParametersWireFormat(buffer, 0, 0);
    
                assertEquals(0, result);
            }
    
            @Test
            @DisplayName("Should decode DFS referral data correctly")
            void testReadDataWireFormat() {
                byte[] buffer = createValidDfsReferralBuffer();
    
                int bytesRead = response.readDataWireFormat(buffer, 0, buffer.length);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  6. cmd/postpolicyform.go

    	// perform strict type conversion using reflection.
    	var rawPolicy struct {
    		Expiration string `json:"expiration"`
    		Conditions []any  `json:"conditions"`
    	}
    
    	d.DisallowUnknownFields()
    	if err := d.Decode(&rawPolicy); err != nil {
    		return PostPolicyForm{}, err
    	}
    
    	parsedPolicy := PostPolicyForm{}
    
    	// Parse expiry time.
    	parsedPolicy.Expiration, err = time.Parse(time.RFC3339Nano, rawPolicy.Expiration)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt

       */
      @Throws(IOException::class)
      internal fun connectTunnel(): ConnectResult {
        val nextTunnelRequest =
          createTunnel()
            ?: return ConnectResult(plan = this) // Success.
    
        // The proxy decided to close the connection after an auth challenge. Retry with different
        // auth credentials.
        rawSocket?.closeQuietly()
    
        val nextAttempt = attempt + 1
        return when {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java

            assertEquals(fid & 0xFFFF, actualFid);
        }
    
        @Test
        @DisplayName("Test writeDataWireFormat")
        void testWriteDataWireFormat() {
            // Setup mock to return encoded size
            when(mockFileInfo.encode(any(byte[].class), anyInt())).thenReturn(40);
    
            trans2SetFileInfo = new Trans2SetFileInformation(config, TEST_FID, mockFileInfo);
    
            byte[] buffer = new byte[512];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java

            response = new Trans2QueryPathInformationResponse(mockConfig, FileInformation.FILE_BASIC_INFO);
    
            byte[] buffer = new byte[0];
            response.setDataCount(0);
    
            // The implementation will try to decode even with an empty buffer, causing ArrayIndexOutOfBoundsException
            assertThrows(ArrayIndexOutOfBoundsException.class, () -> {
                response.readDataWireFormat(buffer, 0, 0);
            });
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MediaType.kt

      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "subtype"),
        level = DeprecationLevel.ERROR,
      )
      fun subtype(): String = subtype
    
      /**
       * Returns the encoded media type, like "text/plain; charset=utf-8", appropriate for use in a
       * Content-Type header.
       */
      override fun toString(): String = mediaType
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:51:08 UTC 2025
    - 5.9K bytes
    - Viewed (0)
Back to top