Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 412 for listing (0.4 sec)

  1. src/test/java/jcifs/pac/PacTest.java

            byte[] pacData = baos.toByteArray();
    
            PACDecodingException e = assertThrows(PACDecodingException.class, () -> new Pac(pacData, keys));
            // The error could be about version or missing buffers
            assertNotNull(e.getMessage());
        }
    
        @Test
        void testUnalignedBuffer() throws IOException {
            // Create PAC with unaligned buffer offset
    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/test/java/jcifs/smb/MultiChannelManagerBasicTest.java

        private MultiChannelManager multiChannelManager;
        private Configuration config;
    
        @BeforeEach
        void setUp() throws Exception {
            // Create a basic configuration for testing
            this.config = new BaseConfiguration(true);
            this.multiChannelManager = new MultiChannelManager(config);
        }
    
        @Test
        @DisplayName("MultiChannelManager should initialize successfully")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 4K bytes
    - Viewed (0)
  3. README.md

    - **Memory efficient** - Specialized collections like `LruHashMap` and `ArrayMap` for memory-conscious applications
    - **Java 21 features** - Switch expressions and pattern matching for reduced overhead
    
    ## 🧪 Building and Testing
    
    ### Development Setup
    ```bash
    # Clone the repository
    git clone https://github.com/codelibs/corelib.git
    cd corelib
    
    # Compile the project
    mvn clean compile
    
    # Run all tests
    mvn test
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sun Aug 31 02:56:02 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/net/protocol/gcs/HandlerTest.java

            assertTrue(conn instanceof Handler.GcsURLConnection);
            Handler.GcsURLConnection gcsConn = (Handler.GcsURLConnection) conn;
    
            // Use reflection to access private fields for testing
            assertEquals("mybucket", getField(gcsConn, "bucketName"));
            assertEquals("path/to/object.txt", getField(gcsConn, "objectName"));
        }
    
        /**
         * Test URL parsing with bucket only (no object path).
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  5. docs/smb3-features/06-witness-protocol-design.md

        private long sequenceNumber;
        private int returnCode;
        
        public boolean isSuccess() { return returnCode == 0; }
        // Getters and setters...
    }
    ```
    
    ## 5. Integration with Existing Code
    
    ### 5.1 Session Integration
    ```java
    // In SmbSession.java
    private WitnessClient witnessClient;
    private boolean witnessEnabled;
    
    public void initializeWitnessSupport() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
  6. src/main/java/jcifs/pac/PacMac.java

         * @param data the data to calculate the MAC for
         * @return the calculated mac bytes
         * @throws PACDecodingException if the MAC calculation fails or required keys are missing
         */
        public static byte[] calculateMac(int type, Map<Integer, KerberosKey> keys, byte[] data) throws PACDecodingException {
            try {
                int usage = 17;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/persistent/HandleGuid.java

        private final UUID guid;
    
        /**
         * Create a new random handle GUID
         */
        public HandleGuid() {
            this.guid = UUID.randomUUID();
        }
    
        /**
         * Create a handle GUID from existing bytes
         * @param bytes the 16-byte GUID data in little-endian format (SMB wire format)
         */
        public HandleGuid(byte[] bytes) {
            if (bytes.length != 16) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbFileFilter.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb1.smb1;
    
    /**
     * Filter interface for SMB file listings
     */
    public interface SmbFileFilter {
        /**
         * Tests whether the specified SMB file should be included in a file list.
         *
         * @param file the SMB file to test for inclusion
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/entity/SearchRequestParams.java

            if (StringUtil.isNotBlank(sort)) {
                facetInfo.sort = sort;
            }
            final String missing = request.getParameter("facet.missing");
            if (StringUtil.isNotBlank(missing)) {
                facetInfo.missing = missing;
            }
            return facetInfo;
        }
    
        /**
         * Creates a geo info.
         *
         * @param request The request.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8K bytes
    - Viewed (0)
  10. docs/smb3-features/02-persistent-handles-design.md

                    
                    // Retry
                    return attemptReconnect(file, info, attempt + 1).join();
                }
            });
        }
    }
    ```
    
    ## 6. Integration with Existing Code
    
    ### 6.1 Modifying Smb2CreateRequest
    ```java
    // In Smb2CreateRequest.java
    public void addDurableHandleContext(HandleType type, long timeout, HandleGuid guid) {
        switch (type) {
            case DURABLE_V1:
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
Back to top