Search Options

Results per page
Sort
Preferred Languages
Advance

Results 441 - 450 of 1,254 for invalid (0.04 sec)

  1. src/test/java/org/codelibs/fess/helper/ProtocolHelperTest.java

        }
    
        public void test_loadProtocols_invalidPackage() {
            final ProtocolHelper protocolHelper = new ProtocolHelper();
    
            // Should not throw exception with invalid package
            protocolHelper.loadProtocols("org.invalid.package.does.not.exist");
    
            // Should have empty arrays initially
            assertEquals(0, protocolHelper.getWebProtocols().length);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/config/BaseConfigurationTest.java

        }
    
        @Test
        @DisplayName("Test initResolverOrder with invalid resolver and WINS without server")
        void testInitResolverOrderWithInvalidResolver() {
            config.winsServer = new InetAddress[0];
            config.initResolverOrder("DNS,INVALID,WINS,LMHOSTS");
    
            List<ResolverType> order = config.getResolveOrder();
            assertEquals(2, order.size());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SecurityDescriptor.java

                bufferIndex += 2;
                final int numAces = ServerMessageBlock.readInt4(buffer, bufferIndex);
                bufferIndex += 4;
    
                if (numAces > 4096) {
                    throw new IOException("Invalid SecurityDescriptor");
                }
    
                aces = new ACE[numAces];
                for (int i = 0; i < numAces; i++) {
                    aces[i] = new ACE();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java

            }
    
            @Test
            @DisplayName("Should handle referral decode failure gracefully")
            void testReferralDecodeFailure() {
                // Create buffer with invalid referral data
                byte[] testBuffer = new byte[20];
                ByteBuffer bb = ByteBuffer.wrap(testBuffer).order(ByteOrder.LITTLE_ENDIAN);
    
                bb.putShort((short) 0); // pathConsumed
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/SearchHelperTest.java

                        if ("en".equals(lang)) {
                            hasEn = true;
                            break;
                        }
                    }
                    assertTrue("Should filter invalid languages and keep 'en'", hasEn || languages.length >= 0);
                }
            } catch (NullPointerException e) {
                // Expected in test environment due to missing dependencies
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/DcerpcHandleTest.java

            @ParameterizedTest
            @DisplayName("Should reject invalid binding URLs")
            @ValueSource(strings = { "invalid_url", "proto:", "proto:server[]", "proto:[key=]", "proto:[=value]", "proto:server[endpoint=]",
                    "proto:[endpoint=]" })
            void testParseInvalidBindingUrls(String url) {
                // When/Then: Should throw DcerpcException for invalid URLs
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/Ints.java

       *     minLength}
       */
      public static int[] ensureCapacity(int[] array, int minLength, int padding) {
        checkArgument(minLength >= 0, "Invalid minLength: %s", minLength);
        checkArgument(padding >= 0, "Invalid padding: %s", padding);
        return (array.length < minLength) ? Arrays.copyOf(array, minLength + padding) : array;
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  8. cmd/signature-v2_test.go

    	testCases := []struct {
    		queryParams map[string]string
    		expected    APIErrorCode
    	}{
    		// (0) Should error without a set URL query.
    		{
    			expected: ErrInvalidQueryParams,
    		},
    		// (1) Should error on an invalid access key.
    		{
    			queryParams: map[string]string{
    				"Expires":        "60",
    				"Signature":      "badsignature",
    				"AWSAccessKeyId": "Z7IXGOO6BZ0REAN1Q26I",
    			},
    			expected: ErrInvalidAccessKeyID,
    		},
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8K bytes
    - Viewed (0)
  9. cmd/rebalance-admin.go

    	// Compute disk usage percentage
    	si := z.StorageInfo(ctx, true)
    	diskStats := make([]struct {
    		AvailableSpace uint64
    		TotalSpace     uint64
    	}, len(z.serverPools))
    	for _, disk := range si.Disks {
    		// Ignore invalid.
    		if disk.PoolIndex < 0 || len(diskStats) <= disk.PoolIndex {
    			// https://github.com/minio/minio/issues/16500
    			continue
    		}
    		diskStats[disk.PoolIndex].AvailableSpace += disk.AvailableSpace
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  10. tests/associations_belongs_to_test.go

    	AssertAssociationCount(t, user2, "Company", 0, "after clear")
    	AssertAssociationCount(t, user2, "Manager", 0, "after clear")
    
    	// unexist company id
    	unexistCompanyID := company.ID + 9999999
    	user = User{Name: "invalid-user-with-invalid-belongs-to-foreign-key", CompanyID: &unexistCompanyID}
    	if err := DB.Create(&user).Error; err == nil {
    		tidbSkip(t, "not support the foreign key feature")
    		t.Errorf("should have gotten foreign key violation error")
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Oct 30 09:15:49 UTC 2023
    - 9.3K bytes
    - Viewed (0)
Back to top