Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 1,149 for handle (0.04 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/Source.java

         *   <li>URL sources resolve against their base URL</li>
         *   <li>Other sources may not support resolution and return null</li>
         * </ul>
         * <p>
         * The implementation must handle:
         * <ul>
         *   <li>Both forward and back slashes as path separators</li>
         *   <li>Parent directory references (..)</li>
         *   <li>Both file and directory targets</li>
         * </ul>
         *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 29 09:46:53 UTC 2025
    - 4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/rdma/Smb2RdmaTransform.java

        private int length; // 4 bytes: Length of buffer
    
        /**
         * Create SMB2 RDMA Transform
         *
         * @param offset offset within registered buffer
         * @param token RDMA provider token (steering tag/memory handle)
         * @param length length of buffer
         */
        public Smb2RdmaTransform(long offset, int token, int length) {
            this.offset = offset;
            this.token = token;
            this.length = length;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 3K bytes
    - Viewed (0)
  3. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Invoker.java

     * to the construction and invocation of Maven commands and builds, and it fully parses arguments.
     *
     * <p>The Invoker is designed to be flexible, allowing for different implementations
     * that can handle various types of {@link InvokerRequest InvokerRequests}. It also implements
     * {@link AutoCloseable} to ensure proper resource management.</p>
     *
     * @since 4.0.0
     */
    @Experimental
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jan 31 20:56:58 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/GwtFuturesCatchingSpecialization.java

     */
    abstract class GwtFuturesCatchingSpecialization {
      /*
       * In the GWT versions of the methods (below), every exceptionType parameter is required to be
       * Class<Throwable>. To handle only certain kinds of exceptions under GWT, you'll need to write
       * your own instanceof tests.
       */
    
      public static <V extends @Nullable Object> ListenableFuture<V> catching(
          ListenableFuture<? extends V> input,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbTransport.java

        //
        //        handle = DcerpcHandle.getHandle("ncacn_np:" +
        //                    UniAddress.getByName(dr[0].server).getHostAddress() +
        //                    "[\\PIPE\\netdfs]", auth);
        //        try {
        //            rpc = new MsrpcDfsRootEnum(domainName);
        //            handle.sendrecv(rpc);
        //            if (rpc.retval != 0)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/config/DelegatingConfigurationTest.java

            verify(mockDelegate).isIpcSigningEnforced();
            verify(mockDelegate, times(2)).isForceExtendedSecurity();
        }
    
        @Test
        @DisplayName("Delegation should handle null returns gracefully")
        void testNullReturnHandling() {
            // Given - configure delegate to return nulls
            when(mockDelegate.getRandom()).thenReturn(null);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            // Ensure proper cleanup before delete
            file.close();
            Thread.sleep(500); // Give more time for handle release
            System.gc(); // Force garbage collection
            Thread.sleep(200);
    
            // Delete using a completely new context to avoid handle issues
            CIFSContext deleteContext = createFreshContext();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  8. docs/smb3-features/01-smb3-lease-design.md

        public static final int SMB2_LEASE_NONE           = 0x00;
        public static final int SMB2_LEASE_READ_CACHING   = 0x01;  // R - Read caching
        public static final int SMB2_LEASE_HANDLE_CACHING = 0x02;  // H - Handle caching  
        public static final int SMB2_LEASE_WRITE_CACHING  = 0x04;  // W - Write caching
        
        // Common combinations
        public static final int SMB2_LEASE_READ_HANDLE    = 0x03;  // RH
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 22K bytes
    - Viewed (0)
  9. src/main/java/jcifs/util/PathValidator.java

            // Remove trailing slash unless it's the root
            if (normalized.length() > 1 && normalized.endsWith("\\")) {
                normalized = normalized.substring(0, normalized.length() - 1);
            }
    
            // Handle current directory references
            normalized = normalized.replace("\\.", "");
            normalized = normalized.replace(".\\", "");
    
            return normalized;
        }
    
        /**
         * Validate UNC path
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java

            byte[] nullBuffer = null;
            byte[] wrongSizeBuffer = new byte[100]; // Wrong size
            byte[] correctBuffer = new byte[SmbComTransaction.TRANSACTION_BUF_SIZE];
    
            // When/Then - Should handle invalid buffers gracefully
            assertDoesNotThrow(() -> {
                BufferCache.releaseBuffer(nullBuffer); // Should ignore null
                BufferCache.releaseBuffer(wrongSizeBuffer); // Should ignore wrong size
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.6K bytes
    - Viewed (0)
Back to top