Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 1,254 for invalid (0.04 sec)

  1. android/guava/src/com/google/common/escape/UnicodeEscaper.java

       * should either throw an appropriate runtime exception or return a suitable replacement
       * character. It must never silently discard invalid input as this may constitute a security risk.
       *
       * @param cp the Unicode code point to escape if necessary
       * @return the replacement characters, or {@code null} if no escaping was needed
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/escape/UnicodeEscaper.java

       * should either throw an appropriate runtime exception or return a suitable replacement
       * character. It must never silently discard invalid input as this may constitute a security risk.
       *
       * @param cp the Unicode code point to escape if necessary
       * @return the replacement characters, or {@code null} if no escaping was needed
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbEnumerationUtilTest.java

                            "Expected trailing slash message, was: " + ex.getMessage());
                } else {
                    assertTrue(ex.getMessage().contains("invalid") || ex.getMessage().contains("invalid:"),
                            "Expected invalid list operation message, was: " + ex.getMessage());
                }
            }
        }
    
        @Nested
        @DisplayName("Master browser enumeration tests")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/util/transport/Transport.java

                throw new TransportException(ie);
            } finally {
                /* This guarantees that we leave in a valid state
                 */
                if (state != 0 && state != 3 && state != 4) {
                    if (LogStream.level >= 1) {
                        log.println("Invalid state: " + state);
                    }
                    state = 0;
                    thread = null;
                }
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java

            }
    
            @Test
            @DisplayName("Should throw exception for invalid structure size")
            void testReadBytesWireFormatInvalidStructureSize() {
                // Given
                byte[] buffer = new byte[10];
                int bufferIndex = 0;
                SMBUtil.writeInt2(5, buffer, bufferIndex); // Invalid structure size
    
                // When & Then
                SMBProtocolDecodingException exception =
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

        }
    
        @DisplayName("Should throw exception for invalid structure size")
        @ParameterizedTest
        @ValueSource(ints = { 0, 1, 2, 4, 8, 15, 17, 32, 64, 65535 })
        void testReadBytesWireFormatInvalidStructureSize(int structureSize) {
            // Given
            byte[] buffer = new byte[256];
            int offset = 0;
    
            // Write invalid structure size
            SMBUtil.writeInt2(structureSize, buffer, offset);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/resources/web-platform-test-toascii.json

        "output": "x..xn--zca"
      },
      {
        "comment": "Invalid Punycode",
        "input": "xn--a",
        "output": null
      },
      {
        "input": "xn--a.xn--zca",
        "output": null
      },
      {
        "input": "xn--a.ß",
        "output": null
      },
      {
        "input": "xn--ls8h=",
        "output": null
      },
      {
        "comment": "Invalid Punycode (contains non-ASCII character)",
        "input": "xn--tešla",
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/pac/PacCredentialType.java

         * @param data the raw credential type data
         * @throws PACDecodingException if the credential type data is invalid
         */
        public PacCredentialType(final byte[] data) throws PACDecodingException {
            this.credentialType = data;
            if (!isCredentialTypeCorrect()) {
                throw new PACDecodingException("Invalid PAC credential type");
            }
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponseTest.java

            }
        }
    
        @Test
        @DisplayName("Test decode with minimum valid length")
        void testDecodeMinimumValidLength() throws SMBProtocolDecodingException {
            // Prepare minimum valid buffer - exactly 24 bytes
            byte[] buffer = new byte[28];
            Arrays.fill(buffer, 0, 24, (byte) 0xAA);
    
            // Decode with len = 24 (minimum valid)
            int bytesConsumed = response.decode(buffer, 0, 24);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  10. cmd/object-handlers_test.go

    	if err != nil {
    		t.Fatalf("Invalid UploadID: <ERROR> %s", err)
    	}
    
    	// Testing the response for Invalid AccessID.
    	// Forcing the signature check to fail.
    	rec = httptest.NewRecorder()
    	// construct HTTP request for NewMultipart upload.
    	// Setting an invalid accessID.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 163.1K bytes
    - Viewed (0)
Back to top