Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 326 for decodeTo (0.03 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/gcs/Handler.java

                if (path != null && !path.isEmpty()) {
                    final String pathWithoutLeadingSlash = path.startsWith("/") ? path.substring(1) : path;
                    // Decode URL-encoded characters (e.g., %20 -> space)
                    objectName = URLDecoder.decode(pathWithoutLeadingSlash, StandardCharsets.UTF_8);
                } else {
                    objectName = StringUtil.EMPTY;
                }
            }
    
            /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/s3/Handler.java

                if (path != null && !path.isEmpty()) {
                    final String pathWithoutLeadingSlash = path.startsWith("/") ? path.substring(1) : path;
                    // Decode URL-encoded characters (e.g., %20 -> space)
                    objectName = URLDecoder.decode(pathWithoutLeadingSlash, StandardCharsets.UTF_8);
                } else {
                    objectName = StringUtil.EMPTY;
                }
            }
    
            /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 07:57:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

            assertEquals("c", raf.readLine());
    
            when(raf.read()).thenReturn(-1);
            assertNull(raf.readLine());
        }
    
        @Test
        @DisplayName("readUTF(): decodes bytes after size prefix")
        void readUTF_decodes() throws Exception {
            SmbRandomAccessFile raf = spy(newInstance("r", false, false, false));
            // Size prefix 3, then bytes for "abc"
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/dcerpc/ndr/NdrSmall.java

            this.value = value & 0xFF;
        }
    
        @Override
        public void encode(final NdrBuffer dst) throws NdrException {
            dst.enc_ndr_small(value);
        }
    
        @Override
        public void decode(final NdrBuffer src) throws NdrException {
            value = src.dec_ndr_small();
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/NtTransQuerySecurityDescResponse.java

            if (errorCode != 0) {
                return 4;
            }
    
            try {
                securityDescriptor = new SecurityDescriptor();
                bufferIndex += securityDescriptor.decode(buffer, bufferIndex, len);
            } catch (final IOException ioe) {
                throw new RuntimeException(ioe.getMessage());
            }
    
            return bufferIndex - start;
        }
    
        @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  6. samples/slack/src/main/java/okhttp3/slack/RtmSession.java

      //                the body from slack is a 0-byte-buffer
      @Override public synchronized void onOpen(WebSocket webSocket, Response response) {
        System.out.println("onOpen: " + response);
      }
    
      // TOOD(jwilson): decode incoming messages and dispatch them somewhere.
      @Override public void onMessage(WebSocket webSocket, String text) {
        System.out.println("onMessage: " + text);
      }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Nov 19 20:16:58 UTC 2016
    - 2.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/Files.java

       *
       * <p><b>{@link java.nio.file.Path} equivalent:</b> {@link
       * java.nio.file.Files#newBufferedReader(java.nio.file.Path, Charset)}.
       *
       * @param file the file to read from
       * @param charset the charset used to decode the input stream; see {@link StandardCharsets} for
       *     helpful predefined constants
       * @return the buffered reader
       */
      public static BufferedReader newReader(File file, Charset charset) throws FileNotFoundException {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 25 20:24:13 UTC 2025
    - 32.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java

        void testEncode() {
            byte[] buffer = new byte[1024];
            int length = response.encode(buffer, 0);
            assertTrue(length >= 0);
        }
    
        @Test
        @DisplayName("Test decode operation")
        void testDecode() {
            byte[] buffer = new byte[1024];
            // Fill with basic SMB header structure
            System.arraycopy(new byte[] { (byte) 0xFF, 'S', 'M', 'B' }, 0, buffer, 0, 4);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/RequestTest.java

            @Override
            public Integer getOverrideTimeout() {
                return null;
            }
    
            // Methods from CommonServerMessageBlock interface
            @Override
            public int decode(byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException {
                return 0;
            }
    
            @Override
            public int encode(byte[] dst, int dstIndex) {
                return 0;
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/storage/Handler.java

                if (path != null && !path.isEmpty()) {
                    final String pathWithoutLeadingSlash = path.startsWith("/") ? path.substring(1) : path;
                    // Decode URL-encoded characters (e.g., %20 -> space)
                    objectName = URLDecoder.decode(pathWithoutLeadingSlash, StandardCharsets.UTF_8);
                } else {
                    objectName = StringUtil.EMPTY;
                }
            }
    
            /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:52:56 UTC 2025
    - 11.1K bytes
    - Viewed (0)
Back to top