Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 129 for malformed (0.04 seconds)

  1. internal/etag/etag.go

    // ETag.
    func (e ETag) Parts() int {
    	if !e.IsMultipart() {
    		return 1
    	}
    
    	n := bytes.IndexRune(e, '-')
    	parts, err := strconv.Atoi(string(e[n+1:]))
    	if err != nil {
    		panic(err) // malformed ETag
    	}
    	return parts
    }
    
    // Format returns an ETag that is formatted as specified
    // by AWS S3.
    //
    // An AWS S3 ETag is 16 bytes long and, in case of a multipart
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri May 16 14:27:42 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/HttpHeaders.kt

        responseCode != HTTP_NOT_MODIFIED
      ) {
        return true
      }
    
      // If the Content-Length or Transfer-Encoding headers disagree with the response code, the
      // response is malformed. For best compatibility, we honor the headers.
      if (headersContentLength() != -1L ||
        "chunked".equals(header("Transfer-Encoding"), ignoreCase = true)
      ) {
        return true
      }
    
      return false
    }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon May 05 16:01:00 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  3. internal/s3select/sql/stringfuncs.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package sql
    
    import (
    	"errors"
    	"strings"
    )
    
    var (
    	errMalformedEscapeSequence  = errors.New("Malformed escape sequence in LIKE clause")
    	errInvalidTrimArg           = errors.New("Trim argument is invalid - this should not happen")
    	errInvalidSubstringIndexLen = errors.New("Substring start index or length falls outside the string")
    )
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  4. cmd/jwt.go

    	errNoAuthToken        = errors.New("JWT token missing")
    	errSkewedAuthTime     = errors.New("Skewed authentication date/time")
    	errMalformedAuth      = errors.New("Malformed authentication input")
    )
    
    func authenticateNode(accessKey, secretKey string) (string, error) {
    	claims := xjwt.NewStandardClaims()
    	claims.SetExpiry(UTCNow().Add(defaultInterNodeJWTExpiry))
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/base/EnumsTest.java

              urls.add(new URL("file", null, new File(entry).getAbsolutePath()));
            }
          } catch (MalformedURLException e) {
            throw new AssertionError("malformed class path entry: " + entry, e);
          }
        }
        return urls.build();
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:07:52 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  6. src/main/java/jcifs/dcerpc/DcerpcPipeHandle.java

         * @param unshared whether to use an exclusive connection
         * @throws DcerpcException if DCERPC initialization fails
         * @throws MalformedURLException if the URL is malformed
         */
        public DcerpcPipeHandle(final String url, final CIFSContext tc, final boolean unshared) throws DcerpcException, MalformedURLException {
            super(tc, DcerpcHandle.parseBinding(url));
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  7. src/main/java/jcifs/pac/kerberos/KerberosTicket.java

                    sequence = ASN1Util.as(ASN1Sequence.class, stream);
                }
            } catch (IOException e) {
                throw new PACDecodingException("Malformed kerberos ticket", e);
            }
    
            Enumeration<?> fields = sequence.getObjects();
            while (fields.hasMoreElements()) {
                ASN1TaggedObject tagged = ASN1Util.as(ASN1TaggedObject.class, fields);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

              urls.add(new URL("file", null, new File(entry).getAbsolutePath()));
            }
          } catch (MalformedURLException e) {
            throw new AssertionError("malformed class path entry: " + entry, e);
          }
        }
        return urls.build();
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  9. cmd/signature-v2_test.go

    				"Expires":        "60",
    				"Signature":      "badsignature",
    				"AWSAccessKeyId": "Z7IXGOO6BZ0REAN1Q26I",
    			},
    			expected: ErrInvalidAccessKeyID,
    		},
    		// (2) Should error with malformed expires.
    		{
    			queryParams: map[string]string{
    				"Expires":        "60s",
    				"Signature":      "badsignature",
    				"AWSAccessKeyId": accessKey,
    			},
    			expected: ErrMalformedExpires,
    		},
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 8K bytes
    - Click Count (0)
  10. cmd/sts-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrSTSMalformedPolicyDocument: {
    		Code:           "MalformedPolicyDocument",
    		Description:    "The request was rejected because the policy document was malformed.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrSTSInsecureConnection: {
    		Code:           "InsecureConnection",
    		Description:    "The request was made over a plain HTTP connection. A TLS connection is required.",
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Feb 05 00:29:41 GMT 2025
    - 6K bytes
    - Click Count (1)
Back to Top