Search Options

Results per page
Sort
Preferred Languages
Advance

Results 561 - 570 of 893 for isValid (0.12 sec)

  1. src/main/java/jcifs/smb1/smb1/NtlmContext.java

                    state++;
                    break;
                } catch (final Exception e) {
                    throw new SmbException(e.getMessage(), e);
                }
            default:
                throw new SmbException("Invalid state");
            }
            return token;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/compression/DefaultCompressionServiceTest.java

            });
    
            assertThrows(CIFSException.class, () -> {
                compressionService.decompress(null, CompressionService.COMPRESSION_LZ77);
            });
        }
    
        @Test
        @DisplayName("Test invalid offset/length handling")
        public void testInvalidOffsetLength() {
            assertThrows(CIFSException.class, () -> {
                compressionService.compress(testData, -1, testData.length, CompressionService.COMPRESSION_LZ77);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableMultimap.java

         *
         * @throws NullPointerException if {@code key}, {@code values}, or any element in {@code values}
         *     is null. The builder is left in an invalid state.
         */
        @CanIgnoreReturnValue
        public Builder<K, V> putAll(K key, Iterable<? extends V> values) {
          if (key == null) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 28.6K bytes
    - Viewed (0)
  4. cmd/handler-utils_test.go

    		// Test case - 3
    		// In case of garbage request body ErrMalformedXML is returned.
    		{badRequest, globalMinioDefaultRegion, ErrMalformedXML},
    		// Test case - 4
    		// In case of invalid XML request body ErrMalformedXML is returned.
    		{malformedReq, globalMinioDefaultRegion, ErrMalformedXML},
    	}
    
    	for i, testCase := range testCases {
    		config.SetRegion(globalServerConfig, testCase.serverConfigRegion)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/RobotsTxtHelper.java

                                    }
                                } catch (final NumberFormatException e) {
                                    // ignore invalid crawl-delay values
                                }
                            }
                        } else if ((value = getValue(SITEMAP_RECORD, line)) != null && value.length() > 0) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

                // MNG-5368: Log a message instead of returning 'null' silently.
                this.logger.error(
                        String.format(
                                "Invalid version specification '%s' creating dependency artifact '%s'.", d.getVersion(), d),
                        e);
                return null;
            }
    
            Artifact artifact = artifactFactory.createDependencyArtifact(
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 31.2K bytes
    - Viewed (0)
  7. cmd/kms-handlers_test.go

    				t.Errorf("want status code %d, got %d", http.StatusNotImplemented, rec.Code)
    			}
    		})
    	}
    
    	// Test when the GlobalKMS is configured but the credentials are invalid
    	GlobalKMS = kms.NewStub("default-test-key")
    	for _, test := range tests {
    		t.Run(test.name+" invalid credentials", func(t *testing.T) {
    			req := buildKMSRequest(t, test.method, test.path, userAccessKey, userSecretKey, test.query)
    			rec := httptest.NewRecorder()
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/DcerpcMessageTest.java

            void testDecodeHeaderThrowsNdrExceptionForRpcVersion() {
                when(mockBuffer.dec_ndr_small()).thenReturn(4); // Incorrect RPC version
                assertThrows(NdrException.class, () -> message.decode_header(mockBuffer));
            }
    
            @Test
            @DisplayName("decode_header should throw NdrException for invalid minor RPC version")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/ntlmssp/Type3MessageTest.java

            assertTrue(stringRep.contains("WORKSTATION"));
        }
    
        @Test
        @DisplayName("Should handle parsing invalid message bytes")
        void testInvalidMessageBytes() {
            // Given
            byte[] invalidBytes = { 1, 2, 3, 4, 5 }; // Too short and invalid
    
            // When/Then
            assertThrows(IOException.class, () -> {
                new Type3Message(invalidBytes);
            });
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactoryTest.java

        }
    
        /**
         * Test creation with invalid component name
         */
        public void test_create_invalidComponentName() {
            factory.setComponentName("nonExistentComponent");
    
            try {
                Object result = factory.create();
                // The container may return null for non-existent components
                assertNull("Should return null for invalid component name", result);
            } catch (Exception e) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 19.3K bytes
    - Viewed (0)
Back to top