Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 325 for occur (0.01 sec)

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

      }
    
      /**
       * Reads all bytes from a URL into a byte array.
       *
       * @param url the URL to read from
       * @return a byte array containing all the bytes from the URL
       * @throws IOException if an I/O error occurs
       */
      public static byte[] toByteArray(URL url) throws IOException {
        return asByteSource(url).read();
      }
    
      /**
       * Reads all characters from a URL into a {@link String}, using the given character set.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/Files.java

       * @return a byte array containing all the bytes from file
       * @throws IllegalArgumentException if the file is bigger than the largest possible byte array
       *     (2^31 - 1)
       * @throws IOException if an I/O error occurs
       */
      public static byte[] toByteArray(File file) throws IOException {
        return asByteSource(file).read();
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/DosFileFilterTest.java

         * @param fileAttributes The attributes of the mock file.
         * @param expectedResult The expected outcome of the accept method.
         * @throws SmbException If an SMB error occurs.
         */
        @ParameterizedTest(name = "Filter: {0}, File: {1}, Expected: {2}")
        @CsvSource({
                // Positive cases (should be accepted)
                "1, 1, true", // ATTR_READONLY
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbFileOutputStream.java

         *
         * @throws CIFSException if an error occurs opening the file
         */
        public void open() throws CIFSException {
            try (SmbFileHandleImpl fh = ensureOpen()) {}
        }
    
        /**
         * Closes this output stream and releases any system resources associated
         * with it.
         *
         * @throws IOException
         *             if a network error occurs
         */
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

         * with it.
         *
         * @throws IOException if a network error occurs
         */
    
        @Override
        public void close() throws IOException {
            file.close();
            tmp = null;
        }
    
        /**
         * Writes the specified byte to this file output stream.
         *
         * @throws IOException if a network error occurs
         */
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/http/NtlmSsp.java

         * @param resp The response.
         * @param challenge The domain controller challenge.
         * @throws IOException If an IO error occurs.
         * @return the authenticated NtlmPasswordAuthentication object
         * @throws IOException If an IO error occurs.
         * @throws ServletException If an error occurs.
         */
        public static NtlmPasswordAuthentication authenticate(final HttpServletRequest req, final HttpServletResponse resp,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/DirFileEntryEnumIteratorBase.java

         * @param wildcard the wildcard pattern for filtering entries
         * @param filter additional resource name filter to apply
         * @param searchAttributes the file attributes to search for
         * @throws CIFSException if an error occurs during initialization
         */
        public DirFileEntryEnumIteratorBase(final SmbTreeHandleImpl th, final SmbResource parent, final String wildcard,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/util/SearchEngineUtil.java

         * @param func the callback function to build XContent
         * @param mediaType the media type for the content builder
         * @return an OutputStream containing the built content, or an empty ByteArrayOutputStream if an error occurs
         */
        public static OutputStream getXContentBuilderOutputStream(final XContentBuilderCallback func, final MediaType mediaType) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/util/transport/Transport.java

         * @throws IOException if an I/O error occurs
         */
        protected abstract void makeKey(Request request) throws IOException;
    
        /**
         * Reads and returns the key of the next message without consuming it.
         *
         * @return the request key of the next message
         * @throws IOException if an I/O error occurs
         */
        protected abstract Request peekKey() throws IOException;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java

    /**
     * Tests for KerberosEncData.
     */
    class KerberosEncDataTest {
    
        /**
         * Test constructor with a valid token.
         *
         * @throws IOException if an I/O error occurs
         * @throws PACDecodingException if a PAC decoding error occurs
         * @throws UnknownHostException if the IP address is not found
         */
        @Test
        void testConstructor() throws IOException, PACDecodingException, UnknownHostException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.7K bytes
    - Viewed (0)
Back to top