Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 80 for sharing (3.7 sec)

  1. src/test/java/jcifs/smb/SmbExceptionTest.java

                SmbException exception = new SmbException((String) null);
                assertNotNull(exception);
            });
        }
    
        @Test
        @DisplayName("Should convert to string properly")
        void testToString() {
            // Given
            String message = "Test error message";
            SmbException exception = new SmbException(message);
    
            // When
            String stringRep = exception.toString();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/cors/CorsHandler.java

         */
        protected static final String ACCESS_CONTROL_ALLOW_ORIGIN = "Access-Control-Allow-Origin";
    
        /**
         * CORS header for specifying allowed headers.
         */
        protected static final String ACCESS_CONTROL_ALLOW_HEADERS = "Access-Control-Allow-Headers";
    
        /**
         * CORS header for specifying allowed HTTP methods.
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/filter/CorsFilter.java

         */
        protected static final String OPTIONS = "OPTIONS";
    
        @Override
        public void doFilter(final ServletRequest request, final ServletResponse response, final FilterChain chain)
                throws IOException, ServletException {
            final HttpServletRequest httpRequest = (HttpServletRequest) request;
            final String origin = httpRequest.getHeader("Origin");
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/cors/DefaultCorsHandler.java

    import jakarta.servlet.ServletRequest;
    import jakarta.servlet.ServletResponse;
    import jakarta.servlet.http.HttpServletResponse;
    
    /**
     * Default implementation of CORS (Cross-Origin Resource Sharing) handler.
     * This handler automatically registers itself for origins configured in the system
     * and applies standard CORS headers based on the application configuration.
     */
    public class DefaultCorsHandler extends CorsHandler {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbResourceLocatorInternal.java

        /**
         * Internal: for testing only
         *
         * @param dr the DFS referral data to process
         * @param reqPath the requested path to resolve
         * @return resolved unc path
         */
        String handleDFSReferral(DfsReferralData dr, String reqPath);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/NtStatusTest.java

            // Should be an error status (0xC prefix)
            assertTrue((status & (int) 0xC0000000L) == (int) 0xC0000000L);
        }
    
        @Test
        @DisplayName("Should handle sharing violation status")
        void testSharingViolationStatus() {
            // Given
            int status = NtStatus.NT_STATUS_SHARING_VIOLATION;
    
            // When/Then
            assertEquals((int) 0xC0000043L, status);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/util/SMBUtil.java

        }
    
        /**
         * Writes a 16-bit integer value to a byte array in little-endian format
         * @param val the value to write
         * @param dst the destination byte array
         * @param dstIndex the starting index in the destination array
         */
        public static void writeInt2(final long val, final byte[] dst, int dstIndex) {
            dst[dstIndex] = (byte) val;
            dstIndex++;
            dst[dstIndex] = (byte) (val >> 8);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/util/Strings.java

            return getBytes(str, UNI_ENCODING);
        }
    
        /**
         * Encodes a string into ASCII bytes.
         *
         * @param str the string to encode
         * @return the string as bytes (ASCII)
         */
        public static byte[] getASCIIBytes(final String str) {
            return getBytes(str, ASCII_ENCODING);
        }
    
        /**
         * Encodes a string into bytes using the OEM encoding from the configuration.
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/job/ScriptExecutorJob.java

                }
    
                if (logger.isDebugEnabled()) {
                    logger.debug("Starting job: id={}, scriptType={}, script={}", id, scriptType, script);
                } else if (scheduledJob.isLoggingEnabled() && logger.isInfoEnabled()) {
                    logger.info("Starting job: id={}", id);
                }
    
                final Object ret = jobExecutor.execute(Constants.DEFAULT_SCRIPT, script);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SigningDigest.java

         * The first 8 bytes of this are placed in the signature field.
         *
         * @param data The data.
         * @param offset The starting offset at which the SMB header begins.
         * @param length The length of the SMB data starting at offset.
         */
        void sign(final byte[] data, final int offset, final int length, final ServerMessageBlock request, final ServerMessageBlock response) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.9K bytes
    - Viewed (0)
Back to top