Search Options

Results per page
Sort
Preferred Languages
Advance

Results 391 - 400 of 893 for isValid (0.04 sec)

  1. schema/serializer.go

    	case *int64, *int, *uint, *uint64, *int32, *uint32, *int16, *uint16:
    		if rv.IsZero() {
    			return nil, nil
    		}
    		result = time.Unix(reflect.Indirect(rv).Int(), 0).UTC()
    	default:
    		err = fmt.Errorf("invalid field type %#v for UnixSecondSerializer, only int, uint supported", v)
    	}
    	return
    }
    
    // GobSerializer gob serializer
    type GobSerializer struct{}
    
    // Scan implements serializer interface
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Jun 20 08:45:38 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. cmd/bucket-policy-handlers_test.go

    		},
    		// Test case - 9.
    		// non-existent bucket is used (with invalid bucket name)
    		// writing BucketPolicy should fail.
    		// should result in 404 StatusNotFound
    		{
    			bucketName:         ".invalid-bucket",
    			bucketPolicyReader: bytes.NewReader(fmt.Appendf(nil, bucketPolicyTemplate, ".invalid-bucket", ".invalid-bucket")),
    
    			policyLen:          len(fmt.Sprintf(bucketPolicyTemplate, bucketName, bucketName)),
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/JdkPrefixProfileActivator.java

                try {
                    return matchJdkVersionRange(jdk);
                } catch (InvalidVersionSpecificationException e) {
                    throw new ProfileActivationException(
                            "Invalid JDK version in profile '" + profile.getId() + "': " + e.getMessage());
                }
            }
    
            boolean reverse = false;
    
            if (jdk.startsWith("!")) {
                reverse = true;
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SID.java

        private static final Logger log = LoggerFactory.getLogger(SID.class);
    
        static final String[] SID_TYPE_NAMES =
                { "0", "User", "Domain group", "Domain", "Local group", "Builtin group", "Deleted", "Invalid", "Unknown" };
    
        /**
         * Flag indicating that SIDs should be resolved to names.
         */
        public static final int SID_FLAG_RESOLVE_SIDS = 0x0001;
    
        /**
         * Well known SID: EVERYONE
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java

            assertEquals(3, notifications.get(2).getAction());
            assertEquals("file3", notifications.get(2).getFileName());
        }
    
        @DisplayName("Should throw exception for invalid structure size")
        @ParameterizedTest
        @ValueSource(ints = { 0, 1, 2, 4, 8, 10, 16, 32, 255 })
        void testInvalidStructureSize(int structureSize) {
            // Given
            byte[] buffer = new byte[256];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/persistent/DurableHandleReconnectResponse.java

            // Reconnect response has no data - length should be 0
            if (len != 0) {
                throw new SMBProtocolDecodingException("Invalid durable handle reconnect response length: " + len);
            }
    
            // No data to decode
            return 0;
        }
    
        /**
         * Get the context name as string
         * @return the context name
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/util/SmbCircuitBreakerTest.java

                // Test that invalid threshold is ignored
                dynamicCircuitBreaker.updateFailureThreshold(-1);
                assertEquals(7, dynamicCircuitBreaker.getCurrentFailureThreshold(), "Threshold should not change for invalid value");
    
            } finally {
                dynamicCircuitBreaker.close();
            }
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/PatternCompiler.java

     * java.util.ServiceLoader} mechanism.
     */
    @GwtIncompatible
    interface PatternCompiler {
      /**
       * Compiles the given pattern.
       *
       * @throws IllegalArgumentException if the pattern is invalid
       */
      @RestrictedApi(
          explanation = "PatternCompiler is an implementation detail of com.google.common.base",
          allowedOnPath = ".*/com/google/common/base/.*")
      CommonPattern compile(String pattern);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/PermissionHelperTest.java

            assertEquals("(deny){group}group123", permissionHelper.decode("D2group123"));
        }
    
        public void test_decode_withInvalidPrefixes() {
            assertEquals("invalid", permissionHelper.decode("invalid"));
            assertEquals("3guest", permissionHelper.decode("3guest"));
            assertEquals("Xguest", permissionHelper.decode("Xguest"));
            assertEquals("guest", permissionHelper.decode("guest"));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/compression/DefaultCompressionService.java

            if (data == null) {
                throw new CIFSException("Data cannot be null");
            }
            if (offset < 0 || length < 0 || offset + length > data.length) {
                throw new CIFSException("Invalid offset or length");
            }
            if (!isAlgorithmSupported(algorithm)) {
                throw new CIFSException("Unsupported compression algorithm: " + algorithm);
            }
            if (length < MIN_COMPRESSION_SIZE) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
Back to top