Search Options

Results per page
Sort
Preferred Languages
Advance

Results 371 - 380 of 1,248 for Invalid (0.08 sec)

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

                throw new PACDecodingException("Non-empty string");
            }
    
            final int expected = this.length / 2;
            if (string.length() != expected) {
                throw new PACDecodingException("Invalid string length, expected " + expected + ", have " + string.length());
            }
    
            return string;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/NetServerEnumIteratorTest.java

            SmbException exception = assertThrows(SmbException.class, () -> new NetServerEnumIterator(parent, treeHandle, "*", 0, null));
    
            assertTrue(exception.getMessage().contains("invalid"));
            verify(treeHandle, never()).acquire();
        }
    
        @Test
        @DisplayName("Constructor should handle null parent")
        void testConstructor_NullParent_ThrowsNPE() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/FrameLogTest.kt

      }
    
      /**
       * Ensures that valid flag combinations appear visually correct, and invalid show in hex.  This
       * also demonstrates how sparse the lookup table is.
       */
      @Test
      fun allFormattedFlagsWithValidBits() {
        val formattedFlags = mutableListOf<String>() // Highest valid flag is 0x20.
        for (i in 0..0x3f) formattedFlags.add(formatFlags(TYPE_HEADERS, i))
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java

            assertNotNull(securityDescriptor.getOwnerGroupSid());
        }
    
        @Test
        @DisplayName("Test decode throws exception for invalid ACE count")
        void testDecodeThrowsExceptionForInvalidAceCount() {
            // Prepare buffer with invalid ACE count (> 4096)
            prepareSecurityDescriptorBufferWithInvalidAceCount(testBuffer, 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/AccessTokenHelper.java

                }
                if (values.length == 1 && !BEARER.equals(values[0])) {
                    return values[0];
                }
                throw new InvalidAccessTokenException("invalid_request", "Invalid format: " + token);
            }
            final String name = ComponentUtil.getFessConfig().getApiAccessTokenRequestParameter();
            if (StringUtil.isNotBlank(name)) {
                return request.getParameter(name);
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainsBuilder.java

         * @throws ToolchainsBuilderException if the project cannot be created
         * @throws IllegalArgumentException if an argument is {@code null} or invalid
         * @see #build(ToolchainsBuilderRequest)
         */
        @Nonnull
        default ToolchainsBuilderResult build(
                @Nonnull Session session,
                @Nonnull Source installationToolchainsFile,
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Aug 22 14:47:43 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/session/Smb2LogoffResponse.java

        protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        /**
         * {@inheritDoc}
         *
         * @throws SMBProtocolDecodingException if the response structure is invalid
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#readBytesWireFormat(byte[], int)
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakResponse.java

            // StructureSize (2 bytes) - must be 36
            this.structureSize = SMBUtil.readInt2(buffer, bufferIndex);
            if (this.structureSize != 36) {
                throw new SMBProtocolDecodingException("Invalid lease break response structure size: " + this.structureSize);
            }
            bufferIndex += 2;
    
            // Reserved (2 bytes)
            bufferIndex += 2;
    
            // Flags (4 bytes)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/BinaryTransformer.java

            // check transformer name
            if (!getName().equals(accessResultData.getTransformerName())) {
                throw new CrawlerSystemException(
                        "Transformer is invalid. Use " + accessResultData.getTransformerName() + ". This transformer is " + getName() + ".");
            }
            final byte[] data = accessResultData.getData();
            if (data == null) {
                return null;
            }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java

        }
    
        @Test
        void testGetSecurityWithValidSecurityDescriptor() throws Exception {
            // Setup mock ShareInfo502 with a minimal valid security descriptor
            srvsvc.ShareInfo502 info502 = new srvsvc.ShareInfo502();
            // Create a minimal valid security descriptor binary
            // Format: revision(1) + sbz1(1) + control(2) + ownerOffset(4) + groupOffset(4) + saclOffset(4) + daclOffset(4) = 20 bytes minimum
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
Back to top