Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,254 for invalid (0.09 sec)

  1. src/test/java/jcifs/smb/WinErrorTest.java

        @DisplayName("Unknown codes: lookup returns empty Optional")
        void lookup_returns_empty_for_unknown_codes(int unknownCode) {
            // Invalid inputs: codes not present should yield no message
            // Guard to ensure test remains valid if constants change in future
            for (int c : WinError.WINERR_CODES) {
                assertNotEquals(unknownCode, c, "Chosen unknown code unexpectedly clashes with a known code");
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  2. tests/customize_field_test.go

    	if result.FieldAllowUpdate != "" || result.FieldReadonly != "" || result.FieldIgnore != "" || result.FieldAllowSave3 != "" {
    		t.Fatalf("invalid result: %#v", result)
    	}
    
    	if int(result.AutoUnixCreateTime) != int(result.AutoUnixUpdateTime) || result.AutoUnixCreateTime == 0 {
    		t.Fatalf("invalid create/update unix time: %#v", result)
    	}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Sep 11 09:33:31 UTC 2020
    - 6.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/net/InternetDomainName.java

       * including if it is a public suffix itself. For example, returns {@code true} for {@code
       * www.google.com}, {@code foo.co.uk} and {@code com}, but not for {@code invalid} or {@code
       * google.invalid}. This is the recommended method for determining whether a domain is potentially
       * an addressable host.
       *
       * <p>Note that this method is equivalent to {@link #hasRegistrySuffix()} because all registry
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java

            assertEquals(2, result);
        }
    
        @Test
        @DisplayName("Test readBytesWireFormat with invalid structure size throws exception")
        void testReadBytesWireFormatInvalidStructureSize() {
            byte[] buffer = new byte[1024];
            int bufferIndex = 0;
    
            // Set structure size to 4 (invalid, should be 2)
            SMBUtil.writeInt2(4, buffer, bufferIndex);
    
            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)
  5. tests/associations_test.go

    			t.Fatalf("invalid %v count %v, expects: %v got %v", name, reason, result, count)
    		}
    	}
    }
    
    func TestInvalidAssociation(t *testing.T) {
    	user := *GetUser("invalid", Config{Company: true, Manager: true})
    	if err := DB.Model(&user).Association("Invalid").Find(&user.Company).Error; err == nil {
    		t.Fatalf("should return errors for invalid association, but got nil")
    	}
    }
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Feb 08 08:29:09 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/SmbFileHandleTest.java

        }
    
        /**
         * Test isValid() when the handle is valid.
         */
        @Test
        void testIsValid_whenValid() {
            when(smbFileHandle.isValid()).thenReturn(true);
            assertTrue(smbFileHandle.isValid(), "isValid should return true when the handle is valid.");
            verify(smbFileHandle, times(1)).isValid();
        }
    
        /**
         * Test isValid() when the handle is invalid.
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt

     *   override fun intercept(chain: Interceptor.Chain): Response {
     *     if (myConfig.isInvalid()) {
     *       return Response.Builder()
     *           .request(chain.request())
     *           .protocol(Protocol.HTTP_1_1)
     *           .code(400)
     *           .message("client config invalid")
     *           .body("client config invalid".toResponseBody(null))
     *           .build()
     *     }
     *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

        }
    
        /**
         * Gets the pattern for matching invalid URLs.
         *
         * @return the invalid URL pattern
         */
        public Pattern getInvalidUrlPattern() {
            return invalidUrlPattern;
        }
    
        /**
         * Sets the pattern for matching invalid URLs.
         *
         * @param invalidUrlPattern the invalid URL pattern to set
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 28.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/job/AggregateLogJobTest.java

                        // Success on first call
                        return;
                    case 2:
                        throw new IllegalArgumentException("Invalid argument");
                    case 3:
                        throw new IllegalStateException("Invalid state");
                    case 4:
                        throw new NullPointerException("Null pointer");
                    default:
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/netbios/NameServiceClientImplTest.java

        @Test
        @DisplayName("Should handle invalid NetBIOS name quickly")
        @Timeout(value = 1, unit = TimeUnit.SECONDS) // Very short timeout
        void testGetNbtByNameInvalid() {
            // When/Then - Should fail quickly with invalid characters
            assertThrows(Exception.class, () -> {
                nameServiceClient.getNbtByName("INVALID@#$%NAME");
            }, "Should throw exception for invalid NetBIOS name");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11K bytes
    - Viewed (0)
Back to top