Search Options

Results per page
Sort
Preferred Languages
Advance

Results 601 - 610 of 896 for Array (0.02 sec)

  1. src/test/java/jcifs/internal/smb2/lease/Smb2LeaseKeyTest.java

            assertNotNull(key.getKey());
            assertEquals(16, key.getKey().length);
            assertFalse(key.isZero());
        }
    
        @Test
        @DisplayName("Should create lease key from byte array")
        void testLeaseKeyFromBytes() {
            byte[] testBytes = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10 };
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 6K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/TextTransformer.java

     * It uses an Extractor to extract the text from the response body based on the MIME type.
     * The extracted text is then converted into a byte array using the specified charset encoding.
     * It also provides a method to retrieve the extracted data as a String from an AccessResultData object.
     *
     * <p>
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/lock/Smb2LockRequest.java

        /**
         * Constructs an SMB2 lock request with the specified parameters.
         *
         * @param config the configuration for this request
         * @param fileId the file identifier for the file to lock
         * @param locks the array of lock elements to apply
         */
        public Smb2LockRequest(final Configuration config, final byte[] fileId, final Smb2Lock[] locks) {
            super(config, SMB2_LOCK);
            this.fileId = fileId;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/beans/impl/MethodDescImpl.java

        protected final BeanDesc beanDesc;
    
        /** The method */
        protected final Method method;
    
        /** The method name */
        protected final String methodName;
    
        /** Array of method parameter types */
        protected final Class<?>[] parameterTypes;
    
        /** The return type of the method */
        protected final Class<?> returnType;
    
        /** Information about parameterized argument types */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbTreeInternalTest.java

        }
    
        @Test
        @DisplayName("send with explicit null varargs propagates exception from implementation")
        void send_nullVarargsArray_throws() throws Exception {
            // Arrange: passing explicit null vararg array is edge scenario
            when(tree.send(eq(request), isNull())).thenThrow(new CIFSException("null params"));
    
            // Act + Assert
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/VirtualHostHelper.java

                    }
                }
                return defaultValue;
            }).orElse(defaultValue);
        }
    
        /**
         * Gets all configured virtual host paths.
         *
         * @return An array of virtual host paths
         */
        public String[] getVirtualHostPaths() {
            return stream(ComponentUtil.getFessConfig().getVirtualHosts())
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/SmbComLogoffAndXTest.java

            assertEquals(0, msg.writeParameterWordsWireFormat(new byte[10], index), "Expected zero returned regardless of index");
            assertEquals(0, msg.writeParameterWordsWireFormat(null, index), "Expected zero even when dst array is null");
        }
    
        @ParameterizedTest
        @ValueSource(ints = { 0, 3, 9, -5 })
        @DisplayName("writeBytesWireFormat always returns 0")
        void writeBytesWireFormatReturnsZero(int index) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SIDCacheImplTest.java

        void resolveSids_invalidInputs() throws Exception {
            SIDCacheImpl cache = new SIDCacheImpl(mock(CIFSContext.class));
            CIFSContext ctx = mock(CIFSContext.class);
    
            // Null sids array -> NPE
            assertThrows(NullPointerException.class, () -> cache.resolveSids(ctx, "server", null, 0, 1));
    
            // Bad offset/length leads to ArrayIndexOutOfBoundsException
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14K bytes
    - Viewed (0)
  9. cmd/local-locker.go

    		if ok {
    			reply = l.removeEntry(resource, args, &lri) || reply
    		}
    	}
    	return
    }
    
    // removeEntry based on the uid of the lock message, removes a single entry from the
    // lockRequesterInfo array or the whole array from the map (in case of a write lock
    // or last read lock)
    // UID and optionally owner must match for entries to be deleted.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/dfs/Referral.java

         *
         * @return the specialName
         */
        public final String getSpecialName() {
            return this.specialName;
        }
    
        /**
         * Gets the expanded names array for this referral.
         *
         * @return the expandedNames
         */
        public final String[] getExpandedNames() {
            return this.expandedNames;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
Back to top