Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 90 for parseIso (0.21 sec)

  1. cmd/bucket-lifecycle.go

    	OutputLocation   OutputLocation     `xml:"OutputLocation,omitempty"`
    }
    
    // Maximum 2MiB size per restore object request.
    const maxRestoreObjectRequestSize = 2 << 20
    
    // parseRestoreRequest parses RestoreObjectRequest from xml
    func parseRestoreRequest(reader io.Reader) (*RestoreObjectRequest, error) {
    	req := RestoreObjectRequest{}
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Wed Oct 23 15:35:37 UTC 2024
    - 33.7K bytes
    - Viewed (0)
  2. src/archive/tar/reader.go

    				}
    				hdr.Xattrs[k[len(paxSchilyXattr):]] = v
    			}
    		}
    		if err != nil {
    			return ErrHeader
    		}
    	}
    	hdr.PAXRecords = paxHdrs
    	return nil
    }
    
    // parsePAX parses PAX headers.
    // If an extended header (type 'x') is invalid, ErrHeader is returned.
    func parsePAX(r io.Reader) (map[string]string, error) {
    	buf, err := readSpecialFile(r)
    	if err != nil {
    		return nil, err
    	}
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Fri Mar 08 01:59:14 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  3. internal/config/storageclass/storage-class.go

    	}
    	return []byte{}, nil
    }
    
    func (sc *StorageClass) String() string {
    	if sc.Parity != 0 {
    		return fmt.Sprintf("%s:%d", schemePrefix, sc.Parity)
    	}
    	return ""
    }
    
    // Parses given storageClassEnv and returns a storageClass structure.
    // Supported Storage Class format is "Scheme:Number of parity drives".
    // Currently only supported scheme is "EC".
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  4. cmd/handler-utils.go

    	"github.com/minio/minio/internal/mcontext"
    	xnet "github.com/minio/pkg/v3/net"
    )
    
    const (
    	copyDirective    = "COPY"
    	replaceDirective = "REPLACE"
    	accessDirective  = "ACCESS"
    )
    
    // 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,
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  5. schema/field.go

    	UniqueIndex string
    }
    
    func (field *Field) BindName() string {
    	return strings.Join(field.BindNames, ".")
    }
    
    // ParseField parses reflect.StructField to Field
    func (schema *Schema) ParseField(fieldStruct reflect.StructField) *Field {
    	var (
    		err        error
    		tagSetting = ParseTagSetting(fieldStruct.Tag.Get("gorm"), ";")
    	)
    
    Registered: Sun Oct 27 09:35:08 UTC 2024
    - Last Modified: Mon Apr 15 03:20:20 UTC 2024
    - 32K bytes
    - Viewed (0)
  6. cmd/generic-handlers.go

    }
    
    // Supported Amz date headers.
    var amzDateHeaders = []string{
    	// Do not change this order, x-amz-date value should be
    	// validated first.
    	"x-amz-date",
    	"date",
    }
    
    // parseAmzDateHeader - parses supported amz date headers, in
    // supported amz date formats.
    func parseAmzDateHeader(req *http.Request) (time.Time, APIErrorCode) {
    	for _, amzDateHeader := range amzDateHeaders {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

    import org.codelibs.fess.helper.SystemHelper;
    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.util.ComponentUtil;
    import org.codelibs.fess.util.PrunedTag;
    import org.codelibs.nekohtml.parsers.DOMParser;
    import org.w3c.dom.Document;
    import org.w3c.dom.NamedNodeMap;
    import org.w3c.dom.Node;
    import org.w3c.dom.NodeList;
    import org.xml.sax.InputSource;
    
    import jakarta.annotation.PostConstruct;
    
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 42.9K bytes
    - Viewed (0)
  8. cmd/iam-store.go

    		d.CreateDate = now
    	}
    	d.Policy = p
    }
    
    // parseJSON parses both the old and the new format for storing policy
    // definitions.
    //
    // The on-disk format of policy definitions has changed (around early 12/2021)
    // from policy.Policy to PolicyDoc. To avoid a migration, loading supports
    // both the old and the new formats.
    func (d *PolicyDoc) parseJSON(data []byte) error {
    	json := jsoniter.ConfigCompatibleWithStandardLibrary
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Oct 14 16:35:37 UTC 2024
    - 83.2K bytes
    - Viewed (0)
  9. src/archive/zip/reader.go

    			// n is length of comment
    			n := int(b[i+directoryEndLen-2]) | int(b[i+directoryEndLen-1])<<8
    			if n+directoryEndLen+i > len(b) {
    				// Truncated comment.
    				// Some parsers (such as Info-ZIP) ignore the truncated comment
    				// rather than treating it as a hard error.
    				return -1
    			}
    			return i
    		}
    	}
    	return -1
    }
    
    type readBuf []byte
    
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Sat Aug 03 01:05:29 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  10. src/archive/tar/writer_test.go

    				},
    			}, nil},
    			testClose{nil},
    		},
    	}, {
    		// Craft a theoretically valid PAX archive with global headers.
    		// The GNU and BSD tar tools do not parse these the same way.
    		//
    		// BSD tar v3.1.2 parses and ignores all global headers;
    		// the behavior is verified by researching the source code.
    		//
    		//	$ bsdtar -tvf pax-global-records.tar
    		//	----------  0 0      0           0 Dec 31  1969 file1
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 39.4K bytes
    - Viewed (0)
Back to top