Search Options

Results per page
Sort
Preferred Languages
Advance

Results 441 - 450 of 1,248 for Invalid (0.05 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java

            // After ensureOpen with valid fh
            when(pipe.ensureTreeConnected()).thenReturn(tree);
            when(tree.acquire()).thenReturn(tree);
            when(tree.isSMB2()).thenReturn(true);
            when(pipe.openUnshared(eq("\\\\pipe\\\\w"), eq(0), anyInt(), anyInt(), eq(SmbConstants.ATTR_NORMAL), eq(0))).thenReturn(fh);
            when(fh.acquire()).thenReturn(fh);
            when(fh.isValid()).thenReturn(true, false); // first true, then false
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 16.7K 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. cmd/auth-handler_test.go

    		}
    	}
    }
    
    // Test all s3 supported auth types.
    func TestS3SupportedAuthType(t *testing.T) {
    	type testCase struct {
    		authT authType
    		pass  bool
    	}
    	// List of all valid and invalid test cases.
    	testCases := []testCase{
    		// Test 1 - supported s3 type anonymous.
    		{
    			authT: authTypeAnonymous,
    			pass:  true,
    		},
    		// Test 2 - supported s3 type presigned.
    		{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 15.4K bytes
    - Viewed (0)
Back to top