Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 800 for isInvalid (0.06 sec)

  1. src/main/java/jcifs/internal/smb2/nego/Smb2RdmaTransformCapabilitiesContext.java

        }
    
        @Override
        public int decode(byte[] buffer, int bufferIndex, int len) throws SMBProtocolDecodingException {
            if (len < 20) {
                throw new SMBProtocolDecodingException("Invalid RDMA Transform Capabilities context length: " + len);
            }
    
            int start = bufferIndex;
    
            transformCount = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  2. tests/gorm_test.go

    package tests_test
    
    import (
    	"testing"
    
    	"gorm.io/driver/mysql"
    
    	"gorm.io/gorm"
    )
    
    func TestOpen(t *testing.T) {
    	dsn := "gorm:gorm@tcp(localhost:9910)/gorm?loc=Asia%2FHongKong" // invalid loc
    	_, err := gorm.Open(mysql.Open(dsn), &gorm.Config{})
    	if err == nil {
    		t.Fatalf("should returns error but got nil")
    	}
    }
    
    func TestReturningWithNullToZeroValues(t *testing.T) {
    	dialect := DB.Dialector.Name()
    	switch dialect {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Jun 01 07:22:21 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  3. cmd/sts-handlers.go

    		return
    	}
    
    	durationParam := r.Form.Get(stsDurationSeconds)
    	var requestedDuration int
    	if durationParam != "" {
    		var err error
    		requestedDuration, err = strconv.Atoi(durationParam)
    		if err != nil {
    			writeSTSErrorResponse(ctx, w, ErrSTSInvalidParameterValue, fmt.Errorf("Invalid requested duration: %s", durationParam))
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 36.6K bytes
    - Viewed (0)
  4. cmd/iam-store.go

    	iamFormatVersion1 = 1
    
    	minServiceAccountExpiry time.Duration = 15 * time.Minute
    	maxServiceAccountExpiry time.Duration = 365 * 24 * time.Hour
    )
    
    var errInvalidSvcAcctExpiration = errors.New("invalid service account expiration")
    
    type iamFormat struct {
    	Version int `json:"version"`
    }
    
    func newIAMFormatVersion1() iamFormat {
    	return iamFormat{Version: iamFormatVersion1}
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 86.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/opensearch/log/exbhv/UserInfoBhv.java

                    return LocalDateTime.ofInstant(instant, ZoneId.systemDefault());
                } catch (final DateTimeParseException e) {
                    logger.debug("Invalid date format: {}", value, e);
                }
            }
            return DfTypeUtil.toLocalDateTime(value);
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/util/transport/RequestTimeoutExceptionTest.java

        void testMessageAndCauseConstructor() {
            // Test the constructor with both message and cause arguments
            String message = "Test message with cause";
            Throwable cause = new IllegalArgumentException("Invalid argument");
            RequestTimeoutException exception = new RequestTimeoutException(message, cause);
            assertEquals(message, exception.getMessage(), "Message should match the provided string");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  7. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/InvalidVersionSpecificationException.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.artifact.versioning;
    
    /**
     * Occurs when a version is invalid.
     *
     */
    public class InvalidVersionSpecificationException extends Exception {
        public InvalidVersionSpecificationException(String message) {
            super(message);
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/job/ExecJobTest.java

            System.clearProperty("config.app.module");
        }
    
        // Test invalid regex in custom properties
        public void test_customProperties_invalidRegex() {
            List<String> cmdList = new ArrayList<>();
    
            try {
                execJob.testAddFessCustomSystemProperties(cmdList, "[invalid(regex");
                fail("Should handle invalid regex");
            } catch (Exception e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java

        }
    
        @Test
        @DisplayName("Test readBytesWireFormat with invalid structure size throws exception")
        void testReadBytesWireFormatInvalidStructureSize() {
            response = new Smb2QueryInfoResponse(mockConfig, (byte) 1, (byte) 2);
            byte[] buffer = new byte[1024];
            int bufferIndex = 0;
    
            // Set structure size to 10 (invalid, should be 9)
            SMBUtil.writeInt2(10, buffer, bufferIndex);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java

            }
    
            @Test
            @DisplayName("Should throw exception for invalid structure size")
            void testReadBytesWireFormatWithInvalidStructureSize() {
                // Given
                byte[] buffer = new byte[60];
                SMBUtil.writeInt2(59, buffer, 0); // Invalid structure size (should be 60)
    
                // When & Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 26.9K bytes
    - Viewed (0)
Back to top