Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 935 for Decode (0.24 sec)

  1. guava-tests/test/com/google/common/collect/MapsCollectionTest.java

        }
      }
    
      private static String encode(String str) {
        return BaseEncoding.base64().encode(str.getBytes(Charsets.UTF_8));
      }
    
      private static final Function<String, String> DECODE_FUNCTION =
          new Function<String, String>() {
            @Override
            public String apply(String input) {
              return new String(BaseEncoding.base64().decode(input), Charsets.UTF_8);
            }
          };
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 32.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SecurityDescriptor.java

        public int type;
        public ACE[] aces;
    
        public SecurityDescriptor() {
        }
        public SecurityDescriptor(byte[] buffer, int bufferIndex, int len) throws IOException {
            this.decode(buffer, bufferIndex, len);
        }
        public int decode(byte[] buffer, int bufferIndex, int len) throws IOException {
            int start = bufferIndex;
    
            bufferIndex++; // revision
            bufferIndex++;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 3.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/util/Encdec.java

    /* encdec - encode and decode integers, times, and
     * internationalized strings to and from popular binary formats
     * http://www.ioplex.com/~miallen/encdec/
     * Copyright (c) 2003 Michael B. Allen <******@****.***>
     *
     * The GNU Library General Public License
     * 
     * This library is free software; you can redistribute it and/or
     * modify it under the terms of the GNU Library General Public
     * License as published by the Free Software Foundation; either
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 10.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

                final byte[] decode = Base64.getUrlDecoder().decode(hash.substring(SIMILAR_DOC_HASH_PREFIX.length()));
                try (BufferedReader reader =
                        new BufferedReader(new InputStreamReader(new GZIPInputStream(new ByteArrayInputStream(decode)), Constants.UTF_8))) {
                    return ReaderUtil.readText(reader);
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 12K bytes
    - Viewed (0)
  5. src/main/java/jcifs/dcerpc/rpc.java

                _dst = _dst.derive(_nodei);
                for ( int _i = 0; _i < _nodes; _i++ ) {
                    _dst.enc_ndr_small(this.node[ _i ]);
                }
            }
    
    
            @Override
            public void decode ( NdrBuffer _src ) throws NdrException {
                _src.align(4);
                this.time_low = _src.dec_ndr_long();
                this.time_mid = (short) _src.dec_ndr_short();
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:40:13 GMT 2019
    - 8.8K bytes
    - Viewed (0)
  6. guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java

      static class MaxCodePoint {
        final int value;
    
        /**
         * Convert the input string to a code point. Accepts regular decimal numerals, hex strings, and
         * some symbolic names meaningful to humans.
         */
        private static int decode(String userFriendly) {
          try {
            return Integer.decode(userFriendly);
          } catch (NumberFormatException ignored) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 5.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/fscc/FileInternalInfo.java

         */
        public long getIndexNumber () {
            return this.indexNumber;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Decodable#decode(byte[], int, int)
         */
        @Override
        public int decode ( byte[] buffer, int bufferIndex, int len ) throws SMBProtocolDecodingException {
            this.indexNumber = SMBUtil.readInt8(buffer, bufferIndex);
            return 8;
        }
    
    
        /**
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.2K bytes
    - Viewed (0)
  8. docs_src/security/tutorial002_an_py310.py

        full_name: str | None = None
        disabled: bool | None = None
    
    
    def fake_decode_token(token):
        return User(
            username=token + "fakedecoded", email="******@****.***", full_name="John Doe"
        )
    
    
    async def get_current_user(token: Annotated[str, Depends(oauth2_scheme)]):
        user = fake_decode_token(token)
        return user
    
    
    @app.get("/users/me")
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 761 bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

        assertThat(encoding.encode(decoded.getBytes(UTF_8), offset, len)).isEqualTo(encoded);
      }
    
      private static void testDecodes(BaseEncoding encoding, String encoded, String decoded) {
        assertThat(encoding.canDecode(encoded)).isTrue();
        assertThat(encoding.decode(encoded)).isEqualTo(decoded.getBytes(UTF_8));
      }
    
    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)
  10. docs_src/security/tutorial002_an.py

        full_name: Union[str, None] = None
        disabled: Union[bool, None] = None
    
    
    def fake_decode_token(token):
        return User(
            username=token + "fakedecoded", email="******@****.***", full_name="John Doe"
        )
    
    
    async def get_current_user(token: Annotated[str, Depends(oauth2_scheme)]):
        user = fake_decode_token(token)
        return user
    
    
    @app.get("/users/me")
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 815 bytes
    - Viewed (0)
Back to top