Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 67 for decodabet (0.08 sec)

  1. guava/src/com/google/common/io/BaseEncoding.java

        private static byte[] decodabetFor(char[] chars) {
          byte[] decodabet = new byte[Ascii.MAX + 1];
          Arrays.fill(decodabet, (byte) -1);
          for (int i = 0; i < chars.length; i++) {
            char c = chars[i];
            checkArgument(c < decodabet.length, "Non-ASCII character: %s", c);
            checkArgument(decodabet[c] == -1, "Duplicate character: %s", c);
            decodabet[c] = (byte) i;
          }
          return decodabet;
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

        testDecodes(base64(), "Zg===", "f");
        testDecodes(base64(), "Zg====", "f");
      }
    
      public void testBase64InvalidDecodings() {
        // These contain bytes not in the decodabet.
        assertFailsToDecode(base64(), "A\u007f", "Unrecognized character: 0x7f");
        assertFailsToDecode(base64(), "Wf2!", "Unrecognized character: !");
        // This sentence just isn't base64() encoded.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 16:27:30 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/BaseEncodingTest.java

        testDecodes(base64(), "Zg===", "f");
        testDecodes(base64(), "Zg====", "f");
      }
    
      public void testBase64InvalidDecodings() {
        // These contain bytes not in the decodabet.
        assertFailsToDecode(base64(), "A\u007f", "Unrecognized character: 0x7f");
        assertFailsToDecode(base64(), "Wf2!", "Unrecognized character: !");
        // This sentence just isn't base64() encoded.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 16:27:30 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/Decodable.java

     */
    package jcifs;
    
    
    import jcifs.internal.SMBProtocolDecodingException;
    
    
    /**
     * @author mbechler
     *
     */
    public interface Decodable {
    
        /**
         * @param buffer
         * @param bufferIndex
         * @param len
         * @return decoded length
         * @throws SMBProtocolDecodingException
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoResponse.java

        }
    
    
        /**
         * @return the information
         */
        public Decodable getInfo () {
            return this.info;
        }
    
    
        /**
         * @param clazz
         * @return the information
         * @throws CIFSException
         */
        @SuppressWarnings ( "unchecked" )
        public <T extends Decodable> T getInfo ( Class<T> clazz ) throws CIFSException {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Nov 13 15:13:49 UTC 2021
    - 6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponse.java

     */
    package jcifs.internal.smb2.ioctl;
    
    
    import jcifs.Decodable;
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.util.SMBUtil;
    
    
    /**
     * @author mbechler
     *
     */
    public class SrvRequestResumeKeyResponse implements Decodable {
    
        private byte[] resumeKey;
    
    
        /**
         * @return the resumeKey
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/create/CreateContextResponse.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal.smb2.create;
    
    
    import jcifs.Decodable;
    
    
    /**
     * @author mbechler
     *
     */
    public interface CreateContextResponse extends Decodable {
    
        /**
         * @return context name
         */
        byte[] getName ();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1004 bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/nego/NegotiateContextResponse.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal.smb2.nego;
    
    
    import jcifs.Decodable;
    
    
    /**
     * @author mbechler
     *
     */
    public interface NegotiateContextResponse extends Decodable {
    
        /**
         * 
         * @return context type
         */
        int getContextType ();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1017 bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponse.java

         * @return
         */
        protected Decodable createInputDecodable () {
            return null;
        }
    
    
        /**
         * @param responseType
         * @return decoded data
         * @throws SmbException
         */
        @SuppressWarnings ( "unchecked" )
        public <T extends Decodable> T getOutputData ( Class<T> responseType ) throws SmbException {
    
            Decodable out = getOutputData();
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 7.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponse.java

     */
    package jcifs.internal.smb2.ioctl;
    
    
    import jcifs.Decodable;
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.util.SMBUtil;
    
    
    /**
     * @author mbechler
     *
     */
    public class SrvCopyChunkCopyResponse implements Decodable {
    
        private int chunksWritten;
        private int chunkBytesWritten;
        private int totalBytesWritten;
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.1K bytes
    - Viewed (0)
Back to top