Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 230 for onex (0.57 sec)

  1. src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java

                this.andx = andx;
                andxCommand = andx.command;
            }
        }
    
        int getBatchLimit(final byte command) {
            /* the default limit is 0 batched messages before this
             * one, meaning this message cannot be batched.
             */
            return 0;
        }
    
        /*
         * We overload this method from ServerMessageBlock because
         * we want writeAndXWireFormat to write the parameterWords
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/io/Smb2ReadRequest.java

                dstIndex += 4;
            } else {
                SMBUtil.writeInt2(0, dst, dstIndex);
                SMBUtil.writeInt2(0, dst, dstIndex + 2);
                dstIndex += 4;
            }
    
            // one byte in buffer must be zero
            dst[dstIndex] = 0;
            dstIndex += 1;
    
            // Write SMB2_RDMA_TRANSFORM if using RDMA channel
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/rdma/RdmaBufferManager.java

                    availableReceiveRegions.size());
        }
    
        /**
         * Get a send region from the pool or allocate a new one
         *
         * @param minSize minimum required size
         * @return memory region for sending
         * @throws IOException if allocation fails
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/SmbTransportTest.java

            // Assert
            assertNotNull(result, "Unwrapped transport should not be null");
            assertEquals(mockUnwrappedTransport, result, "Returned unwrapped transport should be the mocked one");
            verify(smbTransport).unwrap(SmbTransport.class); // Verify that the method was called
        }
    
        @Test
        void testClose() throws Exception {
            // Act
            smbTransport.close();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java

            assertNotNull(authorizations, "The authorizations list should not be null.");
            assertEquals(1, authorizations.size(), "The authorizations list should contain one element.");
            assertEquals(mockAuthData, authorizations.get(0), "The authorization element should be the mocked object.");
        }
    
        /**
         * Test constructor with a malformed ASN.1 token.
         */
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java

            byte[] buffer1 = BufferCache.getBuffer();
            buffer1[0] = (byte) 0xAB;
            buffer1[1] = (byte) 0xCD;
            BufferCache.releaseBuffer(buffer1);
    
            // When - Get another buffer (might be the same one from cache)
            byte[] buffer2 = BufferCache.getBuffer();
    
            // Then - Buffer should be valid
            assertNotNull(buffer2, "Reused buffer should not be null");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/util/KuromojiCSVUtil.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.util;
    
    /*
     * Licensed to the Apache Software Foundation (ASF) under one or more
     * contributor license agreements.  See the NOTICE file distributed with
     * this work for additional information regarding copyright ownership.
     * The ASF licenses this file to You under the Apache License, Version 2.0
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/RequestDataTest.java

            RequestData data2 = new RequestData();
    
            // Both with null fields should be equal
            assertTrue(data1.equals(data2));
            assertEquals(data1.hashCode(), data2.hashCode());
    
            // One with URL, one without
            data1.setUrl("https://example.com");
            assertFalse(data1.equals(data2));
        }
    
        public void test_toString() {
            // Test toString method
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:29:22 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeTest.java

        }
    
        @Test
        @DisplayName("Test boundary condition with buffer size equal to data length minus one")
        void testBoundaryBufferSize() {
            // Arrange
            TransTransactNamedPipe trans = new TransTransactNamedPipe(mockConfig, TEST_FID, TEST_DATA, TEST_OFFSET, TEST_LENGTH);
            byte[] dst = new byte[TEST_LENGTH - 1]; // One byte short
            int dstIndex = 0;
    
            // Act
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbFileInputStream.java

         * @return
         * @throws SmbException
         */
        synchronized SmbFileHandleImpl ensureOpen() throws CIFSException {
            if (this.handle == null || !this.handle.isValid()) {
                // one extra acquire to keep this open till the stream is released
                if (this.file instanceof SmbNamedPipe) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.6K bytes
    - Viewed (0)
Back to top