Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 39 of 39 for strictable (0.18 sec)

  1. src/debug/elf/file.go

    // For an [SHT_NOBITS] section, Data always returns a non-nil error.
    func (s *Section) Data() ([]byte, error) {
    	return saferio.ReadData(s.Open(), s.Size)
    }
    
    // stringTable reads and returns the string table given by the
    // specified link value.
    func (f *File) stringTable(link uint32) ([]byte, error) {
    	if link <= 0 || link >= uint32(len(f.Sections)) {
    		return nil, errors.New("section has invalid string table link")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 23 16:49:58 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/pe.go

    		sect.pointerToRelocations += 10 // skip the extend reloc entry
    	}
    	sect.numberOfRelocations = uint16(n - 1)
    }
    
    // peFile is used to build COFF file.
    type peFile struct {
    	sections       []*peSection
    	stringTable    peStringTable
    	textSect       *peSection
    	rdataSect      *peSection
    	dataSect       *peSection
    	bssSect        *peSection
    	ctorsSect      *peSection
    	pdataSect      *peSection
    	xdataSect      *peSection
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 19:01:27 UTC 2023
    - 48.8K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/objfile.go

    	}
    	if ctxt.Std {
    		flags |= goobj.ObjFlagStd
    	}
    	h := goobj.Header{
    		Magic:       goobj.Magic,
    		Fingerprint: ctxt.Fingerprint,
    		Flags:       flags,
    	}
    	h.Write(w.Writer)
    
    	// String table
    	w.StringTable()
    
    	// Autolib
    	h.Offsets[goobj.BlkAutolib] = w.Offset()
    	for i := range ctxt.Imports {
    		ctxt.Imports[i].Write(w.Writer)
    	}
    
    	// Package references
    	h.Offsets[goobj.BlkPkgIdx] = w.Offset()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24K bytes
    - Viewed (0)
  4. src/internal/profile/profile.go

    	KeepFrames string
    
    	TimeNanos     int64
    	DurationNanos int64
    	PeriodType    *ValueType
    	Period        int64
    
    	commentX           []int64
    	dropFramesX        int64
    	keepFramesX        int64
    	stringTable        []string
    	defaultSampleTypeX int64
    }
    
    // ValueType corresponds to Profile.ValueType
    type ValueType struct {
    	Type string // cpu, wall, inuse_space, etc
    	Unit string // seconds, nanoseconds, bytes, etc
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 08 17:57:40 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  5. src/cmd/vendor/github.com/google/pprof/profile/profile.go

    	// The following fields are modified during encoding and copying,
    	// so are protected by a Mutex.
    	encodeMu sync.Mutex
    
    	commentX           []int64
    	dropFramesX        int64
    	keepFramesX        int64
    	stringTable        []string
    	defaultSampleTypeX int64
    }
    
    // ValueType corresponds to Profile.ValueType
    type ValueType struct {
    	Type string // cpu, wall, inuse_space, etc
    	Unit string // seconds, nanoseconds, bytes, etc
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  6. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

    import okio.Buffer
    import okio.BufferedSink
    import okio.BufferedSource
    import okio.Sink
    import okio.Timeout
    import okio.buffer
    import okio.sink
    import okio.source
    
    /**
     * A scriptable web server. Callers supply canned responses and the server replays them upon request
     * in sequence.
     */
    @ExperimentalOkHttpApi
    class MockWebServer : Closeable {
      private val taskRunnerBackend =
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  7. src/fmt/fmt_test.go

    	// structs
    	{"%v", A{1, 2, "a", []int{1, 2}}, `{1 2 a [1 2]}`},
    	{"%+v", A{1, 2, "a", []int{1, 2}}, `{i:1 j:2 s:a x:[1 2]}`},
    
    	// +v on structs with Stringable items
    	{"%+v", B{1, 2}, `{I:<1> j:2}`},
    	{"%+v", C{1, B{2, 3}}, `{i:1 B:{I:<2> j:3}}`},
    
    	// other formats on Stringable items
    	{"%s", I(23), `<23>`},
    	{"%q", I(23), `"<23>"`},
    	{"%x", I(23), `3c32333e`},
    	{"%#x", I(23), `0x3c32333e`},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:55 UTC 2024
    - 58.6K bytes
    - Viewed (0)
  8. src/fmt/print.go

    			return
    		}
    	} else {
    		// If a string is acceptable according to the format, see if
    		// the value satisfies one of the string-valued interfaces.
    		// Println etc. set verb to %v, which is "stringable".
    		switch verb {
    		case 'v', 's', 'x', 'X', 'q':
    			// Is it an error or Stringer?
    			// The duplication in the bodies is necessary:
    			// setting handled and deferring catchPanic
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:22:43 UTC 2024
    - 31.8K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"(*File).Section", Method, 0},
    		{"(*FormatError).Error", Method, 0},
    		{"(*Section).Data", Method, 0},
    		{"(*Section).Open", Method, 0},
    		{"(Section).ReadAt", Method, 0},
    		{"(StringTable).String", Method, 8},
    		{"COFFSymbol", Type, 1},
    		{"COFFSymbol.Name", Field, 1},
    		{"COFFSymbol.NumberOfAuxSymbols", Field, 1},
    		{"COFFSymbol.SectionNumber", Field, 1},
    		{"COFFSymbol.StorageClass", Field, 1},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
Back to top