Search Options

Results per page
Sort
Preferred Languages
Advance

Results 491 - 500 of 1,116 for handles (0.1 sec)

  1. src/main/java/org/codelibs/fess/cors/DefaultCorsHandler.java

     * 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 {
    
        /**
         * Creates a new instance of DefaultCorsHandler.
         * This constructor initializes the default CORS handler for applying
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.java

             *
             * @param handle the policy handle to close
             */
            public LsarClose(final rpc.policy_handle handle) {
                this.handle = handle;
            }
    
            @Override
            public void encode_in(final NdrBuffer _dst) throws NdrException {
                handle.encode(_dst);
            }
    
            @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 42.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SID.java

                    }
                    policyHandle = new LsaPolicyHandle(handle, "\\\\" + server, 0x00000800);
                    SID.resolveSids(handle, policyHandle, sids);
                } finally {
                    if (handle != null) {
                        if (policyHandle != null) {
                            policyHandle.close();
                        }
                        handle.close();
                    }
                }
            }
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/DialectVersionTest.java

            // When
            String stringRep = version.toString();
    
            // Then
            assertNotNull(stringRep);
            assertFalse(stringRep.isEmpty());
        }
    
        @Test
        @DisplayName("Should handle version comparison")
        void testVersionComparison() {
            // Test equality
            assertEquals(DialectVersion.SMB311, DialectVersion.SMB311);
            assertNotEquals(DialectVersion.SMB1, DialectVersion.SMB311);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java

            }
    
            @Test
            @DisplayName("Should handle null file ID in setter")
            void testSetNullFileId() {
                assertDoesNotThrow(() -> request.setFileId(null));
            }
    
            @Test
            @DisplayName("Should handle various file ID sizes")
            void testVariousFileIdSizes() {
                byte[] shortFileId = new byte[8];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

            // When
            response.prepare(mockNext);
    
            // Then
            verify(mockNext, times(0)).setTreeId(any(Integer.class));
        }
    
        @DisplayName("Should handle various share flag combinations")
        @ParameterizedTest
        @MethodSource("provideFlagCombinations")
        void testShareFlagCombinations(int flags, boolean expectedDfs) throws SMBProtocolDecodingException {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbRandomAccessFile.java

            // ensure file is open
            if (this.handle == null || !this.handle.isValid()) {
                // one extra acquire to keep this open till the stream is released
                this.handle =
                        this.file.openUnshared(this.openFlags, this.access, this.sharing, SmbConstants.ATTR_NORMAL, this.options).acquire();
                return this.handle;
            }
            return this.handle.acquire();
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  8. cmd/healthcheck-router.go

    	healthCheckPathPrefix      = minioReservedBucketPath + healthCheckPath
    )
    
    // registerHealthCheckRouter - add handler functions for liveness and readiness routes.
    func registerHealthCheckRouter(router *mux.Router) {
    	// Healthcheck router
    	healthRouter := router.PathPrefix(healthCheckPathPrefix).Subrouter()
    
    	// Cluster check handler to verify cluster is active
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Jan 23 11:12:47 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbTreeConnection.java

         * @param host
         * @return tree handle
         * @throws IOException
         */
        public synchronized SmbTreeHandleImpl connectHost(final SmbResourceLocatorImpl loc, final String host) throws IOException {
            return connectHost(loc, host, null);
        }
    
        /**
         *
         * @param loc
         * @param host
         * @param referral
         * @return tree handle
         * @throws IOException
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java

            }
    
            @Test
            @DisplayName("Should handle null root cause")
            void testConstructorWithNullRootCause() {
                TransportException exception = new TransportException((Throwable) null);
    
                assertNotNull(exception);
                assertNull(exception.getRootCause());
            }
    
            @Test
            @DisplayName("Should handle null message with root cause")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
Back to top