Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 45 for oeCodes (0.05 sec)

  1. internal/bucket/encryption/bucket-sse-config.go

    type BucketSSEConfig struct {
    	XMLNS   string   `xml:"xmlns,attr,omitempty"`
    	XMLName xml.Name `xml:"ServerSideEncryptionConfiguration"`
    	Rules   []Rule   `xml:"Rule"`
    }
    
    // ParseBucketSSEConfig - Decodes given XML to a valid default bucket encryption config
    func ParseBucketSSEConfig(r io.Reader) (*BucketSSEConfig, error) {
    	var config BucketSSEConfig
    	err := xml.NewDecoder(r).Decode(&config)
    	if err != nil {
    		return nil, err
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 25 00:44:15 UTC 2022
    - 4.9K bytes
    - Viewed (0)
  2. internal/bucket/lifecycle/transition.go

    	if !t.set {
    		return nil
    	}
    	type transitionWrapper Transition
    	return enc.EncodeElement(transitionWrapper(t), start)
    }
    
    // UnmarshalXML decodes transition field from the XML form.
    func (t *Transition) UnmarshalXML(d *xml.Decoder, startElement xml.StartElement) error {
    	type transitionWrapper Transition
    	var trw transitionWrapper
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jan 10 17:07:49 UTC 2022
    - 5.1K bytes
    - Viewed (0)
  3. internal/config/policy/plugin/config.go

    	}
    
    	client := &http.Client{Transport: a.Transport}
    	resp, err := client.Do(req)
    	if err != nil {
    		return err
    	}
    	defer a.CloseRespFn(resp.Body)
    
    	return nil
    }
    
    // UnmarshalJSON - decodes JSON data.
    func (a *Args) UnmarshalJSON(data []byte) error {
    	// subtype to avoid recursive call to UnmarshalJSON()
    	type subArgs Args
    	var so subArgs
    
    	if err := json.Unmarshal(data, &so); err != nil {
    		return err
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. cmd/streaming-signature-v4.go

    // out of HTTP "chunked" format before returning it.
    // The s3ChunkedReader returns io.EOF when the final 0-length chunk is read.
    //
    // NewChunkedReader is not needed by normal applications. The http package
    // automatically decodes chunking when reading response bodies.
    func newSignV4ChunkedReader(req *http.Request, trailer bool) (io.ReadCloser, APIErrorCode) {
    	cred, seedSignature, region, seedDate, errCode := calculateSeedSignature(req, trailer)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 16 23:13:47 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java

                retValue = new File(retValue).getPath();
            }
    
            if (retValue == null) {
                retValue = "/";
            }
            return retValue.trim();
        }
    
        /**
         * Decodes the specified (portion of a) URL. <strong>Note:</strong> This decoder assumes that ISO-8859-1 is used to
         * convert URL-encoded bytes to characters.
         *
         * @param url The URL to decode, may be <code>null</code>.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11K bytes
    - Viewed (0)
  6. internal/bucket/lifecycle/filter.go

    				return err
    			}
    		}
    	}
    
    	return e.EncodeToken(xml.EndElement{Name: start.Name})
    }
    
    // UnmarshalXML - decodes XML data.
    func (f *Filter) UnmarshalXML(d *xml.Decoder, start xml.StartElement) (err error) {
    	f.set = true
    	for {
    		// Read tokens from the XML document in a stream.
    		t, err := d.Token()
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 04 17:01:26 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  7. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

        }
      }
    
      companion object {
        private val PEM_REGEX = Regex("""-----BEGIN ([!-,.-~ ]*)-----([^-]*)-----END \1-----""")
    
        /**
         * Decodes a multiline string that contains both a [certificate][certificatePem] and a
         * [private key][privateKeyPkcs8Pem], both [PEM-encoded][rfc_7468]. A typical input string looks
         * like this:
         *
         * ```
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  8. internal/etag/etag.go

    var _ Tagger = ETag{} // compiler check
    
    // ETag returns the ETag itself.
    //
    // By providing this method ETag implements
    // the Tagger interface.
    func (e ETag) ETag() ETag { return e }
    
    // FromContentMD5 decodes and returns the Content-MD5
    // as ETag, if set. If no Content-MD5 header is set
    // it returns an empty ETag and no error.
    func FromContentMD5(h http.Header) (ETag, error) {
    	v, ok := h["Content-Md5"]
    	if !ok {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Mar 10 21:09:36 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. internal/bucket/lifecycle/lifecycle.go

    	for _, rule := range lc.Rules {
    		if !rule.Expiration.IsNull() || !rule.NoncurrentVersionExpiration.IsNull() {
    			return true
    		}
    	}
    	return false
    }
    
    // UnmarshalXML - decodes XML data.
    func (lc *Lifecycle) UnmarshalXML(d *xml.Decoder, start xml.StartElement) (err error) {
    	switch start.Name.Local {
    	case "LifecycleConfiguration", "BucketLifecycleConfiguration":
    	default:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/ByteSource.java

    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public abstract class ByteSource {
    
      /** Constructor for use by subclasses. */
      protected ByteSource() {}
    
      /**
       * Returns a {@link CharSource} view of this byte source that decodes bytes read from this source
       * as characters using the given {@link Charset}.
       *
       * <p>If {@link CharSource#asByteSource} is called on the returned source with the same charset,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 26.2K bytes
    - Viewed (0)
Back to top