Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. android/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;
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Mar 15 16:33:32 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  2. 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.
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Aug 25 16:34:08 GMT 2022
    - 24.6K bytes
    - Viewed (0)
  3. 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.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 06 12:56:11 GMT 2023
    - 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
         */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.1K bytes
    - Viewed (0)
  5. 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();
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 05 09:45:59 GMT 2018
    - 7.4K bytes
    - Viewed (0)
  6. 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 {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Nov 13 15:13:49 GMT 2021
    - 6K bytes
    - Viewed (0)
  7. 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;
    
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/fscc/FileFsFullSizeInformation.java

     */
    package jcifs.internal.fscc;
    
    
    import jcifs.Decodable;
    import jcifs.internal.AllocInfo;
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.util.SMBUtil;
    
    
    /**
     *
     */
    public class FileFsFullSizeInformation implements AllocInfo, FileSystemInformation, Decodable {
    
        private long alloc; // Also handles SmbQueryFSSizeInfo
        private long free;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.7K bytes
    - Viewed (0)
  9. 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
         */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponse.java

     */
    package jcifs.internal.smb2.ioctl;
    
    
    import jcifs.Decodable;
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.util.SMBUtil;
    
    
    /**
     * @author svella
     *
     */
    public class SrvPipePeekResponse implements Decodable {
    
        // see https://msdn.microsoft.com/en-us/library/dd414577.aspx
    
        private int namedPipeState;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 05 09:45:59 GMT 2018
    - 2.7K bytes
    - Viewed (0)
Back to top