Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 329 for validity (0.04 sec)

  1. src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java

            int read = resp.decode(packet, 0, false);
            assertTrue(read >= SMB2_HEADER_LENGTH + body.length, "Should decode at least header+body");
    
            // Validate simple getters
            assertEquals((byte) 0x7, resp.getOplockLevel());
            assertEquals((byte) 0x2, resp.getOpenFlags());
            assertEquals(0x11223344, resp.getCreateAction());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  2. cmd/signature-v4-utils.go

    	} else {
    		v, ok = r.Header[xhttp.AmzContentSha256]
    	}
    
    	// Skip if no header was set.
    	if !ok {
    		return true
    	}
    
    	// If x-amz-content-sha256 is set and the value is not
    	// 'UNSIGNED-PAYLOAD' we should validate the content sha256.
    	switch v[0] {
    	case unsignedPayload, unsignedPayloadTrailer:
    		return true
    	case emptySHA256:
    		// some broken clients set empty-sha256
    		// with > 0 content-length in the body,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Nov 25 17:10:22 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbSession.java

                            } catch (final SmbException se) {
                                if (LogStream.level >= 2) {
                                    SmbTransport.log.println("Failed validate DC: " + dc_list[i]);
                                    if (LogStream.level > 2) {
                                        se.printStackTrace(SmbTransport.log);
                                    }
                                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java

            // Then
            assertEquals(dataOffsetValue + dataLength - bodyStart, bytesRead);
            assertEquals(dataLength, response.getDataLength());
        }
    
        @Test
        @DisplayName("Should validate data fits within buffer bounds")
        void testReadBytesWireFormatDataBoundsValidation() throws Exception {
            // Given
            byte[] smallBuffer = new byte[100];
            int bodyStart = 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Tables.java

          Map<R, Map<C, V>> backingMap, Supplier<? extends Map<C, V>> factory) {
        checkArgument(backingMap.isEmpty());
        checkNotNull(factory);
        // TODO(jlevy): Wrap factory to validate that the supplied maps are empty?
        return new StandardTable<>(backingMap, factory);
      }
    
      /**
       * Returns a view of a table where each value is transformed by a function. All other properties
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  6. docs/smb3-features/05-rdma-smb-direct-design.md

                throw new SecurityException("Insufficient RDMA memory access rights");
            }
        }
        
        public void validateRemoteAccess(long remoteAddress, int length, int remoteKey) {
            // Validate that remote memory access is authorized
            // This would integrate with SMB3 encryption/signing
            if (!isAuthorizedAccess(remoteAddress, length, remoteKey)) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  7. cmd/handler-utils.go

    // Parses location constraint from the incoming reader.
    func parseLocationConstraint(r *http.Request) (location string, s3Error APIErrorCode) {
    	// If the request has no body with content-length set to 0,
    	// we do not have to validate location constraint. Bucket will
    	// be created at default region.
    	locationConstraint := createBucketLocationConfiguration{}
    	err := xmlDecoder(r.Body, &locationConstraint, r.ContentLength)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 16.3K bytes
    - Viewed (1)
  8. src/main/java/org/codelibs/fess/ldap/LdapManager.java

            isBind = false;
        }
    
        /**
         * Validates the LDAP connection.
         *
         * @return True if the LDAP connection is valid, otherwise false.
         */
        protected boolean validate() {
            if (!isBind) {
                if (fessConfig.getLdapAdminSecurityPrincipal() == null || fessConfig.getLdapAdminSecurityCredentials() == null) {
                    // no credentials
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 82K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

            return crawlingConfig.getConfigParameterMap(config);
        }
    
        /**
         * Validates if the given URL string is a valid URL.
         *
         * @param urlStr the URL string to validate
         * @return true if the URL is valid, false otherwise
         */
        protected boolean isValidUrl(final String urlStr) {
            if (StringUtil.isBlank(urlStr)) {
                return false;
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 54.4K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt

          when (expected) {
            is SSLHandshakeException -> {
              // On Android, the handshake fails before the certificate pinner runs.
              assertThat(expected.message!!).contains("Could not validate certificate")
            }
            is SSLPeerUnverifiedException -> {
              // On OpenJDK, the handshake succeeds but the certificate pinner fails.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 24.3K bytes
    - Viewed (1)
Back to top