Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 893 for isValid (0.15 sec)

  1. src/test/java/jcifs/dcerpc/ndr/NdrExceptionTest.java

         */
        @Test
        void testInvalidConformanceConstant() {
            assertNotNull(NdrException.INVALID_CONFORMANCE, "INVALID_CONFORMANCE constant should not be null.");
            assertEquals("invalid array conformance", NdrException.INVALID_CONFORMANCE,
                    "INVALID_CONFORMANCE constant should have the expected value.");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/net/MediaType.java

       *
       * @throws IllegalArgumentException if subtype is invalid
       */
      static MediaType createApplicationType(String subtype) {
        return create(APPLICATION_TYPE, subtype);
      }
    
      /**
       * Creates a media type with the "audio" type and the given subtype.
       *
       * @throws IllegalArgumentException if subtype is invalid
       */
      static MediaType createAudioType(String subtype) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 48K bytes
    - Viewed (0)
  3. src/main/assemblies/files/service.bat

    set SCRIPT_DIR=%~dp0
    for %%I in ("%SCRIPT_DIR%..") do set FESS_HOME=%%~dpfI
    
    rem Detect JVM version to figure out appropriate executable to use
    if not exist "%JAVA_HOME%\bin\java.exe" (
    echo JAVA_HOME points to an invalid Java installation (no java.exe found in "%JAVA_HOME%"^). Exiting...
    goto:eof
    )
    
    "%JAVA_HOME%\bin\java" -Xmx50M -version > nul 2>&1
    
    if errorlevel 1 (
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Jan 15 06:32:15 UTC 2023
    - 6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/job/PurgeDocJobTest.java

                    throw new IllegalArgumentException("Invalid argument provided");
                }
            };
            ComponentUtil.register(searchEngineClient, "searchEngineClient");
    
            // Execute the job
            String result = purgeDocJob.execute();
    
            // Assert error message is in the result
            assertTrue(result.contains("Invalid argument provided"));
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/hash/Murmur3_32HashFunction.java

              shift += 24;
              len += 3;
            } else {
              int codePoint = Character.codePointAt(input, i);
              if (codePoint == c) {
                // not a valid code point; let the JDK handle invalid Unicode
                return hashBytes(input.toString().getBytes(charset));
              }
              i++;
              buffer |= codePointToFourUtf8Bytes(codePoint) << shift;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java

                assertEquals(1024, response.getCount());
                assertEquals(512, response.getRemaining());
            }
    
            @Test
            @DisplayName("Should throw exception for invalid structure size")
            void testInvalidStructureSize() {
                byte[] buffer = new byte[64];
                SMBUtil.writeInt2(16, buffer, 0); // Wrong structure size (should be 17)
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/ntlmssp/NtlmMessageTest.java

            buffer.putShort(0, (short) 1);
            buffer.putShort(2, (short) 1);
            buffer.putInt(4, data.length + 1); // Invalid offset
            assertThrows(ArrayIndexOutOfBoundsException.class, () -> NtlmMessage.readSecurityBuffer(data, 0),
                    "Should throw ArrayIndexOutOfBoundsException for invalid offset.");
        }
    
        @Test
        void testWriteULong() {
            // Test writeULong
            byte[] data = new byte[4];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  8. tests/scanner_valuer_test.go

    		t.Errorf("Should failed to create data with invalid data")
    	}
    
    	data.Password = EncryptedData("pass1")
    	if err := DB.Create(&data).Error; err != nil {
    		t.Errorf("Should got no error when creating data, but got %v", err)
    	}
    
    	if err := DB.Model(&data).Update("password", EncryptedData("xnewpass")).Error; err == nil {
    		t.Errorf("Should failed to update data with invalid data")
    	}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Jun 07 07:02:07 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformToAsciiTest.kt

          // OkHttp does not reject invalid Punycode.
          "xn--a",
          "xn--a.ß",
          "xn--a.xn--zca",
          "xn--a-yoc",
          // OkHttp doesn't reject U+FFFD encoded in Punycode.
          "xn--zn7c.com",
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/SmbFileFilterTest.java

                when(mockFile.getPath()).thenReturn("/share/file.txt");
                assertTrue(ALWAYSACTIVE.accept(mockFile));
            }
        }
    
        @Nested
        @DisplayName("Invalid input – null file handling")
        class InvalidPath {
            @Test
            void acceptWithNullThrows() {
                SmbFileFilter throwOnNull = new SmbFileFilter() {
                    @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.2K bytes
    - Viewed (0)
Back to top