Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for openElf (0.11 sec)

  1. src/cmd/cgo/internal/testplugin/testdata/checkdwarf/main.go

    	"fmt"
    	"os"
    	"strings"
    )
    
    func usage() {
    	fmt.Fprintf(os.Stderr, "checkdwarf executable-or-library DIE-suffix\n")
    }
    
    type dwarfer interface {
    	DWARF() (*dwarf.Data, error)
    }
    
    func openElf(path string) dwarfer {
    	exe, err := elf.Open(path)
    	if err != nil {
    		return nil
    	}
    	return exe
    }
    
    func openMacho(path string) dwarfer {
    	exe, err := macho.Open(path)
    	if err != nil {
    		return nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  2. src/cmd/internal/objfile/objfile.go

    	// from the start of the symbol containing the relocation.
    	String(insnOffset uint64) string
    }
    
    var openers = []func(io.ReaderAt) (rawFile, error){
    	openElf,
    	openMacho,
    	openPE,
    	openPlan9,
    	openXcoff,
    }
    
    // Open opens the named file.
    // The caller must call f.Close when the file is no longer needed.
    func Open(name string) (*File, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 24 16:01:55 UTC 2021
    - 4.2K bytes
    - Viewed (0)
  3. src/cmd/internal/objfile/elf.go

    package objfile
    
    import (
    	"debug/dwarf"
    	"debug/elf"
    	"encoding/binary"
    	"fmt"
    	"io"
    )
    
    type elfFile struct {
    	elf *elf.File
    }
    
    func openElf(r io.ReaderAt) (rawFile, error) {
    	f, err := elf.NewFile(r)
    	if err != nil {
    		return nil, err
    	}
    	return &elfFile{f}, nil
    }
    
    func (f *elfFile) symbols() ([]Sym, error) {
    	elfSyms, err := f.elf.Symbols()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 07 20:44:50 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  4. src/cmd/vendor/github.com/google/pprof/internal/binutils/binutils.go

    		return nil, fmt.Errorf("error reading magic number from %s: %v", name, err)
    	}
    
    	elfMagic := string(header[:])
    
    	// Match against supported file types.
    	if elfMagic == elf.ELFMAG {
    		f, err := b.openELF(name, start, limit, offset, relocationSymbol)
    		if err != nil {
    			return nil, fmt.Errorf("error reading ELF file %s: %v", name, err)
    		}
    		return f, nil
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  5. .github/workflows/scorecard.yml

              # repo_token: ${{ secrets.SCORECARD_TOKEN }}
    
              # Public repositories:
              #   - Publish results to OpenSSF REST API for easy access by consumers
              #   - Allows the repository to include the Scorecard badge.
              #   - See https://github.com/ossf/scorecard-action#publishing-results.
              # For private repositories:
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 04 17:53:21 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/flatbuffer_operator.h

    #include "tensorflow/core/platform/status.h"
    #include "tensorflow/core/platform/statusor.h"
    
    namespace mlir {
    
    // duplicated from
    // https://github.com/openxla/stablehlo/blob/e5ad51715a11721c78b6748ab5de7945df24b1b8/stablehlo/transforms/StablehloLegalizeToVhlo.cpp#L756
    // so we can create correct vhlo types
    class StablehloVhloTypeConverter : public mlir::vhlo::VhloTypeConverter {
     public:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 21:00:09 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/stablehlo/transforms/transforms.cc

      // The current plan of record is to avoid doing optimization passes
      // on StableHLO, treating StableHLO purely as an input format, and do all
      // optimizations via MHLO passes that can be shared with the OpenXLA compiler.
      // Therefore, this function inserts a StableHLO <=> MHLO roundtrip to make
      // this happen.
    
      // StableHLO -> MHLO legalization.
      pm.addPass(mhlo::createStablehloLegalizeToHloPass());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 04:34:23 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/common/attrs_and_constraints.cc

      //   - `stablehlo.dot_general` should not have `lhs_batching_dim`.
      //   - quantization_dimension(rhs) should not be in
      //     `rhs_contracting_dimensions`.
      // https://github.com/openxla/stablehlo/blob/main/docs/spec.md#dot_general
      const bool has_proper_rank =
          (input_rank == 1 || input_rank == 2) && filter_rank == 2;
      const bool has_proper_contracting_dim =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  9. README.md

    [![Build Status](https://github.com/google/guava/workflows/CI/badge.svg?branch=master)](https://github.com/google/guava/actions)
    [![OpenSSF Best Practices](https://bestpractices.coreinfrastructure.org/projects/7197/badge)](https://bestpractices.coreinfrastructure.org/projects/7197)
    
    
    
    Guava is a set of core Java libraries from Google that includes new collection
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 31 17:43:52 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  10. README.md

    [![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/1486/badge)](https://bestpractices.coreinfrastructure.org/projects/1486)
    [![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/tensorflow/tensorflow/badge)](https://securityscorecards.dev/viewer/?uri=github.com/tensorflow/tensorflow)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 05 15:00:10 UTC 2023
    - 11.9K bytes
    - Viewed (0)
Back to top