Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for pcfromline (0.16 sec)

  1. src/debug/gosym/testdata/main.go

    package main
    
    func linefrompc()
    func pcfromline()
    
    func main() {
    	// Prevent GC of our test symbols
    	linefrompc()
    	pcfromline()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 12 20:27:20 UTC 2018
    - 130 bytes
    - Viewed (0)
  2. src/debug/gosym/pclntab_test.go

    			t.Errorf("PCToLine(%#x) = %s:%d (%s), want %s:%d (%s)", pc, file, line, fn.Name, "pclinetest.s", wantLine, sym.Name)
    		}
    	}
    
    	// Test LineToPC
    	sym = tab.LookupFunc("main.pcfromline")
    	lookupline := -1
    	wantLine = 0
    	off := uint64(0) // TODO(rsc): should not need off; bug in 8g
    	for pc := sym.Value; pc < sym.End; pc += 2 + uint64(textdat[off]) {
    		file, line, fn := tab.PCToLine(pc)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 09 17:17:44 UTC 2022
    - 9.6K bytes
    - Viewed (0)
  3. src/debug/gosym/testdata/pclinetest.s

    #include "pclinetest.h"
    BYTE $2;
    #include "pclinetest.h"
    BYTE $2;
    BYTE $255;
    
    TEXT ยทpcfromline(SB),4,$0	// Each record stores its line delta, then n, then n more bytes
    BYTE $32; BYTE $0;
    BYTE $1; BYTE $1; BYTE $0;
    BYTE $1; BYTE $0;
    
    BYTE $2; BYTE $4; BYTE $0; BYTE $0; BYTE $0; BYTE $0;
    
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 12 20:27:20 UTC 2018
    - 10K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/AbstractDaemonFixture.groovy

        }
    
        @Override
        boolean logContains(String searchString) {
            logContains(0, searchString)
        }
    
        @Override
        boolean logContains(long fromLine, String searchString) {
            daemonLog.lines().withCloseable { lines ->
                lines.skip(fromLine).anyMatch { it.contains(searchString) }
            }
        }
    
        @Override
        long getLogLineCount() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 15:22:16 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/DaemonFixture.java

        boolean logContains(String searchString);
    
        /**
         * Returns whether the log file contains a given String, starting from line `fromLine`
         *
         * The first line in the file is the line 0.
         *
         * Works without reading the whole log file into memory.
         */
        boolean logContains(long fromLine, String searchString);
    
        /**
         * Returns the number of lines in the daemon log.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. testing/soak/src/integTest/groovy/org/gradle/vfs/FileSystemWatchingSoakTest.groovy

                return 150
            } else {
                return 1000
            }
        }
    
        private static boolean detectOverflow(DaemonFixture daemon, long fromLine) {
            boolean overflowDetected = daemon.logContains(fromLine, FileWatcherRegistry.Type.OVERFLOW.toString())
            if (overflowDetected) {
                println "Detected overflow in watcher, no files will be retained for the next build"
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.6K bytes
    - Viewed (0)
Back to top