Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for DecodeError (0.17 sec)

  1. src/debug/dwarf/open.go

    	// 64-bit DWARf: 4 bytes of 0xff, 8 byte length, 2 byte version.
    	if len(d.info) < 6 {
    		return nil, DecodeError{"info", Offset(len(d.info)), "too short"}
    	}
    	offset := 4
    	if d.info[0] == 0xff && d.info[1] == 0xff && d.info[2] == 0xff && d.info[3] == 0xff {
    		if len(d.info) < 14 {
    			return nil, DecodeError{"info", Offset(len(d.info)), "too short"}
    		}
    		offset = 12
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  2. src/debug/dwarf/buf.go

    	}
    	return
    }
    
    func (b *buf) error(s string) {
    	if b.err == nil {
    		b.data = nil
    		b.err = DecodeError{b.name, b.off, s}
    	}
    }
    
    type DecodeError struct {
    	Name   string
    	Offset Offset
    	Err    string
    }
    
    func (e DecodeError) Error() string {
    	return "decoding dwarf section " + e.Name + " at offset 0x" + strconv.FormatInt(int64(e.Offset), 16) + ": " + e.Err
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 21 17:14:08 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  3. src/debug/dwarf/line.go

    	r.lineRange = int(buf.uint8())
    
    	// Validate header.
    	if buf.err != nil {
    		return buf.err
    	}
    	if r.maxOpsPerInstruction == 0 {
    		return DecodeError{"line", hdrOffset, "invalid maximum operations per instruction: 0"}
    	}
    	if r.lineRange == 0 {
    		return DecodeError{"line", hdrOffset, "invalid line range: 0"}
    	}
    
    	// Read standard opcode length table. This table starts with opcode 1.
    	r.opcodeBase = int(buf.uint8())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 23.5K bytes
    - Viewed (0)
  4. src/debug/dwarf/type.go

    		// for base types.
    		name, _ := e.Val(AttrName).(string)
    		enc, ok := e.Val(AttrEncoding).(int64)
    		if !ok {
    			err = DecodeError{name, e.Offset, "missing encoding attribute for " + name}
    			goto Error
    		}
    		switch enc {
    		default:
    			err = DecodeError{name, e.Offset, "unrecognized encoding attribute value"}
    			goto Error
    
    		case encAddress:
    			typ = new(AddrType)
    		case encBoolean:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 21.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/python/representative_dataset.py

      ) -> None:
        """Initializes TFRecord represenatative dataset loader.
    
        Args:
          dataset_file_map: Signature key -> `RepresentativeDatasetFile` mapping.
    
        Raises:
          DecodeError: If the sample is not RepresentativeDataSample.
        """
        self.dataset_file_map = dataset_file_map
    
      def _load_tf_record(self, tf_record_path: str) -> RepresentativeDataset:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 22:55:22 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"CommonType.Name", Field, 0},
    		{"ComplexType", Type, 0},
    		{"ComplexType.BasicType", Field, 0},
    		{"Data", Type, 0},
    		{"DecodeError", Type, 0},
    		{"DecodeError.Err", Field, 0},
    		{"DecodeError.Name", Field, 0},
    		{"DecodeError.Offset", Field, 0},
    		{"DotDotDotType", Type, 0},
    		{"DotDotDotType.CommonType", Field, 0},
    		{"Entry", Type, 0},
    		{"Entry.Children", Field, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  7. api/go1.txt

    pkg debug/dwarf, type ComplexType struct, embedded BasicType
    pkg debug/dwarf, type Data struct
    pkg debug/dwarf, type DecodeError struct
    pkg debug/dwarf, type DecodeError struct, Err string
    pkg debug/dwarf, type DecodeError struct, Name string
    pkg debug/dwarf, type DecodeError struct, Offset Offset
    pkg debug/dwarf, type DotDotDotType struct
    pkg debug/dwarf, type DotDotDotType struct, embedded CommonType
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top