Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for StructuralError (0.17 sec)

  1. src/compress/bzip2/bzip2.go

    // The source code to pyflate was useful for debugging:
    // http://www.paul.sladen.org/projects/pyflate
    
    // A StructuralError is returned when the bzip2 data is found to be
    // syntactically invalid.
    type StructuralError string
    
    func (s StructuralError) Error() string {
    	return "bzip2 data invalid: " + string(s)
    }
    
    // A reader decompresses bzip2 compressed data.
    type reader struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:40 UTC 2024
    - 13K bytes
    - Viewed (0)
  2. src/encoding/asn1/marshal.go

    	if !ok || matchAny {
    		return nil, StructuralError{fmt.Sprintf("unknown Go type: %v", v.Type())}
    	}
    
    	if params.timeType != 0 && tag != TagUTCTime {
    		return nil, StructuralError{"explicit time type given to non-time member"}
    	}
    
    	if params.stringType != 0 && tag != TagPrintableString {
    		return nil, StructuralError{"explicit string type given to non-string member"}
    	}
    
    	switch tag {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/nonstructuralschema/nonstructuralschema_controller.go

    			klog.Errorf("failed to convert CRD validation to internal version: %v", err)
    			continue
    		}
    		s, err := schema.NewStructural(internalSchema.OpenAPIV3Schema)
    		if err != nil {
    			cond.Reason = "StructuralError"
    			cond.Message = fmt.Sprintf("failed to check validation schema for version %s: %v", v.Name, err)
    			return cond
    		}
    
    		pth := field.NewPath("spec", "versions").Index(i).Child("schema", "openAPIV3Schema")
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  4. internal/s3select/select.go

    		s3Select.recordReader, err = csv.NewReader(s3Select.progressReader, &s3Select.Input.CSVArgs)
    		if err != nil {
    			// Close all reader resources opened so far.
    			s3Select.progressReader.Close()
    
    			var stErr bzip2.StructuralError
    			if errors.As(err, &stErr) {
    				return errInvalidCompression(err, s3Select.Input.CompressionType)
    			}
    			// Test these compressor errors
    			errs := []error{
    				gzip.ErrHeader, gzip.ErrChecksum,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 21K bytes
    - Viewed (0)
Back to top