Search Options

Results per page
Sort
Preferred Languages
Advance

Results 411 - 420 of 914 for isValid (0.08 sec)

  1. internal/etag/etag_test.go

    	{Header: http.Header{"Content-Md5": []string{"d41d8cd98f00b204e9800998ecf8427e"}}, ShouldFail: true}, // 7 (content-md5 is invalid b64 / of invalid length)
    }
    
    func TestFromContentMD5(t *testing.T) {
    	for i, test := range fromContentMD5Tests {
    		ETag, err := FromContentMD5(test.Header)
    		if err != nil && !test.ShouldFail {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 18 17:00:54 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  2. internal/kms/secret-key.go

    // KMS that uses s as builtin single key as KMS implementation.
    func ParseSecretKey(s string) (*KMS, error) {
    	v := strings.SplitN(s, ":", 2)
    	if len(v) != 2 {
    		return nil, errors.New("kms: invalid secret key format")
    	}
    
    	keyID, b64Key := v[0], v[1]
    	key, err := base64.StdEncoding.DecodeString(b64Key)
    	if err != nil {
    		return nil, err
    	}
    	return NewBuiltin(keyID, key)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. src/bytes/bytes.go

    // representing invalid UTF-8 replaced with the bytes in replacement, which may be empty.
    func ToValidUTF8(s, replacement []byte) []byte {
    	b := make([]byte, 0, len(s)+len(replacement))
    	invalid := false // previous byte was from an invalid UTF-8 sequence
    	for i := 0; i < len(s); {
    		c := s[i]
    		if c < utf8.RuneSelf {
    			i++
    			invalid = false
    			b = append(b, c)
    			continue
    		}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Sep 03 20:55:15 UTC 2024
    - 35.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/UniAddress.java

                            if( hostname == NbtAddress.MASTER_BROWSER_NAME ||
                                                        hostname.length() > 15 ) {
                                                        // invalid netbios name
                                continue;
                            }
                            if( possibleNTDomainOrWorkgroup ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 16.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/transport/Transport.java

        }
    
        /*
         * state values
         * 0 - not connected
         * 1 - connecting
         * 2 - run connected
         * 3 - connected
         * 4 - error
         * 5 - disconnecting
         * 6 - disconnected/invalid
         */
        protected volatile int state = 0;
    
        protected String name = "Transport" + id++;
        private volatile Thread thread;
        private volatile TransportException te;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 01 18:12:21 UTC 2020
    - 24.1K bytes
    - Viewed (0)
  6. cmd/tier-handlers.go

    		Message:    "Remote tier bucket not found",
    		StatusCode: http.StatusBadRequest,
    	}
    	// error returned when remote tier credentials are invalid.
    	errTierInvalidCredentials = AdminError{
    		Code:       "XMinioAdminTierInvalidCredentials",
    		Message:    "Invalid remote tier credentials",
    		StatusCode: http.StatusBadRequest,
    	}
    	// error returned when reserved internal names are used.
    	errTierReservedName = AdminError{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:44:05 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/resolution/ModelResolver.java

         *
         * @param repository The repository to add to the internal search chain, must not be {@code null}.
         * @throws InvalidRepositoryException If the repository could not be added (e.g. due to invalid URL or layout).
         */
        void addRepository(org.apache.maven.model.Repository repository) throws InvalidRepositoryException;
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  8. cni/pkg/plugin/plugin_dryrun_test.go

    		},
    		{
    			name:        "invalid-drop",
    			annotations: map[string]string{annotation.SidecarStatus.Name: "true"},
    			proxyEnv:    []corev1.EnvVar{{Name: cmd.InvalidDropByIptables, Value: "true"}},
    			golden:      filepath.Join(env.IstioSrc, "cni/pkg/plugin/testdata/invalid-drop.txt.golden"),
    		},
    		{
    			name:        "custom-uid",
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Aug 27 16:44:45 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpAuthentication.java

                    p = 21;
                }
                if (port > 0 && port != p) {
                    return false;
                }
                return true;
            } catch (final Exception e) {
                logger.debug("Invalid URI: {}", path, e);
            }
            return false;
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. internal/s3select/csv/errors.go

    	}
    }
    
    func errInvalidTextEncodingError() *s3Error {
    	return &s3Error{
    		code:       "InvalidTextEncoding",
    		message:    "UTF-8 encoding is required.",
    		statusCode: 400,
    		cause:      errors.New("invalid utf8 encoding"),
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 1.6K bytes
    - Viewed (0)
Back to top