Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 297 for readelf (0.27 sec)

  1. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/binaryinfo/ReadelfBinaryInfo.groovy

            this.binaryFile = binaryFile
        }
    
        static boolean canUseReadelf() {
            def process = ['readelf', '-v'].execute()
            return process.waitFor() && process.exitValue() == 0
        }
    
        ArchitectureInternal getArch() {
            def process = ['readelf', '-h', binaryFile.absolutePath].execute()
            List<String> lines = process.inputStream.readLines()
            return readArch(lines)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 15:17:55 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/platform/internal/ReadelfBinaryInfoTest.groovy

    import org.gradle.nativeplatform.fixtures.binaryinfo.ReadelfBinaryInfo
    
    import spock.lang.Specification
    import spock.lang.Unroll
    
    class ReadelfBinaryInfoTest extends Specification {
        def "read list of files from readelf"() {
            when:
            def input = """
    Symbol table '.symtab' contains 53 entries:
       Num:    Value          Size Type    Bind   Vis      Ndx Name
         0: 0000000000000000     0 NOTYPE  LOCAL  DEFAULT  UND
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 23:09:11 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  3. src/cmd/link/internal/loadelf/ldelf.go

    // Copyright 2019 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Package loadelf implements an ELF file reader.
    package loadelf
    
    import (
    	"bytes"
    	"cmd/internal/bio"
    	"cmd/internal/objabi"
    	"cmd/internal/sys"
    	"cmd/link/internal/loader"
    	"cmd/link/internal/sym"
    	"debug/elf"
    	"encoding/binary"
    	"fmt"
    	"io"
    	"log"
    	"strings"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:12:12 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  4. src/go/doc/reader.go

    // AST reader
    
    // reader accumulates documentation for a single package.
    // It modifies the AST: Comments (declaration documentation)
    // that have been collected by the reader are set to nil
    // in the respective AST nodes so that they are not printed
    // twice (once when printing the documentation and once when
    // printing the corresponding AST node).
    type reader struct {
    	mode Mode
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  5. src/encoding/csv/reader.go

    }
    
    // A Reader reads records from a CSV-encoded file.
    //
    // As returned by [NewReader], a Reader expects input conforming to RFC 4180.
    // The exported fields can be changed to customize the details before the
    // first call to [Reader.Read] or [Reader.ReadAll].
    //
    // The Reader converts all \r\n sequences in its input to plain \n,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:32:28 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  6. src/mdo/reader-stax.vm

        } //-- void setAddLocationInformation(boolean)
    #end
    
        public ${root.name} read(Reader reader) throws XMLStreamException {
    #if ( $locationTracking )
            return read(reader, true, null);
    #else
            return read(reader, true);
    #end
        }
    
        /**
         * @param reader a reader object.
         * @param strict a strict object.
         * @throws XMLStreamException XMLStreamException if
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 38.1K bytes
    - Viewed (0)
  7. src/archive/tar/reader.go

    	"strconv"
    	"strings"
    	"time"
    )
    
    // Reader provides sequential access to the contents of a tar archive.
    // Reader.Next advances to the next file in the archive (including the first),
    // and then Reader can be treated as an io.Reader to access the file's data.
    type Reader struct {
    	r    io.Reader
    	pad  int64      // Amount of padding (ignored) after current file entry
    	curr fileReader // Reader for current file entry
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 01:59:14 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  8. src/net/textproto/reader.go

    // the size of responses.
    func NewReader(r *bufio.Reader) *Reader {
    	return &Reader{R: r}
    }
    
    // ReadLine reads a single line from r,
    // eliding the final \n or \r\n from the returned string.
    func (r *Reader) ReadLine() (string, error) {
    	line, err := r.readLineSlice(-1)
    	return string(line), err
    }
    
    // ReadLineBytes is like [Reader.ReadLine] but returns a []byte instead of a string.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  9. internal/ringbuffer/ring_buffer_test.go

    			fmt.Println(args...)
    		}
    	}
    	// Inject random reader/writer sleeps.
    	const maxSleep = int(1 * time.Millisecond)
    	doSleep := !testing.Short()
    	rb := New(4 << 10).SetBlocking(true)
    
    	// Reader
    	var readErr error
    	var wg sync.WaitGroup
    	wg.Add(1)
    	go func() {
    		readRng := rand.New(rand.NewSource(1))
    		defer wg.Done()
    		defer rb.CloseWithError(readErr)
    		buf := make([]byte, 1024)
    		for {
    			// Read
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  10. internal/etag/reader.go

    //
    //	// Now, we need an io.Reader that can access
    //	// the ETag computed over the content.
    //	reader := etag.Wrap(encryptedContent, content)
    func Wrap(wrapped, content io.Reader) io.Reader {
    	if t, ok := content.(Tagger); ok {
    		return wrapReader{
    			Reader: wrapped,
    			Tagger: t,
    		}
    	}
    	return wrapReader{
    		Reader: wrapped,
    	}
    }
    
    // A Reader wraps an io.Reader and computes the
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top