Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 173 for toho (1.84 sec)

  1. src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java

                    if (buffer == null || buffer.length < bufferIndex + 4) {
                        throw new SMBProtocolDecodingException("Buffer too small");
                    }
                    return 4;
                }
    
                @Override
                public int encode(byte[] dst, int dstIndex) {
                    return 4;
                }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java

            ndrBuffer.readOctetArray(destData, 0, sourceData.length);
    
            assertEquals(sourceData.length, ndrBuffer.getIndex());
            assertEquals(sourceData.length, ndrBuffer.getLength()); // Length is updated on read too
            assertArrayEquals(sourceData, destData);
    
            // Read with offset and length
            ndrBuffer.setIndex(0);
            Arrays.fill(destData, (byte) 0x00); // Clear destData
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/opensearch/config/exentity/DataConfig.java

        @Override
        public Integer getTimeToLive() {
            String value = getHandlerParameterMap().get("time_to_live");
            if (StringUtil.isBlank(value)) {
                value = getHandlerParameterMap().get("timeToLive"); // TODO remove
                if (StringUtil.isBlank(value)) {
                    return null;
                }
                logger.warn("timeToLive is deprecated. Please use time_to_live.");
            }
            try {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Mon Nov 24 02:07:40 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticator.java

                // This is a critical security vulnerability. The ID token should be validated
                // to ensure it was issued by the expected OpenID Connect provider and has not been tampered with.
                // TODO: Implement JWT signature validation using the provider's public key
    
                final Map<String, Object> attributes = new HashMap<>();
                attributes.put("accesstoken", tr.getAccessToken());
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sun Dec 14 01:18:25 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/SIDTest.java

            assertEquals(32, sid.sub_authority[0]);
            assertEquals(544, sid.sub_authority[1]);
            assertEquals(adminSidString, sid.toString());
        }
    
        /**
         * Test byte array constructor with too many sub-authorities.
         */
        @Test
        void testByteArrayConstructorTooManySubAuthorities() {
            byte[] badSid = new byte[10];
            badSid[1] = 101; // sub_authority_count > 100
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  6. docs/smb3-features/04-directory-leasing-design.md

            DirectoryCacheEntry entry = leaseManager.getCacheEntry(directoryPath);
            if (entry != null) {
                entry.removeChild(fileName);
                
                // If too many inconsistencies, invalidate entire cache
                if (entry.getInconsistencyCount() > 5) {
                    entry.invalidate();
                }
            }
        }
    }
    ```
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/net/NetServerEnum2Test.java

            String domain = "DOMAIN";
            netServerEnum2 = new NetServerEnum2(realConfig, domain, NetServerEnum2.SV_TYPE_ALL);
    
            // Test with very small buffer
            byte[] dst = new byte[10]; // Too small for the full parameters
    
            // Should throw ArrayIndexOutOfBoundsException
            assertThrows(ArrayIndexOutOfBoundsException.class, () -> {
                netServerEnum2.writeParametersWireFormat(dst, 0);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java

            @DisplayName("Should handle insufficient buffer length")
            void testInsufficientBufferLength() {
                FileFsSizeInformation info = new FileFsSizeInformation();
                byte[] buffer = new byte[10]; // Too small
    
                // Should throw ArrayIndexOutOfBoundsException for insufficient buffer
                assertThrows(ArrayIndexOutOfBoundsException.class, () -> {
                    info.decode(buffer, 0, buffer.length);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/ntlmssp/Type3MessageTest.java

        }
    
        @Test
        @DisplayName("Should handle parsing invalid message bytes")
        void testInvalidMessageBytes() {
            // Given
            byte[] invalidBytes = { 1, 2, 3, 4, 5 }; // Too short and invalid
    
            // When/Then
            assertThrows(IOException.class, () -> {
                new Type3Message(invalidBytes);
            });
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java

        void testWriteParametersWireFormatSmallBuffer() {
            netShareEnum = new NetShareEnum(realConfig);
    
            // Buffer too small for the full parameters (need at least 19 bytes)
            byte[] dst = new byte[10];
    
            assertThrows(ArrayIndexOutOfBoundsException.class, () -> {
                netShareEnum.writeParametersWireFormat(dst, 0);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
Back to top