Search Options

Results per page
Sort
Preferred Languages
Advance

Results 941 - 950 of 1,161 for handler (0.03 sec)

  1. src/main/java/jcifs/pac/PacDataInputStream.java

    import java.math.BigInteger;
    import java.util.Date;
    
    import jcifs.SmbConstants;
    import jcifs.smb.SID;
    
    /**
     * Input stream for reading PAC data structures with proper alignment and byte ordering.
     * Handles little-endian byte order and data alignment requirements of PAC structures.
     */
    public class PacDataInputStream {
    
        private final DataInputStream dis;
        private final int size;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java

        }
    
        /**
         * Test writeString method indirectly through writeBytesWireFormat
         */
        @Test
        @DisplayName("Test writeString handles path separators correctly")
        public void testWriteStringWithPathSeparators() {
            // Given
            String oldFileName = "folder\\oldFile.txt";
            String newFileName = "folder\\newFile.txt";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/util/DocumentUtil.java

            }
            return value;
        }
    
        /**
         * Gets a typed value from a document map.
         * Supports conversion to String, Date, Long, Integer, Double, Float, Boolean,
         * List, and String array types. Handles both single values and arrays/lists.
         *
         * @param <T> the type to convert the value to
         * @param doc the document map to extract the value from
         * @param key the key to look up in the document map
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/dataconfig/ApiAdminDataconfigAction.java

            });
            return asJson(new ApiResponse().status(Status.OK).result());
        }
    
        /**
         * Creates an EditBody from a DataConfig entity for API responses.
         * Handles permission and virtual host encoding.
         *
         * @param entity the DataConfig entity to convert
         * @return the converted EditBody object
         */
        protected EditBody createEditBody(final DataConfig entity) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/exception/ContainerNotAvailableExceptionTest.java

            assertEquals("Container is not available.", exception3.getMessage());
        }
    
        public void test_causeOnlyConstructorWithMessage() {
            // Test that cause-only constructor properly handles the cause
            String causeMessage = "Initialization failed";
            RuntimeException cause = new RuntimeException(causeMessage);
            ContainerNotAvailableException exception = new ContainerNotAvailableException(cause);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancer.java

            // Should not reach here
            return channels.iterator().next();
        }
    
        private ChannelInfo selectWithAffinity(CommonServerMessageBlock message, Collection<ChannelInfo> channels) {
            // Use file handle or tree ID for affinity
            long affinityKey = 0;
    
            // Use tree ID for SMB2 requests for affinity
            if (message instanceof ServerMessageBlock2Request) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  7. mockwebserver/README.md

    assertEquals("{}", request.body!!.utf8())
    ```
    
    #### Dispatcher
    
    By default MockWebServer uses a queue to specify a series of responses. Use a
    Dispatcher (`import okhttp3.mockwebserver.Dispatcher`) to handle requests using another policy. One natural policy is to
    dispatch on the request path.
    You can, for example, filter the request instead of using `server.enqueue()`.
    
    ### Java
    ```java
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jul 19 13:40:52 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Dispatcher.kt

            runningAsyncCalls.add(asyncCall)
          }
          isRunning = runningCallsCount() > 0
        }
    
        // Avoid resubmitting if we can't logically progress
        // particularly because RealCall handles a RejectedExecutionException
        // by executing on the same thread.
        if (executorService.isShutdown) {
          for (i in 0 until executableCalls.size) {
            val asyncCall = executableCalls[i]
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/query/QueryCommand.java

         * @return The executed QueryBuilder.
         */
        public abstract QueryBuilder execute(final QueryContext context, final Query query, final float boost);
    
        /**
         * Gets the class name of the query this command handles.
         * @return The query class name.
         */
        protected abstract String getQueryClassName();
    
        /**
         * Registers this query command with the query processor.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java

                }
            } finally {
                correctAuth.close();
                wrongAuth.close();
            }
        }
    
        /**
         * Test that null and empty password comparisons are handled securely.
         */
        @Test
        public void testNullAndEmptyPasswordSecurity() {
            NtlmPasswordAuthenticator auth1 = new NtlmPasswordAuthenticator("domain", "user", (String) null);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
Back to top