Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 33 for coffsets (0.23 sec)

  1. src/go/scanner/errors.go

    func (p ErrorList) Swap(i, j int) { p[i], p[j] = p[j], p[i] }
    
    func (p ErrorList) Less(i, j int) bool {
    	e := &p[i].Pos
    	f := &p[j].Pos
    	// Note that it is not sufficient to simply compare file offsets because
    	// the offsets do not reflect modified line information (through //line
    	// comments).
    	if e.Filename != f.Filename {
    		return e.Filename < f.Filename
    	}
    	if e.Line != f.Line {
    		return e.Line < f.Line
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 3K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/test/mergelocals_test.go

    	// on and then pick up on the frame offsets of specific
    	// variables.
    	//
    	// Stack slot merging is a greedy algorithm, and there can
    	// be many possible ways to overlap a given set of candidate
    	// variables, all of them legal. Rather than locking down
    	// a specific set of overlappings or frame offsets, this
    	// tests just verifies that there is a decent-sized clump of 4+ vars that
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:43:53 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. src/log/slog/level.go

    	defer func() {
    		if err != nil {
    			err = fmt.Errorf("slog: level string %q: %w", s, err)
    		}
    	}()
    
    	name := s
    	offset := 0
    	if i := strings.IndexAny(s, "+-"); i >= 0 {
    		name = s[:i]
    		offset, err = strconv.Atoi(s[i:])
    		if err != nil {
    			return err
    		}
    	}
    	switch strings.ToUpper(name) {
    	case "DEBUG":
    		*l = LevelDebug
    	case "INFO":
    		*l = LevelInfo
    	case "WARN":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 30 17:34:43 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  4. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/dom/DataStructuralEquality.kt

    
    /**
     * Checks the data in the content of the documents for equality structurally, ignoring:
     * * the [DeclarativeDocument] implementations,
     * * the differences in the source information, like source identifiers or the offsets in the source data,
     * * the source representations of the literal values (thus taking into account only the values),
     * * the error causes, thus considering all error nodes equal to each other but not to any other node.
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:10 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. src/index/suffixarray/suffixarray.go

    // an in-memory suffix array.
    //
    // Example use:
    //
    //	// create index for some data
    //	index := suffixarray.New(data)
    //
    //	// lookup byte slice s
    //	offsets1 := index.Lookup(s, -1) // the list of all indices where s occurs in data
    //	offsets2 := index.Lookup(s, 3)  // the list of at most 3 indices where s occurs in data
    package suffixarray
    
    import (
    	"bytes"
    	"encoding/binary"
    	"errors"
    	"io"
    	"math"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  6. src/reflect/asm_loong64.s

    // that are known to the runtime.
    //
    // The first local is a bool called retValid with a whole pointer-word reserved
    // for it on the stack. The purpose of this word is so that the runtime knows
    // whether the stack-allocated return space contains valid values for stack
    // scanning.
    //
    // The second local is an abi.RegArgs value whose offset is also known to the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 15:04:25 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. src/internal/bytealg/compare_ppc64x.s

    	ADD	$-16,R9,R9
    
    	MOVD	$32,R11		// set offsets to load into vector
    	MOVD	$48,R12		// set offsets to load into vector
    
    	PCALIGN	$16
    cmp64_loop:
    	LXVD2X	(R5)(R0),V3	// load bytes of A at offset 0 into vector
    	LXVD2X	(R6)(R0),V4	// load bytes of B at offset 0 into vector
    	VCMPEQUDCC	V3,V4,V1
    	BGE	CR6,different	// jump out if its different
    
    	LXVD2X	(R5)(R10),V3	// load bytes of A at offset 16 into vector
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 17:33:20 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  8. src/internal/weak/pointer.go

    // that they were created from compare equal. This property is retained even
    // after the object referenced by the pointer used to create a weak reference
    // is reclaimed.
    //
    // If multiple weak pointers are made to different offsets within same object
    // (for example, pointers to different fields of the same struct), those pointers
    // will not compare equal.
    // If a weak pointer is created from an object that becomes reachable again due
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:13:25 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. src/internal/bytealg/bytealg.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package bytealg
    
    import (
    	"internal/cpu"
    	"unsafe"
    )
    
    // Offsets into internal/cpu records for use in assembly.
    const (
    	offsetX86HasSSE42  = unsafe.Offsetof(cpu.X86.HasSSE42)
    	offsetX86HasAVX2   = unsafe.Offsetof(cpu.X86.HasAVX2)
    	offsetX86HasPOPCNT = unsafe.Offsetof(cpu.X86.HasPOPCNT)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 19 19:51:15 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  10. src/internal/poll/copy_file_range_linux.go

    	//                         size_t len, unsigned int flags);
    	//
    	// Note that in the call to unix.CopyFileRange below, we use nil
    	// values for off_in and off_out. For the system call, this means
    	// "use and update the file offsets". That is why we must acquire
    	// locks for both file descriptors (and why this whole machinery is
    	// in the internal/poll package to begin with).
    	if err := dst.writeLock(); err != nil {
    		return 0, err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 17:40:10 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top